/* ChecksSorted supplier registration form – all rules scoped to .cs-sf */
.cs-sf {
	--cs-navy: #0b2545;
	--cs-navy-2: #13315c;
	--cs-green: #1fa65a;
	--cs-green-dark: #168046;
	--cs-green-soft: #eaf7f0;
	--cs-text: #1d2b3a;
	--cs-muted: #5b6b7d;
	--cs-border: #cfd8e3;
	--cs-bg-soft: #f4f7fb;
	--cs-error: #b3261e;
	--cs-error-bg: #fdecea;
	--cs-radius: 12px;
	box-sizing: border-box;
	max-width: 860px;
	margin: 0 auto;
	padding: 28px;
	background: #fff;
	color: var(--cs-text);
	border: 1px solid #e3e9f1;
	border-radius: 18px;
	box-shadow: 0 10px 34px rgba(11, 37, 69, .08);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
}
.cs-sf *, .cs-sf *::before, .cs-sf *::after { box-sizing: border-box; }
.cs-sf [hidden] { display: none !important; }
.cs-sf p { margin: 0 0 12px; }
.cs-sf h2, .cs-sf h3, .cs-sf h4 { color: var(--cs-navy); font-family: inherit; letter-spacing: 0; text-transform: none; }
.cs-sf .cs-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cs-sf .cs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Intro */
.cs-sf .cs-intro { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid #e3e9f1; }
.cs-sf .cs-intro-title { margin: 0 0 10px; font-size: 30px; line-height: 1.2; font-weight: 800; }
.cs-sf .cs-intro-badge { display: inline-block; margin: 0 0 14px; padding: 6px 14px; background: var(--cs-green-soft); color: var(--cs-green-dark); border-radius: 18px; font-weight: 700; font-size: 14px; }

/* Progress */
.cs-sf .cs-progress { margin-bottom: 26px; }
.cs-sf .cs-progress-label { margin: 0 0 12px; font-weight: 700; color: var(--cs-navy); font-size: 15px; }
.cs-sf .cs-progress-list { display: flex; justify-content: space-between; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.cs-sf .cs-progress-item { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--cs-muted); font-size: 12px; line-height: 1.25; }
.cs-sf .cs-progress-item::marker { content: none; }
.cs-sf .cs-progress-dot { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #e8edf4; color: var(--cs-muted); font-weight: 700; font-size: 14px; border: 2px solid transparent; transition: all .2s; }
.cs-sf .cs-progress-item.is-current { color: var(--cs-navy); font-weight: 700; }
.cs-sf .cs-progress-item.is-current .cs-progress-dot { background: var(--cs-navy); color: #fff; box-shadow: 0 0 0 4px rgba(11, 37, 69, .12); }
.cs-sf .cs-progress-item.is-done .cs-progress-dot { background: var(--cs-green); color: #fff; }
.cs-sf .cs-progress-item.is-done .cs-progress-num { font-size: 0; }
.cs-sf .cs-progress-item.is-done .cs-progress-num::before { content: "\2713"; font-size: 16px; }
.cs-sf .cs-progress-bar { height: 6px; background: #e8edf4; border-radius: 999px; overflow: hidden; }
.cs-sf .cs-progress-bar span { display: block; width: 20%; height: 100%; background: linear-gradient(90deg, var(--cs-green), #3ddc84); border-radius: 999px; transition: width .3s ease; }

/* Steps */
.cs-sf .cs-step { animation: cs-fade .25s ease; scroll-margin-top: 90px; }
@keyframes cs-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cs-sf .cs-step-title { margin: 0 0 18px; padding-bottom: 10px; font-size: 24px; line-height: 1.25; font-weight: 800; border-bottom: 3px solid var(--cs-green); display: inline-block; outline: none; }
.cs-sf .cs-subtitle { margin: 4px 0 6px; font-size: 17px; line-height: 1.35; }
.cs-sf .cs-lead { color: var(--cs-muted); }

/* Fields */
.cs-sf .cs-field { margin: 0 0 20px; min-width: 0; }
.cs-sf .cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.cs-sf .cs-label { display: block; margin: 0 0 7px; padding: 0; font-weight: 700; font-size: 15px; color: var(--cs-navy); line-height: 1.4; float: none; width: auto; }
.cs-sf .cs-req, .cs-sf .cs-opt { font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; white-space: nowrap; }
.cs-sf .cs-req { background: #e7edf6; color: var(--cs-navy-2); }
.cs-sf .cs-opt { background: #f0f2f5; color: var(--cs-muted); }
.cs-sf .cs-input {
	display: block; width: 100%; max-width: 100%; margin: 0; padding: 12px 14px;
	font: inherit; font-size: 16px; line-height: 1.4; color: var(--cs-text);
	background: #fff; border: 1.5px solid var(--cs-border); border-radius: 10px;
	box-shadow: none; height: auto; min-height: 48px; transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none; appearance: none;
}
.cs-sf .cs-textarea { min-height: 96px; resize: vertical; }
.cs-sf .cs-input:hover { border-color: #aebbcb; }
.cs-sf .cs-input:focus { outline: none; border-color: var(--cs-green); box-shadow: 0 0 0 4px rgba(31, 166, 90, .18); }
.cs-sf .cs-help { margin: 6px 0 0; font-size: 13.5px; color: var(--cs-muted); }
.cs-sf .cs-error { margin: 6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--cs-error); }
.cs-sf .cs-field--invalid > .cs-input,
.cs-sf .cs-field--invalid .cs-input { border-color: var(--cs-error); background: #fffafa; }
.cs-sf .cs-field--invalid .cs-input:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .15); }
.cs-sf .cs-field--invalid .cs-choice-box { border-color: var(--cs-error); }

/* Choice groups */
.cs-sf .cs-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cs-sf .cs-choices { display: grid; gap: 10px; }
.cs-sf .cs-fieldset--inline .cs-choices { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.cs-sf .cs-choice { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 13px 14px; background: #fff; border: 1.5px solid var(--cs-border); border-radius: 10px; cursor: pointer; font-weight: 500; line-height: 1.45; transition: border-color .15s, background .15s; }
.cs-sf .cs-choice:hover { border-color: #9fb0c4; }
.cs-sf .cs-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.cs-sf .cs-choice-box { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; border: 2px solid #9fb0c4; border-radius: 6px; background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: all .15s; }
.cs-sf input[type=radio] + .cs-choice-box { border-radius: 50%; }
.cs-sf .cs-choice input:checked + .cs-choice-box { background: var(--cs-green); border-color: var(--cs-green); }
.cs-sf .cs-choice input:checked + .cs-choice-box::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.cs-sf input[type=radio]:checked + .cs-choice-box::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.cs-sf .cs-choice:has(input:checked) { border-color: var(--cs-green); background: var(--cs-green-soft); }
.cs-sf .cs-choice input:focus-visible + .cs-choice-box { outline: 3px solid rgba(31, 166, 90, .45); outline-offset: 2px; }
.cs-sf .cs-choice--invalid { border-color: var(--cs-error); background: #fffafa; }
.cs-sf .cs-choice--decl { font-size: 15px; font-weight: 400; }
.cs-sf .cs-decls .cs-choices, .cs-sf .cs-decls { display: grid; gap: 10px; }

/* Credential / grouped blocks */
.cs-sf .cs-cred { margin: 0 0 22px; padding: 18px 18px 2px; border: 1.5px solid #dde5ef; border-left: 5px solid var(--cs-green); border-radius: var(--cs-radius); background: var(--cs-bg-soft); min-width: 0; }
.cs-sf .cs-cred-title { padding: 0 8px; margin-left: -8px; font-weight: 800; font-size: 16px; color: var(--cs-navy); }
.cs-sf .cs-block { margin: 8px 0 22px; }
.cs-sf .cs-conditional { margin-top: 6px; padding: 16px 16px 0; background: var(--cs-bg-soft); border-radius: var(--cs-radius); border: 1px dashed #b9c6d6; }
.cs-sf .cs-empty { padding: 14px 16px; background: #fff7e6; border: 1px solid #f2d79a; border-radius: 10px; color: #6b4a00; }

/* Notices */
.cs-sf .cs-notice { margin: 4px 0 20px; padding: 16px 18px; border-radius: var(--cs-radius); background: #eef4fb; border: 1px solid #d3e0f0; color: var(--cs-text); font-size: 14.5px; }
.cs-sf .cs-notice h4 { margin: 0 0 6px; font-size: 15px; }
.cs-sf .cs-notice p:last-child { margin-bottom: 0; }
.cs-sf .cs-notice--error { background: var(--cs-error-bg); border-color: #f3b8b3; color: var(--cs-error); }
.cs-sf .cs-summary-error { margin: 0 0 20px; padding: 14px 16px; border-radius: 10px; background: var(--cs-error-bg); border: 1px solid #f3b8b3; border-left: 5px solid var(--cs-error); color: var(--cs-error); font-weight: 600; outline: none; }

/* Navigation */
.cs-sf .cs-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #e3e9f1; }
.cs-sf .cs-nav [data-cs-next], .cs-sf .cs-nav [data-cs-submit] { margin-left: auto; }
.cs-sf .cs-btn { display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 14px 28px; min-height: 50px; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; text-decoration: none; border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.cs-sf .cs-btn:active { transform: translateY(1px); }
.cs-sf .cs-btn:focus-visible { outline: 3px solid rgba(31, 166, 90, .5); outline-offset: 2px; }
.cs-sf .cs-btn--primary { background: var(--cs-navy); color: #fff; }
.cs-sf .cs-btn--primary:hover { background: var(--cs-navy-2); color: #fff; }
.cs-sf .cs-btn--ghost { background: #fff; color: var(--cs-navy); border-color: var(--cs-border); }
.cs-sf .cs-btn--ghost:hover { border-color: var(--cs-navy); background: var(--cs-bg-soft); color: var(--cs-navy); }
.cs-sf .cs-btn--submit { background: var(--cs-green-dark); color: #fff; box-shadow: 0 6px 16px rgba(22, 128, 70, .28); }
.cs-sf .cs-btn--submit:hover { background: #12683a; color: #fff; }
.cs-sf .cs-btn[disabled] { opacity: .65; cursor: not-allowed; }
.cs-sf .cs-submit-note { margin-top: 18px; font-size: 14px; color: var(--cs-muted); text-align: center; }
.cs-sf .cs-form.is-busy { opacity: .85; pointer-events: none; }

/* Success */
.cs-sf .cs-success { text-align: center; padding: 28px 12px; outline: none; }
.cs-sf .cs-success h2 { font-size: 28px; margin: 12px 0 18px; }
.cs-sf .cs-success-icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--cs-green); color: #fff; font-size: 38px; line-height: 72px; font-weight: 700; }
.cs-sf .cs-success-ref { display: inline-block; margin-top: 12px; padding: 10px 18px; background: var(--cs-bg-soft); border-radius: 10px; }

/* Responsive */
@media (max-width: 782px) {
	.cs-sf { padding: 20px 16px; border-radius: 14px; }
	.cs-sf .cs-grid { grid-template-columns: 1fr; }
	.cs-sf .cs-intro-title { font-size: 25px; }
	.cs-sf .cs-step-title { font-size: 21px; }
}
@media (max-width: 600px) {
	.cs-sf .cs-progress-name { display: none; }
	.cs-sf .cs-progress-dot { width: 30px; height: 30px; }
	.cs-sf .cs-cred { padding: 14px 12px 0; }
	.cs-sf .cs-nav { flex-direction: column-reverse; align-items: stretch; }
	.cs-sf .cs-nav .cs-btn { width: 100%; margin-left: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
	.cs-sf *, .cs-sf *::before, .cs-sf *::after { animation: none !important; transition: none !important; }
}
