* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  background: #f2f2f2;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

/* ---------- FORMULÁRIO ---------- */
.form-area {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 25px;
}

.form-area h2 {
  margin-bottom: 15px;
  color: #1a4d2e;
}

.form-area label {
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.form-area input,
.form-area select,
.form-area textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.form-area textarea {
  resize: vertical;
  min-height: 60px;
}

.form-area button {
  width: 100%;
  margin-top: 18px;
  padding: 13px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  background: #1a4d2e;
  color: #fff;
  transition: 0.2s;
}

.form-area button:hover {
  opacity: 0.9;
}

.btn-secundario {
  background: #333 !important;
}

/* ---------- RECIBO ---------- */
.recibo {
  background: #fff;
  padding: 30px;
  border: 2px solid #1a4d2e;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cabecalho {
  text-align: center;
  margin-bottom: 10px;
}

.cabecalho h1 {
  color: #1a4d2e;
  font-size: 22px;
}

.cabecalho p {
  font-size: 13px;
  color: #444;
  margin-top: 2px;
}

hr {
  margin: 15px 0;
  border: none;
  border-top: 1px solid #ccc;
}

.titulo-recibo {
  text-align: center;
  letter-spacing: 3px;
  color: #1a4d2e;
  margin-bottom: 10px;
}

.valor-destaque {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: #1a4d2e;
  margin-bottom: 20px;
}

.linha {
  margin-bottom: 18px;
  line-height: 1.7;
  font-size: 15px;
  text-align: justify;
}

.data-local {
  margin-top: 30px;
  text-align: right;
  font-size: 14px;
}

.assinatura {
  margin-top: 50px;
  text-align: center;
}

/* .linha-assinatura {
  width: 70%;
  margin: 0 auto;
  border-top: 1px solid #000;
  margin-bottom: 6px;
} */

.assinatura p {
  font-size: 14px;
  font-weight: bold;
}

/* ---------- RESPONSIVO (CELULAR) ---------- */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  .recibo {
    padding: 18px;
  }
  .cabecalho h1 {
    font-size: 18px;
  }
  .valor-destaque {
    font-size: 22px;
  }
  .linha {
    font-size: 14px;
  }
}

/* ---------- IMPRESSÃO / PDF (A4) ---------- */
@media print {
  body {
    background: #fff;
    padding: 0;
  }
  .no-print {
    display: none !important;
  }
  .container {
    max-width: 100%;
  }
  .recibo {
    box-shadow: none;
    border: 1px solid #000;
    width: 190mm;
    min-height: 130mm;
    margin: 0 auto;
    page-break-inside: avoid;
  }
  @page {
    size: A4;
    margin: 15mm;
  }
}