/* Protokol24 auth content only v2.1.7 */

.p24-auth-body-shell-main {
    background: #fff;
    min-height: 560px;
}

.p24-auth-body-shell {
    width: min(100% - 48px, 1380px);
    max-width: 1380px;
    margin: 0 auto;
    padding: 76px 0 92px;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
    box-sizing: border-box;
}

.p24-auth-body-shell-card h1 {
    margin: 0 0 14px;
    color: #071326;
    font-size: 40px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.p24-auth-body-shell-switch {
    margin: 0 0 30px;
    font-size: 15px;
    color: #071326;
}

.p24-auth-body-shell-switch a,
.p24-auth-body-shell-row a,
.p24-auth-body-shell-check a,
.p24-auth-body-shell-legal a {
    color: #0969ff;
    text-decoration: none;
    font-weight: 900;
}

.p24-auth-body-shell-alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.35;
}

.p24-auth-body-shell-alert--error {
    background: #fff2f2;
    border: 1px solid #ffd1d1;
    color: #9d1c1c;
}

.p24-auth-body-shell-alert--success {
    background: #eafaf0;
    border: 1px solid #bbebc9;
    color: #146c2e;
}

.p24-auth-body-shell-form {
    display: grid;
    gap: 14px;
}

.p24-auth-body-shell-field {
    display: grid;
    gap: 8px;
}

.p24-auth-body-shell-field span {
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 900;
    color: #10234f;
}

.p24-auth-body-shell-field input {
    width: 100%;
    height: 49px;
    border: 1px solid #cbd8eb;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 15px;
    color: #071326;
    background: #fff;
    outline: none;
    box-sizing: border-box;
}

.p24-auth-body-shell-field input::placeholder {
    color: #9aa8bf;
}

.p24-auth-body-shell-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    font-weight: 850;
}

.p24-auth-body-shell-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.35;
    color: #071326;
}

.p24-auth-body-shell-check input {
    width: 17px;
    height: 17px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: #0969ff;
}

.p24-auth-body-shell-submit {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 8px;
    background: #0969ff;
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(9,105,255,.18);
}

.p24-auth-body-shell-submit--big {
    height: 66px;
    border-radius: 12px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.p24-auth-body-shell-legal {
    margin: 0;
    color: #91a0b8;
    font-size: 12px;
    line-height: 1.35;
}

.p24-auth-body-shell-banner {
    min-height: 370px;
    border: 12px solid #eaf4ff;
    border-radius: 24px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px;
    box-shadow: 0 24px 60px rgba(7,20,39,.08);
    box-sizing: border-box;
}

.p24-auth-body-shell-banner h2 {
    margin: 0;
    max-width: 760px;
    color: #000;
    text-align: center;
    font-size: 36px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -.025em;
}

@media (max-width: 1180px) {
    .p24-auth-body-shell {
        grid-template-columns: 340px minmax(0, 1fr);
        gap: 48px;
    }
}

@media (max-width: 767px) {
    .p24-auth-body-shell {
        width: min(100% - 28px, 1380px);
        grid-template-columns: 1fr;
        gap: 0;
        padding: 42px 0 58px;
    }

    .p24-auth-body-shell-banner {
        display: none;
    }

    .p24-auth-body-shell-card h1 {
        font-size: 34px;
    }
}

/* P24 AUTH BANNER CLEANUP V2.1.8 START */

.p24-auth-body-shell-banner--image {
    overflow: hidden;
    padding: 0 !important;
    border: 12px solid #eaf4ff;
    background: #fff;
}

.p24-auth-body-shell-banner--image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 370px;
    object-fit: cover;
    border-radius: 12px;
}

.p24-auth-register-clean .p24-auth-body-shell-legal,
.p24-auth-register-clean .p24-auth-legal,
.p24-auth-register-clean .p24-auth-content-legal,
.p24-auth-register-clean .p24-auth-rendered-legal {
    display: none !important;
}

.p24-auth-register-clean label.p24-auth-body-shell-check:not([data-p24-auth-consent-main="Y"]) {
    display: none !important;
}

.p24-auth-register-clean [data-p24-main-consent]:not([data-p24-auth-consent-main="Y"]),
.p24-auth-register-clean .p24-auth-main-consent:not([data-p24-auth-consent-main="Y"]),
.p24-auth-register-clean .p24-auth-consent:not([data-p24-auth-consent-main="Y"]) {
    display: none !important;
}

@media (max-width: 767px) {
    .p24-auth-body-shell-banner,
    .p24-auth-body-shell-banner--image {
        display: none !important;
    }
}

/* P24 AUTH BANNER CLEANUP V2.1.8 END */


/* P24 AUTH BANNER EMBED FIX V2.1.9 START */

.p24-auth-body-shell-banner--image {
    overflow: hidden !important;
    padding: 0 !important;
    border: 12px solid #eaf4ff !important;
    background: #fff !important;
}

.p24-auth-body-shell-banner--image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 370px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

.p24-auth-register-clean .p24-auth-body-shell-legal,
.p24-auth-register-clean .p24-auth-legal,
.p24-auth-register-clean .p24-auth-content-legal,
.p24-auth-register-clean .p24-auth-rendered-legal,
.p24-auth-register-clean .p24-register-legal,
.p24-auth-register-clean .auth-legal,
.p24-auth-register-clean .legal,
.p24-auth-register-clean .legal-text {
    display: none !important;
}

.p24-auth-register-clean label.p24-auth-body-shell-check:not([data-p24-auth-consent-main="Y"]),
.p24-auth-register-clean label.p24-auth-checkbox:not([data-p24-auth-consent-main="Y"]),
.p24-auth-register-clean label.p24-auth-content-check:not([data-p24-auth-consent-main="Y"]),
.p24-auth-register-clean label.p24-auth-rendered-check:not([data-p24-auth-consent-main="Y"]) {
    display: none !important;
}

.p24-auth-register-clean [data-p24-main-consent]:not([data-p24-auth-consent-main="Y"]),
.p24-auth-register-clean .p24-auth-main-consent:not([data-p24-auth-consent-main="Y"]),
.p24-auth-register-clean .p24-auth-consent:not([data-p24-auth-consent-main="Y"]) {
    display: none !important;
}

@media (max-width: 767px) {
    .p24-auth-body-shell-banner,
    .p24-auth-body-shell-banner--image {
        display: none !important;
    }
}

/* P24 AUTH BANNER EMBED FIX V2.1.9 END */


/* P24 AUTH BANNER FRAME FIX V2.2.1 START */

/*
 * Убираем внешнюю рамку/фон/тень контейнера.
 * Рамка уже есть внутри PNG-баннера.
 */
.p24-auth-body-shell-banner--image,
.p24-auth-body-shell .p24-auth-body-shell-banner--image,
.p24-auth-rendered-banner--image,
.p24-auth-content-banner--image,
.p24-auth-real-banner--image {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.p24-auth-body-shell-banner--image img,
.p24-auth-body-shell .p24-auth-body-shell-banner--image img,
.p24-auth-rendered-banner--image img,
.p24-auth-content-banner--image img,
.p24-auth-real-banner--image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* На мобильной версии баннер по-прежнему скрыт. */
@media (max-width: 767px) {
    .p24-auth-body-shell-banner,
    .p24-auth-body-shell-banner--image,
    .p24-auth-rendered-banner,
    .p24-auth-rendered-banner--image,
    .p24-auth-content-banner,
    .p24-auth-content-banner--image,
    .p24-auth-real-banner,
    .p24-auth-real-banner--image {
        display: none !important;
    }
}

/* P24 AUTH BANNER FRAME FIX V2.2.1 END */


/* P24 AUTH BANNER GLOW CLEANUP V2.2.4 START */

/*
 * Убираем старую внешнюю рамку/подсветку у wrapper-контейнера баннера.
 * Визуальная рамка уже нарисована в самом PNG.
 */
.p24-auth-body-shell-banner.p24-auth-body-shell-banner--image,
.p24-auth-body-shell .p24-auth-body-shell-banner.p24-auth-body-shell-banner--image,
.p24-auth-body-shell-banner--image,
.p24-auth-rendered-banner.p24-auth-rendered-banner--image,
.p24-auth-content-banner.p24-auth-content-banner--image,
.p24-auth-real-banner.p24-auth-real-banner--image {
    min-height: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.p24-auth-body-shell-banner.p24-auth-body-shell-banner--image::before,
.p24-auth-body-shell-banner.p24-auth-body-shell-banner--image::after,
.p24-auth-body-shell .p24-auth-body-shell-banner.p24-auth-body-shell-banner--image::before,
.p24-auth-body-shell .p24-auth-body-shell-banner.p24-auth-body-shell-banner--image::after,
.p24-auth-body-shell-banner--image::before,
.p24-auth-body-shell-banner--image::after,
.p24-auth-rendered-banner.p24-auth-rendered-banner--image::before,
.p24-auth-rendered-banner.p24-auth-rendered-banner--image::after,
.p24-auth-content-banner.p24-auth-content-banner--image::before,
.p24-auth-content-banner.p24-auth-content-banner--image::after,
.p24-auth-real-banner.p24-auth-real-banner--image::before,
.p24-auth-real-banner.p24-auth-real-banner--image::after {
    content: none !important;
    display: none !important;
}

.p24-auth-body-shell-banner.p24-auth-body-shell-banner--image img,
.p24-auth-body-shell .p24-auth-body-shell-banner.p24-auth-body-shell-banner--image img,
.p24-auth-body-shell-banner--image img,
.p24-auth-rendered-banner.p24-auth-rendered-banner--image img,
.p24-auth-content-banner.p24-auth-content-banner--image img,
.p24-auth-real-banner.p24-auth-real-banner--image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    background: transparent !important;
}

@media (max-width: 767px) {
    .p24-auth-body-shell-banner,
    .p24-auth-body-shell-banner--image,
    .p24-auth-rendered-banner,
    .p24-auth-rendered-banner--image,
    .p24-auth-content-banner,
    .p24-auth-content-banner--image,
    .p24-auth-real-banner,
    .p24-auth-real-banner--image {
        display: none !important;
    }
}

/* P24 AUTH BANNER GLOW CLEANUP V2.2.4 END */
