.page-login .page-content {
    max-width: 1280px;
}

.tp-auth {
    padding: 12px 0 24px;
}

.tp-auth__shell {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 26%),
        radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.14), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
    padding: 28px;
}

.tp-auth__wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: stretch;
}

.tp-auth__form,
.tp-auth__visual {
    border-radius: 28px;
}

.tp-auth__form {
    padding: 18px 12px 18px 6px;
}

.tp-auth__eyebrow {
    display: inline-flex;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1447b5;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tp-auth__title {
    margin: 14px 0 14px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #10233c;
}

.tp-auth__text {
    max-width: 58ch;
    color: #5d6d86;
}

.tp-auth__card {
    margin-top: 24px;
    padding: 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(18, 35, 63, 0.08);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.tp-auth__card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.tp-auth__card-head strong {
    display: block;
    font-size: 1.05rem;
    color: #10233c;
}

.tp-auth__card-head p {
    margin: 6px 0 0;
    color: #6b7a90;
}

.tp-auth__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.1);
    color: #0f766e;
    font-weight: 800;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tp-auth__field + .tp-auth__field {
    margin-top: 16px;
}

.tp-auth__field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #10233c;
}

.tp-auth__input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-radius: 18px;
    border: 1px solid rgba(18, 35, 63, 0.1);
    background: #f8fbff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tp-auth__input-wrap:focus-within {
    border-color: rgba(37, 99, 235, 0.34);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
    background: #ffffff;
}

.tp-auth__input-wrap i {
    color: #4974cb;
}

.tp-auth__input-wrap input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 16px 0;
    color: #10233c;
}

.tp-auth__input-wrap input:focus {
    outline: none;
}

.tp-auth__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.tp-auth__remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #44556f;
    font-weight: 600;
}

.tp-auth__link,
.tp-auth__ghost {
    color: #1447b5;
    font-weight: 700;
}

.tp-auth__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.tp-auth__button,
.tp-auth__ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.tp-auth__button {
    border: 0;
    background: linear-gradient(135deg, #2563eb, #0f3ea8);
    color: #fff;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.24);
}

.tp-auth__ghost {
    border: 1px solid rgba(18, 35, 63, 0.1);
    background: #ffffff;
}

.tp-auth__visual {
    position: relative;
    overflow: hidden;
    padding: 28px;
    color: #f5f9ff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.24), transparent 30%),
        linear-gradient(160deg, #09172d 0%, #10366f 58%, #0c7e8e 100%);
}

.tp-auth__visual::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -90px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.tp-auth__brand,
.tp-auth__visual-copy,
.tp-auth__stats,
.tp-auth__points,
.tp-auth__stat {
    position: relative;
    z-index: 1;
}

.tp-auth__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.tp-auth__brand img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.94);
}

.tp-auth__brand strong {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.tp-auth__brand span,
.tp-auth__visual-copy p,
.tp-auth__points li,
.tp-auth__stat span,
.tp-auth__stats span {
    color: rgba(245, 249, 255, 0.82);
}

.tp-auth__visual-label {
    margin: 0 0 8px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 249, 255, 0.68);
}

.tp-auth__visual h2 {
    margin: 0 0 12px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.tp-auth__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.tp-auth__stats article {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.tp-auth__stats strong {
    display: block;
    margin-bottom: 6px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.1rem;
}

.tp-auth__points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp-auth__points li {
    position: relative;
    padding-left: 18px;
}

.tp-auth__points li + li {
    margin-top: 12px;
}

.tp-auth__points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #42d392, #7dd3fc);
}

.tp-auth__stat {
    margin-top: 24px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tp-auth__stat strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

@media (max-width: 980px) {
    .tp-auth__wrap,
    .tp-auth__stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .tp-auth__shell {
        padding: 18px;
        border-radius: 28px;
    }

    .tp-auth__card,
    .tp-auth__visual {
        padding: 20px;
    }

    .tp-auth__meta,
    .tp-auth__actions,
    .tp-auth__card-head {
        flex-direction: column;
        align-items: stretch;
    }

    .tp-auth__button,
    .tp-auth__ghost {
        width: 100%;
    }
}
