.auth-body {
    background: #f3f4f6;
    color: #111827;
    min-height: 100vh;
}

.auth-body--centered {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.auth-page--split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.auth-showcase {
    position: relative;
    padding: 34px 42px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 62% 42%, rgba(239, 68, 68, 0.07) 0%, rgba(239, 68, 68, 0) 26%),
        linear-gradient(180deg, #f3f4f6 0%, #eef0f4 100%);
    border-right: 1px solid #d7dbe1;
    overflow: hidden;
}

.auth-brand-row {
    position: absolute;
    top: 24px;
    left: 28px;
    display: flex;
    align-items: center;
    z-index: 3;
}

.site-logo__mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1;
    color: #ffffff;
    background: linear-gradient(180deg, #ff4d4d 0%, #dc2626 100%);
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.26);
}

.auth-hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-hero__text {
    position: absolute;
    left: 0;
    bottom: 8px;
    max-width: 440px;
    z-index: 2;
}

.auth-hero__text h1 {
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 4vw, 4.3rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: #111827;
}

.auth-hero__text p {
    max-width: 520px;
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.6;
    color: #374151;
}

.auth-hero__art {
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 90px 120px;
}

.hero-stage {
    position: relative;
    width: min(100%, 470px);
    aspect-ratio: 4 / 5;
    border-radius: 30px;
    background: linear-gradient(180deg, #f8fafc 0%, #eceff3 100%);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(17, 24, 39, 0.05);
    pointer-events: none;
}

.hero-stage__glow {
    position: absolute;
    width: 72%;
    height: 72%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.16) 0%, rgba(239, 68, 68, 0) 72%);
    filter: blur(14px);
    pointer-events: none;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 42px;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transform: scale(0.965);
    transition: opacity 0.9s ease, transform 0.9s ease;
    background: transparent;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.12));
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slideshow__dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(17, 24, 39, 0.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.hero-slideshow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slideshow__dot.is-active {
    background: #ef4444;
    transform: scale(1.15);
}

.auth-panel-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #f9fafb;
}

.auth-panel {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    padding: 28px;
}

.auth-panel--narrow {
    max-width: 460px;
}

.auth-panel--wide {
    max-width: 520px;
}

.auth-brand-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.auth-panel h1,
.auth-panel h2 {
    margin: 0 0 8px;
}

.auth-subtext {
    margin: 0 0 18px;
    color: #6b7280;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-form input {
    width: 100%;
    height: 52px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 1rem;
    outline: none;
    background: #ffffff;
    color: #111827;
}

.auth-form input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.auth-link {
    display: inline-block;
    margin-top: 14px;
    color: #dc2626;
    font-weight: 600;
}

.auth-link--center {
    text-align: center;
}

.auth-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 20px 0;
}

.auth-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.auth-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.btn--full {
    width: 100%;
}

.btn--outline {
    background: #fff;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.btn--outline:hover {
    background: #fef2f2;
}

@media (max-width: 1200px) {
    .auth-hero__art {
        padding-left: 56px;
        padding-right: 56px;
    }

    .hero-stage {
        width: min(100%, 430px);
    }
}

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

    .auth-showcase {
        border-right: 0;
        border-bottom: 1px solid #d7dbe1;
        min-height: 760px;
        padding: 30px 28px 28px;
    }

    .auth-hero {
        min-height: 700px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 32px;
    }

    .auth-hero__art {
        min-height: 300px;
        padding: 60px 20px 0;
        order: 1;
    }

    .auth-hero__text {
        position: static;
        max-width: 560px;
        order: 2;
        text-align: left;
        margin-top: 10px;
    }

    .hero-stage {
        width: min(100%, 380px);
    }
}

@media (max-width: 640px) {
    .auth-showcase {
        min-height: 680px;
        padding: 24px 18px 24px;
    }

    .auth-brand-row {
        top: 18px;
        left: 18px;
    }

    .auth-hero {
        min-height: 620px;
    }

    .auth-hero__art {
        padding: 46px 8px 0;
    }

    .hero-stage {
        width: min(100%, 330px);
        border-radius: 24px;
    }

    .hero-stage::before {
        inset: 10px;
        border-radius: 18px;
    }

    .hero-slideshow {
        border-radius: 24px;
    }

    .hero-slide {
        padding: 30px;
    }

    .auth-hero__text h1 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    .auth-hero__text p {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .auth-panel-wrap {
        padding: 24px 18px 34px;
    }

    .auth-panel {
        max-width: 100%;
        padding: 22px;
    }
}