
:root {
    --auth-primary: #25634f;
    --auth-primary-dark: #194b3b;
    --auth-text: #202c28;
    --auth-muted: #84918b;
    --auth-border: #e2e9e4;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--auth-text);
    background: #fff;
}

.auth-page {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
    min-height: 100vh;
}

.auth-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px 9%;
    color: white;
    background:
        radial-gradient(circle at 15% 80%, rgba(255,255,255,.08), transparent 30%),
        linear-gradient(145deg, #194b3b, #25634f);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 21px;
    font-weight: 700;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 13px;
    color: var(--auth-primary);
    background: white;
}

.brand-message {
    max-width: 480px;
    padding: 45px 0;
}

.eyebrow,
.form-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.eyebrow {
    color: #c2e0d0;
}

.brand-message h1 {
    margin: 20px 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.brand-message p {
    max-width: 390px;
    color: #d7e8df;
    font-size: 14px;
    line-height: 1.9;
}

.brand-footer {
    margin: 0;
    color: #c2e0d0;
    font-size: 12px;
}

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 8%;
}

.auth-form-container {
    width: 100%;
    max-width: 410px;
}

.mobile-brand {
    display: none;
    margin-bottom: 35px;
    color: var(--auth-primary);
    font-size: 22px;
    font-weight: 700;
}

.form-eyebrow {
    color: var(--auth-primary);
}

.auth-form-container h2 {
    margin: 13px 0 9px;
    font-size: 29px;
    letter-spacing: -0.8px;
}

.form-description {
    margin: 0 0 28px;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 650;
}

.form-group input {
    display: block;
    width: 100%;
    height: 47px;
    padding: 0 13px;
    border: 1px solid var(--auth-border);
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: var(--auth-text);
    font: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
}

.form-group input::placeholder {
    color: #a6b0aa;
}

.form-group input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 79, .1);
}

.auth-button {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    border: none;
    border-radius: 9px;
    background: var(--auth-primary);
    color: white;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: background .2s;
}

.auth-button:hover {
    background: var(--auth-primary-dark);
}

.auth-switch {
    margin-top: 24px;
    color: var(--auth-muted);
    text-align: center;
    font-size: 12px;
}

.auth-switch a {
    color: var(--auth-primary);
    font-weight: 700;
    text-decoration: none;
}

.error-message,
.success-message {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.7;
}

.error-message {
    border: 1px solid #f3d1d1;
    background: #fff5f5;
    color: #a52d2d;
}

.success-message {
    border: 1px solid #cce8d5;
    background: #f0faf3;
    color: #25634f;
}

@media (max-width: 760px) {
    .auth-page {
        display: block;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100vh;
        padding: 35px 24px;
    }

    .mobile-brand {
        display: block;
    }

    .auth-form-container h2 {
        font-size: 26px;
    }
}

/* Registration form: owner and business sections */
.register-section-title {
    margin: 26px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7ece8;
    color: #24352b;
    font-size: 16px;
    font-weight: 700;
}

.register-section-title:first-of-type {
    margin-top: 8px;
}

.form-group textarea {
    display: block;
    width: 100%;
    min-height: 90px;
    padding: 12px 14px;
    border: 1px solid #dce4de;
    border-radius: 10px;
    background: #fff;
    color: #24352b;
    font: inherit;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: #278451;
    box-shadow: 0 0 0 3px rgba(39, 132, 81, 0.10);
}

.form-group input:focus {
    outline: none;
    border-color: #278451;
    box-shadow: 0 0 0 3px rgba(39, 132, 81, 0.10);
}

.form-error {
    display: block;
    margin-top: 6px;
    color: #c0392b;
    font-size: 12px;
    line-height: 1.5;
}

.register-note {
    margin: 14px 0 0;
    color: #718077;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

/* Registration wizard progress */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 8px 0 28px;
}

.wizard-step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #87938b;
}

.wizard-step-indicator span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #dce4de;
    border-radius: 50%;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
}

.wizard-step-indicator small {
    font-size: 12px;
    font-weight: 600;
}

.wizard-step-indicator.active {
    color: #217a49;
}

.wizard-step-indicator.active span,
.wizard-step-indicator.completed span {
    border-color: #217a49;
    background: #217a49;
    color: #fff;
}

.wizard-line {
    width: 45px;
    height: 2px;
    background: #e2e8e3;
}

.wizard-description {
    margin: -6px 0 20px;
    color: #718077;
    font-size: 13px;
    line-height: 1.6;
}

.wizard-panel {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.wizard-panel[hidden] {
    display: none !important;
}

.wizard-panel:disabled {
    opacity: 1;
}

.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.wizard-actions-end {
    justify-content: flex-end;
}

.wizard-actions .auth-button {
    width: auto;
    flex: 1;
    margin-top: 0;
}

.wizard-button {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #dce4de;
    border-radius: 10px;
    background: #fff;
    color: #34463a;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wizard-button:hover {
    border-color: #217a49;
    background: #f5faf6;
}

.wizard-actions-end .auth-button {
    flex: 0 1 auto;
    min-height: 46px;
    padding: 0 22px;
}

@media (max-width: 480px) {
    .wizard-progress {
        gap: 9px;
    }

    .wizard-step-indicator {
        gap: 5px;
    }

    .wizard-line {
        width: 25px;
    }

    .wizard-actions {
        gap: 8px;
    }

    .wizard-button {
        padding: 0 12px;
    }

    .wizard-actions .auth-button {
        padding: 0 12px;
    }
}


