/* style.css — Multi-step Form Styles (full width) */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color:#0f172a; background: transparent; }
.container { max-width: none; width:100%; margin: 24px 0 96px; padding: 0; }

.header h1 { margin: 0 0 4px; font-size: 28px; line-height: 1.2; }
.header p { margin: 0 0 16px; color:#334155; }
.progress-wrap { background:#e2e8f0; border-radius:999px; height:10px; overflow:hidden; margin:16px 0 10px; }
#progress-bar { width: 0%; height:100%; background:#2563eb; transition: width .35s ease; }

.steps-indicator { display:flex; gap:8px; margin-bottom: 12px; }
.steps-indicator .dot { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#e2e8f0; color:#475569; font-weight:600; }
.steps-indicator .dot.active { background:#2563eb; color:white; }

/* Banner */
.banner[hidden] { display: none !important; }
.banner { margin: 0 0 16px; padding: 16px; font-size: 18px; font-weight: 700; text-align: center; border: 1px solid transparent; }
.banner.success { background: #ecfdf5; color: #14532d; border-color: #16a34a; }
.banner.error { background: #fef2f2; color: #7f1d1d; border-color: #ef4444; }

form { margin-top: 16px;  background: transparent; border: none; border-radius: 0; padding: 0; width:100%; margin: 0 auto; box-shadow: none; }

h2 { margin:0 0 16px; font-size:22px; }
legend { font-weight:600; margin-bottom:6px; }

.req { color:#ef4444; margin-left:4px; white-space: nowrap; }

.grid { display:grid; gap:14px; margin-bottom: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 860px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }

.field { display:flex; flex-direction:column; gap:6px; }
.label-line { display:flex; align-items:baseline; gap:6px; line-height:1.3; font-weight: 600; }
.hint { display:block; font-size:12px; color:#64748b; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], input[type="number"], textarea, select {
  width:100%; border:1px solid #cbd5e1; border-radius:0; padding:12px 12px; font-size:14px; background:white; outline:none; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { border-color:#2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
textarea { min-height: 96px; resize: vertical; }
input[type="file"] { padding:10px; background:white; border:1px solid #cbd5e1; }

input[type="checkbox"] { accent-color: #ff1b20; }

.field-error { border-color:#ef4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.15) !important; }
.error-text { color:#b91c1c; font-size:12px; margin-top:4px; }

.checklist label, .checkline { display:flex; align-items:center; gap:10px; }

.field.op-hours { margin-top: 28px; }

/* Specific spacing */
.grid.service-locations { margin-top: 28px; }
fieldset.languages { margin-top: 28px; }
fieldset.uploads { margin-top: 28px; }
fieldset.consents { margin-top: 28px; }
fieldset.dates { margin-top: 28px; }

.nav { display:flex; justify-content:space-between; gap:12px; margin-top: 10px; }
.btn { appearance:none; border:none; background:#2563eb; color:white; border-radius:10px; padding:12px 18px; font-weight:600; cursor:pointer; }
.btn.secondary { background:#0f172a; color:#e2e8f0; }
.btn:disabled { opacity:.6; cursor:not-allowed; }

.step[hidden] { display:none !important; }

/* Service items with inline qty field */
.services-list { align-items: start; }
.service-item { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.service-item .check { display: inline-flex; align-items: center; gap: 10px; }
.service-item .svc-qty { display: flex; align-items: center; gap: 8px; }
.service-item .svc-qty[hidden] { display: none !important; }
.service-item .svc-qty .qty-text { font-size: 13px; color:#334155; font-weight: 600; }
.service-item .svc-qty input[type="number"] { width: 140px; }

/* Review box */
.review-box { border:1px solid #cbd5e1; padding: 16px; background: #fff; }
.review-box .row { display:grid; grid-template-columns: 260px 1fr; gap:8px; padding:6px 0; border-bottom:1px dashed #e2e8f0; }
.review-box .row:last-child { border-bottom: none; }
.review-box .label { font-weight: 600; color:#334155; }
.review-box .value { color:#0f172a; }
