/* ─── Variables ─────────────────────────────────────────────────────────── */
#dsz {
  --blue:       #1E2E7A;
  --blue-hov:   #2D46B9;
  --blue-lt:    #EEF2FF;
  --text:       #1F2937;
  --muted:      #6B7280;
  --border:     #D1D5DB;
  --error:      #DC2626;
  --success:    #16A34A;
  --bg:         #FFFFFF;
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(30,46,122,.18);
  --trans:      150ms ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px 80px;
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}
#dsz *, #dsz *::before, #dsz *::after { box-sizing: border-box; }

/* ─── Progress ──────────────────────────────────────────────────────────── */
.dsz-prog {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  padding-top: 8px;
}
.dsz-prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: none;
}
.dsz-prog-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
  color: var(--muted);
  transition: background var(--trans), border-color var(--trans), color var(--trans);
}
.dsz-prog-dot.active { background: var(--blue); border-color: var(--blue); color: #fff !important; }
.dsz-prog-dot.done   { background: var(--success); border-color: var(--success); color: #fff !important; }
.dsz-prog-label { font-size: .65rem; color: var(--muted); white-space: nowrap; }
.dsz-prog-label.active { color: var(--blue); font-weight: 600; }
.dsz-prog-line { flex: 1; height: 2px; background: var(--border); margin: 0 8px; transition: background var(--trans); }
.dsz-prog-line.done { background: var(--success); }

/* ─── Page title ────────────────────────────────────────────────────────── */
#dsz .dsz-page-title {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  margin: 0 0 4px !important;
  letter-spacing: -.02em;
}
#dsz .dsz-page-sub {
  font-size: .9rem;
  color: var(--muted);
  margin: 0 0 28px !important;
}

/* ─── Section headings ──────────────────────────────────────────────────── */
#dsz .dsz-section-title {
  font-size: .8rem !important;
  font-weight: 700 !important;
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 0 0 12px !important;
}

/* ─── Hospital cards ────────────────────────────────────────────────────── */
.dsz-hosp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
#dsz .dsz-hosp-card {
  position: relative;
  background: var(--bg) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 16px !important;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--trans), background var(--trans), box-shadow var(--trans), transform var(--trans);
  outline: none;
  min-height: 110px;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: none !important;
}
#dsz .dsz-hosp-card:hover:not(.selected) {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(30,46,122,.08) !important;
}
#dsz .dsz-hosp-card:active { transform: scale(.98); }

/* — Selected state — */
#dsz .dsz-hosp-card.selected {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Check badge — top right */
.dsz-hosp-check {
  position: absolute;
  top: 10px; right: 10px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--trans);
  font-size: .65rem; color: transparent;
}
#dsz .dsz-hosp-card.selected .dsz-hosp-check {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.6);
  color: #fff !important;
}
#dsz .dsz-hosp-card.selected .dsz-hosp-check::after { content: '✓'; }

.dsz-hosp-icon-wrap { font-size: 1.25rem; margin-bottom: 2px; }

#dsz .dsz-hosp-name {
  font-size: .875rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  line-height: 1.3;
  padding-right: 24px;
}
#dsz .dsz-hosp-card.selected .dsz-hosp-name { color: #fff !important; }

#dsz .dsz-hosp-days {
  font-size: .75rem !important;
  color: var(--muted) !important;
}
#dsz .dsz-hosp-card.selected .dsz-hosp-days { color: rgba(255,255,255,.75) !important; }

/* ─── Form fields ───────────────────────────────────────────────────────── */
.dsz-field-group { margin-bottom: 20px; }
.dsz-names-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .dsz-names-row { grid-template-columns: 1fr; } }

#dsz .dsz-label {
  display: block;
  font-size: .8125rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  margin-bottom: 6px !important;
}
#dsz .dsz-label .req { color: var(--error); margin-left: 2px; }
#dsz .dsz-label .opt { font-weight: 400; color: var(--muted); font-size: .75rem; }

/* Input wrapper with icon */
.dsz-input-wrap { position: relative; }
.dsz-input-icon {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  pointer-events: none;
  transition: opacity var(--trans);
  opacity: 0;
}
.dsz-input-icon.show { opacity: 1; }

#dsz .dsz-input,
#dsz .dsz-textarea {
  width: 100% !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 11px 40px 11px 14px !important;
  font-size: 16px !important;        /* previene zoom iOS */
  font-family: inherit !important;
  color: var(--text) !important;
  background: var(--bg) !important;
  outline: none !important;
  transition: border-color var(--trans), box-shadow var(--trans);
  -webkit-appearance: none;
}
#dsz .dsz-textarea {
  padding: 11px 14px !important;
  resize: vertical;
  min-height: 88px;
}
#dsz .dsz-input:focus,
#dsz .dsz-textarea:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(30,46,122,.1) !important;
}
#dsz .dsz-input.is-valid  { border-color: var(--success) !important; }
#dsz .dsz-input.is-error,
#dsz .dsz-textarea.is-error { border-color: var(--error) !important; background: #FFF5F5 !important; }

#dsz .dsz-field-err {
  display: none;
  font-size: .75rem;
  color: var(--error) !important;
  margin-top: 5px;
  font-weight: 500;
}
#dsz .dsz-field-err.show { display: block; }
#dsz .dsz-field-hint { font-size: .75rem; color: var(--muted); margin-top: 5px; }

/* ─── Motivo selector ───────────────────────────────────────────────────── */
.dsz-motivo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}
#dsz .dsz-motivo-btn {
  background: var(--bg) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  font-size: .8125rem !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
  transition: border-color var(--trans), background var(--trans), color var(--trans);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
#dsz .dsz-motivo-btn:hover:not(.selected) {
  border-color: var(--blue) !important;
  background: var(--blue-lt) !important;
}
#dsz .dsz-motivo-btn.selected {
  background: var(--blue-lt) !important;
  border-color: var(--blue) !important;
  color: var(--blue) !important;
  font-weight: 700 !important;
}
#dsz .dsz-motivo-btn.full-width { grid-column: 1 / -1; }

/* Motivo "Otro" textarea — animate in */
#dsz-motivo-otro-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height .25s ease, margin-top .25s ease, opacity .2s ease;
  opacity: 0;
  margin-top: 0;
}
#dsz-motivo-otro-wrap.open {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

/* ─── Char counter ──────────────────────────────────────────────────────── */
.dsz-char-count {
  display: block;
  text-align: right;
  font-size: .72rem;
  color: var(--muted);
  margin-top: 4px;
}
.dsz-char-count.near-limit { color: #D97706; }
.dsz-char-count.at-limit   { color: var(--error); }

/* ─── reCAPTCHA note ────────────────────────────────────────────────────── */
.dsz-rcap-note {
  font-size: .72rem;
  color: var(--muted);
  margin: 12px 0 20px;
  line-height: 1.5;
}
.dsz-rcap-note a { color: var(--muted); text-decoration: underline; }

/* ─── CTA Button ────────────────────────────────────────────────────────── */
#dsz .dsz-btn-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 15px 24px !important;
  border-radius: 50px !important;
  border: none !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  cursor: pointer;
  transition: background var(--trans), box-shadow var(--trans), opacity var(--trans), transform var(--trans);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
#dsz .dsz-btn-cta:not(:disabled) {
  background: var(--blue) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(30,46,122,.35) !important;
}
#dsz .dsz-btn-cta:not(:disabled):hover {
  background: var(--blue-hov) !important;
  box-shadow: 0 6px 20px rgba(30,46,122,.4) !important;
  transform: translateY(-1px);
}
#dsz .dsz-btn-cta:not(:disabled):active { transform: translateY(0); }
#dsz .dsz-btn-cta:disabled {
  background: var(--border) !important;
  color: var(--muted) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Back button */
#dsz .dsz-btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none !important; border: none !important;
  color: var(--muted) !important; font-size: .875rem; font-weight: 500;
  cursor: pointer; padding: 8px 0 !important; margin-bottom: 20px;
  font-family: inherit;
}
#dsz .dsz-btn-back:hover { color: var(--text) !important; }

/* ─── Slot cards (step 2) ───────────────────────────────────────────────── */
.dsz-slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
#dsz .dsz-slot-card {
  position: relative;
  background: var(--bg) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 16px !important;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--trans), background var(--trans), box-shadow var(--trans);
  outline: none;
  min-height: 100px;
  -webkit-tap-highlight-color: transparent;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: none !important;
}
#dsz .dsz-slot-card:hover:not(.selected) {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(30,46,122,.08) !important;
}
#dsz .dsz-slot-card.selected {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  box-shadow: var(--shadow-md) !important;
}
#dsz .dsz-slot-day  { font-size: .7rem !important; color: var(--muted) !important; font-weight: 500; text-transform: capitalize; }
#dsz .dsz-slot-date { font-size: 1rem !important; color: var(--text) !important; font-weight: 700; }
#dsz .dsz-slot-time { font-size: .8125rem !important; color: var(--muted) !important; }
#dsz .dsz-slot-card.selected .dsz-slot-day  { color: rgba(255,255,255,.75) !important; }
#dsz .dsz-slot-card.selected .dsz-slot-date { color: #fff !important; }
#dsz .dsz-slot-card.selected .dsz-slot-time { color: rgba(255,255,255,.8) !important; }
.dsz-slot-chk {
  position: absolute; top: 10px; right: 10px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: transparent;
  transition: all var(--trans);
}
#dsz .dsz-slot-card.selected .dsz-slot-chk {
  background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.5);
  color: #fff !important;
}
#dsz .dsz-slot-card.selected .dsz-slot-chk::after { content: '✓'; }

/* "Ver más fechas" button */
#dsz .dsz-btn-more {
  display: block !important; width: 100% !important; margin: 12px 0 0 !important;
  background: transparent !important; border: 1.5px dashed var(--border) !important;
  border-radius: var(--radius-sm) !important; padding: 11px 16px !important;
  font-size: .8rem !important; color: var(--blue) !important; font-weight: 600 !important;
  cursor: pointer !important; text-align: center !important; transition: border-color .2s, background .2s !important;
}
#dsz .dsz-btn-more:hover { border-color: var(--blue) !important; background: var(--blue-lt) !important; }
#dsz .dsz-slots-extra { display: none; margin-top: 8px; }
#dsz .dsz-slots-extra.open { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@media (max-width:480px) { #dsz .dsz-slots-extra.open { grid-template-columns: 1fr; } }

/* Summary strip (step 2) */
.dsz-summary-strip {
  background: var(--blue-lt);
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 20px;
}
.dsz-summary-strip .dsz-sum-label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.dsz-summary-strip .dsz-sum-val   { font-size: .875rem; color: var(--blue); font-weight: 700; }

/* ─── Loading spinner ───────────────────────────────────────────────────── */
.dsz-loading { text-align: center; padding: 40px 16px; color: var(--muted); }
.dsz-spinner {
  width: 32px; height: 32px; margin: 0 auto 14px;
  border: 3px solid var(--border); border-top-color: var(--blue);
  border-radius: 50%; animation: dsz-spin .75s linear infinite;
}
@keyframes dsz-spin { to { transform: rotate(360deg); } }

/* ─── Error banner ──────────────────────────────────────────────────────── */
.dsz-banner {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .875rem;
  margin-bottom: 16px;
  display: none;
}
.dsz-banner.error { background: #FEF2F2; border: 1px solid #FECACA; color: var(--error) !important; }
.dsz-banner.show  { display: block; }
#dsz .dsz-err-wa {
  display: inline-block !important; margin-top: 8px !important;
  background: #25D366 !important; color: #fff !important; border-radius: 6px !important;
  padding: 7px 14px !important; font-size: .8rem !important; font-weight: 700 !important;
  text-decoration: none !important; white-space: nowrap !important;
}

/* ─── Step 3: Confirmation ──────────────────────────────────────────────── */
.dsz-conf-head { text-align: center; padding: 16px 0 24px; }
.dsz-conf-head .dsz-conf-icon { font-size: 3rem; margin-bottom: 10px; }
#dsz .dsz-conf-head h2 { font-size: 1.5rem !important; font-weight: 800 !important; color: var(--text) !important; margin: 0 0 6px !important; }
#dsz .dsz-conf-head p  { color: var(--muted) !important; font-size: .9rem; margin: 0 !important; }
.dsz-conf-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.dsz-conf-card-header {
  background: var(--blue); color: #fff !important;
  padding: 12px 18px; font-weight: 700; font-size: .875rem;
  display: flex; align-items: center; gap: 8px;
}
.dsz-conf-card-body { padding: 6px 0; }
.dsz-conf-row {
  display: flex; gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid #F3F4F6;
  font-size: .875rem;
}
.dsz-conf-row:last-child { border: none; }
#dsz .dsz-conf-row .cl { color: var(--muted) !important; min-width: 90px; font-weight: 500; }
#dsz .dsz-conf-row .cv { color: var(--text) !important; font-weight: 600; flex: 1; }
.dsz-instr {
  background: #F0FDF4; border: 1px solid #BBF7D0;
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: .8125rem; color: #166534 !important; line-height: 1.65;
  margin-bottom: 20px;
}
.dsz-instr strong { display: block; margin-bottom: 8px; font-size: .875rem; color: #14532D !important; }
.dsz-instr ul { margin: 0; padding-left: 16px; }
.dsz-instr li { margin-bottom: 4px; }

/* ─── WA / Tel buttons ──────────────────────────────────────────────────── */
#dsz .dsz-btn-wa {
  display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  width: 100% !important; padding: 13px 24px !important;
  background: #25D366 !important; color: #fff !important;
  border: none !important; border-radius: 50px !important;
  font-size: .95rem !important; font-weight: 700 !important;
  font-family: inherit; cursor: pointer; text-decoration: none !important;
  margin-top: 10px !important;
}

/* ─── Already confirmed panel ───────────────────────────────────────────── */
#dsz-already { display: none; }

/* ─── Panels ────────────────────────────────────────────────────────────── */
.dsz-panel { display: none; }
.dsz-panel.on { display: block; }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .dsz-hosp-grid   { grid-template-columns: 1fr; }
  .dsz-motivo-grid  { grid-template-columns: 1fr; }
  #dsz .dsz-motivo-btn.full-width { grid-column: auto; }
  .dsz-slots-grid   { grid-template-columns: 1fr; }
}
@media (min-width: 481px) {
  #dsz { padding: 0 24px 80px; }
}
/* ─── Consent checkbox ──────────────────────────────────────────────────── */
.dsz-consent-wrap {
  margin: 20px 0 8px;
  background: #F8FAFF;
  border: 1.5px solid #C7D2FE;
  border-radius: 10px;
  padding: 14px 16px;
}
.dsz-consent-label {
  display: flex !important; align-items: flex-start !important; gap: 10px !important;
  cursor: pointer !important;
}
.dsz-consent-label input[type="checkbox"] { display: none !important; }
.dsz-consent-check {
  flex-shrink: 0 !important;
  width: 18px !important; height: 18px !important; margin-top: 2px !important;
  border: 2px solid var(--blue) !important; border-radius: 4px !important;
  background: #fff !important; display: flex !important; align-items: center !important;
  justify-content: center !important; transition: background .2s !important;
}
.dsz-consent-label input[type="checkbox"]:checked + .dsz-consent-check {
  background: var(--blue) !important;
}
.dsz-consent-label input[type="checkbox"]:checked + .dsz-consent-check::after {
  content: '✓' !important; color: #fff !important; font-size: 12px !important;
  font-weight: 700 !important; line-height: 1 !important;
}
.dsz-consent-text {
  font-size: .8rem !important; color: var(--text) !important; line-height: 1.5 !important;
}
.dsz-legal-link {
  background: none !important; border: none !important; padding: 0 !important;
  color: var(--blue) !important; text-decoration: underline !important;
  font-size: .8rem !important; cursor: pointer !important; font-weight: 600 !important;
}

/* ─── Legal modal ───────────────────────────────────────────────────────── */
#dsz-legal-overlay {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,.55); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 16px;
}
#dsz-legal-overlay.open { display: flex !important; }
#dsz-legal-modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 640px;
  max-height: 88vh; display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.dsz-legal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 0; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.dsz-legal-tabs { display: flex; gap: 4px; }
.dsz-legal-tab {
  background: none; border: none; padding: 10px 16px; font-size: .82rem;
  font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.dsz-legal-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
#dsz-legal-close {
  background: none; border: none; font-size: 1.4rem; color: var(--muted);
  cursor: pointer; padding: 4px 8px; line-height: 1; margin-left: 8px;
}
.dsz-legal-body {
  overflow-y: auto; padding: 20px 24px; flex: 1;
  font-size: .82rem; color: var(--text); line-height: 1.65;
}
.dsz-legal-body h3 { font-size: 1rem; color: var(--blue); margin: 0 0 6px; }
.dsz-legal-body h4 { font-size: .85rem; color: var(--blue); margin: 18px 0 6px; }
.dsz-legal-body p  { margin: 0 0 10px; }
.dsz-legal-body ol,.dsz-legal-body ul { padding-left: 20px; margin: 0 0 10px; }
.dsz-legal-body li { margin-bottom: 4px; }
.dsz-legal-footer {
  padding: 14px 20px; border-top: 1px solid var(--border); flex-shrink: 0;
}
.dsz-legal-footer .dsz-btn-cta { margin: 0 !important; }

/* ─── Eleonor preregistro CTA ────────────────────────────────────────────── */
.dsz-eleonor-cta {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(135deg, #F0F4FF 0%, #EEF2FF 100%);
  border: 1.5px solid #C7D2FE; border-radius: 14px;
  padding: 18px; margin: 16px 0;
}
.dsz-eleonor-icon { font-size: 2rem; flex-shrink: 0; margin-top: 2px; }
.dsz-eleonor-body { flex: 1; }
.dsz-eleonor-body strong { font-size: .9rem; color: var(--blue); display: block; margin-bottom: 6px; }
.dsz-eleonor-body p { font-size: .8rem; color: var(--text); margin: 0 0 12px; line-height: 1.5; }
.dsz-eleonor-btn {
  display: inline-block; background: var(--blue); color: #fff !important;
  border-radius: 8px; padding: 10px 18px; font-size: .82rem; font-weight: 700;
  text-decoration: none !important; transition: opacity .2s;
}
.dsz-eleonor-btn:hover { opacity: .85; }
.dsz-eleonor-note {
  font-size: .72rem !important; color: var(--muted) !important; margin-top: 10px !important;
}

/* ─── Estado pendiente de confirmación ───────────────────────────────────── */
.dsz-pending-box {
  background: #FFFBEB; border: 1.5px solid #FCD34D; border-radius: 12px;
  padding: 14px 16px; margin: 14px 0;
}
.dsz-pending-box p { font-size: .82rem; color: #92400E; margin: 0 0 6px; line-height: 1.5; }
.dsz-pending-box p:last-child { margin: 0; }
.dsz-pending-note { font-size: .78rem !important; color: #B45309 !important; }

/* ─── Botón WA confirm (verde más oscuro para diferenciar) ───────────────── */
.dsz-btn-wa-confirm {
  background: #15803D !important;
  justify-content: center; align-items: center; margin-bottom: 10px;
}

/* ─── Botón "Ninguna fecha / Ver 2 semanas después" ─────────────────────── */
.dsz-btn-no-dates {
  width: 100%; margin-top: 14px; padding: 11px 16px;
  background: transparent; border: 1.5px dashed var(--muted);
  border-radius: 10px; color: var(--muted); font-size: .8rem;
  cursor: pointer; text-align: center; transition: all .2s;
}
.dsz-btn-no-dates:hover { border-color: var(--blue); color: var(--blue); background: #F0F4FF; }

/* ─── Botón "← Ver fechas cercanas" ──────────────────────────────────────── */
.dsz-btn-back-dates {
  display: block; margin-bottom: 10px; padding: 8px 14px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 8px; color: var(--blue); font-size: .8rem;
  cursor: pointer; transition: background .2s;
}
.dsz-btn-back-dates:hover { background: #F0F4FF; }

/* ─── Fecha de nacimiento (3 selects) ────────────────────────────────────── */
.dsz-dob-wrap {
  display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 8px;
}
.dsz-select {
  appearance: none; -webkit-appearance: none;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 11px 28px 11px 12px; font-size: .87rem; color: var(--text);
  width: 100%; cursor: pointer; transition: border-color .2s;
}
.dsz-select:focus { outline: none; border-color: var(--blue); }
.dsz-select option[value=""] { color: var(--muted); }

/* ─── Sexo biológico al nacer ─────────────────────────────────────────────── */
.dsz-sex-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px;
}
/* Opción "Prefiero no especificar" ocupa las 2 columnas en móvil */
@media (max-width: 480px) {
  #dsz-sex-x-label { grid-column: 1 / -1; }
}
.dsz-sex-option {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 14px; cursor: pointer; transition: all .18s;
  font-size: .87rem; color: var(--text);
}
.dsz-sex-option:hover { border-color: var(--blue); background: #F0F4FF; }
.dsz-sex-option.selected { border-color: var(--blue); background: #EFF6FF; color: var(--blue); font-weight: 600; }
.dsz-sex-option input[type="radio"] { display: none; }
.dsz-sex-icon { font-size: 1.1rem; }

/* ── Canal multi-canal bar ──────────────────────────────────────────────── */
.dsz-channel-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 14px;
  background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 10px;
  padding: 10px 16px; margin-bottom: 18px; font-size: .84rem; color: #166534;
}
.dsz-channel-rec { font-weight: 600; }
.dsz-channel-alts { color: #374151; }
.dsz-channel-alts a { color: #1E2E7A; font-weight: 600; text-decoration: none; }
.dsz-channel-alts a:hover { text-decoration: underline; }
