.w10il-lead-form {
    box-sizing: border-box;
    width: 100%;
    padding: 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #edf3f0;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(26, 70, 56, 0.08);
}

.w10il-lead-form *,
.w10il-lead-form *::before,
.w10il-lead-form *::after {
    box-sizing: border-box;
}

.w10il-lead-form .es-request-form__fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "name phone"
        "email email"
        "message message"
        "privacy privacy"
        "submit submit";
    gap: 18px 16px !important;
    width: 100%;
}

.w10il-lead-form .es-field__name {
    grid-area: name;
}

.w10il-lead-form .es-field__phone {
    grid-area: phone;
}

.w10il-lead-form .es-field__email {
    grid-area: email;
}

.w10il-lead-form .es-field__message {
    grid-area: message;
}

.w10il-lead-form .es-privacy-policy-container {
    grid-area: privacy;
}

.w10il-lead-form .es-btn-wrapper {
    grid-area: submit;
}

.w10il-lead-form .es-field,
.w10il-lead-form .es-field label,
.w10il-lead-form .es-field input,
.w10il-lead-form .es-field textarea,
.w10il-lead-form .es-btn-wrapper,
.w10il-lead-form .es-btn-wrapper .es-btn {
    width: 100% !important;
    max-width: none !important;
}

.w10il-lead-form .es-field {
    margin: 0 !important;
}

.w10il-lead-form .es-field label {
    display: block !important;
    margin: 0 !important;
}

.w10il-lead-form .es-field .es-field__label {
    display: block;
    margin: 0 0 7px !important;
    color: #123f32 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.w10il-lead-form .es-field input:not([type="checkbox"]):not([type="radio"]),
.w10il-lead-form .es-field textarea {
    min-height: 48px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    color: #17382e !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    background: #f8faf9 !important;
    border: 1px solid #cadbd4 !important;
    border-radius: 9px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.w10il-lead-form .es-field textarea {
    min-height: 130px !important;
    resize: vertical;
}

.w10il-lead-form .es-field input:not([type="checkbox"]):not([type="radio"]):focus,
.w10il-lead-form .es-field textarea:focus {
    background: #ffffff !important;
    border-color: #245c4a !important;
    box-shadow: 0 0 0 3px rgba(36, 92, 74, 0.12) !important;
}

.w10il-lead-form .es-field input::placeholder,
.w10il-lead-form .es-field textarea::placeholder {
    color: #93a39d !important;
    opacity: 1;
}

.w10il-lead-form .es-privacy-policy-container {
    margin: 0 !important;
    color: #60756e !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.w10il-lead-form .es-btn-wrapper {
    margin: 0 !important;
}

.w10il-lead-form .es-btn-wrapper .es-btn {
    min-height: 50px !important;
    margin: 0 !important;
    padding: 13px 20px !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    background: #245c4a !important;
    border: 1px solid #245c4a !important;
    border-radius: 9px !important;
    box-shadow: 0 8px 20px rgba(36, 92, 74, 0.2) !important;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.w10il-lead-form .es-btn-wrapper .es-btn:hover,
.w10il-lead-form .es-btn-wrapper .es-btn:focus {
    color: #ffffff !important;
    background: #1b493a !important;
    border-color: #1b493a !important;
    transform: translateY(-1px);
}

.w10il-lead-form .es-btn-wrapper .es-btn:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.w10il-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.w10il-status {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.w10il-status--loading,
.w10il-status--success,
.w10il-status--error {
    display: block;
}

.w10il-status--loading {
    color: #245c4a;
    background: #eaf3ef;
}

.w10il-status--success {
    color: #173e32;
    background: #e2f7e5;
    border: 1px solid #8fd49a;
}

.w10il-status--error {
    color: #8a1c13;
    background: #fff0ee;
    border: 1px solid #e7aaa4;
}

@media (max-width: 767px) {
    .w10il-lead-form {
        padding: 20px 16px;
        border-radius: 15px;
    }

    .w10il-lead-form .es-request-form__fields {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "name"
            "phone"
            "email"
            "message"
            "privacy"
            "submit";
        gap: 16px !important;
    }
}
