/* Forms */
.b-modal.fancybox-content.auth-modal {
    max-width: 512px;
    box-sizing: border-box;
    padding:32px;
    background: #fff;
    border: 1px solid #E9EBEF;
    box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #5A616C;
}
.b-modal.fancybox-content.auth-modal.auth-modal-center {
    text-align: center;
}
.b-modal.fancybox-content.auth-modal.auth-modal-font-big {
    font-size: 18px;
    line-height: 24px;
}

.auth-modal-title {
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    color:#111827;
    margin-bottom: 32px;
}

.button-block {
    margin-top: 24px;
}
.button-block > * {
    margin-bottom:12px;
}
.button-block + .auth-modal-fields {
    margin-top: 32px;
}

.auth-modal-forgot {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
}
.auth-modal-forgot a {
    color: #C72B36;
    text-decoration:none;
}

.auth-modal-fields {

}
.auth-modal-field {
    margin-bottom: 24px;
}
.auth-modal-field label {
    display:block;
}
.auth-modal-field input {
    width:100%;
    border-radius:10px;
    padding:0 16px;
    font-weight: 400;
    font-size: 18px;
    line-height: 48px;
    border:2px solid #e9ebef;
    color: #111827;
    box-sizing: border-box;
    margin-top:6px;
}
.auth-modal-field input:focus{
    border-color: #f05c2d;;
}

.auth-modal-field.error input {
    border-color: #C72B36;
    border-width: 2px;
}

.auth-modal-field-checkbox {

}
.auth-modal-field-checkbox label {
    display:flex;
    gap: 16px;
}
.auth-modal-field-checkbox input[type="checkbox"] {
    visibility: hidden;
    position:absolute;
    left:0; top:0;
}
.auth-modal-field-checkbox input[type="checkbox"] + .checkbox-field {
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #D2D6DC;
    line-height:0;
    display:block;
    position:relative;
    cursor:pointer;
    transition: background-color .5s ease, border-color .5s ease;
}
.auth-modal-field-checkbox input[type="checkbox"] + .checkbox-field:after {
    position:absolute;
    left:0;
    bottom:0;
    top:0;
    right:0;
    background: url(images/icon-auth-check.svg) center center no-repeat;
    content: "";
    display: block;
}
.auth-modal-field-checkbox input[type="checkbox"]:checked + .checkbox-field {
    background:#C72B36;
    border-color:#C72B36;
}
.auth-modal-field-checkbox a {
    color:#C72B36;
}

.pass-view {
    position:relative;
}
.pass-view .eye {
    position:absolute;
    width:24px;
    height:24px;
    display:block;
    right:20px;
    top:20px;
    cursor: pointer;
    background: url(images/icon-auth-eye.svg) center center no-repeat;
}
.pass-view .eye.active {
    background: url(images/icon-auth-eye-cross.svg) center center no-repeat;
}

.button {
    display:block;
    width: 100%;
    text-align:center;
    text-decoration:none;
    font-weight: 400;
    font-size: 18px;
    line-height: 52px;
    padding:0 10px;
    border-radius: 10px;
    border: 0 none;
}
.button {
    transition: background-color .5s ease;
}

.button.button-red {
    background: #f05c2d;
    color: #fff;
}
.button.button-red:hover {
    background: #e14d1e;;
}

.button.button-pink {
    background: #FAEAEB;
    color: #C72B36;
}
.button.button-pink:hover {
    background: #F6DDDF;
}

.button.button-gray {
    background: #F0F2F5;
    color: #2C2E33;
}
.button.button-gray:hover {
    background: #E8EAED;
}

.multiple-col-block {
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-gap:12px;
}
.multiple-col-block-center input {
    text-align:center;
}
.multiple-col-block-4 {
    grid-template-columns:1fr 1fr 1fr 1fr;
}
@media(max-width:420px) {
    .multiple-col-block {
        display:block;
    }
    .multiple-col-block > * {
        margin-bottom:12px;
    }
}
.auth-modal-field .input-wrapper {
    margin-top:0;
}

.resend-mail {
    display: flex;
}
.resend-mail .resend-mail-button {
    display: flex;
    margin-right: 8px;
}
.resend-mail .resend-mail-button svg {
    margin-right: 8px;
}
.resend-mail .resend-mail-button svg path {
    stroke: #5A616C;
}

.resend-mail .resend-mail-button.disabled {
    cursor: default;
    color:#9299A5;
}
.resend-mail .resend-mail-button.disabled svg path {
    stroke: #9299A5;
}

.icon-block {
    text-align:center;
    margin-bottom:40px;
}


/* Main window */
.b-modal.fancybox-content.auth-modal.auth-modal-main {
    max-width: 400px;
    box-sizing: border-box;
    padding:24px;
    box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.04), 0px 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}
.auth-modal-main .icon-block {
    margin-bottom:24px;
}
.auth-modal-main .icon-block img {
    display:inline;
}

.auth-modal-main .auth-modal-title {
    font-family: Inter, sans-serif;
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 13px;
}

.auth-modal-main .button-block {
    margin-top: 24px;
}

.auth-modal-main .button {
    font-weight: 500;
    font-size: 16px;
    line-height: 48px;
    border-radius: 8px;
}

.input-wrapper.error .status-message {
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color:#E83838;
    right:auto;
    left:0;
}

.auth-modal-description {
    margin-bottom:32px;
}