.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-showcase {
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(ellipse at 25% 25%, #4e5cff3d, transparent 50%),
        radial-gradient(ellipse at 80% 70%, #9a45ff28, transparent 50%),
        #0b0d1b;
}

.auth-showcase h1 {
    max-width: 540px;
    font-size: clamp(38px, 5vw, 66px);
    letter-spacing: -3px;
    line-height: 1.1;
}

.auth-showcase p {
    max-width: 440px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.auth-showcase-bottom {
    color: #8388ad;
    font-size: 11px;
}

.auth-main {
    display: grid;
    place-items: center;
    padding: 35px;
}

.auth-form-wrap {
    width: min(420px, 100%);
}

.auth-form-wrap h2 {
    font-size: 32px;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 9px;
}

.form-group input {
    width: 100%;
    min-height: 49px;
    padding: 0 15px;
    color: white;
    background: #ffffff06;
    border: 1px solid var(--border);
    border-radius: 13px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus {
    border-color: #8586ff;
    box-shadow: 0 0 0 3px #8586ff18;
}

.form-group input::placeholder {
    color: #666c8d;
}

.auth-submit {
    width: 100%;
    min-height: 51px;
    margin-top: 8px;
}

.auth-message {
    display: none;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 17px;
    font-size: 12px;
    line-height: 1.7;
}

.auth-message.visible {
    display: block;
}

.auth-message.error {
    color: #ffb2bd;
    background: #ff536f13;
    border: 1px solid #ff536f30;
}

.auth-message.success {
    color: #a6ffd1;
    background: #3dff9b10;
    border: 1px solid #3dff9b30;
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    color: var(--muted);
    font-size: 12px;
}

.auth-switch a {
    color: #b6a4ff;
    font-weight: 700;
}

.auth-back {
    display: inline-block;
    margin-top: 25px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 800px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-showcase {
        display: none;
    }

    .auth-main {
        min-height: 100vh;
        padding: 25px;
    }
}