/* Animação Fade-in (usada em várias páginas) */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação Pulse (usada em donation-success.blade.php) */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Efeito de neve (Estilo global) */
.snowflake {
    position: fixed;
    top: -10px;
    color: white;
    font-size: 1em;
    animation: fall linear infinite;
    opacity: 0.8;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 9999;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Correção de Layout:
   Wrapper para páginas de conteúdo (donation-form, child-details, etc.)
   para adicionar margem no topo (evitando corte do header) e preenchimento.
*/
.content-wrapper {
    margin-top: 100px; /* Espaço para o header fixo */
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Ajuste responsivo para o wrapper de conteúdo */
@media (max-width: 768px) {
    .content-wrapper {
        margin-top: 90px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}
