@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =========================================
   LOADER ESTILO MODAL
   ========================================= */
@keyframes typing-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* --- TOASTS PERSONALIZADOS --- */

/* Classe base para a estrutura do Toast */
.toast-notification {
    position: fixed;
    right: 1rem;
    min-width: 180px;
    z-index: 3000;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-radius: 0.6rem;
    background-color: #0a0a0a;
    border: 1px solid #232323;
    color: #e8e9ec;
    opacity: 0; /* Começa invisível para a animação entrar */
}

/* Bordas coloridas */
.border-bottom-success { border-bottom: 4px solid #1cc88a !important; }
.border-bottom-warning { border-bottom: 4px solid #f6c23e !important; }
.border-bottom-danger { border-bottom: 4px solid #e74a3b !important; }

/* Animações (Keyframes que você forneceu) */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

/* Classes para ativar as animações */
.toast-animated {
    animation: slideInRight 0.5s forwards;
}

.toast-fade-out {
    animation: fadeOutRight 0.5s forwards;
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Ocupa toda a altura da viewport */
    background-color: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(1.5px);
    z-index: 999999 !important;
    display: none; /* Começa oculto */
    align-items: center;
    justify-content: center;
}

.loader-box {
    /* AQUI MUDOU: Removemos fundo branco, borda e sombra */
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-text {
    margin-top: 20px; /* Aumentei um pouco o espaço entre o spinner e o texto */

    font-weight: 400 !important;
    color: #ffffff !important;

    /* AQUI MUDOU: Aumentei o tamanho da fonte */
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

/* Animação de entrada */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
