/* ==========================================================
   Requerimento para Alteração de Características Veicular — form15
   ========================================================== */

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

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

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

.destinatario {
  font-family: 'Times New Roman', Times, serif;
  font-size: 15px;
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
}

/* ── 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; }

/* ── Seções ── */
.tabela1 {
  border: 1px solid #888;
  padding: 4px 10px;
  margin-top: 10px;
  text-align: left;
}
.tabela1 h3 { font-size: 15px; margin: 8px 0 4px; }

/* ── Fechamento ── */
.deferimento {
  margin-top: 18px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
}
.mt {
  margin-top: 25px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
}
.assinatura {
  margin-top: 50px;
  margin-bottom: 20px;
  font-family: 'Times New Roman', Times, serif;
}

/* ── Botão imprimir ── */
.print { text-align: center; }

/* ── 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: 11mm 18mm 10mm 18mm;
}

#pdf-document .doc-header {
  text-align: center;
  margin-bottom: 4px;
}
#pdf-document .doc-header img {
  height: 42px;
  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 1px;
  line-height: 1.25;
}

#pdf-document .doc-destinatario-pdf {
  font-size: 10pt;
  font-style: italic;
  text-align: center;
  margin: 1px 0 4px;
}

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

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

#pdf-document .doc-box p + p {
  margin-top: 3pt;
}

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

/* Larguras — A4 usável ~174mm */
#pdf-document .pf-nome     { width: 148mm; display: block; }
#pdf-document .pf-cpf      { width: 45mm; }
#pdf-document .pf-rg       { width: 35mm; }
#pdf-document .pf-orgao    { width: 32mm; }
#pdf-document .pf-endereco { width: 100mm; }
#pdf-document .pf-num      { width: 14mm; }
#pdf-document .pf-comp     { width: 48mm; }
#pdf-document .pf-bairro   { width: 52mm; }
#pdf-document .pf-cidade   { width: 65mm; }
#pdf-document .pf-uf       { width: 11mm; }
#pdf-document .pf-cep      { width: 28mm; }
#pdf-document .pf-tel      { width: 50mm; }
#pdf-document .pf-email    { width: 78mm; }
#pdf-document .pf-placa    { width: 24mm; }
#pdf-document .pf-marca    { width: 75mm; }
#pdf-document .pf-chassi   { width: 50mm; }
#pdf-document .pf-alteracao { width: 148mm; min-height: 18mm; 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-deferimento {
  font-size: 11pt;
  text-align: center;
  margin: 4pt 0;
}

#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: 850px) {
  .container { width: 100% !important; padding: 0 10px; }
  .meio input { font-size: 15px; }
}
@media (max-width: 576px) {
  .tabela1 { padding: 0 6px; }
  .meio p { font-size: 14px; }
  .meio input { font-size: 14px; }
  .header img { height: 40px; margin: 6px; }
}
