/* ── Auth Nav — Trigger button ─────────────────────────── */
.auth-trigger-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 50px !important;
    color: #fff;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

    .auth-trigger-btn:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: var(--primary-color) !important;
    }

/* Fix site's header CSS collapsing icon height inside buttons */
    .auth-trigger-btn i {
        color: var(--primary-color) !important;
        font-size: 1.1rem !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

.auth-icon {
    color: var(--primary-color);
}

.auth-name-text {
    color: var(--primary-color);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Profile picture in trigger button */
.auth-profile-pic {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

#auth-profile-pic {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    vertical-align: middle !important;
}

.auth-initials-badge {
    width: 24px;
    height: 24px;
    background: #fff;
    color: #012970;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Auth Nav — Dropdown panel ─────────────────────────── */
.auth-dd-panel {
    min-width: 210px;
    background: #fff;
    border: 1px solid #e2e8f0;
    z-index: 99999;
}

/* ── Auth Nav — Dropdown items ─────────────────────────── */
.auth-dd-item {
    color: #1e293b;
    font-size: .87rem;
    transition: background .15s, color .15s;
}

/* Override site's .navbar a i { line-height: 0 } that collapses icon height */
    .auth-dd-item i {
        color: var(--primary-color);
        font-size: 1rem !important;
        line-height: 1 !important;
        width: 16px;
        text-align: center;
    }

.auth-dd-item:hover { background: #f1f5f9 !important; color: #012970 !important; }
.auth-dd-item:hover i { color: #012970; }

.auth-dd-logout { color: #ef4444 !important; }
.auth-dd-logout i { color: #ef4444 !important; }
.auth-dd-logout:hover { background: rgba(239, 68, 68, 0.08) !important; color: #dc2626 !important; }
