/* Sistema de Notificações */
.notifications-dropdown {
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 16px !important;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.info {
    border-left-color: #0dcaf0;
}

.notification-item.success {
    border-left-color: #198754;
}

.notification-item.warning {
    border-left-color: #ffc107;
}

.notification-item.danger {
    border-left-color: #dc3545;
}

.notification-content {
    display: block;
    text-decoration: none;
}

.notification-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #212529;
    margin-bottom: 4px;
    line-height: 1.3;
}

.notification-message {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    font-size: 0.75rem;
    color: #adb5bd;
}

/* Badge de contador */
.badge {
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animações */
@keyframes notificationPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.notification-badge-animate {
    animation: notificationPulse 2s infinite;
}

/* Responsividade */
@media (max-width: 768px) {
    .notifications-dropdown {
        width: 300px;
        max-height: 350px;
    }
    
    .notification-item {
        padding: 10px 12px !important;
    }
    
    .notification-title {
        font-size: 0.85rem;
    }
    
    .notification-message {
        font-size: 0.75rem;
    }
}

/* Estados das notificações */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
    min-width: 300px;
    max-width: 400px;
}

.notification-toast .toast-header {
    border-bottom: none;
    padding-bottom: 0;
}

.notification-toast .toast-body {
    padding-top: 0;
}

/* Página de notificações */
.notifications-page .notification-card {
    border-left: 4px solid #dee2e6;
    transition: all 0.2s ease;
}

.notifications-page .notification-card:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transform: translateY(-1px);
}

.notifications-page .notification-card.unread {
    background-color: #f8f9fa;
    border-left-color: #0d6efd;
}

.notifications-page .notification-card.info {
    border-left-color: #0dcaf0;
}

.notifications-page .notification-card.success {
    border-left-color: #198754;
}

.notifications-page .notification-card.warning {
    border-left-color: #ffc107;
}

.notifications-page .notification-card.danger {
    border-left-color: #dc3545;
}

.notification-actions {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.notification-card:hover .notification-actions {
    opacity: 1;
}

/* Loading states */
.notifications-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6c757d;
}

.notifications-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.notifications-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}