/* === Checkboxes grandes y uniformes === */
input[type="checkbox"] {
  accent-color: #006c5f; /* verde irlandés */
}

.checkbox-large {
  width: 18px;
  height: 18px;
  accent-color: #006c5f;
  flex-shrink: 0; /* evita que se deforme */
}

label.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

/* Checkbox de fecha aproximada (alineado como el de términos) */
#approximate_date {
  margin-right: 6px;
  width: 18px;
  height: 18px;
  accent-color: #006c5f;
}

/* === Reset básico === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #000;
}

a {
  color: #02594C;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === Header === */
.top-header {
  background-color: #02594C;
  padding: 16px 20px;
  border-bottom: 3px solid #02594C;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}
.logo {
  height: 60px;
}
@media screen and (min-width: 768px) {
  .header-container { justify-content: flex-start; }
}

/* === Breadcrumb === */
.breadcrumb {
  font-size: 14px;
  padding: 16px 20px;
  background-color: #f8f8f8;
}
.breadcrumb a { color: #02594C; }

/* === Main container === */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}
h1 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #111;
}

/* === Steps === */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* escritorio: 4 columnas */
  gap: 12px;
  margin-bottom: 24px;
}
.step {
  text-align: center;
  background-color: #fff;
  padding: 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid #02594C;
  color: #02594C;
  transition: all 0.2s ease;
}
.step.active {
  background-color: #02594C;
  color: #fff;
}
.step.completado {
  background-color: #DCC457;
  color: #fff;
  border: 2px solid #DCC457;
}
.step-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: left;
}
.check-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #fff;
  color: #DCC457;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
}

/* === Formulario === */
.formulario {
  background-color: #fafafa;
  padding: 30px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 30px;
}
.formulario fieldset {
  border: none;
  margin-bottom: 30px;
  padding: 0;
}
.formulario legend {
  font-size: 18px;
  font-weight: bold;
  color: #02594C;
  margin-bottom: 16px;
}

/* === Agrupación en filas === */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.form-group {
  flex: 1;
  min-width: 220px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* === Campos de solo lectura === */
input[readonly] {
  background-color: #f1f1f1;
  color: #666;
  cursor: not-allowed;
}

/* === Términos y condiciones === */
.terminos {
  margin-top: 20px;
  font-size: 14px;
}
.terminos input[type="checkbox"] { margin-right: 6px; }
.terminos a {
  color: #02594C;
  text-decoration: none;
}
.terminos a:hover { text-decoration: underline; }

/* === Botón === */
.formulario button[type="submit"] {
  margin-top: 20px;
  background-color: #02594C;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.formulario button:hover { background-color: #014037; }

/* === Info final === */
.info-box {
  background-color: #f1f1f1;
  padding: 30px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 50px;
  text-align: center;
}
.info-box h2 {
  font-size: 20px;
  color: #02594C;
  margin-bottom: 12px;
}
.info-box p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* === Footer === */
.footer {
  margin-top: 120px;
  padding: 20px;
  font-size: 13px;
  color: #555;
  text-align: center;
  background-color: #f7f7f7;
  border-top: 1px solid #ddd;
}

/* === Responsive === */
@media screen and (max-width: 768px) {
  .form-row { flex-direction: column; }
  .steps { grid-template-columns: repeat(2, 1fr); } /* móvil: 2 columnas */
  .form-group { min-width: 100%; }
  .step { padding: 14px; font-size: 14px; }
}

/* === Preguntas frecuentes === */
.faq-box {
  margin-top: 60px;
  padding: 20px;
  border-radius: 8px;
  background-color: #fafafa;
  border: 1px solid #ddd;
}
.faq-box h2 {
  font-size: 22px;
  font-weight: bold;
  color: #02594C;
  margin-bottom: 20px;
  text-align: center;
}
.faq-box details {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 14px;
  background: #fff;
  transition: background 0.2s ease;
}
.faq-box details:hover { background: #f5f5f5; }
.faq-box summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  color: #111;
  list-style: none;
}
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
