.ojw-form { max-width: 860px; margin: 0 auto; }
.ojw-step { margin: 0 0 20px; padding: 20px; border: 1px solid #e3e8ec; border-radius: 14px; background: #fff; }
.ojw-step legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-weight: 700; font-size: 1.05rem; }
.ojw-step legend span:not(.ojw-legend-text) { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #10847e; color: #fff; font-size: 13px; }
.ojw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.ojw-field { margin: 0; }
.ojw-field--wide { grid-column: 1 / -1; }
.ojw-field label, .ojw-doc__label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; }
.ojw-field input, .ojw-field select { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #cfd8dc; border-radius: 8px; font: inherit; background: #fff; }
.ojw-field input:focus, .ojw-field select:focus { outline: 2px solid rgba(16, 132, 126, .25); border-color: #10847e; }
.req { color: #e5484d; }
.ojw-hint { margin: 0 0 12px; font-size: 13px; color: #6e787f; }
.ojw-hint a { color: #10847e; font-weight: 600; }

.ojw-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ojw-type { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid #cfd8dc; border-radius: 10px; cursor: pointer; }
.ojw-type:has(input:checked) { border-color: #10847e; background: #e7f5f4; }
.ojw-type input { margin-top: 3px; accent-color: #10847e; }
.ojw-type strong { display: block; }
.ojw-type small { display: block; color: #6e787f; font-size: 13px; }

.ojw-gst__row { display: flex; gap: 8px; }
.ojw-gst__row input { flex: 1; text-transform: uppercase; letter-spacing: .5px; }
.ojw-btn.button { padding: 10px 20px; border-radius: 8px; background: #10847e; color: #fff; border: 0; font-weight: 700; cursor: pointer; }
.ojw-btn.button:hover { background: #0b6a65; color: #fff; }
.ojw-btn.button:disabled { opacity: .6; cursor: wait; }
.ojw-gst__result { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.ojw-gst__result--ok { background: #f1faf4; border: 1px solid #c9e8d4; }
.ojw-gst__result--ok strong { color: #1a7f45; }
.ojw-gst__result--error { background: #fff4f4; border: 1px solid #f3c7c7; color: #9b2c2c; }
.ojw-gst__result dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 8px 0 0; }
.ojw-gst__result dt { color: #6e787f; }
.ojw-gst__result dd { margin: 0; font-weight: 600; }
.ojw-gst__result p { margin: 8px 0 0; }

.ojw-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.ojw-doc { display: block; padding: 12px; border: 1px dashed #cfd8dc; border-radius: 10px; }
.ojw-doc input { width: 100%; font-size: 13px; }
.ojw-doc small { color: #6e787f; font-weight: 400; }
.ojw-doc__have { display: block; margin-top: 6px; color: #1a7f45 !important; }

.ojw-box { margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; }
.ojw-box p, .ojw-box ul { margin: 0; }
.ojw-box ul { padding-left: 18px; }
.ojw-box--error { background: #fff4f4; border: 1px solid #f3c7c7; color: #9b2c2c; }
.ojw-box--warn { background: #fff8eb; border: 1px solid #f5d9a8; }
.ojw-box--info { background: #eef7ff; border: 1px solid #c7e0f7; }
.ojw-box--ok { background: #f1faf4; border: 1px solid #c9e8d4; }
.ojw-hp { position: absolute; left: -9999px; }
.ojw-check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 14px; border: 1px solid #cfd8dc; border-radius: 10px; cursor: pointer; }
.ojw-check:has(input:checked) { border-color: #10847e; background: #e7f5f4; }
.ojw-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #10847e; }
.ojw-check strong { display: block; }
.ojw-check small { display: block; color: #6e787f; font-size: 13px; }
.ojw-grid[hidden] { display: none; }
.ojw-grid__note { align-self: end; padding-bottom: 12px; font-size: 13px; color: #6e787f; }
.ojw-hint--lead { font-size: 14px; color: #30363c; background: #f3f7fb; border-radius: 10px; padding: 10px 14px; }

/* Business profile (My Account) */
.ojw-legend { margin: 0 0 12px; font-size: 1.05rem; }
.ojw-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0 0 18px; padding: 0; counter-reset: ojw; }
.ojw-progress li { position: relative; padding-top: 34px; text-align: center; font-size: 13px; font-weight: 600; color: #98a2b3; counter-increment: ojw; }
.ojw-progress li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: #e3e8ec; }
.ojw-progress li:first-child::before { display: none; }
.ojw-progress li span { position: absolute; top: 0; left: 50%; z-index: 1; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: #fff; border: 2px solid #cfd8dc; box-sizing: border-box; }
.ojw-progress li span::after { content: counter(ojw); display: block; line-height: 24px; font-size: 12px; color: #98a2b3; }
.ojw-progress li.is-done { color: #0b6a65; }
.ojw-progress li.is-done::before { background: #10847e; }
.ojw-progress li.is-done span { background: #10847e; border-color: #10847e; }
.ojw-progress li.is-done span::after { content: "✓"; color: #fff; }
.ojw-progress li.is-current { color: #8a5a00; }
.ojw-progress li.is-current span { border-color: #f0a400; box-shadow: 0 0 0 4px rgba(240, 164, 0, .18); }
.ojw-progress li.is-current span::after { color: #8a5a00; }
.ojw-doc.is-have { border-style: solid; border-color: #c9e8d4; background: #f7fcf9; }
.ojw-doc .ojw-doc__have { margin: 0 0 6px; }
.ojw-docform__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.ojw-btn--ghost.button { background: #fff; color: #10847e; border: 1px solid #10847e; }
.ojw-btn--ghost.button:hover { background: #e7f5f4; color: #0b6a65; }
.ojw-doclist { margin: 0; padding-left: 18px; }
.ojw-details th { width: 160px; }

/* Locked-account banner */
.ojw-lockbar { background: #fff4dc; border-bottom: 1px solid #f5d9a8; color: #5c3d00; font-size: 14px; }
.ojw-lockbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 9px 16px; max-width: 1200px; margin: 0 auto; text-align: center; }
.ojw-lockbar a { font-weight: 700; color: #0b6a65; }
.ojw-locked-note { max-width: 640px; margin: 40px auto; text-align: center; }
.ojw-consent { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 16px; font-size: 14px; }
.ojw-consent input { margin-top: 3px; accent-color: #10847e; }
.ojw-submit.button { width: 100%; padding: 14px; font-size: 16px; }

@media (max-width: 640px) {
	.ojw-step { padding: 16px 14px; }
	.ojw-grid, .ojw-types, .ojw-docs { grid-template-columns: 1fr; }
	.ojw-grid > span:empty { display: none; }
	.ojw-progress li { font-size: 11px; padding-top: 32px; }
	.ojw-docform__actions .button { flex: 1; }
}
