.auth-body {
    background:
        radial-gradient(circle at top left, rgba(220, 38, 38, .12), transparent 34%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 52%, #f3f4f6 100%);
}

.auth-page {
    padding: 54px 18px 70px;
}

.auth-shell {
    align-items: stretch;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 440px;
    margin: 0 auto;
    max-width: 1120px;
}

.auth-visual {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .96), rgba(127, 29, 29, .92)),
        radial-gradient(circle at top right, rgba(248, 113, 113, .35), transparent 28%);
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
    color: #ffffff;
    min-height: 520px;
    overflow: hidden;
    padding: 52px;
    position: relative;
}

.auth-visual::after {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    bottom: -130px;
    content: "";
    height: 310px;
    position: absolute;
    right: -120px;
    width: 310px;
}

.auth-kicker {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    padding: 9px 14px;
    text-transform: uppercase;
}

.auth-visual h1 {
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -.05em;
    line-height: .98;
    margin: 34px 0 18px;
    max-width: 700px;
}

.auth-visual p {
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    max-width: 620px;
}

.auth-benefits {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 42px 0 0;
    padding: 0;
}

.auth-benefits li {
    align-items: center;
    color: rgba(255, 255, 255, .9);
    display: flex;
    font-weight: 700;
    gap: 10px;
}

.auth-benefits li::before {
    background: #22c55e;
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .18);
    content: "";
    display: inline-flex;
    height: 9px;
    width: 9px;
}

.auth-card {
    align-self: center;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(209, 213, 219, .8);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
    padding: 34px;
}

.auth-card-head {
    margin-bottom: 24px;
}

.auth-card-head span {
    color: #dc2626;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-card-head h2 {
    color: #111827;
    font-size: 30px;
    letter-spacing: -.035em;
    line-height: 1.1;
    margin: 10px 0 10px;
}

.auth-card-head p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-button {
    align-items: center;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border: 0;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(220, 38, 38, .25);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 900;
    justify-content: center;
    min-height: 50px;
    padding: 14px 18px;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    width: 100%;
}

.auth-button:hover {
    box-shadow: 0 18px 38px rgba(220, 38, 38, .32);
    filter: saturate(1.08);
    transform: translateY(-1px);
}

.auth-alert {
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 18px;
    padding: 13px 15px;
}

.auth-alert-success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.auth-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.auth-footer-text {
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    margin: 20px 0 0;
    text-align: center;
}

.auth-footer-text a {
    color: #dc2626;
    font-weight: 900;
    text-decoration: none;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

@media (max-width: 920px) {
    .auth-page {
        padding: 28px 14px 46px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: auto;
        padding: 34px;
    }

    .auth-card {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .auth-visual {
        border-radius: 22px;
        padding: 26px;
    }

    .auth-visual h1 {
        font-size: 34px;
    }

    .auth-card {
        border-radius: 22px;
        padding: 22px;
    }

    .auth-card-head h2 {
        font-size: 25px;
    }
}



/* Clean auth visual: logo/settings based, no hardcoded marketplace text */
.auth-visual-clean {
    display: grid;
    min-height: 520px;
    place-items: center;
    text-align: center;
}

.auth-visual-clean img {
    max-width: min(280px, 72%);
    max-height: 170px;
    object-fit: contain;
}

.auth-visual-clean strong {
    color: #ffffff;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 950;
    letter-spacing: -.06em;
}

@media (max-width: 920px) {
    .auth-visual-clean {
        min-height: 220px;
    }

    .auth-visual-clean img {
        max-height: 120px;
    }
}
