/* Start base popup styles */
.modal-content {
    padding-top: 40px;
    padding-right: 40px;
    padding-bottom: 42px;
    padding-left: 40px;
    border-radius: 9px;
}

.modal-content__main h3 {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-size: 20px;
    font-weight: 500;
    line-height: 24.2px;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
}

.modal-content__main .modal-form-date-text {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    color: #000;
    text-align: center;
    opacity: 0.7;
    margin-bottom: 20px;
}

.modal-form_row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
}

.modal-content__main form label, .modal-content__main .form label {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #000;
    margin-bottom: 11px;
}

.modal-content__main form input, .modal-content__main .form input {
    width: 100%;
    height: 50px;
    padding-top: 0;
    padding-right: 23px;
    padding-bottom: 1px;
    padding-left: 23px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #626262;
    letter-spacing: 1.6px;
    background-color: #ffffff;
    border: 1px solid #DFDFDF;
    border-radius: 50px;
    box-sizing: border-box;
    outline: none;
}

.modal-content__main form label.error, .modal-content__main .form label.error {
    margin-top: 10px;
    font-size: 12px;
    color: #FF0000FF;
}

.modal-content__main form label span, .modal-content__main .form label span {
    color: #877FB0;
}


.modal-content__main form a, .modal-content__main .form a {
    color: #000000;
    font-size: 13px;
    font-weight: normal;
    border-bottom: 1px solid #767676;
}

.modal-content__main form button, .modal-content__main .form button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    width: 100%;
    max-width: 284px;
    height: 50px;
    padding-top: 0px;
    padding-right: 23px;
    padding-bottom: 1px;
    padding-left: 23px;
    border: none;
    border-radius: 50px;
    border: 1px solid #877FB0;
    background: #877FB0;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 1.8px;
    color: #FFF;
    text-align: center;
    outline: none;
    cursor: pointer;
    margin-right: auto;
    margin-left: auto;
}

.modal-content__main form button.all_btn:hover, .modal-content__main .form button.all_btn:hover {
    box-shadow: 0 2px 5px rgb(0,0,0, .3);

}

.modal-content__main form p, .modal-content__main .form p {
    text-align: center;
    color: #888888;
    font-size: 13px;
    font-weight:normal;
    margin-bottom: 15px;
}

.modal-content button.close {
    position: absolute;
    right: 15px;
    top: 10px;
    width: auto;
    height: auto;
    cursor: pointer;
    background: transparent;
}

.modal-content button.close_img {
    top: 10px;
}

.modal-content button.close span {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 40px;
    line-height: 1;
}

.modal-content textarea.inputtextarea {
    width: 100%;
    height: 100px;
    resize: none;
    border: 1px solid #E3E3E3;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 15px;
    overflow: auto;
}

.modal-content .popup__footer_text {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #626262;
    text-align: center;
    margin-top: 15px;
}

.modal-content .popup__footer_text a {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #626262;
    text-align: center;
}

.select2-container .select2-selection--single.montazh_form_select {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    border: 1px solid #DFDFDF;
    border-radius: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    background-image: url("../img/select_arrow.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 17px 10px;
    width: 17px;
    height: 10px;
    top: 19px;
    right: 18px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--open .select2-selection--single.montazh_form_select {
    border-radius: 30px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.select2-container--open .montazh_form_select_dropdown {
    border: 1px solid #DFDFDF !important;
    border-radius: 30px;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding-left: 5px;
    padding-bottom: 10px;
    z-index: 1099 !important;
}

.modal-open .ui-selectmenu-open {
    height: 20vh;
    z-index: 1060;
    overflow-y: auto;
}

.modal-form_select_row {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.modal-form_select_row:last-of-type {
    margin-bottom: 0;
}

.modal-form_select_caption {
    display: block;
    margin-left: 10px;
}

@media only screen and (max-width: 550px) {
    .modal-content {
        padding-top: 40px;
        padding-right: 20px;
        padding-bottom: 42px;
        padding-left: 20px;
        border-radius: 9px;
    }
}


body.popup-open {
    overflow-y: hidden;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.35);
}

body.popup-open .overlay {
    display: block;
}

.popup {
    display: none;
    position: fixed;
    top: 40%;
    bottom: 0;
    left: 50%;
    right: 0;
    transform: translate(-50%,-50%);
    z-index: 9999;
}

.popup.popup_open {
    display: block;
}

.popup__inner {
    position: relative;
    padding-top: 40px;
    padding-right: 40px;
    padding-bottom: 42px;
    padding-left: 40px;
    background: #FFF;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.35);
    border-radius: 9px;
}

@media only screen and (max-width: 550px) {
    .popup {
      top: 35%;
    }
    .popup__inner {
      height: 100vh;
      overflow-y: auto;
    }
}

.popup__close {
    position: absolute;
    top: 16px;
    right: 17px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.popup__title {
    display: block;
    width: 100%;
    max-width: 330px;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-size: 20px;
    font-weight: 500;
    line-height: 24.2px;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.popup__description {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    color: #000;
    text-align: center;
}

.popup_form_label {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #000;
    margin-bottom: 11px;
}

.popup_form_input {
    width: 100%;
    max-width: 330px;
    height: 50px;
    padding-top: 12px;
    padding-right: 20px;
    padding-bottom: 12px;
    padding-left: 20px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #000;
    background-color: #ffffff;
    border: 1px solid #DFDFDF;
    border-radius: 30px;
    box-sizing: border-box;
    outline: none;
}

.popup_form_input:focus {
    border: 1px solid #c9ebff;
}

.popup_form_textarea {
    width: 100%;
    max-width: 330px;
    height: 80px;
    padding-top: 12px;
    padding-right: 20px;
    padding-bottom: 12px;
    padding-left: 20px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #000;
    background-color: #ffffff;
    border: 1px solid #DFDFDF;
    border-radius: 20px;
    box-sizing: border-box;
    outline: none;
}

.popup_form_textarea:focus {
    border-color: #c9ebff;
}

.popup_form_button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    width: 100%;
    max-width: 284px;
    height: 50px;
    padding-top: 0px;
    padding-right: 23px;
    padding-bottom: 1px;
    padding-left: 23px;
    border: none;
    border-radius: 50px;
    border: 1px solid #877FB0;
    background: #877FB0;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 1.8px;
    color: #FFF;
    text-align: center;
    outline: none;
    cursor: pointer;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 18px;
}

.popup_form_button:hover {
    background-color: transparent;
    color: #877FB0;
}

.popup_form_label span {
    color: #877FB0;
}

/* End base popup styles */

/* Start popup event register styles */

.popup.popup__event_register {
    width: 100%;
    max-width: 410px;
}

.popup.popup__event_register .popup__content {
    margin-top: 18px;
}

.popup.popup__event_register .popup__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
}

.popup__event_register .popup__footer_text {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #626262;
    text-align: center;
}

.popup__event_register .popup__footer_text a {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #626262;
    text-align: center;
}

/* End popup event register styles */


/* Start popup registration styles */
.popup.popup__registration {
    max-width: 420px;
}

.popup.popup__registration .popup__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
}

/* End popup registration styles */

/* Start popup order installation styles */

.popup.popup__order_installation {
    width: 100%;
    max-width: 410px;
}

.popup.popup__order_installation .popup__content {
    margin-top: 18px;
}

.popup.popup__order_installation .popup__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
}

.popup__order_installation .popup__footer_text {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #626262;
    text-align: center;
}

.popup__order_installation .popup__footer_text a {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #626262;
    text-align: center;
}

/* End popup order installation styles */
