/* TABAK_PRIME_CLIENT_WELCOME_AUTH_STEP014 */

html.tp-client-shell-open,
html.tp-client-shell-open body {
    overflow: hidden !important;
}

.tp-client-shell {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px;
    background:
        radial-gradient(circle at 18% 12%, rgba(214, 167, 77, 0.19), transparent 34%),
        radial-gradient(circle at 86% 88%, rgba(138, 102, 39, 0.22), transparent 36%),
        linear-gradient(145deg, #111110 0%, #25241f 49%, #090909 100%);
    color: #f8f4eb;
    font-family: inherit;
}

.tp-client-shell[hidden] {
    display: none !important;
}

.tp-client-shell *,
.tp-client-shell *::before,
.tp-client-shell *::after {
    box-sizing: border-box;
}

.tp-client-shell__card {
    width: min(100%, 980px);
    min-height: 580px;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr);
    overflow: hidden;
    border: 1px solid rgba(220, 183, 107, 0.28);
    border-radius: 28px;
    background: rgba(22, 22, 20, 0.97);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.57);
}

.tp-client-shell__visual {
    position: relative;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 46px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.5)),
        radial-gradient(circle at 38% 28%, rgba(219, 177, 92, 0.23), transparent 36%),
        #181816;
}

.tp-client-shell__visual::before,
.tp-client-shell__visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(219, 180, 101, 0.19);
    pointer-events: none;
}

.tp-client-shell__visual::before {
    width: 430px;
    height: 430px;
    right: -220px;
    top: -130px;
}

.tp-client-shell__visual::after {
    width: 270px;
    height: 270px;
    left: -135px;
    bottom: -135px;
}

.tp-client-shell__brand,
.tp-client-shell__message {
    position: relative;
    z-index: 1;
}

.tp-client-shell__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f8f4eb;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tp-client-shell__brand-mark {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(223, 184, 104, 0.55);
    border-radius: 50%;
    color: #ddb56a;
    font-size: 15px;
    letter-spacing: 0;
}

.tp-client-shell__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #d9b46b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tp-client-shell__eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.tp-client-shell__title {
    max-width: 620px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5.2vw, 66px);
    font-weight: 750;
    line-height: 0.99;
    letter-spacing: -0.045em;
}

.tp-client-shell__lead {
    max-width: 540px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.73);
    font-size: 17px;
    line-height: 1.65;
}

.tp-client-shell__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
    background: rgba(248, 245, 237, 0.99);
    color: #1b1a18;
}

.tp-client-shell__panel-title {
    margin: 0;
    color: #1b1a18;
    font-size: 30px;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.tp-client-shell__panel-text {
    margin: 12px 0 26px;
    color: #6a665e;
    font-size: 14px;
    line-height: 1.6;
}

.tp-client-shell__actions {
    display: grid;
    gap: 12px;
}

.tp-client-shell__button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    text-decoration: none !important;
    font: inherit;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tp-client-shell__button:hover {
    transform: translateY(-1px);
}

.tp-client-shell__button--primary {
    color: #171714 !important;
    background: linear-gradient(135deg, #e2c17d, #bd8e3b);
    box-shadow: 0 12px 28px rgba(172, 123, 43, 0.23);
}

.tp-client-shell__button--secondary {
    color: #25231f !important;
    border-color: #d5cfc4;
    background: #fff;
}

.tp-client-shell__button--telegram {
    color: #2b7da9 !important;
    border-color: rgba(43, 125, 169, 0.24);
    background: rgba(43, 125, 169, 0.08);
}

.tp-client-shell__button[aria-disabled="true"] {
    opacity: 0.62;
    cursor: not-allowed;
    transform: none;
}

.tp-client-shell__links {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.tp-client-shell__link {
    color: #756f65 !important;
    font-size: 13px;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.tp-client-shell__notice {
    margin: 22px 0 0;
    padding: 14px 15px;
    border-radius: 12px;
    background: rgba(184, 141, 62, 0.1);
    color: #6e5a35;
    font-size: 12px;
    line-height: 1.55;
}

.tp-client-shell__dev {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #ddd7cb;
}

.tp-client-shell__dev-button {
    width: 100%;
    border: 0;
    background: transparent;
    color: #777168;
    font: inherit;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

@media (max-width: 820px) {
    .tp-client-shell {
        align-items: flex-start;
        padding: 14px;
    }

    .tp-client-shell__card {
        min-height: 0;
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .tp-client-shell__visual {
        min-height: 310px;
        padding: 30px 26px;
    }

    .tp-client-shell__title {
        font-size: clamp(36px, 11vw, 54px);
    }

    .tp-client-shell__lead {
        margin-top: 18px;
        font-size: 15px;
    }

    .tp-client-shell__panel {
        padding: 30px 24px 28px;
    }

    .tp-client-shell__panel-title {
        font-size: 26px;
    }
}

@media (max-width: 420px) {
    .tp-client-shell {
        padding: 0;
        background: #151514;
    }

    .tp-client-shell__card {
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .tp-client-shell__visual {
        min-height: 285px;
        padding: 26px 21px;
    }

    .tp-client-shell__panel {
        padding: 26px 21px 30px;
    }

    .tp-client-shell__button {
        min-height: 52px;
    }
}
