.page-auth .site-main {
    padding-top: 2rem;
}

.auth-shell {
    padding: 0 0 4rem;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 1.2rem;
    align-items: stretch;
}

.auth-aside {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(255, 138, 61, 0.3), transparent 28%),
        linear-gradient(135deg, rgba(14, 42, 71, 0.98), rgba(15, 108, 140, 0.92));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.auth-aside::before {
    content: "";
    position: absolute;
    inset: auto -12% -22% auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.auth-aside h1 {
    position: relative;
    margin: 0 0 1rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
}

.auth-aside p {
    position: relative;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.8;
}

.auth-benefits {
    position: relative;
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.auth-benefit {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-benefit strong {
    display: block;
    margin-bottom: 0.35rem;
}

.auth-benefit span {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.65;
}

.auth-panel {
    display: grid;
    gap: 1.3rem;
    padding: 2rem;
}

.auth-panel__head h2 {
    margin: 0 0 0.35rem;
    font-family: "Space Grotesk", sans-serif;
    color: var(--brand-navy);
}

.auth-panel__head p {
    margin: 0;
    color: var(--text-secondary);
}

.auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.auth-form-grid .span-2 {
    grid-column: span 2;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    border-radius: 50%;
    background: rgba(14, 42, 71, 0.06);
    color: var(--text-secondary);
}

.inline-message {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    font-weight: 500;
}

.inline-message.is-error {
    background: rgba(176, 59, 59, 0.1);
    color: #8f3131;
}

.inline-message.is-success {
    background: rgba(31, 143, 95, 0.12);
    color: #185f42;
}

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
}

.auth-footer a,
.auth-step__meta strong {
    color: var(--brand-ocean);
    font-weight: 700;
}

.auth-stepper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.auth-step {
    display: grid;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: rgba(14, 42, 71, 0.05);
    border: 1px solid transparent;
}

.auth-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(14, 42, 71, 0.08);
    color: var(--text-secondary);
    font-family: "Space Grotesk", sans-serif;
}

.auth-step strong {
    color: var(--brand-navy);
}

.auth-step span:last-child {
    color: var(--text-muted);
    line-height: 1.55;
}

.auth-step.is-active,
.auth-step.is-complete {
    background: rgba(15, 108, 140, 0.08);
    border-color: rgba(15, 108, 140, 0.16);
}

.auth-step.is-active .auth-step__number,
.auth-step.is-complete .auth-step__number {
    background: var(--brand-ocean);
    color: var(--white);
}

.auth-step-note {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .auth-panel,
    .auth-aside {
        padding: 1.35rem;
    }

    .auth-form-grid,
    .auth-stepper {
        grid-template-columns: 1fr;
    }

    .auth-form-grid .span-2 {
        grid-column: auto;
    }
}
