

/* Start:/local/templates/newton/css/auth-form.css?178514444713302*/
/* ==========================================================================
   Форма авторизации / регистрации
   ========================================================================== */

.fancybox-wrap {
    top: 139px !important;
}

.fancybox-wrap,
.fancybox-inner {
    height: auto !important;
    overflow: visible !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    height: 50px;
    margin: 5px 0 15px;
    padding: 14px 15px 16px;
    color: #2D3130;
    font-weight: normal;
    border: 2px solid #E3E5E8;
    box-sizing: border-box;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
    line-height: 20px;
    font-family: Inter;
    font-weight: 500;
    resize: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border: 2px solid #2D3130;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder {
    color: #CBCBCB;
}

.bx_block {
    font-size: 14px;
    display: flex;
    width: 100%;
    position: relative;
}

.note {
    margin-bottom: 20px;
}

.bx_block.note {
    font-size: 12px;
    line-height: 16px;
    color: #94979A;
}

.bx_block .forgot {
    position: absolute;
    right: 0;
    font-size: 14px;
    line-height: 18px;
    color: #94979A;
}

.bx_block .active {
    margin-left: 3px;
}

.act {
    background: #F2F2F2;
    border-radius: 100px;
    padding: 12px 16px;
}

h2,
.h2 {
    margin: 0 0 20px;
}

.auth-title h2,
.auth-title .h2 {
    margin: 0 10px 20px;
}

.auth-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

input[type="checkbox"] + label {
    position: relative;
    padding-left: 30px;
    display: block;
    margin-top: 0;
    cursor: pointer;
    font-size: 14px;
    line-height: 16px;
}

input[type="checkbox"] + label:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 2px solid #94979A;
    box-sizing: border-box;
    background: white;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

input[type="checkbox"]:checked + label:before {
    background: #58AF23 url("data:image/svg+xml,%3Csvg width='14' height='15' viewBox='0 0 14 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 8L5.5 13L12.5 2' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") center no-repeat;
    border-color: #58AF23;
}

label[for="rules"],
label[for="oferta"] {
    margin-bottom: 10px;
    min-height: 20px;
}

label[for="rules"] a,
label[for="oferta"] a {
    color: #58AF23;
    font-size: 14px;
    line-height: 16px;
}

.auth-form button,
.auth-form button:focus {
    width: 100%;
    padding: 15px;
    margin: 31px 0 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    outline: none;
}

.auth-form button:disabled {
    opacity: 0.5;
}

.errortext {
    display: block;
    font-size: 14px;
    margin-bottom: 15px;
}

main {
    background: #7E1C7E;
    margin-bottom: 0;
}

main .page {
    margin-top: 0;
    padding: 139px 0 120px;
    background: url("data:image/svg+xml,%3Csvg width='166' height='49' viewBox='0 0 166 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18.2721 33.3256C19.0547 33.6026 19.8981 33.7533 20.7776 33.7533C24.891 33.7533 27.6923 30.9979 27.9131 26.9492C27.9131 24.8855 27.0762 23.019 25.7305 21.6767L25.7072 21.6535C24.3615 20.3112 22.4901 19.4765 20.4211 19.4765C18.3547 19.4765 16.4834 20.3112 15.1351 21.6535L15.1157 21.6767C13.7674 23.019 12.9318 24.8855 12.9318 26.9492V34.418H13.655C14.5345 34.418 15.2552 35.0299 15.2552 35.7757V42.6082C15.2552 43.3579 14.5345 43.9685 13.655 43.9685H12.5753V48.2478C12.5753 48.6613 12.1762 49.0001 11.6893 49.0001C11.2012 49.0001 10.8047 48.6613 10.8047 48.2478V43.9685H4.32136V48.2478C4.32136 48.6613 3.92229 49.0001 3.43668 49.0001H3.43408C2.94848 49.0001 2.54941 48.6613 2.54941 48.2478V43.9685H1.59758C0.719361 43.9685 0 43.3579 0 42.6082V35.7757C0 35.0299 0.718068 34.418 1.59758 34.418H2.31436V26.9492C2.31436 22.0013 4.34976 17.4902 7.62887 14.2092L7.64049 14.1976L7.65083 14.1873C10.9416 10.9166 15.4631 8.88647 20.4211 8.88647C25.3843 8.88647 29.9046 10.9166 33.194 14.1873L33.2056 14.1976L33.216 14.2092C36.4964 17.4902 38.5305 22 38.5305 26.9492C38.5305 28.3778 38.3794 29.9712 38.0074 31.517C36.1993 39.067 28.2553 44.3433 20.7776 44.3433C19.9278 44.3433 19.0909 44.2841 18.2721 44.1681L18.2721 33.3256Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M23.1605 0.956412C26.096 -0.634477 29.5314 0.161611 29.8026 0.506842C30.0738 0.85207 28.7462 4.22966 25.8106 5.82055C22.8751 7.41144 19.9007 7.61368 19.1685 6.27012C18.4375 4.92656 20.2249 2.54731 23.1605 0.956412Z' fill='%2358AF23'/%3E%3C/g%3E%3Cpath d='M59.4147 38.5574V27.3892C59.4147 25.7413 59.0962 24.5385 58.4591 23.7807C57.8341 23.0229 56.8064 22.644 55.376 22.644C54.715 22.644 54.0058 22.8305 53.2485 23.2033C52.5033 23.5762 51.9203 24.0393 51.4996 24.5926V38.5574H46.9922V19.234H50.2376L51.0669 21.0382C52.2929 19.5949 54.1019 18.8732 56.4939 18.8732C58.7897 18.8732 60.5987 19.5648 61.9209 20.948C63.2551 22.3193 63.9222 24.2378 63.9222 26.7036V38.5574H59.4147Z' fill='white'/%3E%3Cpath d='M84.937 30.276H71.1442C71.2283 31.8156 71.7572 33.0124 72.7308 33.8664C73.7044 34.7204 75.0146 35.1474 76.6613 35.1474C78.7167 35.1474 80.2793 34.6121 81.3491 33.5416L83.0979 36.9877C81.5113 38.2747 79.1434 38.9183 75.9942 38.9183C73.0493 38.9183 70.7175 38.0582 68.9986 36.3382C67.2918 34.6061 66.4384 32.1945 66.4384 29.1032C66.4384 26.06 67.376 23.5943 69.2511 21.7058C71.1382 19.8174 73.3979 18.8732 76.0303 18.8732C78.8309 18.8732 81.0786 19.7091 82.7734 21.3811C84.4682 23.053 85.3156 25.182 85.3156 27.7681C85.3156 28.3214 85.1894 29.1573 84.937 30.276ZM71.3065 26.884H80.7901C80.4776 24.0573 78.915 22.644 76.1024 22.644C73.5301 22.644 71.9315 24.0573 71.3065 26.884Z' fill='white'/%3E%3Cpath d='M106.799 38.9183H105.158L99.8577 27.0464L94.575 38.9183H92.9163L85.6322 19.234H90.3741L94.2505 30.7631L98.9743 19.234H100.597L105.483 30.8353L109.666 19.234H114.101L106.799 38.9183Z' fill='white'/%3E%3Cpath d='M116.365 22.8605H114.129V19.234H116.365V15.3008L120.873 13.6409V19.234H126.173V22.8605H120.873V31.3224C120.873 32.7057 121.089 33.686 121.522 34.2633C121.954 34.8286 122.712 35.1113 123.793 35.1113C124.875 35.1113 125.885 34.8166 126.822 34.2272V38.377C125.777 38.7378 124.286 38.9183 122.351 38.9183C120.428 38.9183 118.949 38.377 117.916 37.2944C116.882 36.1999 116.365 34.6482 116.365 32.6395V22.8605Z' fill='white'/%3E%3Cpath d='M127.95 28.8506C127.95 25.9037 128.798 23.504 130.493 21.6517C132.199 19.7993 134.447 18.8732 137.236 18.8732C140.169 18.8732 142.446 19.7633 144.069 21.5434C145.692 23.3236 146.503 25.7593 146.503 28.8506C146.503 31.9298 145.674 34.3776 144.015 36.1939C142.368 38.0101 140.108 38.9183 137.236 38.9183C134.303 38.9183 132.019 38.0041 130.384 36.1758C128.762 34.3355 127.95 31.8938 127.95 28.8506ZM132.638 28.8506C132.638 33.1086 134.171 35.2376 137.236 35.2376C138.642 35.2376 139.754 34.6843 140.571 33.5777C141.401 32.4711 141.815 30.8954 141.815 28.8506C141.815 24.6527 140.289 22.5538 137.236 22.5538C135.829 22.5538 134.712 23.1071 133.882 24.2137C133.053 25.3203 132.638 26.8659 132.638 28.8506Z' fill='white'/%3E%3Cpath d='M161.442 38.5574V27.3892C161.442 25.7413 161.123 24.5385 160.486 23.7807C159.861 23.0229 158.833 22.644 157.403 22.644C156.742 22.644 156.033 22.8305 155.276 23.2033C154.53 23.5762 153.947 24.0393 153.527 24.5926V38.5574H149.019V19.234H152.265L153.094 21.0382C154.32 19.5949 156.129 18.8732 158.521 18.8732C160.817 18.8732 162.626 19.5648 163.948 20.948C165.282 22.3193 165.949 24.2378 165.949 26.7036V38.5574H161.442Z' fill='white'/%3E%3Cdefs%3E%3CclipPath id='clip0'%3E%3Crect width='38.5305' height='49' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A") no-repeat center 60px;
}

.auth-form {
    width: 480px;
    padding: 60px;
    margin: 0 auto;
    background: #FFFFFF;
    backdrop-filter: blur(200px);
    border-radius: 20px;
    position: relative;
}

.fancybox-close {
    top: 26px;
}

.calendar-icon {
    position: absolute;
    top: 16px;
    right: 16px;
}

@media screen and (max-width: 979px) {
    .auth-form {
        width: 463px;
        margin: 0 -60px;
    }
}

@media screen and (max-width: 480px) {
    .auth-form {
        width: 360px;
        margin: 0 -9px;
        padding: 60px 20px;
    }
}

/* ==========================================================================
   Попап согласий
   ========================================================================== */

#agreement-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}

.agreement-popup {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 60px 120px;
}

.agreement-popup__close {
    top: 26px;
    right: 26px;
}

.agreement-popup-inner {
    overflow-y: auto;
}

.agreement-popup__title {
    text-align: center;
    font-size: 22px;
    line-height: 26px;
    font-weight: 700;
    padding: 10px 0 42px;
    flex-shrink: 0;
}

.agreement-popup__body {
    flex: 1;
    font-size: 14px;
    line-height: 18px;
    color: #333;
}

.agreement-popup__body p {
    margin-bottom: 20px;
}

.agreement-popup__body ul {
    margin: 0 0 20px 0;
    padding-left: 0;
    list-style: none;
}

.agreement-popup__body ul li {
    padding-left: 32px;
    margin-bottom: 8px;
    position: relative;
    margin-left: 20px;
}

.agreement-popup__body ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #378C04;
    position: absolute;
    left: 0;
    top: 5px;
}

.agreement-popup__checks {
    flex-shrink: 0;
}

.agree-row {
    position: relative;
    margin-bottom: 20px;
}

.agree-row input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.agree-row input[type="checkbox"] + label {
    position: relative;
    padding-left: 30px;
    display: block;
    margin-top: 0;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
}

.agree-row input[type="checkbox"] + label * {
    font-size: 14px;
    line-height: 20px;
}

.agree-row input[type="checkbox"] + label:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 2px solid #94979A;
    box-sizing: border-box;
    background: white;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.agree-row input[type="checkbox"]:checked + label:before {
    background: #58AF23 url("data:image/svg+xml,%3Csvg width='14' height='15' viewBox='0 0 14 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 8L5.5 13L12.5 2' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") center no-repeat;
    border-color: #58AF23;
}

.agree-row label a {
    color: #58AF23;
    text-decoration: underline;
}

.agree-footer-note {
    font-size: 14px;
    line-height: 18px;
    color: #94979A;
    flex-shrink: 0;
    margin-bottom: 15px;
}

.agree-all-row {
    flex-shrink: 0;
    position: relative;
    margin-bottom: 20px;
}

.agree-all-row input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.agree-all-row input[type="checkbox"] + label {
    position: relative;
    padding-left: 30px;
    display: block;
    cursor: pointer;
    font-size: 14px;
    line-height: 18px;
}

.agree-all-row input[type="checkbox"] + label:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 2px solid #94979A;
    box-sizing: border-box;
    background: white;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.agree-all-row input[type="checkbox"]:checked + label:before {
    background: #58AF23 url("data:image/svg+xml,%3Csvg width='14' height='15' viewBox='0 0 14 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 8L5.5 13L12.5 2' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") center no-repeat;
    border-color: #58AF23;
}

.agreement-popup__footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    flex-shrink: 0;
}

.agreement-popup__footer .btn {
    padding: 15px;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
}

.gray {
    color: #626564;
    background-color: #E2E2E2;
}

button.green:hover {
    background-color: #378c04;
}

body.popup-open {
    overflow: hidden;
}

@media screen and (max-width: 979px) {
    .agreement-popup {
        padding: 30px 20px 60px;
    }

    .agreement-popup__title {
        padding-bottom: 20px;
    }

    .agreement-popup__close {
        top: 12px;
        right: 12px;
    }
}
/* End */
/* /local/templates/newton/css/auth-form.css?178514444713302 */
