/* ==========================================================================
   TOASTS & NOTIFICATIONS - DARK NEON (BIG CENTER ZOOM)
   Fonte: 'Outfit'
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --t-bg: rgba(20, 20, 35, 0.98); /* Quase preto, muito opaco */
    --t-border: 1px solid rgba(255, 255, 255, 0.15);
    --t-shadow: 0 20px 60px rgba(0, 0, 0, 0.8); /* Sombra pesada */
    
    /* Cores Neon Vibrantes */
    --neon-success: #10b981;
    --neon-danger: #ef4444;
    --neon-info: #3b82f6;
    --neon-warning: #f59e0b;
}

/* --- Container Geral (CENTRO ABSOLUTO) --- */
.toast-container {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza perfeitamente */
    z-index: 9999;
    
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    pointer-events: none;
}

/* --- O Toast "Gigante" --- */
.toast-alert {
    font-family: 'Outfit', sans-serif;
    position: relative;
    
    /* Tamanho Grande */
    min-width: 500px;
    max-width: 90vw;
    padding: 30px 40px; 
    
    background: var(--t-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px; /* Mais arredondado */
    
    /* Tipografia Aumentada */
    color: #fff;
    font-size: 1.2rem; 
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    
    pointer-events: all;
    overflow: hidden;
    
    /* Bordas Neon Completas */
    border: 2px solid rgba(255,255,255,0.1);
    
    box-shadow: var(--t-shadow);
    
    /* ANIMAÇÃO DE ZOOM (Do centro para o centro) */
    opacity: 0;
    transform: scale(0.5); /* Começa pequeno */
    animation: toastZoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, /* Efeito elástico */
               toastFadeOut 0.5s 4.5s forwards;
    
    display: flex;
    flex-direction: column; /* Ícone em cima do texto */
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Ícone Grande (opcional, se o HTML tiver ícone) */
.toast-alert i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.toast-alert strong {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 5px;
}

/* --- Estilos Específicos (Borda e Glow) --- */

/* Sucesso */
.alert-success {
    border-color: var(--neon-success);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2), inset 0 0 20px rgba(16, 185, 129, 0.05);
}
.alert-success strong { color: var(--neon-success); }

/* Erro */
.alert-danger {
    border-color: var(--neon-danger);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.2), inset 0 0 20px rgba(239, 68, 68, 0.05);
}
.alert-danger strong { color: var(--neon-danger); }

/* Info */
.alert-info {
    border-color: var(--neon-info);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2), inset 0 0 20px rgba(59, 130, 246, 0.05);
}
.alert-info strong { color: var(--neon-info); }

/* Aviso */
.alert-warning {
    border-color: var(--neon-warning);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.2), inset 0 0 20px rgba(245, 158, 11, 0.05);
}
.alert-warning strong { color: var(--neon-warning); }


/* --- Animações de Zoom --- */
@keyframes toastZoomIn {
    0% { 
        opacity: 0; 
        transform: scale(0.5); /* Pequeno */
    }
    100% { 
        opacity: 1; 
        transform: scale(1); /* Tamanho normal */
    }
}

@keyframes toastFadeOut {
    to { 
        opacity: 0; 
        transform: scale(1.1); /* Cresce um pouco ao sumir (fade out) */
        pointer-events: none; 
    }
}


/* ===================================================
   NOTIFICAÇÃO DE NOVO AGENDAMENTO (MANTIDA)
   Já é grande e centralizada, apenas ajustando z-index
   =================================================== */

.notification-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    z-index: 10000; /* Maior que o toast */
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.notification-alert {
    font-family: 'Outfit', sans-serif;
    background: #151521;
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 20px;
    padding: 40px;
    
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 
                0 30px 80px rgba(0, 0, 0, 0.9),
                0 0 50px rgba(59, 130, 246, 0.25);
                
    min-width: 550px;
    max-width: 800px;
    width: 90%;
    pointer-events: all;
    position: relative;
    
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.notification-alert::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.notification-alert.show {
    opacity: 1;
    transform: scale(1);
}

.notification-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.notification-header h4 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: flex; align-items: center; gap: 15px;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.notification-body p {
    margin: 12px 0;
    font-size: 1.2rem;
    color: #cbd5e1;
}

.notification-body strong {
    color: #3b82f6;
    font-weight: 600;
}

.notification-confirm-btn {
    margin-top: 30px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.notification-confirm-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.6);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    /* No mobile, não pode ser TÃO gigante senão quebra a tela */
    .toast-alert {
        min-width: 0;
        width: 90vw;
        font-size: 1rem;
        padding: 20px;
    }
    .toast-container {
        width: 100%;
    }
}