.iti {
    width: 100%;
}

label.error {
    position: absolute;
    top: calc(90% - 12px);
    left: 0;
    background: crimson;
    text-align: center;
    color: white;
    width: 100%;
    z-index: 1;
    font-size: 12px;
}

.phone-alert {
    position: absolute;
    top: calc(90% - 12px);
    left: 0;
    background: crimson;
    text-align: center;
    color: white;
    width: 100%;
    z-index: 1;
    font-size: 12px;
}

.phone-alert p {
    margin-bottom: 0px !important;
    line-height: normal;
    color: #fff;
    font-size: 12px !important;
}

label[for="phone"] {
    top: 85%;
}

.wpforms-field {
    position: relative;
}

.inputWrapper {
    position: relative;
    width: 100%;
}

input[name="fname"],
input[name="lname"],
input[name="email"],
input[name="phone"] {
    transition: all 0.2s ease;
}

.countryWarning {
    display: flex;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid crimson;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #000;

    p {
        margin-bottom: 0;
    }

    .flags {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;

        img {
            width: 30px;
            height: auto;
        }
    }

}

input.error {
    margin-bottom: 12px;
}

.leadform {
    position: relative;
}

.__loaderWrapper {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #323232b6;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-5 {
    animation: rotate 2s infinite;
    height: 50px;
    width: 50px;
}

.loader-5:before,
.loader-5:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
}

.loader-5:before {
    animation: ball1 2s infinite;
    background-color: rgb(255 255 255 / 16%);
    box-shadow: 30px 0 0 #8f44fd;
    margin-bottom: 10px;
}

.loader-5:after {
    animation: ball2 2s infinite;
    background-color: #8f44fd;
    box-shadow: 30px 0 0 rgb(255 255 255 / 16%);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(0.8);
    }

    50% {
        transform: rotate(360deg) scale(1.2);
    }

    100% {
        transform: rotate(720deg) scale(0.8);
    }
}

@keyframes ball1 {
    0% {
        box-shadow: 30px 0 0 #8f44fd;
    }

    50% {
        box-shadow: 0 0 0 #8f44fd;
        margin-bottom: 0;
        transform: translate(15px, 15px);
    }

    100% {
        box-shadow: 30px 0 0 #8f44fd;
        margin-bottom: 10px;
    }
}

@keyframes ball2 {
    0% {
        box-shadow: 30px 0 0 rgb(255 255 255 / 32%);
    }

    50% {
        box-shadow: 0 0 0 rgb(255 255 255 / 32%);
        margin-top: -20px;
        transform: translate(15px, 15px);
    }

    100% {
        box-shadow: 30px 0 0 rgb(255 255 255 / 32%);
        margin-top: 0;
    }
}

.form-input-wrapper,
.submit_btn {
    width: 100% !important;
}

.submit_btn {
    margin: 0 0 10px 0 !important;
}

.form_message.error.inactive,
.form_message.success.inactive {
    display: none;
}

.form_message.error.active,
.form_message.success.active {
    display: block !important;
}

.form_message {
    width: 100%;
    min-height: 50px;
    align-content: center;
    box-sizing: border-box;
    font-size: 16px !important;
    max-width: 504px;
    padding: 10px 20px;
    border-radius: 8px;
}

.form_message.error {
    background-color: #ff7f7f;
    border: 2px dashed #ce0909;
    color: #fff;
}

.form_message.success {
    background-color: #d4ffe0;
    border: 2px dashed #1f6b34;
    color: #000;
}

.iti {
    width: 100%;
}

.iti__selected-flag {
    padding: 10px 20px;
    border-radius: 8px 0 0 8px;
}

.iti__country-name,
.iti__selected-flag,
.iti__dial-code {
    /* font-size: 16px; */
    font-weight: 600;
}

.iti__flag-container {
    padding: unset !important;
}

.iti-mobile .iti__country-list {
    box-sizing: border-box;
    max-width: 90%;
}

form#leadForm .form-input-wrapper small {
    font-size: 13px;
    display: block;
    background: lightcoral;
    width: 100%;
    padding: 3px 16px;
    border-radius: 0 0 8px 8px;
}

form#leadForm .form-input-wrapper input.invalid {
    border-radius: 8px 8px 0 0 !important;
}

form#leadForm .form-input-wrapper input.valid:focus {
    border-color: green;
}

@media (max-width: 480px) {
    .form_message,
    .iti__selected-dial-code,
    form#leadForm input {
        font-size: 14px;
    }

    form#leadForm .form-input-wrapper small {
        font-size: 12px;
    }
}

.investment {
    width: 100%;
    padding: 20px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.label {
    font-size: 14px;
    color: #888;
    margin-bottom: 6px;
}

.value {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.value.green {
    color: #2ecc71;
}

input[type="range"] {
    width: 100%;
}

button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: #2ecc71;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background: #27ae60;
}

.result {
    border: 1px solid #FFF;
    padding: 36px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
