:root {
    color-scheme: light;
    --accent: #f1663f;
    --accent-dark: #df5632;
    --ink: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --surface: #ffffff;
    --soft: #f7f8fb;
    --shadow: 0 24px 70px rgba(16, 24, 40, .09);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background: #f2f3f7;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.business-register-page { min-height: 100vh; padding: clamp(20px, 4vw, 56px) 16px; }
.register-shell { width: min(940px, 100%); margin: 0 auto; overflow: hidden; background: var(--surface); border: 1px solid rgba(228, 231, 236, .9); border-radius: 24px; box-shadow: var(--shadow); }
.register-header, .register-hero, .register-form { padding-inline: clamp(22px, 5vw, 56px); }
.register-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.register-header a { color: var(--accent); font-size: 28px; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.register-brand { display: inline-flex; align-items: center; max-width: 170px; }
.register-brand img { display: block; width: 100%; height: auto; }
.membership-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; color: #a53f25; background: #fff1eb; border: 1px solid #ffd5c6; border-radius: 999px; white-space: nowrap; }
.membership-badge b { font-size: 13px; }
.membership-badge small { color: var(--accent); font-size: 12px; font-weight: 700; }
.register-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-top: clamp(28px, 5vw, 48px); padding-bottom: 28px; background: linear-gradient(135deg, #fff7f3 0%, #fff 72%); }
.register-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.register-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.existing-account { flex: 0 0 auto; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.existing-account a { color: var(--accent-dark); font-weight: 800; text-decoration: none; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 16px clamp(22px, 5vw, 56px); color: #475467; background: #fbfcfe; border-block: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row b { color: var(--accent); font-size: 15px; }
.register-form { padding-top: 34px; padding-bottom: 40px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
label { display: grid; gap: 8px; font-weight: 700; }
label.full { grid-column: 1 / -1; }
label span { color: #344054; font-size: 13px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid #d9dee8; border-radius: 12px; font: inherit; transition: border-color 160ms ease, box-shadow 160ms ease; }
textarea { min-height: 94px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #98a2b3; font-weight: 400; opacity: .82; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(241, 102, 63, .13); }
.check-row { display: flex; align-items: flex-start; gap: 10px; }
.check-row input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.check-row span { color: var(--muted); line-height: 1.5; }
.primary-button { width: 100%; min-height: 52px; margin-top: 22px; padding: 14px 20px; color: #fff; background: var(--accent); border: 0; border-radius: 12px; box-shadow: 0 10px 20px rgba(241, 102, 63, .2); cursor: pointer; font: inherit; font-weight: 800; transition: background 160ms ease, transform 160ms ease; }
.primary-button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.primary-button:disabled { opacity: .65; cursor: wait; transform: none; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.whatsapp-mark { display: inline-flex; width: 21px; height: 21px; }
.whatsapp-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.form-status { display: block; min-height: 22px; margin-top: 16px; color: var(--muted); font-weight: 700; }
.form-status[data-tone="success"] { color: #067647; }
.form-status[data-tone="error"] { color: #b42318; }
.otp-form { border-top: 1px solid var(--line); }
.otp-form h2 { margin: 0 0 8px; font-size: 24px; }
.otp-form p { margin: 0 0 18px; color: var(--muted); }

@media (max-width: 720px) {
    .business-register-page { padding: 12px; }
    .register-shell { border-radius: 18px; }
    .register-header { align-items: flex-start; }
    .register-hero { display: grid; align-items: start; gap: 20px; }
    .existing-account { white-space: normal; }
    .trust-row { display: grid; gap: 9px; }
    .form-grid { grid-template-columns: 1fr; gap: 17px; }
    label.full { grid-column: auto; }
    .register-form { padding-top: 28px; padding-bottom: 30px; }
}

@media (max-width: 390px) {
    .register-header { gap: 12px; }
    .register-header a { font-size: 24px; }
    .membership-badge { display: grid; gap: 1px; padding: 7px 10px; }
    .membership-badge b, .membership-badge small { font-size: 11px; }
}
