* {
    --form-block-background: #222222;
    --input-background: #353535;
    --input-text-color: white;
    --warning-text-color: white;
}

.leadform-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 16px 30px 16px;
    box-sizing: border-box;
}

.leadform {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--form-block-background);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}



.leadform input {
    width: 100%;
    padding: 12px 15px;
    color: var(--input-text-color);
    border: 1px solid #ccc;
    border-radius: 4px;
    background: var(--input-background);
    font-size: 16px;
    box-sizing: border-box;
    outline: unset !important;
    height: 45px;
}

/* .iti__selected-dial-code {
    color: var(--input-text-color);
} */

.leadform input.error {
    border-color: orangered;
}

.leadform input.valid,
.leadform input.valid:focus {
    border-color: springgreen;
}

.leadform input:not(.valid):focus {
    border-color: orangered;
    outline: none;
}

.leadform button {
    width: 100%;
    color: white;
    padding: 12px 15px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
    /* background: linear-gradient(90deg, #560070 0%, #05A4AF 100%) !important; */
    background: linear-gradient(90deg, rgba(65, 94, 208, 0.8) 0%, rgba(216, 134, 230, 0.8) 100%) !important;
    height: 60px;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}

.leadform button:hover {
    filter: brightness(70%);
}

.leadform .warning {
    color: var(--warning-text-color);
}

.iti {
    width: 100%;
}

label.error {
    position: absolute;
    top: calc(90% - 12px);
    left: 0;
    background: orangered;
    text-align: center;
    color: white;
    width: 100%;
    z-index: 1;
    font-size: 12px;
}

.phone-alert {
    position: absolute;
    top: calc(90% - 12px);
    left: 0;
    background: orangered;
    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: 10px;
    border-radius: 12px;
    border: 1px solid orangered;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;

    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%);
}

.footer__container {
    font-weight: 700;
}

* {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

@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;
    }
}

.iti {
    width: 100%;
}

.iti__selected-flag {
    padding: 12px 15px;
    border-radius: 12px 0 0 12px;
}

.iti__country-name,
.iti__selected-flag,
.iti__dial-code {
    font-size: 16px;
}

.iti__country-name {
    color: #111;
}

.iti__selected-flag {
    background-color: rgba(0,0,0,.5) !important;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: rgba(0,0,0,.6) !important;
}

.iti-mobile .iti__country-list {
    box-sizing: border-box;
    max-width: 90%;
}

.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: 40px;
    align-content: center;
    box-sizing: border-box;
    padding: 12px 15px !important;
    font-size: 16px !important;
    max-width: 500px;
    font-family: 'Roboto', Sans-Serif;
    border-radius: 12px;
}

.form_message.error {
    background-color: #ff7f7f;
    border: 2px dashed #ce0909;
    color: #fff;
}

.form_message.success {
    background-color: #d4ffe0;
    border: 2px dashed #1f6b34;
    color: #000;
}

.succsess-result svg {
    margin-top: 50px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .form_message,
    .iti__country-name,
    .iti__selected-flag,
    .iti__dial-code,
    .leadform input,
    .btn {
        font-size: 14px !important;
    }

    .inputWrapper small {
        font-size: 12px !important;
    }
}