
/* ==========================================================
   PATIENT MEDICAL FACILITATION FORM
   Same Monk On The Go visual system / header / footer
   ========================================================== */

#monk-elementor-root .form-hero {
  min-height: 63vh;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  overflow: hidden;
}

#monk-elementor-root .form-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

#monk-elementor-root .form-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  transform: scaleX(-1);
}

#monk-elementor-root .form-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.82) 50%, rgba(10,10,10,.48) 78%, rgba(10,10,10,.64) 100%),
    linear-gradient(0deg, rgba(10,10,10,.58), transparent 54%);
}

#monk-elementor-root .mobile-menu-panel {
  position: absolute;
  z-index: 40;
  top: 74px;
  left: 14px;
  right: 14px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(10,10,10,.97);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
}
#monk-elementor-root .mobile-menu-panel.open { display: flex; }
#monk-elementor-root .mobile-menu-panel a {
  color: #fff !important;
  padding: 15px 18px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#monk-elementor-root .mobile-menu-panel a:last-child { border-bottom: 0; }
#monk-elementor-root .mobile-menu-panel a:hover { background: rgba(36,154,179,.16); }

#monk-elementor-root .form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: rgba(36,154,179,.14);
  border: 1px solid rgba(36,154,179,.45);
  backdrop-filter: blur(12px);
}

#monk-elementor-root .form-hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  padding: 18px 0 16px;
}

#monk-elementor-root .form-hero-card {
  width: 86%;
  margin-left: auto;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 75px rgba(0,0,0,.42);
  background: #0d1014;
}
#monk-elementor-root .form-hero-card img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  background: #0d1014;
}
#monk-elementor-root .form-hero-card::after {
  display: none;
}
#monk-elementor-root .form-hero-card-copy {
  position: relative;
  z-index: 2;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  padding: 18px 22px 20px;
  border-radius: 0;
  background: #0d1014;
  color: #fff;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.10);
  backdrop-filter: none;
}
#monk-elementor-root .hero-form-float {
  position: absolute;
  z-index: 4;
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
  transition: transform .35s ease, box-shadow .35s ease;
}
#monk-elementor-root .hero-form-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(0,0,0,.30);
}
#monk-elementor-root .hero-form-float .mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
}
#monk-elementor-root .hero-form-float strong {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}
#monk-elementor-root .hero-form-float.top {
  left: -10px;
  top: 62px;
  width: 190px;
  background: #fff;
  color: #0a0a0a;
}
#monk-elementor-root .hero-form-float.top .mini-icon {
  background: #eaf6f8;
  color: #249ab3;
}
#monk-elementor-root .hero-form-float.bottom {
  left: -6px;
  bottom: 58px;
  width: 215px;
  background: #249ab3;
  color: #fff;
}
#monk-elementor-root .hero-form-float.bottom .mini-icon {
  background: rgba(255,255,255,.16);
  color: #fff;
}
#monk-elementor-root .hero-step-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
#monk-elementor-root .hero-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  backdrop-filter: blur(10px);
}
#monk-elementor-root .hero-step-chip i { color: #249ab3; }

/* Main form shell */
#monk-elementor-root .facilitation-wrap {
  background: #f8fafc;
  padding: 70px 0 82px;
}

#monk-elementor-root .form-shell {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 34px;
  background: #fff;
  border: 1px solid #e7ebef;
  box-shadow: 0 24px 65px rgba(10,10,10,.07);
  overflow: hidden;
}

#monk-elementor-root .form-progress {
  padding: 22px 28px;
  border-bottom: 1px solid #edf0f2;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 8;
}

#monk-elementor-root .progress-track {
  height: 4px;
  border-radius: 999px;
  background: #edf0f2;
  overflow: hidden;
}
#monk-elementor-root .progress-fill {
  width: 16.666%;
  height: 100%;
  background: #249ab3;
  transition: width .35s ease;
}
#monk-elementor-root .progress-dots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}
#monk-elementor-root .progress-dot {
  appearance: none;
  border: 1px solid #dce2e7;
  background: #fff;
  color: #7b8490;
  min-width: 0;
  border-radius: 15px;
  padding: 10px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  cursor: pointer;
  transition: .25s ease;
}
#monk-elementor-root .progress-dot:hover {
  border-color: rgba(36,154,179,.55);
  background: #f7fcfd;
}
#monk-elementor-root .progress-dot .step-number {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 50%;
  border: 1px solid #dce2e7;
  background: #f8fafc;
  color: #7b8490;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}
#monk-elementor-root .progress-dot .step-label {
  min-width: 0;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}
#monk-elementor-root .progress-dot.active {
  border-color: #249ab3;
  background: #eaf6f8;
  color: #1c7a8f;
}
#monk-elementor-root .progress-dot.active .step-number {
  border-color: #249ab3;
  background: #249ab3;
  color: #fff;
}
#monk-elementor-root .progress-dot.complete {
  border-color: rgba(36,154,179,.28);
}
#monk-elementor-root .progress-dot.complete .step-number {
  background: #249ab3;
  color: #fff;
  border-color: #249ab3;
}
#monk-elementor-root .progress-dot.complete .step-number span { display: none; }
#monk-elementor-root .progress-dot.complete .step-number::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

#monk-elementor-root .form-body {
  padding: 34px;
}

#monk-elementor-root .form-step { display: none; }
#monk-elementor-root .form-step.active { display: block; }

#monk-elementor-root .step-head {
  margin-bottom: 28px;
}
#monk-elementor-root .step-head .eyebrow {
  color: #249ab3;
  font-family: 'Anton', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  margin-bottom: 9px;
}
#monk-elementor-root .step-head h2 {
  font-family: 'Anton', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  color: #0a0a0a;
}

#monk-elementor-root .form-section {
  padding: 26px;
  border-radius: 26px;
  border: 1px solid #e7ebef;
  background: #fff;
  margin-bottom: 20px;
}
#monk-elementor-root .form-section.soft {
  background: #f8fafc;
}
#monk-elementor-root .form-section.dark {
  background: #101215;
  border-color: #20242a;
  color: #fff;
}
#monk-elementor-root .form-section h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0a0a0a;
  margin-bottom: 18px;
}
#monk-elementor-root .form-section.dark h3 { color: #fff; }

#monk-elementor-root .field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
#monk-elementor-root .field-grid.one { grid-template-columns: 1fr; }
#monk-elementor-root .field-full { grid-column: 1 / -1; }

#monk-elementor-root .field label,
#monk-elementor-root .field-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #374151;
  margin-bottom: 8px;
}
#monk-elementor-root .required-star { color: #249ab3; }

#monk-elementor-root input[type="text"],
#monk-elementor-root input[type="email"],
#monk-elementor-root input[type="tel"],
#monk-elementor-root input[type="date"],
#monk-elementor-root textarea,
#monk-elementor-root select {
  width: 100%;
  border: 1px solid #dfe5ea;
  background: #f8fafc;
  color: #0a0a0a;
  border-radius: 14px;
  padding: 13px 14px;
  outline: 0;
  font-size: 14px;
  transition: .2s ease;
}
#monk-elementor-root textarea {
  min-height: 110px;
  resize: vertical;
}
#monk-elementor-root input:focus,
#monk-elementor-root textarea:focus,
#monk-elementor-root select:focus {
  background: #fff;
  border-color: #249ab3;
  box-shadow: 0 0 0 4px rgba(36,154,179,.10);
}

#monk-elementor-root .choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#monk-elementor-root .choice {
  position: relative;
}
#monk-elementor-root .choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
#monk-elementor-root .choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 13px;
  border: 1px solid #dfe5ea;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
#monk-elementor-root .choice input:checked + label {
  border-color: #249ab3;
  background: #eaf6f8;
  color: #1c7a8f;
}
#monk-elementor-root .choice label::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid #9ca3af;
  background: #fff;
}
#monk-elementor-root .choice.radio label::before { border-radius: 50%; }
#monk-elementor-root .choice.check label::before { border-radius: 4px; }
#monk-elementor-root .choice input:checked + label::before {
  background: #249ab3;
  border-color: #249ab3;
  box-shadow: inset 0 0 0 3px #fff;
}

#monk-elementor-root .upload-box {
  position: relative;
  border: 1.5px dashed rgba(36,154,179,.55);
  border-radius: 20px;
  background: #f4fbfc;
  padding: 28px;
  text-align: center;
}
#monk-elementor-root .medical-file-picker {
  width: 100%;
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  text-align: center;
}
#monk-elementor-root .medical-file-picker input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
#monk-elementor-root .medical-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 9px;
  border: 1px solid #cfd6dc;
  background: #fff;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
#monk-elementor-root .medical-file-button:hover {
  border-color: #249ab3;
  background: #eaf6f8;
  color: #1c7a8f;
}
#monk-elementor-root .medical-file-name {
  display: inline-block;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.4;
  max-width: 420px;
  overflow-wrap: anywhere;
}
#monk-elementor-root .upload-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #249ab3;
  color: #fff;
  font-size: 18px;
}

#monk-elementor-root .source-copy {
  color: #5b6470;
  font-size: 14px;
  line-height: 1.8;
}
#monk-elementor-root .source-copy p + p { margin-top: 12px; }

#monk-elementor-root .bullet-list,
#monk-elementor-root .number-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 13px;
}
#monk-elementor-root .bullet-list li,
#monk-elementor-root .number-list li {
  color: #5b6470;
  font-size: 13.5px;
  line-height: 1.65;
  padding-left: 22px;
  position: relative;
}
#monk-elementor-root .bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #249ab3;
}
#monk-elementor-root .number-list {
  counter-reset: item;
}
#monk-elementor-root .number-list li {
  counter-increment: item;
  padding-left: 32px;
}
#monk-elementor-root .number-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #249ab3;
  font-weight: 800;
}

/* Legal agreement accordion */
#monk-elementor-root .legal-header {
  padding: 26px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(36,154,179,.20), transparent 52%),
    #0a0a0a;
  color: #fff;
  margin-bottom: 18px;
}
#monk-elementor-root .legal-header h2 {
  font-family: 'Anton', sans-serif !important;
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: .02em;
}
#monk-elementor-root .legal-part {
  border: 1px solid #e4e9ed;
  border-radius: 20px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
#monk-elementor-root .legal-trigger {
  width: 100%;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
}
#monk-elementor-root .legal-trigger strong {
  color: #0a0a0a;
  font-size: 14px;
}
#monk-elementor-root .legal-chevron {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #eaf6f8;
  color: #249ab3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}
#monk-elementor-root .legal-part.open .legal-chevron { transform: rotate(180deg); }
#monk-elementor-root .legal-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
#monk-elementor-root .legal-part.open .legal-content { grid-template-rows: 1fr; }
#monk-elementor-root .legal-content > div { overflow: hidden; }
#monk-elementor-root .legal-inner {
  padding: 0 20px 22px;
  color: #5b6470;
  font-size: 13.5px;
  line-height: 1.75;
}
#monk-elementor-root .legal-inner p + p { margin-top: 12px; }

/* Consent checkboxes */
#monk-elementor-root .consent-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#monk-elementor-root .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border-radius: 15px;
  border: 1px solid #e2e7eb;
  background: #fff;
}
#monk-elementor-root .consent-row input {
  width: 17px;
  height: 17px;
  accent-color: #249ab3;
  margin-top: 2px;
  flex-shrink: 0;
}
#monk-elementor-root .consent-row label {
  color: #4b5563;
  font-size: 12.5px;
  line-height: 1.6;
  cursor: pointer;
}
#monk-elementor-root .consent-row a {
  color: #1c7a8f;
  font-weight: 800;
  text-decoration: underline;
}

/* Conditional content */
#monk-elementor-root .conditional {
  display: none;
  margin-top: 18px;
}
#monk-elementor-root .conditional.show { display: block; }

/* Step controls */
#monk-elementor-root .step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #edf0f2;
}
#monk-elementor-root .step-btn {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 12px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
}
#monk-elementor-root .step-btn.primary {
  margin-left: auto;
  background: #249ab3;
  color: #fff;
  box-shadow: 0 10px 25px rgba(36,154,179,.18);
}
#monk-elementor-root .step-btn.primary:hover {
  background: #1c7a8f;
  transform: translateY(-2px);
}
#monk-elementor-root .step-btn.secondary {
  background: #f1f4f6;
  color: #374151;
}
#monk-elementor-root .step-btn.secondary:hover { background: #e7ebee; }
#monk-elementor-root .step-btn.final {
  width: 100%;
  background: #0a0a0a;
  color: #fff;
  border-radius: 17px;
  min-height: 58px;
  font-size: 13px;
}
#monk-elementor-root .step-btn.final:hover { background: #249ab3; }

#monk-elementor-root .validation-note {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 13px;
  background: #fff4f4;
  border: 1px solid #ffd9d9;
  color: #a64141;
  font-size: 12px;
  font-weight: 700;
}
#monk-elementor-root .validation-note.show { display: block; }

#monk-elementor-root .submission-records {
  display: none;
  margin-top: 20px;
}
#monk-elementor-root .submission-records.show { display: block; }
#monk-elementor-root .record-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
#monk-elementor-root .record-card {
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e9ed;
}
#monk-elementor-root .record-card small {
  display: block;
  color: #8a939e;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .09em;
  margin-bottom: 6px;
}
#monk-elementor-root .record-card strong {
  display: block;
  color: #0a0a0a;
  font-size: 12px;
  word-break: break-word;
}

/* Make legal/action content easy to read on mobile */
@media (max-width: 767px) {
  #monk-elementor-root .form-hero { min-height: auto; }
  #monk-elementor-root .form-hero-bg img { object-position: 60% center; }
  #monk-elementor-root .form-hero-visual {
    max-width: 430px;
    margin: 10px auto 0;
    padding: 12px 0 10px;
  }
  #monk-elementor-root .form-hero-card {
    width: 88%;
    right: auto;
    top: auto;
    bottom: auto;
    margin-left: auto;
    border-radius: 27px;
  }
  #monk-elementor-root .form-hero-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }
  #monk-elementor-root .hero-form-float.top {
    left: -4px;
    top: 42px;
    width: 150px;
    padding: 11px;
  }
  #monk-elementor-root .hero-form-float.bottom {
    left: -4px;
    bottom: 48px;
    width: 162px;
    padding: 11px;
  }
  #monk-elementor-root .hero-form-float strong { font-size: 10px; }
  #monk-elementor-root .hero-form-float .mini-icon {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    margin-bottom: 7px;
  }
  #monk-elementor-root .hero-step-strip { margin-top: 18px; }
  #monk-elementor-root .hero-step-chip {
    font-size: 9px;
    padding: 8px 10px;
  }
  #monk-elementor-root .facilitation-wrap { padding: 42px 0 60px; }
  #monk-elementor-root .form-shell {
    border-radius: 24px;
    margin: 0 14px;
  }
  #monk-elementor-root .form-progress {
    padding: 16px 17px;
  }
  #monk-elementor-root .progress-dots {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  #monk-elementor-root .progress-dots::-webkit-scrollbar { display: none; }
  #monk-elementor-root .progress-dot {
    flex: 0 0 150px;
    scroll-snap-align: start;
    padding: 9px;
    border-radius: 13px;
  }
  #monk-elementor-root .progress-dot .step-label {
    font-size: 8px;
  }
  #monk-elementor-root .form-body { padding: 20px 16px 22px; }
  #monk-elementor-root .field-grid { grid-template-columns: 1fr; gap: 15px; }
  #monk-elementor-root .field-full { grid-column: auto; }
  #monk-elementor-root .form-section {
    padding: 18px;
    border-radius: 20px;
  }
  #monk-elementor-root .form-section h3 { font-size: 18px; }
  #monk-elementor-root .choice-row { gap: 8px; }
  #monk-elementor-root .choice label {
    min-height: 39px;
    padding: 9px 11px;
    font-size: 11px;
  }
  #monk-elementor-root .upload-box { padding: 22px 15px; }
  #monk-elementor-root .legal-header { padding: 21px; border-radius: 21px; }
  #monk-elementor-root .legal-trigger { padding: 16px; }
  #monk-elementor-root .legal-trigger strong { font-size: 12px; }
  #monk-elementor-root .legal-inner {
    padding: 0 16px 19px;
    font-size: 12px;
  }
  #monk-elementor-root .step-actions {
    flex-wrap: wrap;
  }
  #monk-elementor-root .step-btn {
    flex: 1 1 44%;
  }
  #monk-elementor-root .step-btn.primary { margin-left: 0; }
  #monk-elementor-root .step-btn.final { flex-basis: 100%; }
  #monk-elementor-root .record-grid { grid-template-columns: 1fr; }
}
