/***reset***/

body {
    margin: 0;
    padding: 0;
}

/* Подключаем Roboto как переменный шрифт */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900; /* Диапазон весов от Thin (100) до Black (900) */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900; /* Диапазон весов для курсива */
  font-style: italic;
  font-display: swap;
}


/***********/
:root {
    --auth-page--background-color: linear-gradient(242.35deg, rgba(232,232,232,0.8) 8.89%, rgba(204,204,204,0.8) 48.21%, rgba(234,234,234,0.8) 92.35%);
    --auth-page--title-color: #333333;
    --auth-page--subtitle-color: #747474;
    --auth-page--text-color: #333;

    --auth-page--input-border-color: rgba(25, 25, 25, 0.6);
    --auth-page--input-text-color: rgba(25, 25, 25, 0.6);

    --auth-page--input-border-color__active: #6589DA;
    --auth-page--input-text-color__active: #6589DA;

    --auth-page--input-border-color__error: #C45C5C;
    /* --auth-page--input-text-color__error: #C45C5C; */
    --auth-page--input-text-color__error: #6689da;
    /* --auth-page--button-red-color:rgba(196,92,92,.6); */
    --auth-page--button-red-color:rgba(68,111,210,.52);
    --auth-page--button-light-blue-color:rgba(68,111,210,.52);
    --auth-page--button-blue-color:rgba(68,111,210,.82);

    /* --auth-page--button-red-color__hover:rgba(196,92,92,.9); */
    --auth-page--button-red-color__hover:rgba(68,111,210,.72);
    --auth-page--button-light-blue-color__hover:rgba(68,111,210,.72);
    --auth-page--button-blue-color__hover:rgba(68,111,210,1);


    /* --inputs-font-size:14px; */
}
/***********/

/* .input[type="text"] {
    font-size: 16px!important;
} */

._wrapper ::-webkit-scrollbar {
  width: 6px; /* ширина полосы */
}

._wrapper ::-webkit-scrollbar-track {
  background: transparent; /* прозрачный фон под ползунком */
  margin: 2px 0;
}

._wrapper ::-webkit-scrollbar-thumb {
  background: #bfd3ffd1; /* сам ползунок */
  border-radius: 4px;
  transition: background .4s;
}

._wrapper ::-webkit-scrollbar-thumb:hover {
  background: #89acf9d1; /* при наведении */
}


._wrapper {
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--auth-page--text-color);
    font-size: 14px;
    background: var(--auth-page--background-color);
    overflow-x: hidden;
    overflow-y: auto;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

._container {
    width: 85.77%;
    max-width: 1080px; 
    min-height: 318px;
    position: relative;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.15);
    /* border-radius: 32px; */
    background: #fff;

    display: flex;
    padding: 3.25em;
    box-sizing: border-box;
    column-gap: 72px;
}

.account-by-step__info-coll {
    /* height: 100%; */
    flex: 1 1 34%;
    font-size: .9em;
    position: relative;
    padding-right: 16px;
    box-sizing: border-box;
}

.account-by-step__info-coll:after {
    content: '';
    height: 100%;
    width: 1px;
    position: absolute;
    right: -26px;
    top: 0;
    background: #dddddd;
}

.account-by-step__panel {
    min-width: 442px;
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.account-by-step__panel.__done {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.account-by-step__panel.__done ._main-title__title {
    text-align: center;
    width: 100%;
}

.account-by-step__panel.__done p{
    text-align: center;
    width: 100%;
}
.account-by-step__panel.__done a{
    display: inline;
}

.logo-container {
    width: 84%;
    min-width: 240px;
}

.opacity05 {
    opacity: .5;
    cursor: auto;
}

._blank {
    color: var(--auth-page--button-blue-color)
}

input[type="checkbox"] {
    margin: 0;
}
/***********/

._main-title {
    display: flex;
    flex-direction: column;
}

._main-title__title {
    font-size: 2.1em;
    font-weight: 600;
    color: var(--auth-page--title-color);
    margin-bottom: 6px;
}

._main-title__subtitle {
    display: none;
    color: var(--auth-page--subtitle-color);
    font-size: 1em;
}

/***********/

.account-by-step__panel__buttons {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    margin-top: 2em;
}

._btn {
    min-width: 126px;
    padding: 9px 2em 10px 2em ;
    box-sizing: border-box;
    color: #fff;
    /* border-radius: 32px; */
    /* border-radius: 8px; */
    text-align: center;
    text-decoration: none;
    align-items: center;
    display: flex;
    justify-content: center;
}

._next-btn {
    background: var(--auth-page--button-blue-color);

    transition: background .4s;
}

._next-btn:hover {
    background: var(--auth-page--button-blue-color__hover);
}

._back-btn {
    background: var(--auth-page--button-light-blue-color);

    transition: background .4s;
}

._back-btn:hover {
    background: var(--auth-page--button-light-blue-color__hover);
}

/* ._cancel-btn {

    position: absolute;
    top: 0;
    right: 0;
    background: var(--auth-page--button-red-color);

    transition: background .4s;
} */

._cancel-btn  {
    color: #000;
    text-decoration: underline;
    position: absolute;
    top: 12px;
    right: 8px;
    padding: 0;
    position: absolute;
    font-size: .8em;
    color: var(--auth-page--text-color);
    transition: color .4s;

}

._cancel-btn:hover  {
    color: var(--auth-page--button-red-color__hover);
}
/* ._cancel-btn:hover {
    background: var(--auth-page--button-red-color__hover);
} */

._back-btn {

}

._solo-btn {
    display: block;
    /* margin-top: 18px;
    width: 100%; */
}

._mergin-left--auto {
    margin-left: auto;
}


._title-h2 {
    margin-top: 1.2em;
    margin-bottom: .6em;
    font-weight: 500;
    font-size: 1.2em;
    color: var(--auth-page--title-color);
}

._title-h3 {
    margin-top: .6em;
    margin-bottom: 1.2em;
    font-weight: 400;
    font-size: 1em;
    color: var(--auth-page--text-color);
}

._mail_to {
    color: var(--auth-page--title-color);
    font-weight: 600;
}

.account-by-step__panel_info-block {
    margin-top: 1.4em;
}
/***************/

._input-block {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 12px;
    /* margin-top: 24px; */
}

._input-block > input {
    width: 100%;
    padding: 1em 1.5em;
    box-sizing: border-box;
    /* border-radius: 8px; */
    border: 1px solid var(--auth-page--input-border-color);
    outline: none;
    transition: border .16s;
    font-size: 1em;
}

._input-block__subtitle {
    cursor: pointer;
    color: var(--auth-page--input-text-color);
    position: absolute;
    left: 16px;
    top: 30%;
    /* background: white; */
    padding: 0 6px;
    transform: scale(1);
    transition: top .16s, left .16s, transform, .16s, background .26s;
}

._input-block > input:active {
    border: 1px solid var(--auth-page--input-border-color__active);
}

._input-block > input:active ~ ._input-block__subtitle {
    color: var(--auth-page--input-text-color__active);
}

._input-block > input:focus {
     border: 1px solid var(--auth-page--input-border-color__active);
}

._input-block > input:focus ~ ._input-block__subtitle {
    color: var(--auth-page--input-text-color__active);
    left: 6px;
    top: -8px;
    transform: scale(.9);
    background: white;
}

._input-block > input:not(:placeholder-shown) ~ ._input-block__subtitle {
    left: 6px;
    top: -8px;
    transform: scale(.9);
    background: white;
}

/*****************/

._password-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

._password-block > ._input-block{
    width: 100%;
}

._pw-checkbox {
    display: flex;
    align-items: center;
    margin-top: 8px;
    margin-bottom: .6em;
    column-gap: 8px;
    width: 160px;
    cursor: pointer;
}


._pw-checkbox > input[type="checkbox"]{
    margin: 0;
}
._pw-checkbox > input[type="checkbox"] ~ span{
    transition: color .2s;
    color: var(--auth-page--text-color);
}
._pw-checkbox > input[type="checkbox"]:checked ~ span{
    color: var(--auth-page--input-text-color__active);
}

/**************/

._link-pw-restore {
    display: flex;
    align-items: flex-start;
    margin: 8px 0 0 auto;
    color: var(--auth-page--text-color);
    transition: color .4s;
    padding-bottom: 2px;
}

._link-pw-restore:hover {
    color: var(--auth-page--button-blue-color__hover);
}

/**************/

._loader-container {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: 100%;
    margin-top: 2em;
}

._loader-container > div{
    font-size: 1.45em;
    width: 100%;
    text-align: center;
    color: var(--auth-page--button-blue-color__hover);
}

._loader {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      position: relative;
      animation: rotate 1s linear infinite;
      margin: 0 auto;
    }
._loader::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid var(--auth-page--button-blue-color__hover);
    animation: prixClipFix 2s linear infinite ;
}

@keyframes rotate {
    100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}

/***************/

.logo-container img {
    max-width: 100%;
}

    .logo-container > img:first-child{
        display: block;
    }

    .logo-container > img:last-child {
        display: none;
    }


._left-panel__info {
    color: var(--auth-page--text-color);
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    line-height: 1.5em;
    row-gap: 8px;
}

/***************/

.output-message {
    margin: .4em 0 .4em 0;
}

.output-message .def_err_msg,
.output-message .def_ssp_msg {
    color: var(--auth-page--input-border-color__error);
}

.output-message .def_err_msg .hdr,
.output-message .def_ssp_msg .hdr {
    font-weight: 600;
    display: none;
}

.output-message .def_err_msg ul,
.output-message .def_ssp_msg ul {
    margin: 0;
    padding: .4em 0;
    list-style: none;
}

.output-message .def_err_msg ul li,
.output-message .def_ssp_msg ul li{
    margin: 0 0 .4em 0;

}

.output-message .def_err_msg ul li:last-child,
.output-message .def_ssp_msg ul li:last-child{
    margin: 0 0 0 0;
}

/*****************/
._country-block {
    /* margin-bottom: 2em; */
}

._country-block > div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

._country-block > div .select_over {
    display: block;
    width: 69%;
}

._country-block > div .select_over:first-child {
    width: 28%;
}

._country-block > div > div {
    width: 100%;
    /* display: none; */
}

._country-block > div > div input {
    margin-top: 1em;
    width: 100%;
    padding: 1em 1.5em;
    box-sizing: border-box;
    /* border-radius: 8px; */
    border: 1px solid var(--auth-page--input-border-color);
    outline: none;
    transition: border .16s;
    font-size: 1em;
}

._country-block .select1,
._country-block .select2 {
    width: 100%!important;
    box-sizing: border-box;
    padding: 1em 1.5em;
    /* border-radius: 4px; */
    color: var(--auth-page--text-color);
    border: 1px solid var(--auth-page--input-border-color);
    outline: none;
    transition: border .16s;
    font-size: 1em;
    appearance: none; /* убираем стандартную стрелку */
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
}

._country-block .select1 {
        background: #fff url("assets/arrow-bottom.svg") 88% center no-repeat;
}

._country-block .select2 {
        background: #fff url("assets/arrow-bottom.svg") 94% center no-repeat;
}

._country-block .select1:focus,
._country-block .select2:focus {
    border: 1px solid var(--auth-page--input-border-color__active);
}

/*****************/
._select-block {
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
}

._select-block select{
    width: 100%!important;
    box-sizing: border-box;
    padding: 1em 1.5em;
    /* border-radius: 4px; */
    color: var(--auth-page--text-color);
    border: 1px solid var(--auth-page--input-border-color);
    outline: none;
    transition: border .16s;
    font-size: 1em;
    appearance: none; /* убираем стандартную стрелку */
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    background: #fff url("assets/arrow-bottom.svg") 97% center no-repeat;
}

._select-block select:focus {
    border: 1px solid var(--auth-page--input-border-color__active);
}


/*****************/

.radio-area {
    max-height: 168px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: inset 2px 2px 4px rgb(0 0 0 / 5%);
    border-radius: 6px;
    margin-top: 16px;
    border: 1px solid #b9b9b94f;
}

.radio-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 6px;
    /* padding: 1em; */
    position: relative;
    border-bottom: 1px solid #e9e9e9;
}

.radio-row > input {
    position: absolute;
    left: 22px;
    margin: 0;
}

.radio-row > a {
    padding: 12px 1em 13px 52px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: var(--auth-page--text-color);
    transition: color .4s;
    width: 100%;
    height: 100%;
}

.radio-row > a:hover {
    color: var(--auth-page--input-text-color__active);
}

.chbs-area {
    max-height: 168px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: inset 2px 2px 4px rgb(0 0 0 / 5%);
    border-radius: 6px;
    margin-top: 16px;
    border: 1px solid #b9b9b94f;
}

.chbs-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 6px;
    /* padding: 1em; */
    position: relative;
    border-bottom: 1px solid #e9e9e9;
}

.chbs-row > input {
    position: absolute;
    left: 22px;
    margin: 0;
}

.chbs-row > a {
    padding: 12px 1em 13px 52px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: var(--auth-page--text-color);
    transition: color .4s;
    width: 100%;
    height: 100%;
}

.chbs-row > a:hover {
    color: var(--auth-page--input-text-color__active);
}

.test_subcluss {
    margin-top: 1em;
}

.test_subcluss:first-child {
    margin-top: 2em;
}
/**************/

._captcha-block {
    margin-top: 1em;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
}

._captcha-block > span {
    display: block;
    width: 133px;
    order: 1;
    position: absolute;
    background: #fff;
    top: -8px;
    left: 6px;
    transform: scale(.9);
    text-align: center;
}

._captcha-block > input {
    width: calc(100% - 85px);
    order: 1;
    padding: 1em 1.5em;
    outline: none;
    box-sizing: border-box;
    /* border-radius: 4px 0 0 4px; */
    border: 1px solid var(--auth-page--input-border-color);
    outline: none;
    transition: border .16s;
}

._captcha-block > .captcha {
    width: 85px;
    position: relative;
    order: 2;
    display: flex;
    flex-direction: column;
}

._captcha-block > .captcha > a{
    font-size: 0;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
}

._captcha-block > .captcha > img {
    /* border-radius: 0 4px 4px 0; */
}

/*************/
.error_container .account-by-step__panel {
    justify-content: flex-start;
}

.error_container ._main-title__title {
    color: var(--auth-page--input-text-color__error);
}

.error_container .error-span {
    display: block;
    width: 100%;
    margin-top: .6em;
}

/**********/

.account-by-step__panel_info-block > select{
    width: 100%!important;
    box-sizing: border-box;
    padding: 1em 1.5em;
    /* border-radius: 4px; */
    color: var(--auth-page--text-color);
    border: 1px solid var(--auth-page--input-border-color);
    outline: none;
    transition: border .16s;
    font-size: 1em;
    appearance: none; /* убираем стандартную стрелку */
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    background: #fff url("assets/arrow-bottom.svg") 96% center no-repeat;
    margin-top: 1em;
}

.account-by-step__panel_info-block > select:focus {
    border: 1px solid var(--auth-page--input-border-color__active);
}

/************/

.access-points_container {
    width: 100%;
    box-shadow: inset 2px 2px 8px rgba(0, 0, 0, .16);
    border-radius: 6px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 478px;
    margin-top: 1em;
}

.access-points_container > div > div{
    padding: 12px 36px 12px 12px;;
    box-sizing: border-box;
    text-decoration: none;
    display: flex;
    color: var(--auth-page--text-color);
    transition: color .4s;
    width: 100%;
    position: relative;
    border-bottom: 1px solid #e9e9e9;
}

.access-points_container > div > div:last-child {
    border-bottom: none;
}


.access-points_container > div > div > a{
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    opacity: .6;
    right: 16px;
    top: 14px;
    font-size: 0em;
    transition: opacity .4s;
    cursor: pointer;
    background: url("assets/_cancel-svg.svg") center center no-repeat;
}

.access-points_container > div > div > a:hover{
    opacity: 1;
}

.__title-list {
    margin-top: 2em;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    position: absolute;
    right: 0;
    width: 208px;
    padding: 5px 0 4px 28px;
    border-radius: 4px;
    border: 1px solid #b9b9b9;
    outline: none;
    background: #fff url("assets/search-icn--hover.svg") 9px center no-repeat;
    background: #fff url("assets/search-icn.svg") 9px center no-repeat;
    transition: background .4s, color .4s, border .4s;
}

.search-input:focus {
    color: var(--auth-page--input-border-color__active);
    border: 1px solid var(--auth-page--input-border-color__active);
    background: #fff url("assets/search-icn--hover.svg") 9px center no-repeat;
}

/***************/

.select_login_up {
    max-height: 168px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: inset 2px 2px 4px rgb(0 0 0 / 5%);
    border-radius: 6px;
    margin-top: 16px;
    border: 1px solid #b9b9b94f;
}

.select_login_up .select_login {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 6px;
    position: relative;
    border-bottom: 1px solid #e9e9e9;
}

.select_login_up .select_login:last-child {
    border-bottom: none;
}

.select_login input[type="radio"] {
    position: absolute;
    /* opacity: 0; */
    pointer-events: none;
    top: 12px;
    left: 8px;
}

.select_login .label_radio {
    padding: 12px 1em 13px 2.4em;;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: var(--auth-page--text-color);
    transition: color .4s, background .4s;
    width: 100%;
    height: 100%;
    background: #ffffff;
}

.select_login .label_radio:hover {
    color:var(--auth-page--button-blue-color);
}

.select_login input[type="radio"]:checked + .label_radio {
    color:var(--auth-page--button-blue-color);
    background: #6689da1f;
}

/***************/
.select_zone_up {
    max-height: 168px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: inset 2px 2px 4px rgb(0 0 0 / 5%);
    border-radius: 6px;
    margin-top: 16px;
    border: 1px solid #b9b9b94f;
}

.select_zone_up .select_zone {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 6px;
    position: relative;
    border-bottom: 1px solid #e9e9e9;
}

.select_zone_up .select_zone:last-child {
    border-bottom: none;
}

.select_zone_up .select_zone input[type="radio"] {
    position: absolute;
    /* opacity: 0; */
    pointer-events: none;
    top: 12px;
    left: 8px;
}

.select_zone_up .select_zone .label_radio {
    padding: 12px 1em 13px 2.4em;;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: var(--auth-page--text-color);
    transition: color .4s, background .4s;
    width: 100%;
    height: 100%;
    background: #ffffff;
}

.select_zone_up .select_zone .label_radio:hover {
    color:var(--auth-page--button-blue-color);
}

.select_zone_up .select_zone input[type="radio"]:checked + .label_radio {
    color:var(--auth-page--button-blue-color);
    background: #6689da1f;
}


/***************/

@media (max-width:1120px) {
    ._container {
        max-width: 570px;
        margin: 2em auto;
        flex-direction: column;
        justify-content: flex-start;
    }

    .logo-container {
        width: 278px;
        min-width: 0px;
    }
    
    .logo-container > img:first-child{
        display: none;
    }

    .logo-container > img:last-child {
        display: block;
    }

    ._left-panel__info {
        margin-top: 18px;
        line-height: 1.2em;
    }

    .account-by-step__info-coll {
        flex: 0;
        margin-bottom: 2em;
        padding-bottom: 2em;
        border-bottom: 1px solid #d3d3d3;
        padding-right: 0px;
    }
    .account-by-step__info-coll:after {
        display: none;
    }
    .account-by-step__panel__buttons {
        margin-top: 21px;
    }
    .account-by-step__panel {
        justify-content: flex-start;
    }

    ._main-title__title {
        font-size: 2em;
    }
    .account-by-step__panel {
        min-width: auto;
    }
}

@media (max-width:660px) {
    ._wrapper {
        padding: 0px 0px;
        align-items: flex-start;
        height: 100%;
        min-height: 100dvh;
        box-sizing: border-box;
        background: #fff;
    }
    ._container {
        font-size: .9em;
        width: 100%;
        max-width: 100%;
        min-height: 100dvh;
        height: 100%;
        margin: 0px 0px;
        border-radius: 0;
        box-sizing: border-box;
        box-shadow:none;
    }

    .logo-container {
        max-width: 336px;
    }


    .account-by-step__info-coll {
        
    }

 
    .account-by-step__panel__buttons {
        flex-direction: column;
    }

    .account-by-step__panel__buttons ._mergin-left--auto{
        margin-left: 0px;
    }

    .account-by-step__panel__buttons ._btn{
        margin-bottom: 1em;
    }

    .account-by-step__panel__buttons ._btn:first-child{
        order: 3;
    }

    .account-by-step__panel__buttons ._btn:last-child{
        order: 1;
    }
}