/* ITNS shared baseline — consumed by all forms via https://common.itns.com/itns.css */
/* Per-form overrides (e.g. .container max-width, .badge color) live in each form's local <style>. */

*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:#f0f2f0;color:#231f20;min-height:100vh}

.header{background:#231f20;padding:28px 24px;text-align:center}
.header img{height:52px;margin-bottom:14px;display:block;margin-left:auto;margin-right:auto}
.header h1{font-size:22px;font-weight:800;color:#fff}
.header p{font-size:13.5px;color:rgba(255,255,255,.68);margin-top:8px;max-width:var(--header-p-max,560px);margin-left:auto;margin-right:auto;line-height:1.5}
.hbar{width:48px;height:3px;background:#4bb022;margin:12px auto 0;border-radius:2px}
.badge{display:inline-block;background:#4bb022;color:white;font-size:11px;font-weight:700;padding:4px 12px;border-radius:20px;margin-top:10px;letter-spacing:.5px}

.container{max-width:var(--container-max,800px);margin:0 auto;padding:28px 16px 60px}

.prog-wrap{background:white;border-radius:12px;padding:20px 24px 14px;margin-bottom:20px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.prog-steps{display:flex;justify-content:space-between;margin-bottom:10px;position:relative}
.prog-step{display:flex;flex-direction:column;align-items:center;flex:1;position:relative;z-index:1}
.prog-step:not(:last-child)::after{content:'';position:absolute;top:13px;left:50%;width:100%;height:2px;background:#e2e8f0;z-index:0}
.prog-step.done:not(:last-child)::after{background:#4bb022}
.sdot{width:26px;height:26px;border-radius:50%;background:#e2e8f0;color:#888;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;z-index:1;position:relative;transition:all .2s}
.prog-step.active .sdot{background:#231f20;color:white;box-shadow:0 0 0 3px rgba(75,176,34,.3)}
.prog-step.done .sdot{background:#4bb022;color:white}
.slabel{font-size:10px;color:#a0aec0;margin-top:4px;text-align:center;line-height:1.2}
.prog-step.active .slabel{color:#231f20;font-weight:700}
.prog-step.done .slabel{color:#4bb022}
.bar-track{height:5px;background:#e2e8f0;border-radius:3px;margin-top:6px}
.bar-fill{height:5px;background:linear-gradient(90deg,#3a8a1a,#4bb022);border-radius:3px;transition:width .35s ease}

.card{background:white;border-radius:12px;padding:30px 28px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.ctitle{font-size:19px;font-weight:800;color:#231f20;margin-bottom:3px}
.csub{font-size:13px;color:#718096;margin-bottom:24px;line-height:1.5}
.sec{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1px;color:#4bb022;border-bottom:1.5px solid #e8f5e3;padding-bottom:8px;margin:22px 0 16px}

.row{display:grid;gap:16px;margin-bottom:16px}
.r1{grid-template-columns:1fr}
.r2{grid-template-columns:1fr 1fr}
.r3{grid-template-columns:1fr 1fr 1fr}
.r4{grid-template-columns:1fr 1fr 1fr 1fr}
@media(max-width:600px){.r2,.r3,.r4{grid-template-columns:1fr}}

.field{display:flex;flex-direction:column}
label{font-size:12.5px;font-weight:700;color:#374151;margin-bottom:5px}
.req{color:#c0392b;margin-left:2px}
input,select,textarea{padding:9px 12px;border:1.5px solid #dde3dd;border-radius:8px;font-size:13.5px;color:#231f20;background:#fafcfa;transition:border-color .15s,box-shadow .15s;outline:none;font-family:inherit;width:100%}
input:focus,select:focus,textarea:focus{border-color:#4bb022;background:white;box-shadow:0 0 0 3px rgba(75,176,34,.12)}
input.err,select.err,textarea.err{border-color:#c0392b}
input[readonly]{background:#f5f5f5;color:#555;cursor:default}
.hint{font-size:11px;color:#a0aec0;margin-top:3px}
textarea{resize:vertical;min-height:90px}
select{cursor:pointer}

.nav{display:flex;justify-content:space-between;align-items:center;margin-top:28px}
.sind{font-size:12.5px;color:#9ca3af}
.btn{padding:10px 22px;border-radius:8px;font-size:13.5px;font-weight:700;cursor:pointer;border:none;transition:all .15s}
.bbk{background:white;color:#374151;border:1.5px solid #dde3dd}.bbk:hover{background:#f5f8f5}
.bnx{background:#231f20;color:white}.bnx:hover{background:#3a3535}
.bsb{background:linear-gradient(135deg,#3a8a1a,#4bb022);color:white;padding:12px 32px;font-size:14px}.bsb:hover{opacity:.9;transform:translateY(-1px)}
.btn:disabled{opacity:.4;cursor:not-allowed;transform:none!important}

.err-ban{background:#fdf2f2;border:1px solid #f5c6c6;color:#922b21;padding:11px 15px;border-radius:8px;font-size:13px;margin-bottom:18px;display:none}
.err-ban.show{display:block}
.field-err-msg{display:block;font-size:11.5px;color:#c0392b;font-weight:600;margin-top:4px}

.ovl{position:fixed;inset:0;background:rgba(255,255,255,.93);display:none;flex-direction:column;align-items:center;justify-content:center;z-index:999}
.ovl.on{display:flex}
.spin{width:44px;height:44px;border:3px solid #e8f5e3;border-top-color:#4bb022;border-radius:50%;animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.ltxt{margin-top:16px;font-size:15px;color:#231f20;font-weight:600}
.lsub{font-size:13px;color:#718096;margin-top:5px}

.sw{text-align:center;padding:40px 28px}
.si{width:72px;height:72px;background:#e8f5e3;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-size:32px}
.sw h2{font-size:24px;font-weight:800;color:#231f20;margin-bottom:10px}
.sw p{color:#374151;font-size:14px;line-height:1.7;max-width:480px;margin:0 auto}
.sw strong{color:#4bb022}
