/* Estilos para el botón de notificaciones en el header */
.notification-btn {
    width: 40px;
    height: 40px;
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
}

.notification-btn:hover {
    background-color: #f8f9fa;
    border-color: #6c757d;
    transform: translateY(-1px);
}

.notification-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

/* Badge de contador de notificaciones */
.notification-badge {
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1;
    animation: pulse 2s infinite;
}

/* Animación sutil para el badge cuando hay notificaciones */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Estilos para el ícono de campana */
.notification-icon {
    transition: transform 0.2s ease-in-out;
}

.notification-btn:hover .notification-icon {
    transform: rotate(15deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-btn {
        width: 36px;
        height: 36px;
    }

    .notification-badge {
        font-size: 0.65rem;
        min-width: 16px;
        height: 16px;
    }
}

/* Estados del botón */
.notification-btn.has-notifications {
    border-color: #dc3545;
    color: #dc3545;
}

.notification-btn.has-notifications:hover {
    background-color: #fff5f5;
    border-color: #dc3545;
}

/* Tooltip personalizado para notificaciones */
.notification-tooltip {
    font-size: 0.875rem;
    max-width: 200px;
}