/* Estilos Globais para Notificações Toast */
.toast-notification {
    position: relative;
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: white;
    border: 1px solid #e0e0e0;
    min-width: min(350px, calc(100vw - 40px));
    max-width: min(450px, calc(100vw - 40px));
    overflow-wrap: anywhere;
    animation: slideInRight 0.3s ease-out;
    z-index: 99999;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-notification.toast-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.toast-notification.toast-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.toast-notification.toast-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.toast-notification.toast-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Dark mode para notificações */
[data-theme-mode="dark"] .toast-notification {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

[data-theme-mode="dark"] .toast-notification.toast-success {
    background-color: #1a4731;
    border-color: #22543d;
    color: #9ae6b4;
}

[data-theme-mode="dark"] .toast-notification.toast-error {
    background-color: #742a2a;
    border-color: #9b2c2c;
    color: #feb2b2;
}

[data-theme-mode="dark"] .toast-notification.toast-warning {
    background-color: #744210;
    border-color: #975a16;
    color: #fbd38d;
}

[data-theme-mode="dark"] .toast-notification.toast-info {
    background-color: #1a365d;
    border-color: #2c5282;
    color: #90cdf4;
}
