html {
    scroll-behavior: smooth;
}

.form-section {
    margin: 50px 0 !important;
}


.form-section .advantages-title {
    font-size: 1.8rem;
}

.form-section,
.form-section .form-wrapper,
.form-section .form-wrapper .input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.form-section .form-wrapper {
    width: 100%;
    gap: 15px;
    box-sizing: border-box;
}

.form-section .form-wrapper .form-title {
    font-size: 34px;
    margin-bottom: 15px;
    margin-top: 0;
    color: white;
    text-align: center;
}

.form-section .form-wrapper .input-wrapper {
    width: 100%;
    max-width: 500px;
    gap: 3px !important;
}

.form-section .form-wrapper .input-wrapper small {
    color: #4b5563;
    text-align: left !important;
    width: 100%;
}

.form-section .form-wrapper .input-wrapper input {
    width: 100%;
    height: 50px;
    padding: 8px 12px !important;
    border: 0;
    font-size: 16px;
    box-sizing: border-box;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-section .form-wrapper .input-wrapper input[type="tel"] {
    width: 100%;
}

.form-section .form-wrapper .submit_btn {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    height: 50px;
    padding: 11px 16px;
    display: flex;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #2563eb;
    color: white;
    border-radius: 4px;
}

.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;
    padding: 8px 12px !important;
    font-size: 16px !important;
    max-width: 500px;
    border-radius: 4px;
}

.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: 8px 12px !important;
    border-radius: 4px 0 0 4px;
}

.iti__flag-container {
    padding: unset !important;
}

.iti-mobile .iti__country-list {
    box-sizing: border-box;
    max-width: 90%;
}

form.lead-form .input-wrapper input.invalid,
form.lead-form .input-wrapper input.invalid:hover,
form.lead-form .input-wrapper input.invalid:focus {
    border-color: #dc3545;
}

form.lead-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form.lead-form .input-wrapper input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

form.lead-form .input-wrapper label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

form.lead-form .input-wrapper small {
    font-size: 13px;
    color: #dc3545;
}

form.lead-form .submit_btn {
    width: 100%;
    padding: 15px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.iti__country {
    margin: unset !important;
}

.iti__country-list {
    margin-bottom: unset !important;
}

.iti__country-name,
.iti__dial-code {
    font-size: 15px !important;
}

[type="submit"] {
    pointer-events: none;
}

@media (max-width: 480px) {

    .form_message,
    .iti__selected-dial-code,
    .form-section .form-wrapper .input-wrapper input {
        font-size: 14px;
    }
}