@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Roboto:wght@400;600;700;900&display=swap');
:root {
  --color-primary: #00843D;
  --color-accent: #e8a020;
  --color-light-bg: #f7f8fa;
  --color-border: #dee2e6;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-light-bg);
  color: #333;
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  background-color: #00843d;
  padding: 1rem 0;
}

header img {
  max-height: 60px;
}

/* ── HERO BANNER ── */
.sectionHero {
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}

.sectionHero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .75rem;
  line-height: 1.25;
}

.sectionHero p {
  font-size: 1rem;
  opacity: .9;
  max-width: 700px;
  margin: 0 auto;
}

/* ── REQUISITOS ── */
.sectionRequisitos {
  background: #fff3cd;
  border-left: 5px solid var(--color-accent);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.sectionRequisitos h5 {
  color: #856404;
  font-weight: 700;
  margin-bottom: .5rem;
}

.sectionRequisitos ol {
  margin: 0;
  padding-left: 1.25rem;
  color: #6b5117;
  font-size: .93rem;
}

/* ── SECTION CARDS ── */
.form-section-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  margin-bottom: 2rem;
  overflow: hidden;
}

.form-section-header {
  background: var(--color-primary);
  color: #fff;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.form-section-header .section-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.form-section-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.form-section-header p.section-sub {
  font-size: .8rem;
  opacity: .8;
  margin: 0;
  line-height: 1.3;
}

.form-section-body {
  padding: 1.5rem;
}

/* ── FORM CONTROLS ── */
.form-label {
  font-weight: 600;
  font-size: .875rem;
  color: #444;
  margin-bottom: .35rem;
}

.form-label .required-star {
  color: #dc3545;
  margin-left: 2px;
}

.form-control,
.form-select {
  border-radius: 6px;
  border-color: var(--color-border);
  font-size: .9rem;
  padding: .55rem .85rem;
  transition: border-color .2s, box-shadow .2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,.12);
}

/* ── CHECKBOXES GRID ── */
.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .4rem .75rem;
}

.checks-grid .form-check {
  margin: 0;
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ── RADIO GROUPS ── */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.radio-btn-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--color-light-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  padding: .35rem .9rem;
  cursor: pointer;
  font-size: .875rem;
  transition: all .2s;
  user-select: none;
}

.radio-btn-label input[type="radio"],
.radio-btn-label input[type="checkbox"] {
  display: none;
}

.radio-btn-label:has(input:checked) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ── FILE UPLOAD ── */
.file-upload-area {
  border: 2px dashed var(--color-border);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #888;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}

.file-upload-area:hover {
  border-color: var(--color-primary);
  background: #f0f4f8;
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-area .upload-icon {
  font-size: 2rem;
  margin-bottom: .5rem;
  display: block;
}

.file-upload-area p {
  margin: 0;
  font-size: .85rem;
}

/* ── SIGNATURE PAD ── */
#signatureCanvas {
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  cursor: crosshair;
  touch-action: none;
  background: #fff;
  width: 100%;
  max-width: 600px;
  height: 160px;
  display: block;
}

/* ── SUBMIT BUTTON ── */
.btn-submit {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .8rem 3rem;
  border: none;
  border-radius: 30px;
  letter-spacing: .5px;
  transition: background .2s, transform .15s;
  cursor: pointer;
}
.btn-submit.disabled{
  pointer-events: none !important;
  opacity: 0.6 !important;
}
.btn-submit:hover {
  background: #c8870a;
  transform: translateY(-1px);
}

/* ── PROGRESS BAR ── */
.progress-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: .5rem 1rem;
}

.progress {
  height: 6px;
  border-radius: 3px;
}

.progress-bar {
  background: #00843d;
  transition: width .4s;
}

/* ── FOOTER ── */
footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 1.5rem;
  font-size: .85rem;
  margin-top: 2rem;
}

footer strong {
  color: #fff;
}

.visibleDesktop{
  display: block;
}
.visibleMobil{
  display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 789px) {
  .visibleDesktop{
    display: none !important;
  }
  .visibleMobil{
    display: block !important;
  } 
}
@media (max-width: 576px) {
  .sectionHero h1 { font-size: 1.4rem; }
  .form-section-body { padding: 1rem; }
  .checks-grid { grid-template-columns: 1fr 1fr; }
}

.separator-div-10 { height: 10px; }
.separator-div-20 { height: 20px; }
.separator-div-30 { height: 30px; }

.badge-required {
  font-size: .7rem;
  background: #dc3545;
  color: #fff;
  padding: .15em .4em;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 4px;
}

/* Alert */
#msg_alert_form { display: none; }

.btnPrim{
    background: #fff3cd;
    border-bottom: 5px solid #e8a020;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    width: 100%;
    display: block;
    text-align: center;
    color: #7c4f00;
    text-decoration: none !important;
    line-height: 1.2rem;
}
.iti{   
    width: 100%;
}






