/* Authentication Styling */

/* Hide login/signup buttons and their parent containers (like "gone" in Android) */
.nav-links li:has(.auth-icon-link) {
    display: none !important;
}

/* Auth Icon Links (Icon-only buttons) */
.auth-icon-link {
    display: none;
    /* Hidden but not removed from HTML */
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    color: var(--accent) !important;
    transition: all 0.3s ease !important;
    font-size: 1rem;
}

.auth-icon-link:hover {
    background: var(--accent);
    color: white !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.auth-icon-link::after {
    display: none !important;
}

.auth-icon-register {
    background: var(--accent);
    color: white !important;
}

.auth-icon-register:hover {
    background: #22c55e;
    border-color: #22c55e;
}

/* User Dropdown */
.user-dropdown .user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.user-dropdown .user-menu:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-3px);
}

.user-dropdown .user-menu i.fa-user-circle {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease, color 0.3s ease;
}

.user-dropdown .user-menu:hover i.fa-user-circle {
    transform: scale(1.1);
    color: #22c55e;
}

.user-dropdown .user-menu .user-name {
    font-weight: 600;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown .dropdown-menu-right {
    left: auto;
    right: 0;
}

.user-dropdown .dropdown-menu i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.user-dropdown .dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
    list-style: none;
}