/* ==========================================================
   Requerimento à Gerência de RENAVAM e RENACH — form12
   ========================================================== */

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

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

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

/* ── Corpo ── */
.meio p {
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
}

.meio input {
  font-family: 'Times New Roman', Times, serif;
  border: none;
  border-bottom: 1px solid #c8c8c8;
  font-size: 18px;
  text-align: center;
}
.meio input:focus { outline: none; }

.meio h4 input { width: 20px; height: 20px; }

/* ── Seções ── */
.tabela1 {
  border: 1px solid #888;
  padding: 4px 10px;
  margin-top: 10px;
}

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

/* ── Fechamento ── */
.mt { margin-top: 25px; }

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

/* ── CEP — estado visual do input (border-bottom-color) ── */
#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-checkboxes {
  text-align: center;
  font-size: 11pt;
  margin: 4px 0 4px;
}

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

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

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

#pdf-document .doc-motivacao {
  margin: 3pt 0;
}

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

/* Larguras — A4 usável ~174mm (210mm - 36mm padding) */
#pdf-document .pf-nome          { width: 145mm; display: block; }
#pdf-document .pf-cpf           { width: 33mm; }
#pdf-document .pf-rg            { width: 33mm; }
#pdf-document .pf-orgao         { width: 28mm; }
#pdf-document .pf-cnh           { width: 50mm; }
#pdf-document .pf-renavam       { width: 40mm; }
#pdf-document .pf-placa         { width: 28mm; }
#pdf-document .pf-representante { width: 145mm; display: block; }
#pdf-document .pf-endereco      { width: 110mm; }
#pdf-document .pf-bairro        { width: 38mm; }
#pdf-document .pf-cidade        { width: 55mm; }
#pdf-document .pf-uf            { width: 11mm; }
#pdf-document .pf-cep           { width: 28mm; }
#pdf-document .pf-tel           { width: 38mm; }
#pdf-document .pf-email         { width: 75mm; }
#pdf-document .pf-longa         { width: 145mm; display: block; }
#pdf-document .pf-motivacao     { width: 145mm; min-height: 15mm; display: block; vertical-align: top; text-align: left; }
#pdf-document .pf-cidade-data   { width: 28mm; }
#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: 4pt 0 2pt;
  line-height: 14pt;
}

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

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

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


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