/* header-auth.css - Scoped styles for authentication UI */

/* Container for auth elements */
.auth-header-container {
    float: right;
}

/* Login button styles */
.auth-login-button {
    display: inline-block;
    padding: 6px 15px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.auth-login-button:hover {
    background-color: #333;
}

/* Profile button and wrapper */
.auth-profile-wrapper {
    position: relative;
}



/* Dropdown menu */
.auth-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1000;
}

.auth-dropdown-menu.auth-dropdown-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.auth-dropdown-header {
    padding: 16px;
}

.auth-dropdown-name {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.auth-dropdown-email {
    font-size: 13px;
    color: #666;
    word-break: break-all;
}

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

.auth-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.auth-dropdown-item:hover:not(.auth-dropdown-item-disabled) {
    background-color: #f5f5f5;
}

.auth-dropdown-item-disabled {
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.auth-dropdown-badge {
    font-size: 11px;
    padding: 2px 8px;
    background-color: #e0e0e0;
    color: #666;
    border-radius: 12px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auth-header-container {
        right: 15px;
    }

    .auth-login-button {
        padding: 8px 16px;
        font-size: 13px;
    }

    .auth-profile-button {
        width: 36px;
        height: 36px;
    }

    .auth-dropdown-menu {
        min-width: 200px;
    }
}