.os-product-lead-form {
    display: grid;
    gap: 14px;
}

.os-product-lead-field {
    display: grid;
    gap: 5px;
    margin: 0;
}

.os-product-lead-field > span,
.os-product-lead-checks legend {
    color: #333333;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.os-product-lead-form input[type="text"],
.os-product-lead-form input[type="email"],
.os-product-lead-form input[type="tel"],
.os-product-lead-form select,
.os-product-lead-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    color: #333333;
    font-size: 15px;
    line-height: 1.4;
    padding: 9px 12px;
}

.os-product-lead-form select {
    min-height: 40px;
    background: #ffffff;
}

.os-product-lead-field [disabled][data-os-lead-region],
.os-product-lead-field [disabled][data-os-lead-us-state] {
    display: none;
}

.os-product-lead-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.os-product-lead-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.os-product-lead-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.os-product-lead-phone {
    display: grid;
}

.os-product-lead-checks {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.os-product-lead-checks legend {
    padding: 0;
    border: 0;
}

.os-product-lead-checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.25;
}

.os-product-lead-checks input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.os-product-lead-captcha {
    min-height: 78px;
}

.os-product-lead-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    background: #428bca;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.os-product-lead-submit[disabled] {
    opacity: 0.72;
    cursor: default;
}

.os-product-lead-spinner {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 999px;
    animation: os-product-lead-spin 0.8s linear infinite;
}

.os-product-lead-notice {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.35;
}

.os-product-lead-notice.is-error {
    background: #fff1f2;
    color: #be123c;
}

.os-product-lead-notice.is-success {
    background: #ecfdf5;
    color: #047857;
}

.os-lead-honeypot {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@keyframes os-product-lead-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .os-product-lead-grid {
        grid-template-columns: 1fr;
    }
}
