@media print {
    @page {
        margin: 0;
        size: auto;
    }
    body {
        background: white !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .no-print {
        display: none !important;
    }
    /* Garantir que backgrounds sejam impressos */
    * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Estilos específicos para visualização A4 na tela */
.a4-preview {
    width: 210mm;
    min-height: 297mm;
    margin: 20px auto;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

@media screen and (max-width: 210mm) {
    .a4-preview {
        width: 100%;
        box-shadow: none;
        margin: 0;
    }
}

/* Animations */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
.animate-bounce-in {
  animation: bounceIn 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
