:root {
    --color-primary: #008292;
    --color-accent: #007381;
    --color-hover: #006875;
    --w: 10px;
}

html, body {
    padding: 0;
    margin: 0;
}

body {
    font-family: "IBM Plex Sans", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    color: #101010;

    @media screen and (max-width: 700px) {
        font-size: 16px;
    }
}

form {
    margin: 0;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

a[href^="tel"] {
    white-space: nowrap;
}

ul, ol {
    margin: 0;
}

button:not(.dt-paging-button):not(.dt-button) {
    border: none;
    background: var(--color-primary);
    outline: none;
    color: #fff;
    height: 60px;
    font-size: 16px;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, border-color 0.3s, opacity 0.3s;

    &:hover {
        background: var(--color-hover);
    }

    @media screen and (max-width: 700px) {
        height: 40px;
        border-radius: 4px;
        font-size: 14px;
    }
}

button.disabled {
    pointer-events: none;
    opacity: 0.3;
}

.container {
    max-width: 1440px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: auto;
    margin-right: auto;

    @media screen and (max-width: 700px) {
        padding-left: 8px;
        padding-right: 8px;
    }
}

.main .container {
    max-width: 1360px;
    padding-left: 10px;
    padding-right: 10px;

    @media screen and (max-width: 700px) {
        padding-left: 8px;
        padding-right: 8px;
    }
}

.header {
    padding-top: 10px;
    padding-bottom: 10px;

    @media screen and (max-width: 700px) {
        padding-top: 8px;
    }
}

.header__content {
    border-radius: 20px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;

    @media screen and (max-width: 700px) {
        padding: 8px;
        border-radius: 8px;
    }
}

.header__logo {
    width: 204px;
    display: flex;
    align-items: center;

    @media screen and (max-width: 850px) {
        width: auto;
    }
}

.header__logo img {
    @media screen and (max-width: 700px) {
        width: 41px;
    }
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 16px;
    line-height: 130%;
    color: #fff;

    @media screen and (max-width: 700px) {
        display: none;
    }
}

.header .account-button {
    @media screen and (max-width: 700px) {
        display: none;
    }
}

.header__menu {
    display: none;
    position: relative;

    @media screen and (max-width: 700px) {
        display: block;
    }
}

.menu__content {
    position: absolute;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: var(--color-primary);
    top: 50px;
    right: -8px;
    width: calc(100vw - 16px);
    color: #fff;
    font-size: 14px;
    line-height: 130%;
    z-index: 99;
    box-shadow: 0 17px 17px rgba(0, 0, 0, 0.17),
    0 38px 23px rgba(0, 0, 0, 0.1),
    0 68px 27px rgba(0, 0, 0, 0.03),
    0 106px 30px rgba(0, 0, 0, 0);
    border-radius: 0 0 8px 8px;
}

.menu__content > div {
    padding: 24px 8px 32px;
}

.menu__content--active {
    max-height: 1000px;
    transition: max-height 1s ease-in-out;
}

.menu__content .account-button {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.menu__content .account-button span {
    order: 2;
}

.menu__content-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu__content .account-button button {
    width: 32px;
    height: 32px;
}

.menu__content .account-button button img {
    width: 16px;
}

.menu-button {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
}

.account-button {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.account-button span {
    font-size: 16px;
    line-height: 130%;
    color: #fff;
}

.account-button button {
    background: var(--color-accent);
    border-radius: 10px;
    width: 60px;
    height: 60px;
}

.main {
    margin-top: 50px;
    opacity: 0;
    transition: opacity 0.3s;
    flex: 1;

    @media screen and (max-width: 700px) {
        margin-top: 8px;
    }
}

.main--visible {
    opacity: 1;
}

.stepper {
    display: flex;
    align-items: center;
    gap: 30px;

    @media screen and (max-width: 700px) {
        padding-left: 8px;
    }
}

.stepper__arrow {
    padding-bottom: 85px;

    @media screen and (max-width: 700px) {
        display: none;
    }
}

.stepper__arrow--hidden {
    opacity: 0;
    pointer-events: none;
}

.stepper__arrow--active {
    cursor: pointer;
}

.stepper__arrow--active svg path {
    fill: var(--color-primary);
}

.stepper__arrow.stepper__arrow--prev svg {
    transform: rotate(180deg);
}

.stepper__steps {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    max-width: calc(100vw - 16px - 60px - 48px);
    overflow-x: auto;
    padding-bottom: 20px;
    padding-top: 10px;

    @media screen and (max-width: 700px) {
        max-width: calc(100vw - 16px);
        padding-bottom: 10px;
    }
}

.step {
    position: relative;
}

.step::before {
    content: '';
    display: block;
    width: var(--w);
    position: absolute;
    left: 60px;
    top: 30px;
    height: 1px;
    background: #adadad;
}

@media screen and (max-width: 700px) {
    .step::before {
        left: 32px;
        top: 16px;
    }
}

.step::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #adadad;
    border-right: 1.5px solid #adadad;
    position: absolute;
    left: -8px;
    top: 27px;
    transform: rotate(45deg);
    border-radius: 1px;

    @media screen and (max-width: 700px) {
        top: 13px;
    }
}

.step:last-child::before {
    display: none;
}

.step:first-child::after {
    display: none;
}

.step.step--active::before {
    background: linear-gradient(to right, var(--color-primary), #adadad);
}

.step.step--done::before {
    background: var(--color-primary);
}

.step.step--active::after,
.step.step--done::after {
    border-color: var(--color-primary);
}

.step__number {
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 32px;
    line-height: 120%;
    border-radius: 10px;
    background: #f0f0f0;
    color: #adadad;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    position: relative;

    @media screen and (max-width: 700px) {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin-bottom: 16px;
    }
}

.step__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #b2b2b2;
    width: 180px;

    @media screen and (max-width: 700px) {
        font-size: 14px;
        width: 150px;
    }
}

.step__check {
    display: none;
    position: absolute;
    top: -7px;
    right: -8px;
}

.step:last-child .step__text {
    width: 210px;

    @media screen and (max-width: 700px) {
        width: 200px;
    }
}

.step.step--done .step__number {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #f7f7f7;
    cursor: pointer;
}

.step.step--active .step__number {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.step.step--done .step__check {
    display: block;
}

.step.step--done .step__text,
.step.step--active .step__text {
    color: #101010;
}

.section {
    margin-top: 80px;

    @media screen and (max-width: 1000px) {
        margin-top: 50px;
    }

    @media screen and (max-width: 700px) {
        margin-top: 32px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

.section__content {
    display: flex;
    gap: 30px;

    @media screen and (max-width: 1000px) {
        flex-direction: column;
        gap: 24px;
    }
}

.section__left {
    flex: 1;
}

.section__right {
    flex-basis: 655px;
    flex-shrink: 0;

    @media screen and (max-width: 700px) {
        flex-basis: auto !important;
    }
}

h1 {
    font-weight: 400;
    font-size: 64px;
    line-height: 120%;
    margin: 0;

    @media screen and (max-width: 700px) {
        font-size: 32px;
    }
}

.section__text {
    margin-bottom: 30px;
}

.section__text a {
    color: var(--color-primary);
}

.section__text a:hover {
    text-decoration: underline;
}

.info {
    background: #f0f0f0;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    line-height: 120%;
    color: var(--color-primary);
    display: inline-block;

    @media screen and (max-width: 700px) {
        font-size: 14px;
        display: inline-flex;
        align-items: center;
    }
}

.info img {
    display: inline-block;
    margin-left: 10px;
}

.info a:hover {
    color: var(--color-accent);
}

.rules-form__block {
    margin-top: 50px;

    @media screen and (max-width: 700px) {
        margin-top: 32px;
    }
}

.rules-form__block-number {
    margin-bottom: 30px;

    @media screen and (max-width: 700px) {
        margin-bottom: 16px;
    }
}

.rules-form__block-question {
    margin-bottom: 35px;

    @media screen and (max-width: 700px) {
        margin-bottom: 24px;
    }
}

.rules-form__block-options {
    display: flex;
    flex-direction: column;
    gap: 15px;

    @media screen and (max-width: 700px) {
        gap: 10px;
    }
}

.radio input {
    display: none;
}

.radio label {
    display: inline-block;
    position: relative;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    cursor: pointer;
    padding-left: 30px;
    user-select: none;
}

.radio label::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: 1px solid #101010;
    position: absolute;
    left: 0;
    top: 2px;
    box-sizing: border-box;
}

.radio input:checked + label::after {
    content: '';
    display: block;
    border-radius: 100%;
    background: var(--color-primary);
    width: 14px;
    height: 14px;
    left: 3px;
    top: 5px;
    position: absolute;
}

.rules-form button {
    margin-top: 50px;

    @media screen and (max-width: 700px) {
        margin-top: 32px;
    }
}

.navigation {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    @media screen and (max-width: 700px) {
        margin-top: 32px;
    }
}

.navigation__item {
    display: flex;
    align-items: center;
    gap: 30px;
    cursor: pointer;
    user-select: none;

    @media screen and (max-width: 700px) {
        gap: 15px;
        flex-direction: column;
        align-items: flex-end;
    }
}

.navigation__item--prev {
    margin-right: auto;

    @media screen and (max-width: 700px) {
        align-items: flex-start;
    }
}

.navigation__item--prev .navigation__item-number {
    background: #f0f0f0;
    color: rgba(16, 16, 16, 0.3);
}

.navigation__item--next {
    margin-left: auto;
}

.navigation__item-text {
    font-size: 16px;
    line-height: 130%;

    @media screen and (max-width: 700px) {
        max-width: 154px;
        text-align: right;
        font-size: 14px;
    }
}

.navigation__item--prev .navigation__item-text {
    @media screen and (max-width: 700px) {
        text-align: left;
    }
}

.navigation__item-number {
    font-size: 32px;
    line-height: 120%;
    color: #fff;
    border-radius: 10px;
    background: var(--color-primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;

    @media screen and (max-width: 700px) {
        width: 32px;
        height: 32px;
        font-size: 16px;
        order: -1;
    }
}

.footer {
    margin-top: 50px;
    padding-bottom: 10px;

    @media screen and (max-width: 700px) {
        margin-top: 32px;
        padding-bottom: 8px;
    }
}

.footer__content {
    border-radius: 20px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    color: #fff;
    gap: 20px;

    @media screen and (max-width: 1300px) {
        flex-direction: column;
        align-items: flex-start;
    }

    @media screen and (max-width: 700px) {
        gap: 32px;
        border-radius: 8px;
        padding: 16px 8px;
    }
}

.footer__logo {
    @media screen and (max-width: 700px) {
        width: 57px;
    }
}

.footer__content .account-button span {
    @media screen and (max-width: 1300px) {
        order: 2;
    }

    @media screen and (max-width: 700px) {
        font-size: 14px;
    }
}

@media screen and (max-width: 700px) {

    .footer__content .account-button {
        gap: 8px;
    }

    .footer__content .account-button button {
        width: 32px;
        height: 32px;
    }

    .footer__content .account-button button img {
        width: 16px;
    }
}

.footer__cell {
    gap: 20px;
    display: flex;
    align-items: center;
}

.footer__cell--first {
    @media screen and (max-width: 700px) {
        gap: 32px;
    }
}

.footer__copyright {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    max-width: 204px;

    @media screen and (max-width: 700px) {
        font-size: 14px;
    }
}

.footer__cell--middle {
    font-size: 16px;
    line-height: 130%;

    @media screen and (max-width: 700px) {
        flex-direction: column;
        align-items: flex-start;
        font-size: 14px;
    }
}

.cards-list {
    --cards-per-row: 4;
    --cards-padding: 30px;

    display: flex;
    gap: var(--cards-padding);
    flex-wrap: wrap;

    @media screen and (max-width: 1100px) {
        --cards-padding: 8px;
    }

    @media screen and (max-width: 1000px) {
        --cards-per-row: 3;
    }

    @media screen and (max-width: 700px) {
        --cards-per-row: 2;
    }
}

.cards-list .card {
    flex-basis: calc((100% - var(--cards-padding) * (var(--cards-per-row) - 1)) / var(--cards-per-row));
    width: calc((100% - var(--cards-padding) * (var(--cards-per-row) - 1)) / var(--cards-per-row));
    background: rgba(234, 234, 234, 0.3);
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    user-select: none;

    @media screen and (max-width: 700px) {
        padding: 4px;
        border-radius: 8px;
    }
}

.cards-list .card.card--active {
    background: var(--color-primary);
}

.cards-list .card .card__image {
    box-shadow: 0 4px 9px 0 rgba(0, 0, 0, 0.39), 0 16px 16px 0 rgba(0, 0, 0, 0.34), 0 36px 22px 0 rgba(0, 0, 0, 0.2), 0 65px 26px 0 rgba(0, 0, 0, 0.06), 0 101px 28px 0 rgba(0, 0, 0, 0.01);
    border-radius: 12px;
    overflow: hidden;

    @media screen and (max-width: 700px) {
        border-radius: 12px;
    }
}

.cards-list .card .card__image img {
    width: 100%;
    display: block;
}

.cards-list .card .card__select {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: rgba(16, 16, 16, 0.5);
    text-align: center;
    padding-top: 20px;
    padding-bottom: 10px;

    @media screen and (max-width: 700px) {
        font-size: 14px;
        padding-bottom: 12px;
    }
}

.cards-list .card.card--active .card__select {
    color: #fff;
}

.section__top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;

    @media screen and (max-width: 700px) {
        margin-bottom: 32px;
    }
}

.w-100 {
    width: 100%;
}

.cards-list-pagination-button {
    background: #fff;
    border: 1px solid var(--color-primary);
    line-height: 130%;
    color: var(--color-primary);
    margin-top: 30px;
}

.input {
    position: relative;
}

.input__show-password {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: block;
}

.input__show-password img {
    display: block;
}

.input input {
    padding: 18.5px 30px;
    border: 1px solid #adadad;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    outline: none;
    font-size: 16px;
}

.input label {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #b2b2b2;
    position: absolute;
    top: 50%;
    margin-top: -15px;
    left: 20px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 4px 10px;
    background: transparent;
}

.input input:focus {
    border-color: var(--color-primary);
}

.input input:focus + label,
.input input:not(:placeholder-shown) + label {
    top: 3px;
    font-size: 12px;
    background: #fff;
    border-radius: 4px;
}

.input.input--error input {
    border-color: #f31021;
}

.input.input--success input {
    border-color: green;
}

.pi-form {
    @media screen and (max-width: 700px) {
        padding-top: 24px;
    }
}

.pi-form .input {
    margin-bottom: 20px;
}

.checkbox input {
    display: none;
}

.checkbox label {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #b2b2b2;
    padding-left: 30px;
    position: relative;
    cursor: pointer;
    user-select: none;
    display: block;
}

.checkbox label::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 1px;
    left: 0;
    background-color: var(--color-primary);
    border-radius: 4px;
}

.checkbox--error label::after {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    border: 1px solid #f31021;
    position: absolute;
    top: -1px;
    left: -2px;
}

.checkbox input:checked + label::before {
    background-image: url('/local/templates/main/images/check-white.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
}

.section__left .card {
    margin-top: 52px;
    box-shadow: 0 4px 9px 0 rgba(0, 0, 0, 0.39), 0 16px 16px 0 rgba(0, 0, 0, 0.34), 0 36px 22px 0 rgba(0, 0, 0, 0.2), 0 65px 26px 0 rgba(0, 0, 0, 0.06), 0 101px 28px 0 rgba(0, 0, 0, 0.01);
    border-radius: 30px;
    overflow: hidden;
    display: inline-block;

    @media screen and (max-width: 700px) {
        margin-top: 32px;
    }
}

.section__left .card img {
    width: 655px;
    max-width: 100%;
    display: block;
}

.reg-form {
    padding: 30px;
    margin-top: 50px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #f3f3f3;

    @media screen and (max-width: 700px) {
        padding: 16px;
        border-radius: 8px;
        margin-top: 32px;
    }
}

.reg-form__text {
    font-size: 20px;
    line-height: 140%;
    margin-bottom: 30px;

    @media screen and (max-width: 700px) {
        font-size: 16px;
        margin-bottom: 16px;
    }
}

button.outlined {
    background: #fff;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);

    &:hover {
        background: var(--color-hover);
        color: #fff;
        border-color: var(--color-hover);
    }
}

.reg-form button.outlined {
    margin-top: 10px;
}

#step03 .section__right,
#step04 .section__right,
#step05 .section__right {
    flex-basis: 430px;

    @media screen and (max-width: 700px) {
        flex-basis: auto;
    }
}

.point {
    margin-top: 50px;

    @media screen and (max-width: 700px) {
        margin-top: 32px;
    }
}

.point__label {
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;

    @media screen and (max-width: 700px) {
        font-size: 16px;
    }
}

.point__top .input {
    margin-top: 20px;

    @media screen and (max-width: 700px) {
        margin-top: 16px;
    }
}

.point__middle {
    margin-top: 30px;

    @media screen and (max-width: 700px) {
        margin-top: 32px;
    }
}

.point__items {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 5px;
}

.point__item {
    padding: 10px;
    border: 1px solid #adadad;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    gap: 5px;
    align-items: center;
    transition: all 0.3s;
}

.point__item:hover {
    background: rgba(178, 178, 178, 0.2);
}

.point__item--active {
    background: rgba(178, 178, 178, 0.2);
}

.point__item-number {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    font-size: 10px;
    line-height: 1;
    color: #fff;
    background: #f31021;
}

.point__item-name {
    font-size: 14px;
    line-height: 130%;
}

.point__info {
    margin-top: 30px;
    background: #f9f9f9;
    border: 1px solid #f3f3f3;
    border-radius: 10px;
    padding: 30px;

    @media screen and (max-width: 700px) {
        margin-top: 32px;
        padding: 16px;
    }
}

.point__info-text {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 140%;

    @media screen and (max-width: 700px) {
        margin-bottom: 16px;
    }
}

.point__info-value {
    font-size: 20px;
    line-height: 140%;

    @media screen and (max-width: 700px) {
        font-size: 16px;
    }
}

.upload-photo button {
    margin-bottom: 10px;
}

.upload-photo__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 244px;
    border-radius: 10px;
    background: #f0f0f0;
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;

    @media screen and (max-width: 700px) {
        margin-left: auto;
        margin-right: auto;
        border-radius: 8px;
    }
}

.upload-photo__image--error::before {
    content: '';
    display: block;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    position: absolute;
    top: -4px;
    left: -4px;
    border-radius: 12px;
    border: 1px solid #f31021;
}

.upload-photo__image.uploaded {
    cursor: default;
}

.upload-photo__image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.upload-photo__image img.uploaded {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.upload-photo__title {
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    margin-bottom: 30px;
    margin-top: 50px;

    @media screen and (max-width: 700px) {
        margin-top: 32px;
        margin-bottom: 16px;
        font-size: 16px;
    }
}

.upload-photo__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;

    @media screen and (max-width: 700px) {
        font-size: 14px;
    }
}

.upload-photo__text ul {
    @media screen and (max-width: 700px) {
        padding-left: 20px;
    }
}

.order-form {
    @media screen and (max-width: 700px) {
        padding-top: 24px;
    }
}

.order-form__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 30px;
    align-items: baseline;

    @media screen and (max-width: 700px) {
        font-size: 14px;
    }
}

.order-form__row div:last-child {
    font-size: 24px;
    line-height: 120%;
}

.order-form__row.order-form__row--large {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 50px;

    @media screen and (max-width: 700px) {
        font-size: 16px;
        margin-top: 32px;
    }
}

.order-form__row.order-form__row--large div:last-child {
    font-size: 48px;

    @media screen and (max-width: 700px) {
        font-size: 32px;
    }
}

.order-form button {
    margin-bottom: 10px;
}

.order-form button.outlined {
    margin-bottom: 0;
}

.section__text p:first-child {
    margin-top: 0;
}

.thanks {
    margin-top: 100px;
    font-size: 48px;
    line-height: 140%;

    @media screen and (max-width: 700px) {
        font-size: 32px;
        margin-top: 32px;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.modal__overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.modal--show {
    display: flex;
}

.modal__card {
    border-radius: 10px;
    width: 426px;
    max-width: 94%;
    position: relative;
    z-index: 2;
    max-height: 94svh;
    overflow: auto;

    @media screen and (max-width: 700px) {
        border-radius: 4px;
    }
}

.auth-modal__tabs {
    display: flex;
}

.auth-modal__tab {
    flex-basis: 50%;
    padding: 20px;
    font-size: 16px;
    line-height: 130%;
    text-align: center;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: var(--color-primary);
    color: #fff;
    user-select: none;
    cursor: pointer;

    @media screen and (max-width: 700px) {
        padding: 14px;
        font-size: 14px;
        border-radius: 4px 4px 0 0;
    }
}

.auth-modal__tab--active {
    background: #fff;
    color: #101010;
}

.auth-modal__content {
    display: flex;
    padding: 30px;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    overflow: hidden;

    @media screen and (max-width: 700px) {
        padding: 20px;
        border-radius: 0 0 4px 4px;
    }
}

.auth-modal__content-row {
    display: flex;
    justify-content: space-between;
}

.auth-modal__content-row .error {
    font-weight: 400;
    font-size: 14px;
    color: #f31021;
    line-height: 1;
}

.forget-password {
    font-weight: 400;
    font-size: 16px;
    color: var(--color-primary);
    margin-left: auto;
}

.modal__title {
    font-size: 24px;
    line-height: 140%;
}

.model__text {
    font-size: 16px;
}

.modal button {
    @media screen and (max-width: 700px) {
        height: 60px;
        border-radius: 10px;
    }
}

.section--policy {
    margin-top: 50px;

    @media screen and (max-width: 700px) {
        margin-top: 30px;
    }
}

.section--policy .section__right {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    flex-basis: 883px;
}

h2 {
    font-size: 24px;
    line-height: 140%;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 30px;
}

.section--policy .section__right {
    padding-top: 16px;
}

.section--policy h2:not(:first-child) {
    margin-top: 80px;
}

.account {
    display: flex;
    flex-direction: column;
    gap: 20px;

    @media screen and (max-width: 700px) {
        gap: 16px;
    }
}

.account h2 {
    margin: 30px 0 0;

    @media screen and (max-width: 700px) {
        font-size: 20px;
        margin-top: 16px;
    }
}

.account h2:first-child {
    margin-top: 0;
}

.account__photo {
    width: 200px;
    display: block;
    border-radius: 10px;
}

.account__card-image {
    width: 427px;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 9px 0 rgba(0, 0, 0, 0.39), 0 16px 16px 0 rgba(0, 0, 0, 0.34), 0 36px 22px 0 rgba(0, 0, 0, 0.2), 0 65px 26px 0 rgba(0, 0, 0, 0.06), 0 101px 28px 0 rgba(0, 0, 0, 0.01);
    display: block;
}

.account-status {
    border-radius: 10px;
    background: rgba(0, 130, 146, 0.1);
    padding: 30px;
    margin-top: 10px;
}

.account-status__title {
    font-size: 24px;
    line-height: 140%;
    margin-bottom: 30px;

    @media screen and (max-width: 700px) {
        font-size: 20px;
    }
}

.account-status__status {
    font-size: 16px;
    line-height: 140%;
    gap: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.status-badge {
    width: 11px;
    height: 11px;
    border-radius: 100%;
}

.status-badge--green {
    background: var(--color-primary);
}

.status-badge--yellow {
    background: yellow;
}

.status-badge--red {
    background: red;
}

.account-status__text {
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 20px;
}

.account-status__point {
    margin-bottom: 20px;
    pointer-events: none;
}

.account-status__address {
    font-size: 20px;
    line-height: 140%;
}

.section--account .section__right {
    flex-basis: 430px;
}

.stepper__steps {
    scrollbar-color: var(--color-primary) #f7f7f7;
    scrollbar-width: thin;
}

.stepper__steps::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.stepper__steps::-webkit-scrollbar-track {
    border-radius: 6px;
    background: #f7f7f7;
}

.stepper__steps::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 6px;
}

.section--policy h1 {
    font-weight: 400;
    font-size: 48px;
    line-height: 120%;
    color: #101010;

    @media screen and (max-width: 700px) {
        font-size: 32px;
    }
}

.upload-photo__error {
    font-size: 14px;
    color: #f31021;
    position: relative;
    top: -15px;
}

.section--account {
    margin-top: 50px;

    @media screen and (max-width: 700px) {
        margin-top: 32px;
    }
}

.price {
    padding-top: 23px;
    font-weight: 400;
    font-size: 32px;
    line-height: 120%;
    text-align: right;
    color: #101010;
}

.section--restore-password {
    min-height: calc(100svh - 80px - 104px - 94px - 50px);
    margin-top: 50px;

    @media screen and (max-width: 700px) {
        margin-top: 30px;
    }
}

.map {
    margin-top: 55px;
    border: 1px solid #adadad;
    border-radius: 10px;
    padding: 20px;
    max-width: 655px;
    aspect-ratio: 1;
}

#map {
    height: 100%;
    width: 100%;
}

.moscow_metro_map {
    cursor: grab;
    transition: opacity 0.5s;
    font-size: 0.7em;
}

.moscow_metro_map.drag {
    cursor: grabbing;
}

.moscow_metro_map__station {
    position: relative;
    display: none;
    cursor: pointer;
}

.moscow_metro_map__substrate {
    fill: rgba(255, 255, 255, 0.6);
    display: none;
}

.moscow_metro_map__area {
    fill: rgba(255, 255, 255, 0);
    display: none;
}

.moscow_metro_map__station text {
    color: #333;
    user-select: none;
    font-size: 20px;
    font-weight: bold;
}

.selected .moscow_metro_map__substrate {
    fill: rgba(255, 205, 30, 0.5)
}

.moscow_metro_map__check {
    opacity: 0;
    transition: 0.2s;
}

.input__error {
    font-size: 14px;
    color: #f31021;
}

.input__success {
    font-size: 14px;
    color: green;
}

input[name="promocode"] {
    text-transform: uppercase;
}

button.loading {
    color: transparent;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-dasharray='23.56,23.56' transform='rotate(-90 25 25)'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='1s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

button.outlined.loading {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='10' fill='none' stroke='%23008292' stroke-width='3' stroke-linecap='round' stroke-dasharray='23.56,23.56' transform='rotate(-90 25 25)'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='1s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
}

.link {
    text-decoration: underline;
}

.link:hover {
    text-decoration: none;
}

#app {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.auth-modal {
    min-height: 642px;
}

.requests-table {
    font-size: 14px;
}

.map-portal .map {
    margin-top: 20px;
}

.restore-password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn--exit {
	display: block;
	background: var(--color-primary);
	width: 100%;
	margin-top: 1em;
	border-radius: 0.5em;
	padding: 1em 0;
    padding-left: 1.5em;
	line-height: 1.5em;
    color: white;
}

.btn--exit:hover {
	background: var(--color-hover);
}

@media (max-width: 762px) {
    .btn--exit {
        width: 92.5%;
    }
}

