        /* Estilos personalizados para complementar o Tailwind */


        body {
            font-family: 'Tormenta', sans-serif;
            background-color: #fdf5e6;
        }

        .header-tormenta {
          background-color: rgb(148, 2, 2);
          text-align: center;

        }

        .titulo {
          font-family: 'Tormenta', sans-serif;
          color: white;
          margin: 0;
          font-size: 2.5rem;
        }

        .titulo {
          font-family: 'Tormenta', sans-serif;
          font-size: 48px;
        }

        .font-medieval {
            font-family: 'Tormenta', sans-serif;
        }

        /* Estilo para a aparência de pergaminho */
        .parchment {
            background-color: #fdf5e6; /* Cor de fundo tipo pergaminho */
            border: 2px solid #8B4513; /* Borda marrom-saddle */
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
        }

        input[type="number"]::-webkit-outer-spin-button,
        input[type="number"]::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        input[type="number"] {
            -moz-appearance: textfield;
        }
        
        /* Estilo para o modal de confirmação */
        .modal {
            transition: opacity 0.3s ease;
        }

        /* Esconde os botões na impressão padrão do navegador */
        @media print {
            .no-print {
                display: none !important;
            }
        }
        
        /* Estilos agressivos para o modo de impressão PDF */
        .print-mode {
            background-color: #fdf5e6 !important;
            padding: 0 !important;
            margin: 0 !important;
            font-size: 7pt !important;
        }
        .print-mode #ficha-container {
            box-shadow: none !important;
            background-color: #fdf5e6 !important;
            margin: 0 auto;
            width: 100%;
            padding: 5mm !important;
        }
        .print-mode .lg\:grid-cols-2 {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 1rem !important;
        }
        .print-mode h3, .print-mode label { font-size: 8pt !important; font-weight: bold; margin-bottom: 1px !important; }
        .print-mode input, .print-mode select, .print-mode textarea { font-size: 7pt !important; padding: 1px !important; }
        .print-mode .text-4xl { font-size: 1.5rem !important; }
        .print-mode .text-3xl { font-size: 1.25rem !important; }
        .print-mode .text-2xl { font-size: 1.1rem !important; }
        .print-mode .text-xl { font-size: 0.9rem !important; }
        .print-mode .w-14, .print-mode .h-14 { width: 2.2rem !important; height: 2.2rem !important; }
        .print-mode .w-16, .print-mode .h-16 { width: 2.5rem !important; height: 2.5rem !important; }
        .print-mode .w-24, .print-mode .h-24 { width: 4rem !important; height: 4rem !important; }
        .print-mode .w-20, .print-mode .h-20 { width: 3.5rem !important; height: 3.5rem !important; }
        .print-mode section, .print-mode .space-y-6 > * { margin-bottom: 0.4rem !important; }
        .print-mode .space-y-4 > * + * { margin-top: 0.4rem !important; }
        .print-mode .space-y-2 > * + * { margin-top: 0.2rem !important; }
        .print-mode .gap-4 { gap: 0.4rem !important; }
        .print-mode .gap-6 { gap: 0.8rem !important; }
        .print-mode .p-1 { padding: 1px !important; }
        .print-mode .p-2 { padding: 2px !important; }
        .print-mode .p-4 { padding: 0.4rem !important; }
        .print-mode .p-6 { padding: 0.8rem !important; }
        .print-mode .mb-6 { margin-bottom: 0.8rem !important; }
        .print-mode .mt-6 { margin-top: 0.8rem !important; }
        .print-mode .pb-6 { padding-bottom: 0.8rem !important; }
        .print-mode textarea { min-height: 50px !important; }
        .print-mode .no-print { display: none !important; }
        .print-mode, .print-mode * {
            -webkit-print-color-adjust: exact !important;
            print-color-adjust: exact !important;
        }