/* ==========================================================================
   Riverview Apartments — Booking Landing Page
   Shared stylesheet for index.html + thank-you.html
   ========================================================================== */

:root{
  --navy:#12203f;
  --navy-2:#0c1730;
  --navy-soft:#1c2f57;
  --accent:#2f5fdb;
  --accent-light:#eaf0ff;
  --bg:#f4f5f7;
  --surface:#ffffff;
  --border:#e5e7eb;
  --border-soft:#eef0f3;
  --text:#171b26;
  --text-muted:#6b7280;
  --text-faint:#9aa1ae;
  --success:#16a34a;
  --success-light:#e9f9ef;
  --danger:#dc2626;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --shadow-sm:0 1px 2px rgba(15,23,42,.06);
  --shadow-md:0 10px 30px rgba(15,23,42,.08);
  --shadow-lg:0 20px 50px rgba(15,23,42,.14);
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --maxw:1180px;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;}
input,textarea,select{font-family:inherit;font-size:16px;}
h1,h2,h3,h4,p{margin:0;}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}

.container{max-width:var(--maxw);margin:0 auto;padding:0 20px;}

/* ---------- Top utility bar ---------- */
.topbar{
  background:var(--navy);
  color:#fff;
}
.topbar-inner{
  max-width:var(--maxw);margin:0 auto;padding:10px 20px;
  display:flex;align-items:center;justify-content:space-between;
  font-size:13px;
}
.topbar a{color:#cfd8ee;}
.topbar-phone{display:flex;align-items:center;gap:6px;font-weight:600;color:#fff;}
.topbar-phone svg{width:14px;height:14px;}

/* ---------- Gallery / hero ---------- */
.gallery{
  position:relative;
  background:var(--navy-2);
}
.gallery-stage{
  position:relative;
  width:100%;
  aspect-ratio:16/10;
  max-height:560px;
  overflow:hidden;
  background:linear-gradient(135deg,#1c2f57,#0c1730);
}
@media (min-width:768px){ .gallery-stage{aspect-ratio:16/7;} }

.gallery-slide{
  position:absolute;inset:0;
  opacity:0;visibility:hidden;
  transition:opacity .35s ease;
}
.gallery-slide.is-active{opacity:1;visibility:visible;}
.gallery-slide .placeholder{
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;color:#c7d2e8;
  background:linear-gradient(135deg,var(--slide-a,#1c2f57),var(--slide-b,#0c1730));
}
.gallery-slide .placeholder svg{width:44px;height:44px;opacity:.85;}
.gallery-slide .placeholder span{font-size:13px;letter-spacing:.02em;opacity:.85;}
.gallery-slide img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}

.gallery-pin{
  position:absolute;top:16px;left:16px;z-index:5;
  background:rgba(10,16,32,.72);
  color:#fff;padding:10px 14px;border-radius:12px;
  backdrop-filter:blur(4px);
  font-size:13px;
}
.gallery-pin .addr-line{display:flex;align-items:center;gap:6px;font-weight:600;}
.gallery-pin .addr-line2{display:flex;align-items:center;gap:6px;color:#d7deec;margin-top:2px;}
.gallery-pin svg{width:14px;height:14px;flex:none;}

.gallery-actions{
  position:absolute;top:16px;right:16px;z-index:5;
  display:flex;gap:10px;
}
.icon-btn{
  width:42px;height:42px;border-radius:50%;border:none;
  background:rgba(255,255,255,.94);
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-sm);
  color:var(--navy);
  transition:transform .15s ease,background .15s ease;
}
.icon-btn:hover{transform:translateY(-1px);background:#fff;}
.icon-btn svg{width:19px;height:19px;}
.icon-btn.is-active{color:#e11d48;}

.gallery-count{
  position:absolute;bottom:16px;right:16px;z-index:5;
  display:flex;gap:8px;
}
.count-pill{
  background:rgba(255,255,255,.95);color:var(--navy);
  padding:7px 12px;border-radius:999px;font-size:12.5px;font-weight:600;
  display:flex;align-items:center;gap:6px;box-shadow:var(--shadow-sm);
  border:none;
}
.count-pill svg{width:14px;height:14px;}

.gallery-nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:5;
  width:42px;height:42px;border-radius:50%;border:none;
  background:rgba(255,255,255,.92);color:var(--navy);
  display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-sm);
}
.gallery-nav.prev{left:14px;}
.gallery-nav.next{right:14px;}
.gallery-nav svg{width:18px;height:18px;}
.gallery-nav:hover{background:#fff;}

.gallery-dots{
  position:absolute;bottom:14px;left:50%;transform:translateX(-50%);z-index:5;
  display:flex;gap:6px;
}
.gallery-dots button{
  width:7px;height:7px;border-radius:50%;border:none;background:rgba(255,255,255,.5);padding:0;
}
.gallery-dots button.is-active{background:#fff;width:18px;border-radius:5px;transition:width .2s ease;}

.thumb-strip{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(76px,1fr);
  gap:8px;padding:10px 16px;overflow-x:auto;background:var(--navy-2);
  scrollbar-width:thin;
}
@media (min-width:768px){
  .thumb-strip{max-width:var(--maxw);margin:0 auto;padding:12px 20px;grid-auto-columns:minmax(110px,1fr);}
}
.thumb{
  position:relative;border-radius:10px;overflow:hidden;aspect-ratio:1/1;
  border:2px solid transparent;background:linear-gradient(135deg,#22345c,#0c1730);
  padding:0;
}
.thumb.is-active{border-color:var(--accent);}
.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.thumb .placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#9fb0d6;}
.thumb .placeholder svg{width:20px;height:20px;}

/* ---------- Property summary strip ---------- */
.summary-strip{background:var(--surface);border-bottom:1px solid var(--border-soft);}
.summary-inner{
  max-width:var(--maxw);margin:0 auto;padding:18px 20px;
  display:flex;flex-wrap:wrap;gap:18px 28px;align-items:center;justify-content:space-between;
}
.summary-title h1{font-size:22px;font-weight:800;color:var(--navy);}
.summary-title p{color:var(--text-muted);font-size:14px;margin-top:2px;}
.summary-facts{display:flex;flex-wrap:wrap;gap:18px;}
.summary-fact{text-align:left;}
.summary-fact .val{font-size:17px;font-weight:800;color:var(--navy);}
.summary-fact .lbl{font-size:12px;color:var(--text-muted);}
.summary-price{font-size:24px;font-weight:800;color:var(--accent);}
.summary-price span{font-size:13px;font-weight:600;color:var(--text-muted);}

/* ---------- Video tour section ---------- */
.video-section{background:var(--surface);border-bottom:1px solid var(--border-soft);}
.video-inner{max-width:var(--maxw);margin:0 auto;padding:24px 20px;}
.video-inner h2{font-size:19px;font-weight:800;color:var(--navy);margin-bottom:14px;}
.video-frame{position:relative;width:100%;aspect-ratio:16/9;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);background:#000;}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}

/* ---------- Main layout ---------- */
.main-wrap{max-width:var(--maxw);margin:0 auto;padding:28px 20px 60px;}
.booking-grid{display:grid;grid-template-columns:1fr;gap:22px;align-items:start;}
@media (min-width:1024px){
  .booking-grid{grid-template-columns:1.05fr .95fr;gap:28px;}
}

.card{
  background:var(--surface);
  border:1px solid var(--border-soft);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  padding:24px;
}
@media (min-width:640px){ .card{padding:30px;} }

.card-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px;}
.step-badge{
  flex:none;width:36px;height:36px;border-radius:50%;
  background:var(--navy);color:#fff;font-weight:700;font-size:15px;
  display:flex;align-items:center;justify-content:center;
}
.card-icon{
  flex:none;width:44px;height:44px;border-radius:50%;
  background:var(--accent-light);color:var(--accent);
  display:flex;align-items:center;justify-content:center;
}
.card-icon svg{width:22px;height:22px;}
.card-head h2{font-size:19px;font-weight:800;color:var(--navy);}
.card-head p{font-size:13.5px;color:var(--text-muted);margin-top:3px;}

/* ---------- Form ---------- */
.field{margin-bottom:16px;}
.field label{display:block;font-size:13.5px;font-weight:600;color:var(--text);margin-bottom:6px;}
.input-wrap{position:relative;}
.input-wrap svg{
  position:absolute;left:14px;top:50%;transform:translateY(-50%);
  width:18px;height:18px;color:var(--text-faint);pointer-events:none;
}
.input-wrap input,.input-wrap textarea{
  width:100%;border:1.5px solid var(--border);border-radius:var(--radius-sm);
  padding:12px 14px 12px 42px;background:#fbfbfc;transition:border-color .15s,background .15s;
}
.input-wrap textarea{padding-left:42px;resize:vertical;min-height:90px;}
.input-wrap textarea ~ svg{top:26px;transform:none;}
.input-wrap input:focus,.input-wrap textarea:focus{
  outline:none;border-color:var(--accent);background:#fff;
  box-shadow:0 0 0 4px var(--accent-light);
}
.has-error .input-wrap input,.has-error .input-wrap textarea{border-color:var(--danger);background:#fef2f2;}
.error-msg{display:none;color:var(--danger);font-size:12.5px;margin-top:6px;}
.has-error .error-msg{display:block;}
.card.has-error{border-color:var(--danger);box-shadow:0 0 0 3px rgba(220,38,38,.12);}

.checkbox-row{display:flex;align-items:flex-start;gap:10px;margin:18px 0 6px;font-size:13.5px;color:var(--text-muted);}
.checkbox-row.has-error{color:var(--danger);}
.checkbox-row.has-error input{outline:1.5px solid var(--danger);outline-offset:2px;}
.checkbox-row input{margin-top:3px;width:17px;height:17px;accent-color:var(--navy);flex:none;}
.checkbox-row a{color:var(--accent);font-weight:600;}
.checkbox-row a:hover{text-decoration:underline;}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:none;border-radius:var(--radius-sm);
  font-weight:700;font-size:15px;padding:15px 22px;
  transition:transform .12s ease,box-shadow .12s ease,background .15s ease,opacity .15s ease;
  width:100%;
}
.btn svg{width:18px;height:18px;}
.btn-primary{background:var(--navy);color:#fff;box-shadow:0 8px 20px rgba(18,32,63,.25);}
.btn-primary:hover{background:var(--navy-soft);transform:translateY(-1px);}
.btn-primary:disabled{opacity:.55;cursor:not-allowed;transform:none;}
.btn-secondary{background:var(--accent-light);color:var(--navy);}
.btn-secondary:hover{background:#dde7ff;}
.btn-outline{background:#fff;border:1.5px solid var(--border);color:var(--navy);}
.btn-outline:hover{border-color:var(--navy);}
.btn-block-note{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--text-muted);margin-top:10px;}
.btn-block-note svg{width:13px;height:13px;}

/* ---------- Calendar ---------- */
.cal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.cal-nav button{
  width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:#fff;
  display:flex;align-items:center;justify-content:center;color:var(--navy);
}
.cal-nav button:disabled{opacity:.35;cursor:not-allowed;}
.cal-nav button svg{width:16px;height:16px;}
.cal-nav .cal-month{font-weight:700;font-size:15px;color:var(--navy);}

.cal-weekdays,.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;}
.cal-weekdays{margin-bottom:6px;}
.cal-weekdays span{text-align:center;font-size:11.5px;font-weight:700;color:var(--text-faint);padding:4px 0;}
.cal-day{
  aspect-ratio:1/1;border:none;background:transparent;border-radius:10px;
  display:flex;align-items:center;justify-content:center;font-size:13.5px;font-weight:600;color:var(--text);
}
.cal-day:hover:not(:disabled):not(.is-empty){background:var(--accent-light);}
.cal-day.is-empty{visibility:hidden;}
.cal-day:disabled{color:var(--text-faint);cursor:not-allowed;}
.cal-day.is-today{box-shadow:inset 0 0 0 1.5px var(--accent);}
.cal-day.is-selected{background:var(--navy);color:#fff;}

.time-heading{font-size:13px;font-weight:700;color:var(--text);margin:18px 0 10px;}
.time-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.time-slot{
  border:1.5px solid var(--border);background:#fff;border-radius:var(--radius-sm);
  padding:10px 6px;font-size:13.5px;font-weight:600;color:var(--text);
}
.time-slot:hover:not(:disabled){border-color:var(--navy);}
.time-slot.is-selected{background:var(--navy);border-color:var(--navy);color:#fff;}
.time-slot:disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through;}
.time-empty{font-size:13px;color:var(--text-muted);padding:10px 2px;}

/* ---------- Calendar-add card ---------- */
.cal-add-list{display:grid;grid-template-columns:1fr;gap:10px;margin-top:6px;}
@media (min-width:480px){ .cal-add-list{grid-template-columns:repeat(3,1fr);} }
.cal-add-btn{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  border:1.5px solid var(--border);border-radius:var(--radius-md);
  padding:16px 10px;background:#fff;font-size:12.5px;font-weight:700;color:var(--navy);
  text-align:center;
}
.cal-add-btn svg{width:24px;height:24px;}
.cal-add-btn:hover{border-color:var(--accent);background:var(--accent-light);}
.cal-add-btn.is-disabled{opacity:.5;pointer-events:none;}
.cal-add-hint{font-size:12.5px;color:var(--text-muted);margin-top:12px;}

/* ---------- Trust footer ---------- */
.trust-bar{background:var(--surface);border-top:1px solid var(--border-soft);}
.trust-inner{
  max-width:var(--maxw);margin:0 auto;padding:22px 20px;
  display:grid;grid-template-columns:1fr;gap:16px;
}
@media (min-width:640px){ .trust-inner{grid-template-columns:repeat(3,1fr);} }
.trust-item{display:flex;align-items:center;gap:12px;}
.trust-item .ic{
  flex:none;width:40px;height:40px;border-radius:10px;background:var(--accent-light);
  color:var(--accent);display:flex;align-items:center;justify-content:center;
}
.trust-item .ic svg{width:20px;height:20px;}
.trust-item h4{font-size:13.5px;font-weight:700;color:var(--navy);}
.trust-item p{font-size:12.5px;color:var(--text-muted);}

.site-footer{background:var(--navy-2);color:#aab4cc;padding:22px 20px;text-align:center;font-size:12.5px;}
.site-footer a{color:#cfd8ee;}

/* ---------- Toast ---------- */
.toast{
  position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);
  background:var(--navy);color:#fff;padding:13px 20px;border-radius:12px;
  font-size:13.5px;font-weight:600;box-shadow:var(--shadow-lg);
  display:flex;align-items:center;gap:8px;z-index:60;opacity:0;pointer-events:none;
  transition:opacity .25s ease,transform .25s ease;max-width:90vw;
}
.toast.is-danger{background:#7f1d1d;}
.toast.is-visible{opacity:1;transform:translate(-50%,0);}
.toast svg{width:16px;height:16px;flex:none;}

/* ==========================================================================
   Page 2 — Confirmation page
   ========================================================================== */
.confirm-page{background:var(--bg);min-height:100vh;}
.confirm-header{padding:26px 20px 10px;}
.progress-track{
  max-width:420px;margin:0 auto 28px;display:flex;align-items:center;
}
.progress-step{display:flex;flex-direction:column;align-items:center;gap:8px;flex:none;width:120px;}
.progress-step .dot{
  width:34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;
}
.progress-step .lbl{font-size:12px;font-weight:700;color:var(--navy);text-align:center;}
.progress-line{flex:1;height:2px;background:var(--navy);margin:0 -4px 26px;}

.confirm-hero{max-width:640px;margin:0 auto;text-align:center;padding:6px 20px 8px;}
.confirm-hero .shield{
  width:64px;height:64px;border-radius:50%;background:var(--accent-light);color:var(--accent);
  display:flex;align-items:center;justify-content:center;margin:0 auto 18px;
}
.confirm-hero .shield svg{width:30px;height:30px;}
.confirm-hero h1{font-size:26px;font-weight:800;color:var(--navy);line-height:1.25;}
@media (min-width:640px){ .confirm-hero h1{font-size:30px;} }
.confirm-hero p{margin-top:12px;color:var(--text-muted);font-size:15px;line-height:1.6;}

.confirm-wrap{max-width:820px;margin:0 auto;padding:28px 20px 60px;}

.benefit-row{
  background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);padding:20px;display:grid;grid-template-columns:1fr;gap:18px;margin-bottom:22px;
}
@media (min-width:640px){ .benefit-row{grid-template-columns:repeat(2,1fr);} }
@media (min-width:900px){ .benefit-row{grid-template-columns:repeat(4,1fr);} }
.benefit{display:flex;align-items:center;gap:12px;padding:0 6px;position:relative;}
@media (min-width:640px){
  .benefit:nth-child(2n){border-left:1px solid var(--border-soft);padding-left:20px;}
}
@media (min-width:900px){
  .benefit:nth-child(2n){border-left:none;padding-left:6px;}
  .benefit:not(:first-child){border-left:1px solid var(--border-soft);padding-left:20px;}
}
.benefit .ic{flex:none;width:38px;height:38px;border-radius:10px;background:var(--accent-light);color:var(--accent);display:flex;align-items:center;justify-content:center;}
.benefit .ic svg{width:19px;height:19px;}
.benefit h4{font-size:13.5px;font-weight:700;color:var(--navy);}
.benefit p{font-size:12px;color:var(--text-muted);}

.confirm-card{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:24px;margin-bottom:20px;}
@media (min-width:640px){ .confirm-card{padding:30px;} }
.confirm-card-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px;}
.confirm-card-head h3{font-size:18px;font-weight:800;color:var(--navy);}
.confirm-card-head p{font-size:13px;color:var(--text-muted);margin-top:3px;}

.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px;}
@media (max-width:479px){ .detail-grid{grid-template-columns:1fr;} }
.detail-item{background:#fbfbfc;border:1px solid var(--border-soft);border-radius:var(--radius-sm);padding:12px 14px;}
.detail-item .lbl{font-size:11.5px;color:var(--text-muted);font-weight:600;text-transform:uppercase;letter-spacing:.03em;}
.detail-item .val{font-size:14.5px;font-weight:700;color:var(--navy);margin-top:3px;word-break:break-word;}

.check-list{display:flex;flex-direction:column;gap:10px;margin-bottom:4px;}
.check-item{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;color:var(--text);}
.check-item .tick{flex:none;width:20px;height:20px;border-radius:50%;background:var(--success-light);color:var(--success);display:flex;align-items:center;justify-content:center;}
.check-item .tick svg{width:12px;height:12px;}

.expect-list{display:grid;grid-template-columns:1fr;gap:12px;}
@media (min-width:640px){ .expect-list{grid-template-columns:repeat(3,1fr);} }
.expect-item{background:#fbfbfc;border:1px solid var(--border-soft);border-radius:var(--radius-md);padding:16px;text-align:left;}
.expect-item .ic{width:36px;height:36px;border-radius:9px;background:var(--accent-light);color:var(--accent);display:flex;align-items:center;justify-content:center;margin-bottom:10px;}
.expect-item .ic svg{width:18px;height:18px;}
.expect-item h4{font-size:13.5px;font-weight:700;color:var(--navy);}
.expect-item p{font-size:12.5px;color:var(--text-muted);margin-top:4px;line-height:1.5;}

.confirm-cta{text-align:center;margin-top:8px;}
.confirm-lock{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;color:var(--text-muted);margin-top:14px;}
.confirm-lock svg{width:13px;height:13px;}

/* ---------- Step-card two-column body (confirmation page) ---------- */
.step-card-body{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;}
@media (max-width:767px){ .step-card-body{grid-template-columns:1fr;gap:22px;} }
.step-card-left .btn{width:100%;}
.step-card-left .btn-primary{max-width:280px;}
@media (max-width:767px){ .step-card-left .btn-primary{max-width:none;} }

/* ---------- Calendar dropdown (single "Add to Calendar" button) ---------- */
.cal-dropdown-wrap{position:relative;display:inline-block;width:100%;}
.cal-dropdown-wrap .btn{max-width:280px;}
@media (max-width:767px){ .cal-dropdown-wrap .btn{max-width:none;} }
.cal-dropdown{
  position:absolute;top:calc(100% + 8px);left:0;z-index:20;
  background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);padding:8px;min-width:220px;
  display:flex;flex-direction:column;gap:2px;
}
.cal-dropdown[hidden]{display:none;}
.cal-dropdown a{
  display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-sm);
  font-size:13.5px;font-weight:600;color:var(--navy);
}
.cal-dropdown a:hover{background:var(--accent-light);}
.cal-dropdown a svg{width:18px;height:18px;flex:none;color:var(--accent);}

/* ---------- Step connector ---------- */
.connector{display:flex;justify-content:center;margin:-6px 0 4px;}
.connector .circle{
  width:40px;height:40px;border-radius:50%;background:var(--surface);
  border:1px solid var(--border-soft);box-shadow:var(--shadow-sm);
  display:flex;align-items:center;justify-content:center;color:var(--accent);
}
.connector .circle svg{width:18px;height:18px;}

/* ---------- Upload dropzone ---------- */
.upload-zone{
  border:2px dashed var(--border);border-radius:var(--radius-md);
  padding:28px 20px;text-align:center;background:#fbfbfc;transition:border-color .15s,background .15s;
}
.upload-zone.is-dragover{border-color:var(--accent);background:var(--accent-light);}
.upload-zone .cloud-ic{
  width:48px;height:48px;border-radius:50%;background:var(--accent-light);color:var(--accent);
  display:flex;align-items:center;justify-content:center;margin:0 auto 12px;
}
.upload-zone .cloud-ic svg{width:22px;height:22px;}
.upload-zone p{font-size:13.5px;color:var(--text);margin-top:4px;}
.upload-zone .upload-or{color:var(--text-faint);font-size:12px;margin:8px 0;}
.upload-btn{width:auto !important;max-width:none !important;padding:10px 20px !important;display:inline-flex !important;}
.upload-hint{font-size:12px;color:var(--text-muted);margin-top:10px;}
.upload-selected{
  display:flex;align-items:center;gap:8px;margin-top:14px;padding:10px 12px;
  background:var(--accent-light);border-radius:var(--radius-sm);font-size:13px;font-weight:600;color:var(--navy);
  text-align:left;
}
.upload-selected[hidden]{display:none;}
.upload-selected svg{width:16px;height:16px;flex:none;color:var(--accent);}
.upload-selected span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.upload-selected button{
  flex:none;width:22px;height:22px;border-radius:50%;border:none;background:transparent;color:var(--text-muted);
  display:flex;align-items:center;justify-content:center;
}
.upload-selected button:hover{background:rgba(0,0,0,.06);color:var(--danger);}
.upload-selected button svg{width:14px;height:14px;}

/* ---------- Info panel (right column of step 2) ---------- */
.info-panel{background:var(--accent-light);border-radius:var(--radius-md);padding:20px;height:100%;}
.info-panel h4{font-size:13.5px;font-weight:700;color:var(--navy);margin-bottom:14px;}
.info-row{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;}
.info-row:last-child{margin-bottom:0;}
.info-row .ic{
  flex:none;width:30px;height:30px;border-radius:8px;background:var(--surface);color:var(--accent);
  display:flex;align-items:center;justify-content:center;
}
.info-row .ic svg{width:15px;height:15px;}
.info-row strong{display:block;font-size:12.5px;font-weight:700;color:var(--navy);}
.info-row p{font-size:11.5px;color:var(--text-muted);margin-top:2px;line-height:1.4;}

/* ---------- Final success view (shown after Submit & Continue) ---------- */
.success-hero{max-width:520px;margin:0 auto;text-align:center;padding:10px 20px 4px;}
.success-badge{position:relative;width:200px;height:150px;margin:0 auto 18px;}
.success-check{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:88px;height:88px;border-radius:50%;background:var(--success-light);color:var(--success);
  display:flex;align-items:center;justify-content:center;
}
.success-check svg{width:40px;height:40px;}
.confetti{position:absolute;border-radius:50%;}
.confetti.square{border-radius:3px;transform:rotate(45deg);}
.confetti.green{background:var(--success);}
.confetti.blue{background:var(--accent);}
.c1{width:8px;height:8px;top:18px;left:38px;}
.c2{width:10px;height:6px;top:8px;right:44px;}
.c3{width:6px;height:6px;top:52px;left:8px;}
.c4{width:8px;height:8px;top:82px;right:12px;}
.c5{width:10px;height:6px;top:58px;right:38px;}
.c6{width:7px;height:7px;bottom:18px;left:58px;}
.success-hero h1{font-size:28px;font-weight:800;color:var(--navy);}
@media (min-width:640px){ .success-hero h1{font-size:32px;} }
.success-hero p{margin-top:10px;color:var(--text-muted);font-size:15px;}

.success-info-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:26px 0 22px;}
@media (max-width:639px){ .success-info-row{grid-template-columns:1fr;} }
.success-info{display:flex;gap:14px;align-items:flex-start;padding:20px;border-radius:var(--radius-lg);}
.success-info .ic{
  flex:none;width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.success-info .ic svg{width:20px;height:20px;}
.success-info h4{font-size:15px;font-weight:800;color:var(--navy);margin-bottom:4px;}
.success-info p{font-size:13px;color:var(--text-muted);line-height:1.5;}
.success-info p strong{font-weight:700;}
.success-info-green{background:var(--success-light);}
.success-info-green .ic{background:#d3f3de;color:var(--success);}
.success-info-green p strong{color:var(--success);}
.success-info-blue{background:var(--accent-light);}
.success-info-blue .ic{background:#dde7ff;color:var(--accent);}

.help-card{
  background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);padding:28px 22px;margin-bottom:20px;text-align:center;
}
@media (min-width:640px){ .help-card{padding:32px 36px;} }
.help-title{display:flex;align-items:center;gap:14px;font-size:19px;font-weight:800;color:var(--navy);margin-bottom:10px;}
.help-title::before,.help-title::after{content:"";flex:1;height:1px;background:var(--border-soft);}
.help-sub{font-size:13.5px;color:var(--text-muted);margin-bottom:22px;}
.help-contacts{display:grid;grid-template-columns:1fr 1fr;}
@media (max-width:639px){ .help-contacts{grid-template-columns:1fr;} }
.help-contact{display:flex;align-items:center;gap:14px;padding:10px 20px;text-align:left;border-radius:var(--radius-md);}
.help-contact:hover{background:var(--accent-light);}
.help-contact:not(:first-child){border-left:1px solid var(--border-soft);}
@media (max-width:639px){
  .help-contact:not(:first-child){border-left:none;border-top:1px solid var(--border-soft);padding-top:18px;margin-top:8px;}
}
.help-contact .ic{
  flex:none;width:44px;height:44px;border-radius:50%;background:var(--accent-light);color:var(--accent);
  display:flex;align-items:center;justify-content:center;
}
.help-contact .ic svg{width:20px;height:20px;}
.help-contact strong{display:block;font-size:14px;font-weight:700;color:var(--navy);}
.help-contact .help-value{display:block;font-size:13.5px;color:var(--accent);font-weight:600;margin-top:2px;}
.help-contact .help-hours{display:block;font-size:12px;color:var(--text-muted);margin-top:2px;}

.required-badge{
  display:inline-block;vertical-align:middle;margin-left:8px;
  font-size:10.5px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;
  color:#b45309;background:#fef3c7;border-radius:999px;padding:3px 9px;
}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001ms !important;transition-duration:.001ms !important;}
}
