/* ======================================================
   ESTILO UNIFICADO — FORMULARIOS CHECKLIST KINTO TREOS
   ====================================================== */
:root {
  --azul: #0B69FF;
  --gris: #f4f4f5;
  --texto: #1f2937;
  --borde: #e5e7eb;
  --suave: #f9fafb;
  --ok: #16a34a;
  --nc: #dc2626;
}

html, body {
  font-family: 'Montserrat', sans-serif;
  background: var(--gris);
  color: var(--texto);
  margin: 0;
  padding: 0;
}

.container {
  background: #fff;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 25px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  padding: 40px 50px;
}

h1, h2, h3, h5 {
  color: var(--azul);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
}

h3 {
  margin-top: 40px;
  border-bottom: 2px solid var(--borde);
  padding-bottom: 4px;
  text-align: left;
  font-weight: 600;
}

label {
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=date],
input[type=time],
input[type=month],
input[type=number],
select,
textarea {
  width: 100%;
  border: 1px solid var(--borde);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  background: var(--suave);
  color: var(--texto);
  outline: none;
  transition: border-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--azul);
  background: #fff;
}

textarea {
  resize: none;
  min-height: 80px;
}

/* ============= CHECKBOXES ============= */
input[type=checkbox] {
  accent-color: var(--azul);
  transform: scale(1.2);
  margin-right: 8px;
}

/* ============= SECCIONES ============= */
.section-title {
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid var(--borde);
  padding-bottom: 4px;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--azul);
}

/* ============= CANVAS DE FIRMA ============= */
canvas {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 10px;
  width: 100%;
  height: 180px;
}

.btn-outline-secondary {
  color: var(--azul);
  border: 1px solid var(--azul);
}
.btn-outline-secondary:hover {
  background: var(--azul);
  color: #fff;
}

/* ============= BOTÓN PRINCIPAL ============= */
.btn-primary {
  background: var(--azul);
  border: none;
  font-weight: 600;
  font-size: 18px;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: #0959d0;
}

/* ============= TEXTOS Y PIE DE PÁGINA ============= */
.small {
  font-size: 13px;
  color: #6b7280;
}

.footer-legal {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-top: 30px;
  font-size: 13px;
  color: #374151;
  border: 1px solid var(--borde);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
  .container {
    padding: 25px 20px;
  }
  h1 {
    font-size: 20px;
  }
  h3 {
    font-size: 16px;
  }
}

/* ============= IMPRESIÓN ============= */
@media print {
  body {
    background: #fff;
  }
  .container {
    box-shadow: none;
    border: none;
    padding: 0;
  }
  button, .btn, .footer-legal {
    display: none !important;
  }
  canvas {
    border: 1px solid #000;
  }
}
