.auth-page {
    padding: 110px 0 80px;
    background: #f5f7fb;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(420px, 1fr);
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(23, 17, 144, .12);
}

.auth-shell--reverse {
    grid-template-columns: minmax(420px, 1fr) minmax(320px, 1fr);
}

.auth-welcome {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 590px;
    overflow: hidden;
    padding: 52px;
    color: #fff;
    background: linear-gradient(145deg, #0d0a58, #171190 60%, #413ac1);
}

.auth-welcome::before,
.auth-welcome::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    content: '';
}

.auth-welcome::before {
    top: -190px;
    left: -230px;
    width: 520px;
    height: 520px;
}

.auth-welcome::after {
    right: -180px;
    bottom: -210px;
    width: 420px;
    height: 420px;
}

.auth-shell--reverse .auth-welcome::before {
    right: -230px;
    left: auto;
}

.auth-shell--reverse .auth-welcome::after {
    right: auto;
    left: -180px;
}

.auth-welcome__content {
    position: relative;
    z-index: 1;
    max-width: 410px;
}

.auth-welcome__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 66px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.auth-welcome__brand img {
    width: 42px;
    height: 42px;
    padding: 3px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

.auth-welcome h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.08;
}

.auth-welcome p {
    max-width: 350px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.7;
}

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 52px 40px;
}

.auth-form {
    width: 100%;
    max-width: 405px;
}

.auth-kicker {
    margin: 0 0 8px;
    color: #171190;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.auth-form h2 {
    margin: 0 0 10px;
    color: #17213a;
    font-size: 34px;
    font-weight: 700;
}

.auth-subtitle {
    margin: 0 0 30px;
    color: #6b7280;
}

.auth-form .form-label {
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.auth-form .form-control {
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid #dce1ea;
    border-radius: 10px;
    box-shadow: none;
}

.auth-form .form-control:focus {
    border-color: #171190;
    box-shadow: 0 0 0 .2rem rgba(23, 17, 144, .12);
}

.auth-form .form-check-input:checked {
    border-color: #171190;
    background-color: #171190;
}

.auth-submit {
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    background: #171190;
    box-shadow: 0 10px 20px rgba(23, 17, 144, .2);
    font-weight: 700;
}

.auth-submit:hover {
    background: #0d0a58;
}

.auth-form a {
    color: #171190;
    font-weight: 700;
    text-decoration: none;
}

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

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

.auth-form .alert {
    border: 0;
    border-radius: 10px;
    font-size: 14px;
}

@media (max-width: 991px) {
    .auth-page {
        padding: 70px 0;
    }

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

    .auth-welcome {
        min-height: 280px;
        padding: 38px;
    }

    .auth-welcome__brand {
        margin-bottom: 32px;
    }

    .auth-welcome h1 {
        font-size: 36px;
    }

    .auth-shell--reverse .auth-form-panel {
        order: 2;
    }
}

@media (max-width: 575px) {
    .auth-page {
        padding: 45px 0;
    }

    .auth-shell {
        border-radius: 12px;
    }

    .auth-form-panel {
        padding: 42px 25px;
    }

    .auth-welcome {
        padding: 32px 25px;
    }

    .auth-form h2 {
        font-size: 30px;
    }
}