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

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--au-bg);
}

/* ── Brand panel ── */
.au-brand {
    width: 400px;
    flex-shrink: 0;
    background: var(--brand-color, #e8731f);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 40px;
    position: relative;
    overflow: hidden;
}
.au-brand::before {
    content: '';
    position: absolute;
    width: 380px; height: 380px;
    border-radius: 50%;
    border: 70px solid rgba(255,255,255,0.07);
    top: -110px; right: -110px;
}
.au-brand::after {
    content: '';
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    border: 50px solid rgba(255,255,255,0.05);
    bottom: -70px; left: -70px;
}
.au-brand-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.au-brand-logo {
    width: 140px;
    margin-bottom: 48px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.au-brand-headline {
    color: rgba(255,255,255,0.95);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 12px;
}
.au-brand-sub {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}
.au-brand-dots {
    display: flex;
    gap: 8px;
    margin-top: 40px;
    justify-content: center;
}
.au-brand-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}
.au-brand-dot.active {
    background: rgba(255,255,255,0.8);
    width: 20px;
    border-radius: 3px;
}

/* ── Form panel ── */
.au-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background: var(--au-surface);
}
.au-form-inner {
    width: 100%;
    max-width: 380px;
}

.au-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--au-muted);
    text-decoration: none;
    margin-bottom: 36px;
    transition: color 0.15s;
}
.au-back:hover { color: var(--au-ink); }
.au-back:hover svg { stroke: var(--au-ink) !important; }
.au-back svg { flex-shrink: 0; }

.au-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--au-ink);
    margin: 0 0 6px;
    letter-spacing: -0.3px;
}
.au-subtitle {
    font-size: 14px;
    color: var(--au-muted);
    margin: 0 0 32px;
}

.au-field { margin-bottom: 20px; }
.au-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--au-ink);
    margin-bottom: 7px;
}
.au-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--au-line);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--au-ink);
    background: var(--au-surface);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.au-input::placeholder { color: var(--au-muted); opacity: 0.6; }
.au-input:focus {
    border-color: var(--brand-color, #e8731f);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-color, #e8731f) 15%, transparent);
}
.au-field-error {
    display: none;
    font-size: 12px;
    color: var(--au-red);
    margin-top: 5px;
}
.au-field-error:not(.d-none) { display: block; }

.au-error-global {
    display: none;
    font-size: 13px;
    text-align: center;
    color: var(--au-red);
    background: rgba(220,38,38,0.06);
    border: 1px solid rgba(220,38,38,0.15);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 20px;
}
.au-error-global:not(.d-none) { display: block; }

.au-btn {
    width: 100%;
    padding: 13px;
    background: var(--brand-color, #e8731f);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', system-ui, sans-serif;
    cursor: pointer;
    transition: opacity 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.au-btn:hover:not(:disabled):not(.disabled) { opacity: 0.88; }
.au-btn:disabled, .au-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.au-footer-link {
    text-align: center;
    font-size: 13px;
    color: var(--au-muted);
    margin-top: 20px;
}
.au-footer-link a {
    color: var(--brand-color, #e8731f);
    text-decoration: none;
    font-weight: 500;
}
.au-footer-link a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 720px) {
    .au-brand { display: none; }
    body { background: var(--au-surface); }
    .au-form-panel { padding: 32px 24px; align-items: flex-start; padding-top: 48px; }
}
