/* ===================== AssembleSofts Booking Wizard (light theme) ===================== */
.snxb-wrap, .snxb-wrap *{ box-sizing:border-box; }
.snxb-wrap{
	font-family:Arial,Helvetica,sans-serif;
	position:relative;
	overflow:hidden;
	isolation:isolate;
}
.snxb-intro{ text-align:center; max-width:640px; margin:0 auto 36px; position:relative; z-index:1; }
.snxb-heading{ font-family:'Sora',system-ui,sans-serif; letter-spacing:-.02em; font-size:clamp(1.5rem,3vw,2.1rem); font-weight:700; margin:0; line-height:1.2; }
.snxb-subheading{ margin-top:12px; font-size:1rem; line-height:1.6; }

.snxb-card{
	max-width:720px; margin:0 auto; padding:40px 40px 34px; border:1px solid #DCE6F1; background:#fff;
	position:relative; z-index:1; overflow:hidden;
}

/* ---- Animated background glow ---- */
.snxb-glow{
	position:absolute; border-radius:50%; filter:blur(70px); pointer-events:none; z-index:0;
	background:radial-gradient(circle, var(--snxb-glow-color,#F4C223) 0%, transparent 70%);
}
.snxb-glow-1{ width:55%; aspect-ratio:1; top:-15%; right:-10%; opacity:.35; animation:snxbGlowPulseA 7s ease-in-out infinite; }
.snxb-glow-2{ width:40%; aspect-ratio:1; bottom:-15%; left:-8%; opacity:.22; animation:snxbGlowPulseB 9s ease-in-out infinite; }
@keyframes snxbGlowPulseA{
	0%,100%{ transform:scale(1) translate(0,0); opacity:.28; }
	50%{ transform:scale(1.2) translate(-4%,4%); opacity:.45; }
}
@keyframes snxbGlowPulseB{
	0%,100%{ transform:scale(1) translate(0,0); opacity:.18; }
	50%{ transform:scale(1.25) translate(3%,-3%); opacity:.32; }
}
@media (prefers-reduced-motion: reduce){
	.snxb-glow-1, .snxb-glow-2{ animation:none; }
}

/* ---- Progress steps ---- */
.snxb-steps{ display:flex; justify-content:space-between; margin-bottom:34px; position:relative; }
.snxb-steps::before{
	content:''; position:absolute; top:15px; left:15px; right:15px; height:2px; background:#E4EAEF; z-index:0;
}
.snxb-steps-fill{
	position:absolute; top:15px; left:15px; height:2px; z-index:0; width:0%;
	background:#094E91; transition:width .5s cubic-bezier(.22,.68,0,1);
}
.snxb-step{
	position:relative; z-index:1; width:32px; height:32px; border-radius:50%;
	border:2px solid #DCE6ED; display:flex; align-items:center; justify-content:center;
	font-family:inherit; font-weight:700; font-size:0.85rem; color:#B7C3CC; background:#fff;
	transition:background .35s cubic-bezier(.22,.68,0,1), border-color .35s ease, color .35s ease, transform .35s cubic-bezier(.22,.68,0,1);
}
.snxb-step.active,.snxb-step.done{ background:#094E91; border-color:#094E91; color:#fff; }
.snxb-steps-fill{ background:#094E91; }
.snxb-step.active{ transform:scale(1.12); box-shadow:0 0 0 5px rgba(9,78,145,0.16); }
.snxb-step em{
	position:absolute; top:38px; left:50%; transform:translateX(-50%); font-style:normal;
	font-size:0.72rem; font-weight:600; color:#8695A0; white-space:nowrap; transition:color .3s ease;
}
.snxb-step.active em, .snxb-step.done em{ color:#06305A; }

/* ---- Panels (directional slide + fade) ---- */
.snxb-panel{ display:none; }
.snxb-panel.active{ display:block; }
.snxb-panel.active.slide-next{ animation:snxbSlideInRight .45s cubic-bezier(.22,.68,0,1); }
.snxb-panel.active.slide-prev{ animation:snxbSlideInLeft .45s cubic-bezier(.22,.68,0,1); }
@keyframes snxbSlideInRight{ from{ opacity:0; transform:translateX(28px);} to{ opacity:1; transform:translateX(0);} }
@keyframes snxbSlideInLeft{ from{ opacity:0; transform:translateX(-28px);} to{ opacity:1; transform:translateX(0);} }

.snxb-form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.snxb-field{ margin-bottom:22px; }
.snxb-field label{ color:#06305A; display:block; font-size:0.85rem; font-weight:600; margin-bottom:8px; }
.snxb-field label::after{ content:' *'; color:#094E91; }
.snxb-field input[type="text"], .snxb-field input[type="email"], .snxb-field input[type="tel"],
.snxb-field input[type="number"], .snxb-field input[type="date"], .snxb-field select, .snxb-field textarea{
	width:100%; padding:13px 14px; border:1.5px solid #DCE6ED; border-radius:8px;
	font-family:inherit; font-size:0.95rem; background:#fff; color:inherit;
	transition:border-color .25s ease, box-shadow .25s ease;
}
.snxb-field textarea{ min-height:100px; resize:vertical; }
.snxb-field input:focus, .snxb-field select:focus, .snxb-field textarea:focus{ outline:none; border-color:#094E91; box-shadow:0 0 0 4px rgba(9,78,145,.12); }
.snxb-err{ display:block; min-height:16px; color:#D14343; font-size:0.78rem; margin-top:6px; }
.snxb-field.has-error input, .snxb-field.has-error select, .snxb-field.has-error textarea{ border-color:#D14343 !important; }
.snxb-field.has-error .snxb-dropzone{ border-color:#D14343 !important; }
.snxb-field.has-error .snxb-sp-grid .snxb-sp-card{ border-color:#D14343; }

/* ---- Budget toggle ---- */
.snxb-toggle{ display:flex; gap:12px; margin-bottom:6px; }
.snxb-toggle-opt{ flex:1; position:relative; }
.snxb-toggle-opt input{ position:absolute; opacity:0; width:0; height:0; }
.snxb-toggle-opt span{
	display:block; text-align:center; padding:14px; border:1.5px solid #DCE6ED; border-radius:8px;
	font-weight:600; font-size:0.92rem; cursor:pointer; transition:border-color .25s ease, background .25s ease, color .25s ease;
}
.snxb-toggle-opt input:checked + span{ border-color:#094E91; background:#094E9114; color:#06305A; }

/* ---- Dropzone ---- */
.snxb-dropzone{
	position:relative; border:1.6px dashed #C7D3DB; border-radius:10px; padding:32px 20px;
	text-align:center; color:#5B6B77; transition:border-color .25s ease, background .25s ease;
}
.snxb-dropzone.dragover{ border-color:#094E91; background:#094E910D; }
.snxb-dropzone svg{ margin:0 auto 10px; color:#8695A0; }
.snxb-dropzone p{ margin:0 0 4px; font-weight:600; font-size:0.92rem; color:#06305A; }
.snxb-dropzone span{ font-size:0.78rem; }
.snxb-dropzone input[type="file"]{ position:absolute; inset:0; opacity:0; cursor:pointer; }
.snxb-file-list{ margin-top:14px; display:flex; flex-wrap:wrap; gap:8px; }
.snxb-file-chip{
	display:flex; align-items:center; gap:8px; background:#F3F7FA; border:1px solid #DCE6ED; border-radius:20px;
	padding:6px 12px; font-size:0.8rem;
}
.snxb-file-chip button{ background:none; border:none; color:#D14343; font-size:0.85rem; padding:0; }

/* ---- Specialist cards ---- */
.snxb-sp-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.snxb-sp-card{
	position:relative; display:block; border:1.8px solid #DCE6ED; border-radius:10px; padding:18px 18px 16px;
	cursor:pointer; transition:border-color .25s ease, background .25s ease, transform .25s cubic-bezier(.22,.68,0,1), box-shadow .25s ease;
}
.snxb-sp-card:hover{ border-color:#B7C3CC; transform:translateY(-2px); }
.snxb-sp-card input{ position:absolute; opacity:0; width:0; height:0; }
.snxb-sp-icon{ display:inline-flex; font-size:22px; margin-bottom:10px; line-height:1; }
.snxb-sp-icon i, .snxb-sp-icon svg{ display:inline-block; width:1em; height:1em; }
.snxb-sp-card strong{ display:block; font-size:0.95rem; margin-bottom:4px; }
.snxb-sp-card em{ display:block; font-style:normal; font-size:0.8rem; color:#5B6B77; }
.snxb-sp-check{
	position:absolute; top:14px; right:14px; width:22px; height:22px; border-radius:50%;
	border:1.8px solid #DCE6ED; display:flex; align-items:center; justify-content:center;
	font-size:12px; font-weight:700; color:transparent; background:#fff;
	transition:background .25s ease, border-color .25s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.snxb-sp-card.selected{ transform:translateY(-2px); border-color:#094E91; background:rgba(9,78,145,.05); box-shadow:0 10px 24px rgba(9,78,145,.12); }
.snxb-sp-icon{ color:#094E91; }
.snxb-sp-card.selected .snxb-sp-check{ background:#22C55E; border-color:#22C55E; color:#fff; transform:scale(1.12); }
@media (max-width:560px){ .snxb-sp-grid{ grid-template-columns:1fr; } }

/* ---- Summary (step 5) ---- */
.snxb-summary{ margin-top:8px; padding:16px 18px; background:#F3F7FA; border-radius:10px; font-size:0.86rem; color:#3E4C56; }
.snxb-summary strong{ color:#06305A; }
.snxb-summary .row{ display:flex; justify-content:space-between; gap:10px; padding:6px 0; border-bottom:1px solid #E4EAEF; }
.snxb-summary .row:last-child{ border-bottom:none; }

/* ---- Nav buttons ---- */
.snxb-nav{ display:flex; align-items:center; justify-content:space-between; margin-top:10px; gap:14px; }
.snxb-btn-primary, .snxb-btn-ghost{
	font-family:inherit; font-weight:700; font-size:0.94rem; border:none; border-radius:8px;
	padding:13px 26px; cursor:pointer; transition:background .25s ease, transform .25s ease, opacity .2s ease;
}
.snxb-btn-primary{ margin-left:auto; background:#094E91; color:#fff; box-shadow:0 10px 22px rgba(9,78,145,.25); }
.snxb-btn-primary:hover{ background:#073E74; }
.snxb-btn-ghost{ color:#657287; }
.snxb-btn-primary:hover{ transform:translateY(-2px); }
.snxb-btn-ghost{ background:none; padding:13px 6px; }
.snxb-privacy{ text-align:center; font-size:0.78rem; color:#8695A0; margin-top:16px; }

/* ---- Success screen ---- */
.snxb-success{ display:none; text-align:center; padding:30px 10px 10px; }
.snxb-success.show{ display:block; }
.snxb-card.is-success .snxb-steps, .snxb-card.is-success .snxb-form{ display:none; }
.snxb-check{ width:80px; height:80px; margin:0 auto 20px; }
.snxb-check circle{ fill:none; stroke-dasharray:214; stroke-dashoffset:214; animation:snxbCircle .6s ease forwards; }
.snxb-check path{ fill:none; stroke-dasharray:40; stroke-dashoffset:40; animation:snxbCheck .4s ease .5s forwards; }
@keyframes snxbCircle{ to{ stroke-dashoffset:0; } }
@keyframes snxbCheck{ to{ stroke-dashoffset:0; } }
.snxb-success h3{ font-family:'Sora',system-ui,sans-serif; color:#0C0C0C; font-size:1.3rem; font-weight:700; margin:0 0 10px; }
.snxb-success p{ font-size:0.96rem; color:#5B6B77; max-width:44ch; margin:0 auto; line-height:1.7; }

@media (prefers-reduced-motion: reduce){
	.snxb-panel, .snxb-panel.slide-next, .snxb-panel.slide-prev, .snxb-check circle, .snxb-check path, .snxb-step{ animation:none !important; transition:none !important; transform:none !important; }
	.snxb-check circle, .snxb-check path{ stroke-dashoffset:0 !important; }
}

@media (max-width:640px){
	.snxb-card{ padding:28px 20px 24px; }
	.snxb-form-row{ grid-template-columns:1fr; }
	.snxb-step em{ display:none; }
}
