    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    :root {
        --green-dark:   #1a7a42;
        --green-mid:    #22a356;
        --green-light:  #34d470;
        --green-pale:   #edfaf3;
        --text-dark:    #1a1f1c;
        --text-mid:     #4a5550;
        --text-light:   #8a9e95;
        --border:       #d4e8dc;
        --white:        #ffffff;
        --error:        #d93025;
        --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
        --shadow-md:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
        --radius:       12px;
        --radius-sm:    8px;
    }

    body {
        background-color: #f0f7f3;
        background-image:
            radial-gradient(ellipse 60% 40% at 10% 10%, rgba(52,212,112,.12) 0%, transparent 60%),
            radial-gradient(ellipse 50% 50% at 90% 80%, rgba(34,163,86,.10) 0%, transparent 60%);
        min-height: 100vh;
        font-family: 'DM Sans', sans-serif;
        color: var(--text-dark);
        display: flex;
        flex-direction: column;
    }

    /* ── Banner ─────────────────────────────────── */
    .banner {
        background: linear-gradient(90deg, var(--green-dark), var(--green-mid));
        color: var(--white);
        text-align: center;
        padding: 10px 16px;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: .3px;
        line-height: 1.5;
    }

    /* Login-matched business header and store-location strip. */
    .navbar {
        padding: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
    }
    .navbar-left { display: flex; align-items: center; min-height: 56px; }
    .navbar .brand,
    .navbar .brand:link,
    .navbar .brand:visited,
    .navbar .brand:hover,
    .navbar .brand:active {
        font-family: 'DM Serif Display', serif;
        font-size: 22px;
        line-height: 1.5;
        color: var(--green-mid);
        text-decoration: none;
        text-decoration-line: none;
        border-bottom: 0;
    }
    .navbar .brand:hover { color: var(--green-dark); }
    .brand:focus-visible { outline: 3px solid rgba(34,163,86,.25); outline-offset: 4px; border-radius: 4px; }
    .location-bar {
        background: #f7fcf9;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
        line-height: 1.5;
        color: var(--text-light);
    }
    .auth-shell-container {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding-right: 12px;
        padding-left: 12px;
    }
    .location-inner { display:flex;align-items:center;gap:8px;min-height:35.5px; }
    .location-bar .pin { color: var(--green-mid); }
    .location-bar .loc-name { font-weight: 700; color: var(--text-dark); }

    @media (min-width: 576px) { .auth-shell-container { max-width: 540px; } }
    @media (min-width: 768px) { .auth-shell-container { max-width: 720px; } }
    @media (min-width: 992px) { .auth-shell-container { max-width: 960px; } }
    @media (min-width: 1200px) { .auth-shell-container { max-width: 1140px; } }
    @media (min-width: 1400px) { .auth-shell-container { max-width: 1320px; } }

    /* ── Page layout ─────────────────────────────── */
    .page-body {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 24px;
        gap: 48px;
        flex-wrap: wrap;
    }

    /* Same circular logo/glow composition used by Login. */
    .illustration-section { display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 1 360px; }
    .illustration-circle {
        width: 250px;
        height: 250px;
        background: radial-gradient(circle at 40% 60%, #fef3c7, #fde68a 60%, #fcd34d 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 32px rgba(252,211,77,.35);
        overflow: hidden;
        animation: floatBob 4s ease-in-out infinite;
    }
    @keyframes floatBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
    .illustration-circle img { width: 270px; object-fit: cover; }
    .welcome-text { font-family:'DM Serif Display',serif;font-size:34px;color:var(--green-mid);margin-top:14px;text-align:center; }
    .welcome-sub { max-width:330px;font-size:13px;color:var(--text-light);text-align:center;margin-top:2px;line-height:1.45; }

    /* ── Card ────────────────────────────────────── */
    .form-box {
        background: var(--white);
        width: 100%;
        max-width: 620px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        padding: 17px 34px 14px;
        animation: slideUp .45s cubic-bezier(.22,.68,0,1.2) both;
    }

    @keyframes slideUp {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* ── Header ──────────────────────────────────── */
    .form-header {
        text-align: center;
        margin-bottom: 12px;
    }

    h2 {
        font-family: 'DM Serif Display', serif;
        font-size: 24px;
        color: var(--text-dark);
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .form-subtitle {
        font-size: 13px;
        color: var(--text-light);
        font-weight: 400;
    }

    /* ── Name row ────────────────────────────────── */
    .name-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .password-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: start;
    }

    /* ── Field ───────────────────────────────────── */
    .field {
        margin-bottom: 8px;
    }

    label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: var(--text-mid);
        margin-bottom: 6px;
        letter-spacing: .3px;
        text-transform: uppercase;
    }

    .input-wrap {
        position: relative;
        display: flex;
        align-items: center;
    }

    .input-icon {
        position: absolute;
        left: 12px;
        color: var(--text-light);
        display: flex;
    }

    .input-icon svg {
        width: 15px; height: 15px;
        stroke: var(--text-light);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"] {
        width: 100%;
        padding: 11px 12px 11px 36px;
        border: 1.5px solid var(--border);
        border-radius: var(--radius-sm);
        font-family: 'DM Sans', sans-serif;
        font-size: 14px;
        color: var(--text-dark);
        background: var(--white);
        transition: border-color .2s, box-shadow .2s;
        outline: none;
    }

    #signupPhoneHelp {
        display: block;
        margin-top: 6px;
        font-size: 12px;
        line-height: 1.5;
        color: var(--text-light);
        overflow-wrap: anywhere;
    }

    input:focus {
        border-color: var(--green-mid);
        box-shadow: 0 0 0 3px rgba(34,163,86,.12);
    }

    /* ── Password toggle ─────────────────────────── */
    .has-toggle input { padding-right: 40px; }

    .toggle-pw {
        position: absolute;
        right: 10px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        display: flex;
    }

    .toggle-pw svg {
        width: 16px; height: 16px;
        stroke: var(--text-light);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* ── Password strength ───────────────────────── */
    .pw-strength {
        display: flex;
        gap: 5px;
        margin-top: 4px;
    }

    .pw-bar {
        flex: 1;
        height: 3px;
        background: var(--border);
        border-radius: 2px;
        transition: background .3s;
    }

    .pw-bar.weak   { background: #e74c3c; }
    .pw-bar.fair   { background: #f39c12; }
    .pw-bar.strong { background: var(--green-mid); }

    .pw-hint {
        font-size: 11px;
        color: var(--text-light);
        margin-top: 3px;
        line-height: 1.35;
    }

    /* ── Terms row ───────────────────────────────── */
    .terms-row {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin: 3px 0 9px;
        font-size: 12px;
        color: var(--text-mid);
    }

    .terms-row input[type="checkbox"] {
        width: 15px;
        height: 15px;
        margin-top: 1px;
        accent-color: var(--green-mid);
        cursor: pointer;
        flex-shrink: 0;
        padding: 0;
    }

    .terms-row label {
        font-size: 12px;
        font-weight: 400;
        color: var(--text-mid);
        text-transform: none;
        letter-spacing: 0;
        cursor: pointer;
        margin: 0;
    }

    .terms-row a {
        color: var(--green-dark);
        font-weight: 600;
        text-decoration: none;
    }

    .terms-row a:hover { text-decoration: underline; }

    .terms-link-btn {
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        font: inherit;
        color: var(--green-dark);
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
    }
    .terms-link-btn:hover { text-decoration: underline; }

    /* ── Terms & Conditions modal ────────────────────── */
    .terms-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(20, 30, 24, 0.55);
        z-index: 3000;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    .terms-modal-overlay.open { display: flex; }
    .terms-modal-box {
        background: #fff;
        border-radius: 16px;
        max-width: 640px;
        width: 100%;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 10px 40px rgba(0,0,0,.25);
    }
    .terms-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 24px;
        border-bottom: 1px solid var(--border);
        flex-shrink: 0;
    }
    .terms-modal-header h3 {
        font-family: 'DM Serif Display', serif;
        font-size: 20px;
        color: var(--text-dark);
        margin: 0;
    }
    .terms-modal-close {
        background: none;
        border: none;
        font-size: 22px;
        line-height: 1;
        color: var(--text-light);
        cursor: pointer;
        padding: 4px 8px;
    }
    .terms-modal-close:hover { color: var(--text-dark); }
    .terms-modal-body {
        padding: 20px 24px;
        overflow-y: auto;
    }
    .terms-modal-body .card-shell {
        background: #fafffe;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 18px 20px;
        margin-bottom: 14px;
    }
    .terms-modal-body .card-shell h2 {
        font-family: 'DM Serif Display', serif;
        font-size: 16px;
        color: var(--green-dark);
        margin-bottom: 8px;
    }
    .terms-modal-body .card-shell p,
    .terms-modal-body .card-shell li {
        font-size: 13px;
        color: var(--text-mid);
        line-height: 1.7;
        margin-bottom: 6px;
    }
    .terms-modal-body .card-shell ul { padding-left: 18px; }
    .terms-modal-body .section-num {
        display: inline-block;
        background: var(--green-mid);
        color: #fff;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        font-size: 11px;
        font-weight: 700;
        text-align: center;
        line-height: 22px;
        margin-right: 8px;
    }
    .terms-modal-footer {
        padding: 14px 24px;
        border-top: 1px solid var(--border);
        flex-shrink: 0;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }
    .terms-modal-btn-close {
        padding: 10px 20px;
        border: 1.5px solid var(--border);
        background: #fff;
        color: var(--text-mid);
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: 13px;
        cursor: pointer;
        font-family: 'DM Sans', sans-serif;
    }
    .terms-modal-btn-close:hover { border-color: var(--green-mid); color: var(--green-dark); background: var(--green-pale); }
    .terms-modal-btn-accept {
        padding: 10px 22px;
        border: none;
        background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
        color: #fff;
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: 13px;
        cursor: pointer;
        font-family: 'DM Sans', sans-serif;
        box-shadow: 0 4px 14px rgba(34,163,86,.3);
    }

    /* ── Submit button ───────────────────────────── */
    .btn-submit {
        width: 100%;
        padding: 13px;
        background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
        color: white;
        border: none;
        border-radius: var(--radius-sm);
        font-family: 'DM Sans', sans-serif;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        letter-spacing: .3px;
        box-shadow: 0 4px 14px rgba(34,163,86,.35);
        transition: transform .15s, box-shadow .15s;
    }

    .btn-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(34,163,86,.40);
    }

    .btn-submit:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(34,163,86,.30);
    }

    /* ── Divider ─────────────────────────────────── */
    .divider {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 9px 0 7px;
        color: var(--text-light);
        font-size: 11px;
        letter-spacing: .5px;
        text-transform: uppercase;
    }

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

    /* ── Login link ──────────────────────────────── */
    .login-link {
        text-align: center;
        font-size: 13px;
        color: var(--text-light);
    }

    .login-link a {
        color: var(--green-dark);
        font-weight: 600;
        text-decoration: none;
    }

    .login-link a:hover { text-decoration: underline; }
    .verification-recovery { margin-top:12px; line-height:1.5; }
    .verification-recovery a, .verification-recovery a:hover { text-decoration:none; }
    .verification-recovery a::before, .verification-recovery a::after { content:none; }

    /* ── Toast ───────────────────────────────────── */
    .toast {
        display: none;
        align-items: center;
        gap: 10px;
        background: #fff3f2;
        border: 1.5px solid #f5c6c2;
        border-radius: var(--radius-sm);
        padding: 11px 14px;
        margin-bottom: 18px;
        font-size: 13px;
        color: var(--error);
        font-weight: 500;
        animation: fadeIn .3s ease both;
    }

    .toast.show { display: flex; }

    .toast svg {
        width: 16px; height: 16px;
        stroke: var(--error);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-4px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 1200px) {
        .page-body { gap:32px; }
        .illustration-section { flex-basis:280px; }
        .illustration-circle { width:210px;height:210px; }
        .illustration-circle img { width:230px; }
        .form-box { max-width:580px; }
    }

    @media (max-width: 900px) {
        .page-body { padding:28px 20px;align-items:flex-start; }
        .illustration-section { flex:1 1 100%; }
        .illustration-circle { width:160px;height:160px; }
        .illustration-circle img { width:178px; }
        .welcome-text { font-size:28px;margin-top:12px; }
        .form-box { max-width:620px; }
    }

    @media (max-width: 640px) {
        .brand { font-size:19px; }
        .location-inner { align-items:flex-start;flex-wrap:wrap;padding-top:8px;padding-bottom:8px; }
        .page-body { padding:22px 14px;gap:20px; }
        .illustration-circle { width:125px;height:125px; }
        .illustration-circle img { width:140px; }
        .welcome-text { font-size:24px; }
        .welcome-sub { max-width:280px; }
        .form-box { padding:26px 20px 22px; }
        .name-row,.password-row { grid-template-columns:1fr;gap:0; }
        .terms-modal-overlay { padding:10px; }
    }
