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


/* 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-button:hover {
    border-color: #000;
}

.auth-profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

/* Dropdown menu */
.auth-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    max-width: 200px;
    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;
    text-align: left;
}

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

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

.auth-dropdown-name {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

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

.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;
}
