/* notifications-styles.css - Estilos para sistema de notificações */

/* Container de notificações */
.notifications-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 240px;
    pointer-events: none;
}

/* Notificação individual */
.notification {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    transform: translateX(-100%) scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    border-left: 4px solid var(--accent-primary);
}

.notification.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.notification.hide {
    transform: translateX(-100%) scale(0.9);
    opacity: 0;
}

/* Conteúdo da notificação */
.notification-content {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.notification-content i {
    color: var(--accent-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.notification-content span {
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
}



/* Diferentes tipos de notificação */
.notification.info {
    border-left-color: var(--accent-primary);
}

.notification.success {
    border-left-color: #10b981;
}

.notification.warning {
    border-left-color: #f59e0b;
}

.notification.error {
    border-left-color: #ef4444;
}

.notification.success .notification-content i {
    color: #10b981;
}

.notification.warning .notification-content i {
    color: #f59e0b;
}

.notification.error .notification-content i {
    color: #ef4444;
}

/* Responsividade */
@media (max-width: 768px) {
    .notifications-container {
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-width: none;
    }
    
    .notification {
        padding: 12px;
    }
    
    .notification-content span {
        font-size: 0.85rem;
    }
    
    .notification-content i {
        font-size: 1rem;
    }
}

/* Animação de entrada suave */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Animação de saída suave */
@keyframes slideOutLeft {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(-100%) scale(0.9);
        opacity: 0;
    }
}

/* =======================================
   TEMA CLARO - NOTIFICAÇÕES
   ======================================= */

[data-theme="light"] .notification {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .notification-content i {
    color: var(--accent-primary);
}

[data-theme="light"] .notification-content span {
    color: var(--text-primary);
}

[data-theme="light"] .notification.info {
    border-left-color: var(--accent-primary);
    box-shadow: 0 8px 32px rgba(123, 71, 255, 0.15);
}

[data-theme="light"] .notification.success {
    border-left-color: #10b981;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .notification.warning {
    border-left-color: #f59e0b;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.15);
}

[data-theme="light"] .notification.error {
    border-left-color: #ef4444;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.15);
}

[data-theme="light"] .notification.success .notification-content i {
    color: #10b981;
}

[data-theme="light"] .notification.warning .notification-content i {
    color: #f59e0b;
}

[data-theme="light"] .notification.error .notification-content i {
    color: #ef4444;
}