/* ===================================================================
   AnabulKu Mitra — Website Terpisah
   Covers: landing page (index.html) + 7-step form (daftar.html)
   Font: Poppins | Palette: #FCECE3, #FF9800, #FFC46D
=================================================================== */

/* ---------- Reset & base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #1F2937;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }

[hidden] { display: none !important; }

/* ===================================================================
   SHARED BUTTONS
=================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(90deg, #FF9800 0%, #FFC46D 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  box-shadow: 2px 2px 0px #000;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  white-space: nowrap;
}
.btn-primary:hover  { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #000; }
.btn-primary:active { transform: translate(1px, 1px);   box-shadow: 1px 1px 0 #000; }
.btn-primary--lg    { padding: 17px 36px; font-size: 17px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  color: #374151;
  font-weight: 600;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.15s ease;
}
.btn-ghost:hover { border-color: #FF9800; color: #FF9800; }

/* ===================================================================
   ██╗      █████╗ ███╗   ██╗██████╗ ██╗███╗   ██╗ ██████╗
   ██║     ██╔══██╗████╗  ██║██╔══██╗██║████╗  ██║██╔════╝
   ██║     ███████║██╔██╗ ██║██║  ██║██║██╔██╗ ██║██║  ███╗
   ██║     ██╔══██║██║╚██╗██║██║  ██║██║██║╚██╗██║██║   ██║
   ███████╗██║  ██║██║ ╚████║██████╔╝██║██║ ╚████║╚██████╔╝
   ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═════╝ ╚═╝╚═╝  ╚═══╝ ╚═════╝
   LANDING PAGE  (index.html)
=================================================================== */

.landing-body { background: #FAFAF8; }

/* ---------- Navbar ---------- */
.lnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E5E7EB;
}
.lnav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.lnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FF9800, #FFC46D);
  box-shadow: 1px 1px 0 #000;
  flex: none;
}
.brand-dot--sm { width: 20px; height: 20px; border-radius: 6px; }
.brand-name {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}
.brand-name--sm { font-size: 14px; }
.brand-tag {
  background: linear-gradient(90deg, #FF9800, #FFC46D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lnav-login {
  padding: 8px 20px;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  transition: border-color 0.15s, color 0.15s;
}
.lnav-login:hover { border-color: #FF9800; color: #FF9800; }

/* ---------- Hero ---------- */
.l-hero {
  background: linear-gradient(135deg, #FCECE3 0%, #fff7ed 60%, #ffedd5 100%);
  padding: 80px 24px 60px;
  overflow: hidden;
}
.l-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.l-hero-text { flex: 1; min-width: 280px; }

.l-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #C2410C;
  margin-bottom: 16px;
}
.l-hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF9800;
  flex: none;
}

.l-hero-title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 18px;
}

.l-hero-sub {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}

.l-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero phone mockup */
.l-hero-visual { flex: none; }

.hero-phone {
  width: 220px;
  background: #fff;
  border-radius: 24px;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
  overflow: hidden;
  padding-bottom: 16px;
}
.hp-bar {
  height: 36px;
  background: linear-gradient(90deg, #FF9800 0%, #FFC46D 100%);
  border-bottom: 1.5px solid #000;
}
.hp-content { padding: 14px 14px 0; display: flex; flex-direction: column; gap: 10px; }

.hp-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 10px;
}
.hp-card-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FF9800, #FFC46D);
  flex: none;
}
.hp-card-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.hp-card-name {
  height: 10px;
  background: #374151;
  border-radius: 4px;
  width: 80%;
}
.hp-card-addr {
  height: 8px;
  background: #D1D5DB;
  border-radius: 4px;
  width: 60%;
}
.hp-card-rating { display: flex; gap: 2px; }
.hp-star { font-size: 10px; color: #FF9800; }
.hp-star--half { color: #D1D5DB; }

.hp-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hp-stat {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hp-stat-val { font-size: 16px; font-weight: 700; color: #111827; }
.hp-stat-lbl { font-size: 9px; color: #6B7280; }

.hp-notif {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  font-size: 10px;
  color: #15803D;
  font-weight: 500;
}

/* ---------- Stats strip ---------- */
.l-stats {
  background: #fff;
  border-top: 1.5px solid #E5E7EB;
  border-bottom: 1.5px solid #E5E7EB;
  padding: 24px;
}
.l-stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.l-stat {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px;
}
.l-stat-val { font-size: 22px; font-weight: 800; color: #111827; }
.l-stat-lbl { font-size: 12px; color: #6B7280; text-align: center; }
.l-stat-divider {
  width: 1px;
  height: 40px;
  background: #E5E7EB;
  flex: none;
}

/* ---------- Section base ---------- */
.l-section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
}
.l-section-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 10px;
}
.l-section-sub {
  font-size: 16px;
  color: #6B7280;
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- Benefits ---------- */
.l-benefits { background: #FAFAF8; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.benefit-card {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.benefit-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.benefit-ico svg { width: 22px; height: 22px; }
.benefit-ico--orange { background: #FFF7ED; color: #FF9800; }
.benefit-ico--green  { background: #F0FDF4; color: #22C55E; }
.benefit-ico--blue   { background: #EFF6FF; color: #3B82F6; }
.benefit-ico--purple { background: #F5F3FF; color: #8B5CF6; }

.benefit-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.benefit-desc { font-size: 14px; color: #6B7280; line-height: 1.6; }

/* ---------- How it works ---------- */
.l-how { background: #fff; }
.how-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.how-list::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: #E5E7EB;
  z-index: 0;
}
.how-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}
.how-num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FF9800 0%, #FFDEAE 100%);
  border: 2.2px solid #FFAF3A;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  box-shadow: 1px 1px 0 #000;
}
.how-title { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.how-desc  { font-size: 14px; color: #6B7280; }

/* ---------- Testimonials ---------- */
.l-testimonials { background: #FCECE3; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testi-card {
  background: #fff;
  border: 1.5px solid #FED7AA;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testi-stars { color: #FF9800; font-size: 16px; letter-spacing: 2px; }
.testi-quote { font-size: 14px; color: #374151; line-height: 1.7; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.testi-avatar--a { background: linear-gradient(135deg, #FF9800, #FFC46D); }
.testi-avatar--b { background: linear-gradient(135deg, #3B82F6, #93C5FD); }
.testi-avatar--c { background: linear-gradient(135deg, #22C55E, #86EFAC); }
.testi-name   { display: block; font-size: 14px; font-weight: 700; color: #111827; }
.testi-clinic { display: block; font-size: 12px; color: #6B7280; }

/* ---------- CTA bottom ---------- */
.l-cta-bottom { background: #111827; }
.l-cta-bottom .l-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
}
.l-cta-title { font-size: clamp(24px, 4vw, 40px); font-weight: 800; color: #fff; margin-bottom: 14px; }
.l-cta-sub   { font-size: 16px; color: #9CA3AF; margin-bottom: 32px; max-width: 480px; }
.l-cta-note  { margin-top: 16px; font-size: 13px; color: #6B7280; }

/* ---------- Footer ---------- */
.l-footer { background: #0F172A; padding: 40px 24px; }
.l-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.l-footer-brand { display: flex; align-items: center; gap: 8px; }
.l-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.l-footer-links a { font-size: 13px; color: #9CA3AF; transition: color 0.15s; }
.l-footer-links a:hover { color: #FF9800; }
.l-footer-copy { font-size: 12px; color: #4B5563; }

/* ===================================================================
   ███████╗ ██████╗ ██████╗ ███╗   ███╗
   ██╔════╝██╔═══██╗██╔══██╗████╗ ████║
   █████╗  ██║   ██║██████╔╝██╔████╔██║
   ██╔══╝  ██║   ██║██╔══██╗██║╚██╔╝██║
   ██║     ╚██████╔╝██║  ██║██║ ╚═╝ ██║
   ╚═╝      ╚═════╝ ╚═╝  ╚═╝╚═╝     ╚═╝
   7-STEP REGISTRATION FORM  (daftar.html)
=================================================================== */

/* Form page uses phone-frame layout matching Figma iPhone 14 spec */
.form-body-page {
  background: #e7dbd0;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}

.app {
  position: relative;
  width: 100%;
  max-width: 393px;
  min-height: 100vh;
  min-height: 100dvh;
  background: #FCECE3;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ---------- Form Header ---------- */
.form-header {
  background: #fff;
  border-bottom: 1.09px solid #E5E7EB;
  padding: 17.44px 26.16px;
  display: flex;
  flex-direction: column;
  gap: 17.44px;
  flex: none;
}

.fh-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
}
.back-btn svg { width: 16px; height: 14px; }

.fh-title {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 19.62px;
  line-height: 29px;
  color: #1F2937;
}

/* ---------- Step progress indicator — matches Figma exactly ---------- */
.step-progress {
  display: flex;
  align-items: center;
  position: relative;
  height: 26.16px;
  padding: 0 17.44px;
  gap: 0;
}

/* Horizontal divider line behind all dots */
.step-track {
  position: absolute;
  left: calc(26.16px + 17.44px);
  right: calc(26.16px + 17.44px);
  height: 2.18px;
  background: #E5E7EB;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.step-dots {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 1;
}

.step-dot {
  width: 26.16px;
  height: 26.16px;
  border-radius: 13.08px;
  border: 2.18px solid #E5E7EB;
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13.08px;
  line-height: 20px;
  color: #9CA3AF;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

/* Active step */
.step-dot.is-active {
  background: linear-gradient(180deg, #FF9800 0%, #FFDEAE 100%);
  border-color: #FFAF3A;
  color: #fff;
  box-shadow: 1px 1px 0 #000;
}

/* Completed step */
.step-dot.is-done {
  background: #FF9800;
  border-color: #FF9800;
  color: #fff;
}

/* ---------- Form body ---------- */
.form-body {
  flex: 1;
  padding: 0 17px 120px;
  overflow-y: auto;
}

.form-step { padding-top: 24px; }

/* ---------- Step heading ---------- */
.step-heading { margin-bottom: 20px; }

.step-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #111827;
}

.step-sub {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #6B7280;
  margin-top: 4px;
}

/* ---------- Fields ---------- */
.field-group { display: flex; flex-direction: column; gap: 15px; }

.field { display: flex; flex-direction: column; gap: 4.54px; }

.field-label {
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 15.9051px;
  line-height: 23px;
  color: #374151;
  display: flex;
  align-items: center;
}

.req { color: #EF4444; margin-left: 2px; }

.field-input {
  width: 100%;
  height: 56.54px;
  background: #fff;
  border: 1.13608px solid #D1D5DB;
  box-shadow: 0px 1.13608px 2.27215px rgba(0,0,0,0.05);
  border-radius: 9.08861px;
  padding: 12.4968px 13.6329px 11.3608px;
  font-family: 'Poppins';
  font-size: 16px;
  color: #1F2937;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.field-input:focus { border-color: #FF9800; }
.field-input::placeholder { color: #9CA3AF; }
.field-input.is-error { border-color: #EF4444; }

/* Textarea variant */
.field-textarea {
  height: auto;
  min-height: 88px;
  resize: vertical;
  padding: 12px 13.6px;
  line-height: 1.5;
}

/* WhatsApp input with icon suffix */
.input-wrap {
  position: relative;
  isolation: isolate;
}
.input-wrap .field-input { padding-right: 45.44px; }
.input-suffix {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30.25px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 13.6px;
  z-index: 1;
  pointer-events: none;
}

/* Password toggle */
.pwd-toggle {
  position: absolute;
  right: 13.6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px;
  z-index: 1;
  display: grid;
  place-items: center;
}
.pwd-toggle svg { width: 18px; height: 18px; }

/* Select wrapper — Figma spec: height 48.45px */
.select-wrap {
  position: relative;
  isolation: isolate;
}

.field-select {
  width: 100%;
  height: 48.45px;
  background: #fff;
  border: 1.13608px solid #D1D5DB;
  box-shadow: 0px 1.13608px 2.27215px rgba(0,0,0,0.05);
  border-radius: 9.08861px;
  padding: 9.08861px 45.443px 9.08861px 13.6329px;
  font-family: 'Poppins';
  font-size: 18.1772px;
  color: #1F2937;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.field-select:focus { border-color: #FF9800; }
.field-select option:first-child { color: #9CA3AF; }

.select-arrow {
  position: absolute;
  right: 10.22px;
  top: 50%;
  transform: translateY(-50%);
  width: 27.27px;
  height: 27.27px;
  pointer-events: none;
  z-index: 1;
}

/* Field hint text */
.field-hint {
  font-size: 13.6329px;
  line-height: 18px;
  color: #6B7280;
}

.field-error {
  font-size: 12px;
  color: #EF4444;
  margin-top: 2px;
  display: none;
}
.field-error.is-visible { display: block; }

/* ---------- Upload zones ---------- */
.uploads { display: flex; flex-direction: column; gap: 18.18px; padding-top: 9.09px; }

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35.22px 27.27px 27.27px;
  width: 100%;
  min-height: 144.25px;
  border: 2.27215px dashed #D1D5DB;
  border-radius: 13.6329px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}
.upload-zone:hover { border-color: #FF9800; background: #fff7ed; }

.upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6.82px;
  pointer-events: none;
}

.upload-ico { width: 27.27px; height: 28.4px; }

.upload-label {
  font-size: 15.9051px;
  line-height: 23px;
  color: #374151;
  text-align: center;
}

.upload-sub {
  font-size: 13.6329px;
  line-height: 18px;
  color: #6B7280;
  text-align: center;
}

.upload-preview { width: 100%; pointer-events: none; }
.upload-thumb {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

/* ---------- Row field (two halves side by side) ---------- */
.row-field {
  flex-direction: row;
  gap: 12px;
}
.field-half { flex: 1; display: flex; flex-direction: column; gap: 4.54px; }

/* ---------- Day chips ---------- */
.day-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.day-chip { cursor: pointer; }
.day-chip input { position: absolute; opacity: 0; pointer-events: none; }
.day-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid #D1D5DB;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  user-select: none;
}
.day-chip input:checked + span {
  background: linear-gradient(180deg, #FF9800 0%, #FFDEAE 100%);
  border-color: #FFAF3A;
  color: #fff;
  box-shadow: 1px 1px 0 #000;
}

/* ---------- Jadwal Operasional per hari ---------- */
.jadwal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.jadwal-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #E5E7EB;
  transition: border-color 0.15s, background 0.15s;
}
.jadwal-row:has(.jadwal-toggle.is-on) {
  border-color: #FED7AA;
  background: #FFFBF5;
}

/* Baris atas: nama hari + toggle + label tutup */
.jadwal-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Nama hari */
.jadwal-nama {
  font-family: 'Poppins';
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  flex: 1;
}
.jadwal-nama--off {
  color: #9CA3AF;
  font-weight: 400;
}

/* Toggle switch */
.jadwal-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #D1D5DB;
  border: none;
  flex-shrink: 0;
  transition: background 0.2s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.jadwal-toggle::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
}
.jadwal-toggle.is-on {
  background: #FF9800;
}
.jadwal-toggle.is-on::after {
  transform: translateX(18px);
}

/* Baris bawah: input jam */
.jadwal-jam {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pill container per jam */
.jadwal-jam-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F3F4F6;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  padding: 5px 10px;
  flex: 1;
}
.jadwal-jam-pill:focus-within {
  border-color: #FF9800;
  background: #FFF7ED;
}
.jadwal-jam-pill span {
  font-size: 11px;
  color: #9CA3AF;
  font-weight: 500;
  flex-shrink: 0;
  white-space: nowrap;
}

.jadwal-input {
  flex: 1;
  min-width: 0;
  height: 28px;
  background: transparent;
  border: none;
  padding: 0;
  font-family: 'Poppins';
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  text-align: left;
  outline: none;
  -webkit-appearance: none;
}
.jadwal-input::-webkit-calendar-picker-indicator {
  opacity: 0.4;
  cursor: pointer;
  margin-left: auto;
}

.jadwal-sep {
  font-family: 'Poppins';
  font-size: 16px;
  font-weight: 400;
  color: #D1D5DB;
  flex-shrink: 0;
}

/* Label "Tutup" saat toggle off */
.jadwal-tutup-label {
  font-family: 'Poppins';
  font-size: 12px;
  font-weight: 500;
  color: #9CA3AF;
  letter-spacing: 0.02em;
}

/* ---------- Service chips ---------- */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-chip { cursor: pointer; }
.service-chip input { position: absolute; opacity: 0; pointer-events: none; }
.service-chip span {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1.5px solid #D1D5DB;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  user-select: none;
}
.service-chip input:checked + span {
  background: linear-gradient(90deg, #FF9800, #FFC46D);
  border-color: #FF9800;
  color: #fff;
}

/* ---------- Map picker ---------- */
.map-pick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 11px 20px;
  background: linear-gradient(90deg, #FF9800 0%, #FFC46D 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 2px 2px 0 #000;
  transition: transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
  border: none;
}
.map-pick-btn:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 #000; }
.map-pick-btn:disabled { background: #D1D5DB; box-shadow: 1px 1px 0 #9CA3AF; cursor: wait; }

.map-coords-status {
  margin-top: 8px;
  font-size: 13px;
  color: #6B7280;
  min-height: 18px;
}
.map-coords-status.map-coords-set { color: #22C55E; font-weight: 600; }

.map-picker-wrap {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #D1D5DB;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.map-picker-canvas {
  width: 100%;
  height: 300px;
  display: block;
}

/* ---------- Hewan chips (multi-select) ---------- */
.hewan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.hewan-chip { cursor: pointer; }
.hewan-chip input { position: absolute; opacity: 0; pointer-events: none; }
.hewan-chip span {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 99px;
  border: 1.5px solid #D1D5DB;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  user-select: none;
}
.hewan-chip input:checked + span {
  background: linear-gradient(90deg, #FF9800, #FFC46D);
  border-color: #FF9800;
  color: #fff;
  box-shadow: 1px 1px 0 #00000033;
}


/* ---------- Dokter entries ---------- */
.dokter-entry {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dokter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dokter-num {
  font-size: 13px;
  font-weight: 700;
  color: #FF9800;
}
.dokter-del {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  display: grid;
  place-items: center;
  color: #EF4444;
}
.dokter-del svg { width: 14px; height: 14px; }

.add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1.5px dashed #D1D5DB;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #6B7280;
  margin-top: 8px;
  transition: border-color 0.15s, color 0.15s;
}
.add-btn svg { width: 18px; height: 18px; }
.add-btn:hover { border-color: #FF9800; color: #FF9800; }

/* ---------- Confirm card (step 7) ---------- */
.confirm-card {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.confirm-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F3F4F6;
}
.confirm-row:last-child { padding-bottom: 0; border-bottom: none; }
.confirm-lbl { font-size: 12px; color: #9CA3AF; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.confirm-val { font-size: 15px; color: #111827; font-weight: 600; }

/* TOS checkbox */
.tos-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.tos-wrap input { margin-top: 3px; accent-color: #FF9800; width: 16px; height: 16px; flex: none; }
.tos-text { font-size: 13px; color: #374151; line-height: 1.6; }
.tos-link { color: #FF9800; font-weight: 600; text-decoration: underline; }

/* ---------- Sticky footer button ---------- */
.form-footer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 393px;
  padding: 16px 45.5px 28px;
  background: linear-gradient(to top, #FCECE3 70%, transparent);
  z-index: 50;
}

.submit-btn {
  width: 302px;
  height: 60px;
  background: linear-gradient(90deg, #FF9800 0%, #FFC46D 100%);
  box-shadow: 2px 2px 0px #000;
  border-radius: 10px;
  font-family: 'Poppins';
  font-weight: 600;
  font-size: 19.0062px;
  line-height: 30px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  margin: 0 auto;
}
.submit-btn:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 #000; }
.submit-btn:disabled {
  background: #D1D5DB;
  box-shadow: 1px 1px 0 #9CA3AF;
  cursor: not-allowed;
}

/* ---------- Success overlay ---------- */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.success-box {
  width: 100%;
  max-width: 393px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 32px 28px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.success-icon { width: 80px; height: 80px; }
.success-title { font-size: 22px; font-weight: 800; color: #111827; }
.success-sub { font-size: 14px; color: #6B7280; line-height: 1.6; max-width: 300px; }
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(90deg, #FF9800, #FFC46D);
  color: #fff;
  box-shadow: 2px 2px 0 #000;
}
.cta-btn--outline {
  background: #fff;
  border: 1.5px solid #D1D5DB;
  color: #374151;
  box-shadow: none;
}

/* ---------- Input with prefix (Rp) ---------- */
.input-prefix-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .15s;
}

.input-prefix-wrap:focus-within { border-color: #FF9800; }

.input-prefix {
  padding: 12px 14px;
  background: #F9FAFB;
  font-size: 14px;
  font-weight: 600;
  color: #6B7280;
  border-right: 1.5px solid #D1D5DB;
  white-space: nowrap;
  flex-shrink: 0;
}

.field-input--prefixed {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
  outline: none;
}

/* ---------- Service info chip (fixed layanan) ---------- */
.service-info-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #FFF7ED;
  border: 1.5px solid #FFC46D;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #FF9800;
  margin-top: 6px;
}

/* ===================================================================
   Responsive
=================================================================== */
@media (max-width: 420px) {
  .l-hero { padding: 48px 20px 40px; }
  .l-hero-visual { display: none; }
  .l-stats-inner { gap: 0; }
  .l-stat-divider { display: none; }
}

@media (min-width: 421px) {
  /* form page: center the phone frame on desktop */
  .form-body-page {
    align-items: flex-start;
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
