/* ===== NOTIFICAÇÕES COMPACTAS E ELEGANTES ===== */
/* Padronização de todas as notificações do sistema */

/* Reset para notificações existentes */
.expiration-warning-notification,
.notification-toast,
.checkout-notification,
.delivery-notification,
.planta-viva-notification {
    max-width: 320px !important;
    padding: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    font-family: 'Inter', 'Arial', sans-serif !important;
}

/* Fundo padrão para qualquer toast */
.notification-toast {
    background: rgba(15, 23, 42, 0.92) !important;
    color: #f9fafb !important;
    backdrop-filter: blur(8px);
}

/* Ajustes por tipo de notificação */
.notification-toast.notification-success {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #0f766e !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
}

.notification-toast.notification-error {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #b91c1c !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
}

.notification-toast.notification-warning {
    background: rgba(250, 204, 21, 0.16) !important;
    color: #92400e !important;
    border: 1px solid rgba(250, 204, 21, 0.45) !important;
}

.notification-toast.notification-info {
    background: rgba(59, 130, 246, 0.12) !important;
    color: #1d4ed8 !important;
    border: 1px solid rgba(59, 130, 246, 0.45) !important;
}

.notification-toast.notification-loading {
    background: rgba(139, 92, 246, 0.16) !important;
    color: #5b21b6 !important;
    border: 1px solid rgba(139, 92, 246, 0.45) !important;
}

/* Notificação de confirmação - estilo especial com fundo branco */
.notification-toast.notification-confirm {
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid rgba(99, 102, 241, 0.45) !important;
    max-width: 420px !important;
    min-width: 340px !important;
}

.notification-toast.notification-confirm .notification-content {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
}

.notification-toast.notification-confirm .notification-content span {
    color: #374151 !important;
    flex: 1 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.4 !important;
}

.notification-toast.notification-confirm .notification-icon {
    color: #6366f1 !important;
    flex-shrink: 0 !important;
}

.notification-toast.notification-confirm .notification-actions {
    display: flex !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    padding: 0 16px 16px 16px !important;
}

.notification-toast.notification-confirm .notification-btn {
    padding: 10px 18px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.notification-toast.notification-confirm .notification-btn-confirm {
    background: #10b981 !important;
    color: white !important;
    border: none !important;
}

.notification-toast.notification-confirm .notification-btn-confirm:hover {
    background: #059669 !important;
}

.notification-toast.notification-confirm .notification-btn-cancel {
    background: #6b7280 !important;
    color: white !important;
    border: none !important;
}

.notification-toast.notification-confirm .notification-btn-cancel:hover {
    background: #4b5563 !important;
}

/* Notificações de vencimento */
.expiration-warning-notification {
    background: #ffffff !important;
    border: 1px solid #f59e0b !important;
    border-left: 4px solid #f59e0b !important;
}

.expiration-warning-notification h4 {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 0 6px 0 !important;
    color: #92400e !important;
    line-height: 1.3 !important;
}

.expiration-warning-notification p {
    font-size: 13px !important;
    margin: 0 0 10px 0 !important;
    color: #92400e !important;
    line-height: 1.4 !important;
}

.expiration-warning-notification button {
    font-size: 12px !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

/* Notificações de checkout */
.checkout-notification {
    background: #ffffff !important;
    border: 1px solid #3b82f6 !important;
    border-left: 4px solid #3b82f6 !important;
    color: #1e40af !important;
}

/* Notificações de entrega */
.delivery-notification {
    background: #ffffff !important;
    border: 1px solid #10b981 !important;
    border-left: 4px solid #10b981 !important;
    color: #065f46 !important;
}

/* Notificações da planta viva */
.planta-viva-notification {
    background: #ffffff !important;
    border: 1px solid #8b5cf6 !important;
    border-left: 4px solid #8b5cf6 !important;
    color: #5b21b6 !important;
}

/* Animações suaves */
@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;
    }
}

/* Aplicar animações */
.expiration-warning-notification,
.notification-toast,
.checkout-notification,
.delivery-notification,
.planta-viva-notification {
    animation: slideInRight 0.3s ease !important;
}

/* Responsividade */
@media (max-width: 768px) {

    .expiration-warning-notification,
    .notification-toast,
    .checkout-notification,
    .delivery-notification,
    .planta-viva-notification {
        max-width: calc(100vw - 40px) !important;
        right: 20px !important;
        left: 20px !important;
    }
}

/* Auto-remove após 8 segundos */
.expiration-warning-notification.auto-remove {
    animation: slideOutRight 0.3s ease forwards !important;
    animation-delay: 8s !important;
}