.lead-form-wrap {
    --lead-accent: #2563eb;
    --lead-bg: #ffffff;
    --lead-text: #0f172a;
    --lead-muted: #94a3b8;
    --lead-border: #e2e8f0;
    --lead-radius: 12px;
    --lead-max: 460px;

    box-sizing: border-box;
    width: 100%;
    max-width: var(--lead-max);
    margin: 0 auto;
    padding: 5px 24px 20px 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.lead-form-wrap * {
    box-sizing: border-box;
}

.lead-form-wrap .js-lead-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.lead-form-wrap .lead-form-row {
    display: flex;
    gap: 12px;
}

.lead-form-wrap .lead-form-row>* {
    flex: 1 1 0;
    min-width: 0;
}

.lead-form-wrap input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
    color: var(--lead-text);
    background: var(--lead-bg);
    border: 1px solid var(--lead-border);
    border-radius: var(--lead-radius);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.lead-form-wrap input::placeholder {
    color: var(--lead-muted);
    opacity: 1;
}

.lead-form-wrap input:focus {
    border-color: var(--lead-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lead-accent) 18%, transparent);
}

.lead-form-wrap .iti,
form.js-lead-form .iti,
.register-form .iti {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    clear: both;
    overflow: visible;
}

.lead-form-wrap .lead-form-field--phone,
form.js-lead-form .lead-form-field--phone,
.register-form .form-group.reg-phone {
    display: block;
    width: 100%;
    margin: 0;
    flex-shrink: 0;
}

.lead-form-wrap .iti input[type="tel"],
form.js-lead-form .iti input[type="tel"],
.register-form .iti input[type="tel"] {
    width: 100% !important;
    min-height: 52px;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 16px;
    /* padding-left: intl-tel-input (separateDialCode) */
}

.lead-form-wrap button.submit,
form.js-lead-form button.submit {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.lead-form-wrap button.submit {
    width: 100%;
    height: 54px;
    margin: 0 0 0;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--lead-accent);
    border: none;
    border-radius: var(--lead-radius);
    cursor: pointer;
    transition: filter .15s ease, opacity .15s ease;
}

.lead-form-wrap button.submit:hover {
    filter: brightness(1.08);
}

.lead-form-wrap button.submit:disabled {
    opacity: .6;
    cursor: default;
}

@media (max-width: 480px) {
    .lead-form-wrap {
        padding: 20px 16px;
    }

    .lead-form-wrap .lead-form-row {
        flex-direction: column;
    }
}

/* ravalizio.it — тема форми під лендінг */
.leadform .submit {
    background: #2563eb !important;
    color: #fff !important;
    border-radius: 8px;
}

/* offer theme — zollabevtex.com glass registration form */
.register-form.leadform {
    --zbt-accent: #00188f;
    --zbt-focus: #039e36;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 20px;
    border-radius: 16px;
    font-family: Arial, Helvetica, sans-serif;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.register-form .block-center__wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.register-form .form-group {
    margin-bottom: 14px;
}

.register-form .form-group.reg-phone {
    margin-bottom: 20px;
}

.register-form .form-group label {
    display: block;
    margin: 0 0 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.register-form input[type="text"],
.register-form input[type="email"] {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px;
    padding: 14px 18px !important;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 999px !important;
    font-size: 16px;
    color: #000 !important;
    background: #fff !important;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.register-form .iti input[type="tel"] {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px;
    padding-block: 14px !important;
    padding-inline-end: 18px !important;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 999px !important;
    font-size: 16px;
    color: #000 !important;
    background: #fff !important;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.register-form input::placeholder {
    color: #6b7280;
    opacity: 1;
}

.register-form input:focus,
.register-form .iti input:focus {
    border-color: var(--zbt-focus) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(3, 158, 54, 0.2);
}

.register-form .iti {
    width: 100%;
    display: block;
    margin: 0;
    overflow: visible;
}

.register-form .iti .iti__country-container {
    padding-left: 8px;
}

.register-form .iti--separate-dial-code .iti__selected-country {
    border-radius: 999px 0 0 999px;
}

.register-form .iti__selected-dial-code {
    color: #000 !important;
}

.register-form .btn_send,
.register-form .regFormButton.submit {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 0;
    padding: 15px 20px;
    border: none !important;
    border-radius: 8px !important;
    background: var(--zbt-accent) !important;
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, filter 0.25s ease;
}

.register-form .btn_send:hover,
.register-form .regFormButton.submit:hover {
    background: #0028c4 !important;
    filter: brightness(1.05);
}

.register-form .btn-holder {
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    clear: both;
}

.register-form .error-msg.hide {
    display: none;
}

@media (max-width: 479px) {
    .register-form.leadform {
        padding: 20px 16px;
        border-radius: 14px;
    }
}

.hidden {
    display: none;
}

/* likiditekur.com — tema formulario TR */
.leadform.rf-form.js-rf-form {
    --lk-accent: #12393b;
    --lk-accent-hover: #0f2e30;
    --lk-accent-text: #e3ff34;
    --lk-border: #ccc;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.leadform.rf-form.js-rf-form input[type="text"],
.leadform.rf-form.js-rf-form input[type="email"],
.leadform.rf-form.js-rf-form input[type="tel"] {
    display: block;
    width: 100% !important;
    border-radius: 5px;
    border: 1px solid var(--lk-border) !important;
    margin: 20px 0;
    padding: 15px !important;
    font-size: 16px;
    color: #222 !important;
    background: #fff !important;
    box-sizing: border-box;
}

.leadform.rf-form.js-rf-form input:focus,
.leadform.rf-form.js-rf-form .iti input:focus {
    border-color: var(--lk-accent) !important;
    outline: none;
    box-shadow: none;
}

.leadform.rf-form.js-rf-form button.submit {
    animation: 2s ease 0s infinite normal none running aio-sdk-pulsing;
    box-shadow: var(--lk-accent) 0 0 0 0;
    background: var(--lk-accent) !important;
    border-color: var(--lk-accent) !important;
    color: var(--lk-accent-text) !important;
    padding: 12px;
    height: 60px;
    border: 1px solid transparent;
    border-radius: 50px;
    margin-top: 20px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.leadform.rf-form.js-rf-form button.submit:hover {
    background: var(--lk-accent-hover) !important;
}

.leadform.rf-form.js-rf-form .iti {
    width: 100%;
    margin: 20px 0;
}

.leadform.rf-form.js-rf-form .iti__selected-dial-code {
    color: #222 !important;
}

.leadform.rf-form.js-rf-form.cq-pure-custom-form input[type="text"],
.leadform.rf-form.js-rf-form.cq-pure-custom-form input[type="email"],
.leadform.rf-form.js-rf-form.cq-pure-custom-form input[type="tel"],
.leadform.rf-form.js-rf-form.cq-pure-custom-form .iti__tel-input {
    background-color: #12393b !important;
    color: #ffffff !important;
    border: 1px solid #183c3e !important;
    border-radius: 8px !important;
    height: 48px !important;
    margin: 0 0 12px !important;
    padding: 0 16px !important;
}

.leadform.rf-form.js-rf-form.cq-pure-custom-form button.submit {
    background: linear-gradient(135deg, #e3ff34, #cbe61c) !important;
    color: #12393b !important;
    border: none !important;
    border-radius: 8px !important;
    height: 48px !important;
    animation: none;
    box-shadow: 0 4px 12px rgba(227, 255, 52, 0.25) !important;
}

@keyframes aio-sdk-pulsing {
    100% {
        box-shadow: transparent 0 0 0 10px;
    }
}
