/* User Profile Button and Dropdown Styles */
.user-profile-container {
    position: relative;
    margin-left: 10px;
}

.user-profile-button {
    width: 36px;
    height: 36px;
    min-width: 36px; /* Prevent shrinking below this width */
    min-height: 36px; /* Prevent shrinking below this height */
    border-radius: 50%;
    background-color: #008080; /* Teal color */
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background-color 0.2s;
    padding: 0; /* Remove any padding that might affect the shape */
    box-sizing: border-box; /* Ensure padding doesn't affect dimensions */
    flex-shrink: 0; /* Prevent the button from shrinking */
    aspect-ratio: 1 / 1; /* Ensure width and height remain equal */
}

.user-profile-button:hover {
    background-color: #006666; /* Darker teal on hover */
}

.user-profile-dropdown {
    position: absolute;
    right: 0;
    top: 45px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    display: none;
    z-index: 1000;
}

.user-profile-dropdown.active {
    display: block;
}

.dropdown-email-container {
    padding: 12px 15px;
    color: #333;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 0;
}

.dropdown-logout {
    display: block;
    padding: 12px 15px;
    color: #008080;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.dropdown-logout:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}
