/* ===== NAVBAR ICONS ===== */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-info strong {
    font-size: 0.95em;
}

.user-info small {
    font-size: 0.8em;
    opacity: 0.8;
}

.nav-notifications,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-icon-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-icon,
.nav-icon-link i,
.nav-icon-link i.fas,
.nav-icon-link i.far,
.nav-icon-link i.fab {
    font-size: 1.2em;
    line-height: 1;
    color: #FFFFFF !important;
    -webkit-font-smoothing: antialiased;
}

.nav-icon-link:hover i,
.nav-icon-link:hover i.fas,
.nav-icon-link:hover i.far,
.nav-icon-link:hover i.fab {
    color: #FFFFFF !important;
}

.nav-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #DC2626;
    color: white;
    font-size: 0.7em;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.3;
    border: 2px solid #000000;
    animation: badgePulse 2s ease-in-out infinite;
}

.badge-messages {
    background: #3B82F6;
}

.badge-tickets {
    background: #F59E0B;
}

.badge-urgent {
    background: #DC2626;
    animation: urgentPulse 1s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 4px rgba(220, 38, 38, 0);
    }
}

@keyframes urgentPulse {
    0%, 100% {
        transform: scale(1);
        background: #DC2626;
    }
    50% {
        transform: scale(1.15);
        background: #EF4444;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .user-info {
        display: none;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-icon-link {
        width: 36px;
        height: 36px;
    }

    .nav-icon,
    .nav-icon-link i {
        font-size: 1.2em;
    }
}
