﻿.message__container {
    position: relative;
}
.message__container .message__counter {
    position: absolute;
    right: 10px;
    bottom: 5px;
    font-size: 13px;
    color: #d2d3d5;
}
.partners-registration {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background-color: #fff;
    font-family: var(--font-family-ama-form);
}
.registration__title {
    max-width: 818px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 500;
    text-align: center;
}
.registration__types {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 40px;
}
.type__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 48.6%;
    min-height: 464px;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e9e9ea;
}
.type__head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 700;
}
.type__icon {
    width: 100%;
    max-width: 88px;
    -webkit-margin-end: 20px;
    margin-inline-end: 20px;
}
.type__icon svg {
    max-width: 100%;
}
.type__info {
    width: 100%;
}
.type__name {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
}
.type__description {
    margin-top: 20px;
    margin-bottom: 35px;
    line-height: 1.4;
}
.type__buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: auto;
}
.type__box .type__button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 49%;
    height: 56px;
    margin-top: auto;
    font-family: var(--font-family-ama-form);
    font-size: 16px;
    color: var(--btn-text-color);
    background-color: var(--btn-color);
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 5px;
    -webkit-transition: all var(--transition);
    -o-transition: all var(--transition);
    transition: all var(--transition);
    cursor: pointer;
}
.type__box .type__button.type__button--light {
    border: 1px solid #e9e9ea;
    background-color: #fff;
    color: #1f252d;
    display: none;
}
.type__agreement {
    margin-top: 15px;
    font-size: 13px;
    color: #a5a8ab;
}
.type__agreement a {
    text-decoration: underline;
}
.type__tip {
    margin-top: 16px;
    text-align: center;
    padding: 0 15px;
}
.partners-registration .type__tip-list {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0;
}
.partners-registration .type__tip-list li {
    padding: 0;
    margin: 4px 0 0;
    direction: ltr;
}
.partners-registration .type__tip-list li::before {
    display: none !important;
}
.site__col-highlights {
    display: none;
    width: 100%;
    max-width: 465px;
    padding: 48px 40px;
    color: #fff;
    background-color: #232b33;
}
.site__col-highlights .highlights__title {
    margin-bottom: 20px;
}
.site__col-highlights .highlights__cta {
    margin-top: 40px;
    font-weight: bold;
}
.site__col-highlights .highlights__list {
    padding: 0 !important;
    margin-top: 50px;
    list-style-type: none;
}
.site__col-highlights li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 35px !important;
    padding-bottom: 35px;
    border-bottom: 1px solid #50485b;
}
.site__col-highlights li:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0;
    border: none;
}
.site__col-highlights li::before {
    display: none !important;
}
.site__col-highlights .highlight__icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    max-width: 42px;
    -webkit-margin-end: 30px;
    margin-inline-end: 30px;
}
.site__col-highlights .highlight__icon svg {
    width: 100%;
    height: 50px;
}
.site__col-highlights .highlight__txt {
    width: 100%;
}
.site__col-highlights .highlight__txt strong {
    display: block;
    margin-bottom: 10px;
}
.partners-registration a {
    color: #4184f6;
}
.partners-registration.partners-registration--site a {
    color: #4caf50;
}
.partners-registration--site .type__box .type__button.type__button--light {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.partners-registration--site .registration__title {
    margin-bottom: 40px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}
.partners-registration--site .registration__step-1 .registration__title {
    padding: 0 24px;
}
.partners-registration--site .type__box {
    background-color: #fff;
    border: 1px solid #e9e9ea;
}
.partners-registration--site .type__icon {
    max-width: 72px;
}
.partners-registration--site .type__icon-background {
    fill: #f3f5f6;
}
.partners-registration--site .input__container-switch .switch-input:checked + .switch-label {
    background-color: var(--btn-color);
}
.registration__step.registration__step-1 {
    padding: 64px 0;
}
.registration__step-2,
.registration__step-3 {
    display: none;
}
.registration__step.registration__step-2 .registration__title,
.registration__step.registration__step-3 .registration__title {
    text-align: center;
}
.partners-registration--site .registration__step.registration__step-2 .registration__title,
.partners-registration--site .registration__step.registration__step-3 .registration__title {
    text-align: inherit;
}
.stepback {
    position: absolute;
    inset-inline-start: 0;
    top: -70px;
    width: 38px;
    height: 20px;
    background: url(../image/arrow-left1.svg) no-repeat center center / contain;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}
.stepback:focus {
    outline: none;
}
.partners-registration--site .registration__step-2,
.partners-registration--site .registration__step-3 {
    background-color: #fff;
}
.partners-registration--site .site__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.partners-registration--site .stepback {
    inset-inline-start: 32px;
    top: 45px;
    width: 32px;
    height: 32px;
    background: url(../image/arrow-left-site.svg) no-repeat center center;
}
.partners-registration--site .site__col-form {
    width: 100%;
    padding: 45px 90px;
}
.partners-registration--site .site__col-highlights {
    display: block;
}
.input__container-birthday .input__tooltip {
    display: none;
}
.input__tooltip {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-image: url(../image/tooltip_icon1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
}
.ui-tooltip {
    z-index: 9;
}
.ui-tooltip-content {
    width: 286px;
    padding: 12px;
    background-color: rgba(62, 66, 69, 0.95);
    border-radius: 8px;
    font-weight: 400;
    font-size: 12px;
    line-height: 129%;
    color: #fff;
}
body.land_theme .ui-tooltip {
    z-index: 9999;
}
.partners-registration--rtl {
    direction: rtl;
    text-align: right;
}
.partners-registration--rtl .registration__title {
    text-align: right;
}
.partners-registration--rtl .stepback {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.partners-registration--rtl.partners-registration--site .stepback {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.partners-registration--rtl .input__tooltip {
    left: auto;
    right: 0;
}
.partners-registration--rtl .input__tooltip {
    display: block;
}
.partners-registration--rtl .type__box .type__button {
    font-family: var(--font-family-ama-form-rtl);
}
/* select2 */
.select2-hidden-accessible {
    width: 100% !important;
    height: 50px !important;
}
.select2-container--default .select2-selection--multiple {
    padding: 0;
    border-radius: 4px;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.select2-container--default .select2-selection--multiple:before {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline-end: 10px;
    z-index: 1;
    display: block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 7px solid #a6adb0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.select2-container--default.select2-container--open .select2-selection--multiple:before {
    -webkit-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
}
.select2-container--default .select2-search--inline .select2-search__field {
    display: none !important;
}
.select2-container--default .select2-selection--multiple {
    height: auto;
    padding: 0;
    background-color: #f2f3f3;
    border: 0;
    border-radius: 4px;
    cursor: default;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 0;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block;
    height: auto;
    min-height: 50px;
    margin: 0;
    padding: 4px 2rem 4px 1.05rem;
    background-color: #f2f3f3;
    border: 1px solid var(--default-bar-color);
    border-radius: 4px;
    line-height: 1;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    position: relative;
    max-width: 100%;
    min-height: 20px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    margin: 10px;
    -webkit-margin-start: 0;
    margin-inline-start: 0;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
    color: var(--label-color);
    font-size: 14px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice::before,
.select2-container--default .select2-selection--multiple .select2-selection__choice::after {
    display: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding: 0 !important;
}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: static;
    display: block;
    width: 20px;
    height: 20px;
    max-height: none;
    padding: 0;
    -webkit-margin-end: 4px;
    margin-inline-end: 4px;
    background-color: transparent;
    background-image: url(../image/success_alert_close_icon.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    opacity: .6;
    border: 0;
    border-radius: 4px;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}
.select2-dropdown {
    position: absolute;
    width: 100%;
    display: block;
    margin: 0;
    padding: 8px;
    background-color: #eff0f0;
    border: 1px solid var(--default-bar-color);
    border-radius: 4px;
    overflow: hidden;
}
.select2-dropdown.select2-dropdown--above {
    top: -8px;
}
.select2-dropdown.select2-dropdown--below {
    top: 8px;
}
.select2-results__option {
    padding: 12px;
    border-radius: 4px;
    color: var(--label-color);
    font-size: var(--input-font-size);
}
.select2-results__option:not(:last-child) {
    margin-bottom: 4px;
}
.select2-container--default .select2-results__option--selected {
    background-color: #e7ebef;
    color: #698096;
}
.select2-container--default .select2-results__option--highlighted {
    background-color: #e3e8ed;
    color: #030d17;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #e3e8ed;
    color: #698096;
}

/* new land visual */
.land_theme .type__box .type__button {
    width: auto;
    min-width: 49%;
    min-height: 0;
    height: auto;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #df5916;
    background-color: #f06e2d;
    box-shadow: 0px 4px 4px 0px rgba(240, 110, 45, 0.20);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
}
.land_theme .ama-form .input__container > .label-platform,
.land_theme .ama-form .input__container-label_wrap,
body:not(.land_theme) .ama-form .label-platform + .input__container-label,
body:not(.land_theme) .ama-form .input__container-label_wrap + .input__container-label,
body:not(.land_theme) .ama-form .input__container .input__container-tooltip,
body:not(.land_theme) .ama-form .input__container-tooltip,
.select2-container--default .select2-results .select2-results__option::before {
    display: none;
}
.select2-container--default .select2-results > .select2-results__options {
    padding: 0;
    list-style-type: none;
}
body:not(.land_theme) .input__container-switch .switch-label,
body:not(.land_theme) .input__container-switch .switch-input:checked + .switch-label {
    background-image: none;
}
.land_theme .partners-registration--dark {
    background-color: transparent;
}

/* style for site */
.ama-form--site .select2-hidden-accessible {
    height: 42px !important;
}
.ama-form--site .select2-container .select2-selection--multiple .select2-selection__rendered {
    min-height: 42px;
    padding: 4px;
    -webkit-padding-end: 25px;
    padding-inline-end: 25px;
}
.ama-form--site .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 6px 8px;
}
/* Dark mode styles */
.partners-registration--dark {
    background-color: #15191e;
}
.partners-registration--dark .registration__title,
.partners-registration--dark .type__tip {
    color: #fff;
}
.partners-registration--dark .type__box {
    color: #fff;
    background-color: #353b42;
}
.partners-registration--dark .input__container-switch .switch-label {
    background-color: #353b42;
}
.partners-registration--dark .input__container-switch .switch-input:checked + .switch-label {
    background-color: #1F2535;
}
.partners-registration--dark input:-webkit-autofill,
.partners-registration--dark input:-webkit-autofill:hover,
.partners-registration--dark input:-webkit-autofill:focus,
.partners-registration--dark input:-webkit-autofill:active {
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: #fff;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px #353b42 !important;
}
.partners-registration--dark .select2-container--default .select2-selection--multiple {
    background-color: #353b42;
}
.partners-registration--dark .select2-container .select2-selection--multiple .select2-selection__rendered {
    background-color: #353b42;
    border-color: #353b42;
}
.partners-registration--dark .select2-container--default .select2-selection--multiple:before {
    border-top-color: #a6adb0;
}
.ama-form--dark .select2-dropdown {
    background-color: #353b42;
    border-color: #353b42 !important;
}
.ama-form--dark .select2-results__option {
    color: #fff;
}
.ama-form--dark .select2-container--default .select2-results__option--selected {
    color: #698096;
}
.ama-form--dark .select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #fff;
}
.ama-form--dark .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: #f1f1f1;
}
.ama-form--dark .select2-container--default .select2-results__option--disabled {
    color: #999;
}
/* rtl */
.partners-registration.partners-registration--rtl {
    font-family: var(--font-family-ama-form-rtl);
}

@media (hover: hover) and (pointer: fine) {
    .type__agreement a:hover {
        text-decoration: none;
    }
    .type__button:hover {
        color: var(--btn-text-color);
        background-color: var(--hover-btn-color);
    }
    .type__button.type__button--light:hover {
        border-color: #1f252d;
        color: #1f252d;
        background: none;
    }
    .input__tooltip:hover {
        background-image: url(../image/tooltip_icon_hover.svg);
    }
    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
        background-color: #d4dbe2;
    }
}

@media (max-width: 1200px) {
    .partners-registration--site .site__col-form {
        padding: 45px;
    }
    .partners-registration--site .stepback {
        inset-inline-start: 45px;
        top: 10px;
    }
}
@media (max-width: 992px) {
    .partners-registration--site .stepback {
        inset-inline-start: 30px;
    }
    .registration__types {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .type__box {
        min-height: 0;
        width: 100%;
        margin-bottom: 25px;
        padding: 24px;
    }
    .type__icon {
        -webkit-margin-end: 15px;
        margin-inline-end: 15px;
    }
    .type__commision {
        font-size: 14px;
    }
    .type__button {
        height: 45px;
    }
    .partners-registration--site .site__col-form {
        padding: 45px 30px;
    }
    .type__icon {
        max-width: 65px;
    }
    .type__name {
        font-size: 24px;
    }
    .partners-registration--site .registration__title,
    .site__col-highlights .highlights__title {
        font-size: 28px;
    }
    .site__col-highlights {
        max-width: 300px;
        padding: 45px 20px;
    }
    .site__col-highlights .highlight__icon {
        max-width: 35px;
        -webkit-margin-end: 20px;
        margin-inline-end: 20px;
    }
}
@media (max-width: 768px) {
    .partners-registration--site .registration__title {
        font-size: 28px;
    }
    .partners-registration--site .site__row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .site__col-highlights {
        max-width: 100%;
    }
    .type__box .type__button {
        width: 100%;
    }
    .type__box .type__button:not(:first-child) {
        margin-top: 15px;
    }
    .registration__title {
        font-size: 34px;
    }
}
@media (max-width: 576px) {
    .registration__types {
        padding: 0;
    }
    .registration__step.registration__step-1 {
        padding: 48px 0;
    }
    .partners-registration--site .type__box {
        padding: 16px;
    }
    .registration__title {
        font-size: 28px;
    }
    .partners-registration--site .registration__title {
        margin-bottom: 24px;
    }
    .type__name {
        font-size: 20px;
    }
    .stepback {
        top: -35px;
        inset-inline-start: 10px;
    }
    .ui-tooltip-content {
        width: 250px;
        padding: 8px;
        font-size: 12px;
    }
}
