.tk-auth-page {
    padding: 2.25rem 0 3.5rem;
    background:
        radial-gradient(ellipse 70% 50% at 10% 0%, rgba(154, 115, 64, 0.08), transparent 55%),
        radial-gradient(ellipse 60% 45% at 90% 10%, rgba(20, 24, 31, 0.05), transparent 50%),
        #f7f6f4;
}

.tk-auth-gate {
    max-width: 980px;
    margin: 0 auto;
}

.tk-auth-gate__tabs {
    display: none;
}

.tk-auth-gate__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
}

.tk-auth-gate__panel {
    height: 100%;
}

.tk-auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.5rem 2rem;
    align-items: stretch;
}

.tk-auth-aside {
    padding: 1.75rem 1.5rem;
    border-radius: 0.85rem;
    background: #111;
    color: #fff;
}

.tk-auth-aside__eyebrow {
    margin: 0 0 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.tk-auth-aside h1 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.tk-auth-aside > p {
    margin: 0 0 1.35rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.96rem;
    line-height: 1.6;
}

.tk-auth-aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.tk-auth-aside li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

.tk-auth-aside li i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tk-auth-card {
    max-width: none;
    margin: 0;
    padding: 1.75rem 1.5rem 1.6rem;
    border: 1px solid #ececec;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 24, 31, 0.05);
}

.tk-auth-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    font-weight: 700;
}

.tk-auth-card > p {
    margin: 0 0 1.2rem;
    color: #777;
    font-size: 0.92rem;
}

.tk-auth-card > p a {
    color: #111;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tk-auth-card label {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #222;
}

.tk-auth-card label span {
    font-weight: 500;
    color: #999;
}

.tk-auth-card input[type="text"],
.tk-auth-card input[type="email"],
.tk-auth-card input[type="tel"],
.tk-auth-card input[type="password"] {
    width: 100%;
    min-height: 44px;
    margin-bottom: 0.9rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.45rem;
    background: #fafafa;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.tk-auth-card input:focus {
    border-color: #bbb;
    background: #fff;
}

.tk-auth-card__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.tk-auth-card__meta {
    display: flex;
    justify-content: flex-end;
    margin: -0.35rem 0 1rem;
}

.tk-auth-card__meta a {
    font-size: 0.86rem;
    font-weight: 600;
    color: #555;
}

.tk-auth-card__meta a:hover {
    color: #111;
}

.tk-auth-check {
    display: flex !important;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0.15rem 0 1.1rem !important;
    font-weight: 500 !important;
    color: #555 !important;
    cursor: pointer;
}

.tk-auth-check input {
    width: 18px;
    height: 18px;
    margin: 0.15rem 0 0;
    flex-shrink: 0;
    accent-color: #111;
}

.tk-auth-check span {
    font-size: 0.86rem;
    line-height: 1.45;
    color: #555;
}

.tk-auth-check a {
    color: #111;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tk-auth-card button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 0.5rem;
    background: #1f1f1f;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.tk-auth-card button:hover {
    background: #333;
}

.tk-auth-alert {
    margin: 0 0 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tk-auth-alert--err {
    background: #fff4f4;
    color: #a33;
}

.tk-auth-alert--ok {
    background: #edf8ef;
    color: #1f6b35;
}

.tk-auth-error {
    margin: 0 0 1rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.45rem;
    background: #fff4f4;
    color: #a33;
    font-size: 0.88rem;
}

@media (max-width: 991.98px) {
    .tk-auth-layout {
        grid-template-columns: 1fr;
    }

    .tk-auth-gate__tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem;
        margin-bottom: 0.95rem;
        padding: 0.3rem;
        border: 1px solid #e4e6ea;
        border-radius: 999px;
        background: #fff;
    }

    .tk-auth-gate__tab {
        min-height: 42px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #5c6470;
        font: inherit;
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
    }

    .tk-auth-gate__tab.is-active {
        background: #1a2030;
        color: #fff;
    }

    .tk-auth-gate__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tk-auth-gate__panel {
        display: none;
    }

    .tk-auth-gate__panel.is-active {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .tk-auth-page {
        padding: 1.35rem 0 2.5rem;
    }

    .tk-auth-card,
    .tk-auth-aside {
        padding: 1.25rem 1.1rem;
    }

    .tk-auth-card__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
