#onyx-lead-form {
    margin: 0 auto;
    width: 100%;
    padding: 56px 56px 32px 56px;
}
.field-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
.field-column {
    flex: 0 0 auto;
    width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}
.field-column--100 {
    width: 100%;
}
/* Field wrapper */
#onyx-lead-form input,
#onyx-lead-form select {
    background-color: #fff;
    border-color: #243746;
    border: none;
    border-bottom: 1px solid #243746;
    color: #061626;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    height: 48px !important;
}
#onyx-lead-form label {
    display: inline-block;
    position: relative;
    color: #061626;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 10px;
}
.field-group {
    margin-bottom: 24px;
}
#onyx-lead-form input:focus,
#onyx-lead-form select:focus {
    outline: none;
    border-color: #243746;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

#onyx-lead-form ::placeholder {
    color: #ffffff;
}
.field-disclaimer {
    position: relative;
}
.icheckbox {
    position: absolute;
    left: 0;
}
label.custom-checkbox {
    display: flex !important;
    justify-content: flex-start;
    cursor: pointer;
}
span.checkbox-text {
    font-family: 'gilroy';
    font-weight: 400;
    font-size: 12px;
    color: #243746;
    letter-spacing: 0;
    line-height: 16px;
    text-align: left;
    padding-left: 12px;
    line-height: 1;
    display: block;
}

/* ===============================
   Custom Checkbox
   =============================== */

.field-disclaimer {
    margin-top: 20px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

/* Hide native checkbox */
.custom-checkbox input[type='checkbox'] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Custom box */
.custom-checkbox .checkmark {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    border-radius: 09;
    border: 2px solid #000000;
    background-color: #fff;
    margin-top: 3px;
    transition: all 0.2s ease;
}

/* Hover */
.custom-checkbox:hover .checkmark {
    border-color: #2563eb;
}

/* Checked state */
.custom-checkbox input:checked + .checkmark {
    background-color: #012141;
    border-color: #012141;
}

/* Check icon */
.custom-checkbox .checkmark::after {
    content: '';
    position: absolute;
    display: none;
}

/* Show check icon when checked */
.custom-checkbox input:checked + .checkmark::after {
    display: block;
}

/* Draw check */
.custom-checkbox .checkmark::after {
    left: 9px;
    top: 8px;
    width: 6px;
    height: 12px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Text */
.checkbox-text {
    user-select: none;
}

/* Focus (keyboard users) */
.custom-checkbox input:focus + .checkmark {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

#onyx-lead-form button {
    color: #fff;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    background: #012141;
    padding: 16px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s 'ease';
}

#onyx-lead-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

#onyx-lead-form button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

#onyx-lead-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239CA3AF' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px 6px;
}

#onyx-lead-form .field-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.onyx-response {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
}

.onyx-response.success {
    color: #15803d;
}

.onyx-response.error {
    color: #dc2626;
}

.page-template-page-template-thank-you h2.wp-block-heading {
    margin-top: 50px;
    font-size: 46px;
    line-height: 1.2;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    #onyx-lead-form {
        padding: 24px 20px;
    }
    .field-column {
        width: 100%;
    }
    .page-template-page-template-thank-you h2.wp-block-heading {
        margin-top: 35px;
        font-size: 28px;
        line-height: 1.2;
    }
}
footer .middle {
    align-items: center !important;
}
@media (min-width: 769px) {
    figure.wp-block-image.size-full.thank-you-img img {
        width: 70%;
        margin: 0 auto;
    }
}
@media (max-width: 769px) {
    #onyx-lead-form input,
    #onyx-lead-form select {
        font-size: 14px;
        height: 36px !important;
    }
    #onyx-lead-form label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .field-group {
        margin-bottom: 15px;
    }
}
.page-template-page-template-thank-you .nav {
    display: none !important;
}
