/* ══════════════════════════════════════════════════════════
 * IQU Registration Forms — public stylesheet
 *
 * Palette:
 *   Primary:  #1a5276
 *   Accent:   #f0b429
 *   Text:     #000  (pure black — no ash / gray for inputs & dropdowns)
 * ══════════════════════════════════════════════════════════ */

.iqu-form-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 14px 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #000;
  line-height: 1.55;
}

/* ─── Hero ─── */
.iqu-hero {
  text-align: center;
  padding: 30px 20px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8e1 0%, #f0f7ff 100%);
  border: 1px solid #f2e4c2;
  margin: 20px 0 18px;
}
.iqu-hero-summer {
  background: linear-gradient(135deg, #fff3d6 0%, #e8f5ff 100%);
}
.iqu-hero-badge {
  display: inline-block;
  background: #1a5276;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.iqu-hero h2 {
  margin: 0 0 6px;
  color: #1a5276;
  font-size: 1.9rem;
  font-weight: 700;
}
.iqu-hero-subtitle {
  margin: 0;
  color: #000;
  font-size: 15px;
}

/* ─── Intro card ─── */
.iqu-intro-card {
  background: #fff;
  border: 1px solid #e3ebf2;
  border-radius: 12px;
  padding: 26px 28px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(26, 82, 118, .06);
  color: #000;
}
.iqu-intro-card p  { margin: 0 0 12px; color: #000; }
.iqu-intro-card .iqu-highlight { background: #fff8e1; padding: 12px 14px; border-radius: 8px; border-left: 4px solid #f0b429; }
.iqu-intro-card blockquote {
  margin: 14px 0 0;
  padding: 14px 16px;
  background: #f7fafc;
  border-left: 4px solid #1a5276;
  font-style: italic;
  color: #000;
  border-radius: 6px;
}
.iqu-feature-list, .iqu-program-details {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
}
.iqu-feature-list li,
.iqu-program-details li {
  padding: 6px 0;
  color: #000;
  font-size: 15px;
}
.iqu-important-note {
  background: #e8f4fd;
  border-left: 4px solid #1a5276;
  padding: 12px 14px;
  border-radius: 6px;
  margin-top: 14px;
  color: #000;
  font-size: 14px;
}
.iqu-closing {
  text-align: center;
  font-weight: 600;
  color: #1a5276;
  margin-top: 14px !important;
}

/* ─── Form ─── */
.iqu-form {
  background: transparent;
}
.iqu-required-note {
  color: #c0392b;
  font-size: 13px;
  margin: 6px 2px 14px;
}

/* ─── Question card (Google-Forms-like) ─── */
.iqu-question {
  background: #fff;
  border: 1px solid #e3ebf2;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(26, 82, 118, .05);
}
.iqu-question label {
  display: block;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
}
.iqu-question .req { color: #c0392b; font-weight: 700; }
.iqu-help {
  color: #000;
  font-size: 13px;
  margin: -2px 0 10px;
  line-height: 1.5;
}
.iqu-help strong { color: #1a5276; }

/* ─── Inputs (BLACK text — no ash/gray) ─── */
.iqu-form input[type="text"],
.iqu-form input[type="email"],
.iqu-form input[type="number"],
.iqu-form input[type="tel"],
.iqu-form select,
.iqu-form textarea,
.iqu-modal input[type="text"] {
  color: #000;                    /* BLACK text */
  background: #fff;
  border: 1px solid #c7d2dc;
  border-bottom: 2px solid #c7d2dc;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.iqu-form input::placeholder,
.iqu-form textarea::placeholder {
  color: #000;
  opacity: .55;              /* still visible but not ash-gray */
}
.iqu-form input:focus,
.iqu-form select:focus,
.iqu-form textarea:focus,
.iqu-modal input:focus {
  outline: none;
  border-color: #1a5276;
  border-bottom-color: #1a5276;
  box-shadow: 0 0 0 3px rgba(26, 82, 118, .12);
}
.iqu-form select option { color: #000; }
.iqu-form textarea { resize: vertical; min-height: 90px; }
.iqu-form input.iqu-invalid,
.iqu-form select.iqu-invalid,
.iqu-form textarea.iqu-invalid { border-color: #e74c3c; background: #fff8f8; }

/* ─── Radio / Checkbox lists (Google-Forms-like) ─── */
.iqu-radio-list,
.iqu-check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.iqu-radio-fee { gap: 6px; }
.iqu-radio-label,
.iqu-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  color: #000;
  font-weight: 400;
  font-size: 14.5px;
  transition: background .12s;
}
.iqu-radio-label:hover,
.iqu-check-label:hover { background: #f5f9fc; }
.iqu-radio-label input,
.iqu-check-label input {
  margin-top: 3px;
  accent-color: #1a5276;
  width: 16px; height: 16px;
}
.iqu-radio-label em,
.iqu-check-label em {
  color: #000;
  font-style: italic;
  opacity: .85;
}

/* ─── Note card inside fee question ─── */
.iqu-note-card {
  background: #fff8e1;
  border: 1px solid #f2e4c2;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 8px 0 14px;
  color: #000;
  font-size: 13.5px;
}
.iqu-note-card p { margin: 0 0 8px; }
.iqu-note-card p:last-child { margin-bottom: 0; }

/* ─── Errors & alerts ─── */
.iqu-error {
  display: block;
  color: #c0392b;
  font-size: 13px;
  margin-top: 6px;
  min-height: 14px;
}
.iqu-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #000;
}
.iqu-alert-info  { background: #eaf4fb; border-left: 4px solid #1a5276; }
.iqu-alert-error { background: #fdecea; border-left: 4px solid #e74c3c; color: #c0392b; }

/* ─── Submit ─── */
.iqu-submit-area {
  text-align: center;
  padding: 18px 0 6px;
}
.iqu-btn-submit {
  background: linear-gradient(135deg, #f0b429, #e09000);
  color: #fff;
  border: none;
  padding: 14px 42px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .3px;
  box-shadow: 0 4px 14px rgba(240, 180, 41, .35);
  transition: transform .15s, box-shadow .15s;
}
.iqu-btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(240, 180, 41, .45);
}
.iqu-btn-submit:disabled { opacity: .65; cursor: not-allowed; }
.iqu-btn-compact { padding: 11px 26px; font-size: 15px; }
.iqu-btn-secondary {
  background: #eef2f7;
  color: #000;
  border: 1px solid #cfd9e3;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.iqu-btn-secondary:hover { background: #e3ebf2; }
.iqu-privacy-note { color: #000; font-size: 13px; margin-top: 12px; opacity: .8; }

/* ─── Zeffy warning ─── */
.iqu-zeffy-warning {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  border-left: 4px solid #f0b429;
  padding: 12px 14px;
  border-radius: 6px;
  color: #000;
  font-size: 13.5px;
  line-height: 1.55;
  margin-top: 12px;
}

/* ─── Honeypot ─── */
.iqu-hp-field {
  position: absolute !important;
  left: -9999px !important;
  display: none !important;
}

/* ═══════════════════════════════════════════════════════
 * MODAL (Zelle payment)
 * ═══════════════════════════════════════════════════════ */
.iqu-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}
.iqu-modal.is-open { display: flex; }
.iqu-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 20, 30, .55);
  backdrop-filter: blur(2px);
}
.iqu-modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  animation: iqu-modal-in .22s ease-out;
}
@keyframes iqu-modal-in {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.iqu-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #1a5276;
  line-height: 1;
}
.iqu-modal-header {
  text-align: center;
  padding: 24px 24px 6px;
}
.iqu-modal-icon { font-size: 38px; }
.iqu-modal-header h3 {
  margin: 10px 0 6px;
  color: #1a5276;
  font-size: 20px;
}
.iqu-modal-subtitle {
  margin: 0;
  color: #000;
  font-size: 13.5px;
  line-height: 1.55;
}
.iqu-modal-body { padding: 16px 24px 6px; }
.iqu-modal-footer {
  padding: 14px 24px 22px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.iqu-zelle-box {
  background: #f7fafc;
  border: 1px solid #e1e8ef;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.iqu-zelle-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #dce4ed;
  font-size: 14px;
  color: #000;
}
.iqu-zelle-row:last-child { border-bottom: none; }
.iqu-zelle-label { color: #1a5276; font-weight: 600; }
.iqu-zelle-val   { font-weight: 600; }

.iqu-modal-error {
  background: #fdecea;
  color: #c0392b;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13.5px;
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════
 * SUCCESS CARD
 * ═══════════════════════════════════════════════════════ */
.iqu-success-card {
  max-width: 620px;
  margin: 30px auto;
  padding: 40px 34px;
  text-align: center;
  background: #fff;
  border: 1px solid #e3ebf2;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(26, 82, 118, .08);
  color: #000;
  animation: iqu-success-in .35s ease-out;
}
@keyframes iqu-success-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.iqu-success-illu {
  display: block;
  margin: 0 auto 8px;
  animation: iqu-pop .4s cubic-bezier(.2,.8,.3,1.4);
}
@keyframes iqu-pop {
  0%   { transform: scale(.4); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}
.iqu-success-badge {
  display: inline-block;
  background: #eaf6ec;
  color: #1e8449;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  margin-bottom: 10px;
}
.iqu-success-title {
  margin: 10px 0 6px;
  color: #1a5276;
  font-size: 28px;
  font-weight: 700;
}
.iqu-success-sub {
  margin: 0 0 10px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}
.iqu-success-msg {
  margin: 0 auto 18px;
  color: #000;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 500px;
}
.iqu-success-details {
  display: inline-block;
  text-align: left;
  margin: 6px auto 18px;
  background: #f7fafc;
  border: 1px solid #e1e8ef;
  border-left: 4px solid #f0b429;
  border-radius: 10px;
  padding: 14px 20px;
  min-width: 280px;
}
.iqu-success-detail {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 5px 0;
  font-size: 14px;
}
.iqu-success-detail .k { color: #1a5276; font-weight: 600; }
.iqu-success-detail .v { color: #000; font-weight: 500; }
.iqu-success-quote {
  margin: 18px auto 10px;
  padding: 14px 18px;
  background: #fff8e1;
  border: 1px dashed #e2b422;
  border-radius: 10px;
  font-style: italic;
  color: #7a5a00;
  max-width: 480px;
  font-size: 14px;
}
.iqu-success-quote cite {
  display: block;
  margin-top: 6px;
  color: #a07a00;
  font-size: 12px;
  letter-spacing: .5px;
  font-style: normal;
}
.iqu-success-contact {
  margin-top: 8px;
  color: #000;
  font-size: 13px;
}
.iqu-success-contact a { color: #1a5276; text-decoration: none; font-weight: 600; }
.iqu-success-redirect {
  margin-top: 18px;
  padding: 12px 14px;
  background: #eaf4fb;
  border: 1px solid #cfe3f5;
  border-radius: 8px;
  color: #000;
  font-size: 13.5px;
}
.iqu-success-link { color: #1a5276; font-weight: 600; }

/* ─── Responsive ─── */
@media (max-width: 620px) {
  .iqu-hero h2 { font-size: 1.45rem; }
  .iqu-intro-card { padding: 20px 18px; }
  .iqu-question { padding: 18px 16px; }
  .iqu-success-card { padding: 30px 18px; }
  .iqu-modal-dialog { max-width: 100%; }
}

.grecaptcha-badge {
  bottom: 30px !important;
}

/* Free form enhancement layer */
.iqu-form-wrapper {
  padding-bottom: 56px;
}

.iqu-question {
  border: 1px solid #d9e5ef;
  border-top: 5px solid #1a5276;
  border-radius: 18px;
  padding: 24px 24px 20px;
  margin-bottom: 18px;
  box-shadow: 0 16px 34px rgba(18, 53, 77, .08);
  background:
    radial-gradient(circle at top right, rgba(240, 180, 41, .10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.iqu-question label {
  font-size: 15px;
  margin-bottom: 10px;
}

.iqu-form input[type="text"],
.iqu-form input[type="email"],
.iqu-form input[type="number"],
.iqu-form input[type="tel"],
.iqu-form select,
.iqu-form textarea {
  min-height: 48px;
  border: 1px solid #cfdae5;
  border-bottom: 3px solid #cfdae5;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: inset 0 1px 2px rgba(16, 42, 66, .04);
}

.iqu-form textarea {
  min-height: 120px;
}

.iqu-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #1a5276 50%),
    linear-gradient(135deg, #1a5276 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.iqu-radio-fee {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.iqu-radio-card {
  min-height: 54px;
  border: 1px solid #d7e1ea;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 18px rgba(26, 82, 118, .05);
}

.iqu-radio-card:hover,
.iqu-radio-card:has(input:checked) {
  background: #f3f9fd;
  border-color: #1a5276;
}

.iqu-time-slot-builder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.iqu-time-slot-col label {
  display: block;
  margin-bottom: 8px;
  color: #1a5276;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.iqu-time-slot-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.iqu-custom-fee {
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed #c7d7e6;
  border-radius: 12px;
  background: #f8fbff;
}

.iqu-input-prefix {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cfdae5;
  border-bottom: 3px solid #cfdae5;
  border-radius: 12px;
  background: #fff;
}

.iqu-input-prefix span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 48px;
  background: linear-gradient(180deg, #edf5fb, #e4eef8);
  color: #1a5276;
  font-weight: 700;
  border-right: 1px solid #cfdae5;
}

.iqu-input-prefix input {
  border: 0 !important;
  box-shadow: none !important;
  min-height: 48px;
}

@media (max-width: 620px) {
  .iqu-radio-fee,
  .iqu-time-slot-builder {
    grid-template-columns: 1fr;
  }
}
