/* ==========================================================
   Requerimento 2ª Via de CRV/CRLV
   ========================================================== */

.text-left { text-align: justify; }

h3 { font-size: 18px; }

/* ── Cabeçalho ── */
.header { text-align: center; }
.header img { display: inline-block; margin: 0 10px; height: 55px; }

/* ── Título ── */
.inicio { margin-top: 25px; }

/* ── Parágrafos do corpo ── */
.meio p {
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 32px;
}

/* ── Parágrafos especiais ── */
.intro,
.vem,
.responsabilidade {
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 32px;
  text-align: justify;
  margin: 10px 0;
}

/* ── Inputs ── */
.meio input[type="text"] {
  font-family: 'Times New Roman', Times, serif;
  border: none;
  border-bottom: 1px solid #c8c8c8;
  font-size: 18px;
  text-align: center;
}
.meio input[type="text"]:focus { outline: none; }

/* ── Checkboxes ── */
.check-label {
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
}

.check-label input[type="checkbox"],
.tab span input {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
  cursor: pointer;
}

/* ── Seções ── */
.tabela1 {
  border: outset;
  padding: 0 10px;
  margin-top: 10px;
}

/* ── Textarea ── */
.area textarea {
  border: outset;
  font-family: 'Times New Roman', Times, serif;
  font-size: 18px;
  line-height: 24px;
  text-align: left;
  outline: none;
  width: 100%;
  resize: vertical;
}

/* ── Botão imprimir ── */
.btn {
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: .1em;
  background-color: #FFF;
  cursor: pointer;
  border: 1px solid #ccc;
}
.btn:focus { outline: none; }

/* ── Fechamento ── */
.t2  { margin-top: 50px; }
.right { text-align: right; }

.assinatura {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* ── CEP — estado visual do input ── */
#cep.cep-loading { border-bottom-color: #f59e0b !important; }
#cep.cep-ok      { border-bottom-color: #16a34a !important; }
#cep.cep-err     { border-bottom-color: #dc2626 !important; }


/* ==========================================================
   DOCUMENTO PDF (#pdf-document)
   ========================================================== */

#pdf-document {
  padding: 12mm 18mm 10mm 18mm;
}

#pdf-document .doc-header {
  text-align: center;
  margin-bottom: 5px;
}
#pdf-document .doc-header img {
  height: 44px;
  margin: 0 6px;
  display: inline-block;
}

#pdf-document .doc-title {
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  margin: 3px 0 6px;
  line-height: 1.25;
}

#pdf-document .doc-intro,
#pdf-document .doc-vem {
  font-size: 11pt;
  line-height: 18pt;
  margin: 4pt 0;
  text-align: justify;
}

#pdf-document .doc-box {
  border: 1px solid #000;
  padding: 2pt 6pt;
  margin: 3pt 0;
}

#pdf-document .doc-box p {
  font-size: 11pt;
  line-height: 16pt;
  margin: 0;
  text-align: left;
}

#pdf-document .doc-subtitle {
  font-size: 10pt;
  font-weight: bold;
  margin: 2pt 0;
}

/* Larguras — A4 usável ~174mm (210mm - 36mm padding) */
#pdf-document .pf-ciretran      { width: 44mm; }
#pdf-document .pf-nome          { width: 145mm; display: block; }
#pdf-document .pf-naturalidade  { width: 38mm; }
#pdf-document .pf-cpf-cnpj      { width: 48mm; }
#pdf-document .pf-rg            { width: 36mm; }
#pdf-document .pf-orgao         { width: 28mm; }
#pdf-document .pf-endereco      { width: 120mm; }
#pdf-document .pf-bairro        { width: 44mm; }
#pdf-document .pf-cidade        { width: 55mm; }
#pdf-document .pf-uf            { width: 11mm; }
#pdf-document .pf-cep           { width: 28mm; }
#pdf-document .pf-telefone      { width: 40mm; }
#pdf-document .pf-placa         { width: 24mm; }
#pdf-document .pf-chassi        { width: 54mm; }
#pdf-document .pf-ano-fab       { width: 14mm; }
#pdf-document .pf-ano-modelo    { width: 14mm; }
#pdf-document .pf-marca-modelo  { width: 100mm; }
#pdf-document .pf-cor           { width: 38mm; }
#pdf-document .pf-motivo        { width: 145mm; min-height: 18mm; display: block; vertical-align: top; text-align: left; }
#pdf-document .pf-cidade-data   { width: 32mm; }
#pdf-document .pf-dia           { width: 10mm; }
#pdf-document .pf-mes           { width: 24mm; }
#pdf-document .pf-ano           { width: 12mm; }

#pdf-document .doc-responsabilidade {
  font-size: 10pt;
  margin: 6pt 0 2pt;
  line-height: 14pt;
  text-align: justify;
}

#pdf-document .doc-data {
  font-size: 11pt;
  text-align: center;
  margin: 8pt 0 0;
}

#pdf-document .doc-assinatura { margin-top: 14pt; }


/* ==========================================================
   Responsividade
   ========================================================== */
@media (max-width: 768px) {
  .container { width: 100% !important; max-width: 100% !important; padding: 0 12px; }
  .meio input[type="text"] { font-size: 15px; }
  .meio p,
  .intro,
  .vem,
  .responsabilidade { font-size: 14px; }
  .header img { height: 40px; margin: 6px; }
}
