/* Start Form */

.modal-form__tag {
    padding: 40px;
    max-width: 490px;
    background:  linear-gradient(90deg, #006FC2 0%, #00239E 100%);
    box-shadow: 3px 3px 13.3px 0px rgba(0, 77, 148, 0.40);
    width: 100%;
    margin-left: auto;

}

.form-input-main {
    margin: 16px 0;
}

.form-input-main input,
.form-input-main select {
    font-family: 'Inter', sans-serif;
    height: 50px;
    width: 100%;
    padding-left: 20px;
    color: #000;
    font-weight: 400;
    font-size: 18px;
    border: 1px solid #626262;
    background: #FFF;
}

.modal-form__tag h4{
    color: #FFF;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 175% */
    margin-bottom: 30px;
}

.form-input-main select {
    margin: 0;
    width: 100%;
}

.form-input-main input::placeholder,
.form-input-main select::placeholder {
    color: #15202F;
}

button[name="submitBtn"]:hover {
    transform: scale(0.98)
}

button[name="submitBtn"] {
    width: 100%;
    transition: all .3s ease;
    text-align: center;
    color: #FFFFFF;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 58px;
    background: #FFF;
    height: 50px;

    color: #0060A8;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 23.25px; /* 129.167% */
    letter-spacing: 0.5px;
}

.form-header-text,
.form-footer-text {
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.form-header-text {
    margin-bottom: 20px;
}

.form-footer-text {
    margin-top: 20px;
}

.form-input-main label {
    display: flex;
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 10px;
    font-size: 16px;
    line-height: 100%;
    color: #fff;
}

.form-input-main label.checkbox--row {
    flex-direction: row;
}

.form-input-main label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
}

.iti--allow-dropdown input,
.iti--allow-dropdown input[type=tel],
.iti--allow-dropdown input[type=text],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type=tel],
.iti--separate-dial-code input[type=text] {
    width: 100%;
    padding-left: 104px !important;
}

.iti__selected-dial-code,
.iti__arrow {
    color: #000 !important;
    font-size: 18px;
    border-top-color: #000 !important;
}

.iti {
    width: 100% !important;
}

.iti__country {
    color: #000 !important;
}

.form-input option {
    color: #000 !important;
}

/* Hide arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

@media screen and (max-width: 768px) {
    button[name="submitBtn"] {
        width: 100%;
    }

    .modal-form__tag {
        padding: 20px;
    }
}

/* End Form */
/* Modal */

.error {
    background: rgba(255, 0, 0, 0.6) !important;
    color: #fff;
}

.error::placeholder {
    color: #fff !important;
}

.valid {
    background: rgba(0, 255, 0, 0.6) !important;
}

.modal_phone {
    opacity: 1;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 99999;
    display: none;
    outline: 0;
    padding-right: 15px;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    overflow-x: hidden;
    overflow-y: auto;
    color: #000;
}

.modal_phone.open_phone {
    display: flex;
}

.modal-open_phone {
    overflow: hidden;
}

.modal-dialog_phone {
    position: relative;
    width: 100%;
    max-width: 32rem;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-content_phone {
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-header_phone {
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
}

.modal-header_phone {
    justify-content: space-between;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-body_phone {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-title_phone {
    font-size: 1.25rem;
    font-weight: 600;
}

.close-button_phone {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.5;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}

/* Loader */

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: rgba(37, 44, 51, .5)
}

.loader-element {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #00faaa;
    -webkit-animation: 2s linear infinite spin;
    animation: 2s linear infinite spin
}

.loader-element::before {
    position: absolute;
    content: "";
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f70044;
    -webkit-animation: 3s linear infinite spin;
    animation: 3s linear infinite spin
}

.loader-element::after {
    position: absolute;
    content: "";
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #00faaa;
    -webkit-animation: 1.5s linear infinite spin;
    animation: 1.5s linear infinite spin
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}