.oliva-form {
    width: 100%;
    box-sizing: border-box;
    background: var(--nectar-extra-color-1, #3a2d37);
    color: var(--nectar-accent-color, #f1d0a1);
    padding: 56px 48px;
    border-radius: 16px;
}

/* === Light variant — for use on cream/light sections === */
.oliva-form.oliva-form--light {
    background: transparent !important;
    padding: 0 !important;
    color: var(--nectar-extra-color-1, #3a2d37) !important;
    border-radius: 0 !important;
    text-align: left !important;
    max-width: 880px;
    margin: 0 auto;
}
.oliva-form.oliva-form--light .oliva-form__field,
.oliva-form.oliva-form--light .oliva-form__row,
.oliva-form.oliva-form--light .oliva-form__label,
.oliva-form.oliva-form--light .oliva-form__consent,
.oliva-form.oliva-form--light .oliva-form__submit-row {
    text-align: left !important;
}
.oliva-form.oliva-form--light .oliva-form__submit-row {
    text-align: center !important;
    margin-top: 16px;
}
.oliva-form.oliva-form--light .oliva-form__label,
.oliva-form.oliva-form--light .oliva-form__required,
.oliva-form.oliva-form--light .oliva-form__optional {
    color: var(--nectar-extra-color-1, #3a2d37) !important;
}
.oliva-form.oliva-form--light .oliva-form__optional {
    color: rgba(58, 45, 55, 0.6) !important;
}
.oliva-form.oliva-form--light .oliva-form__input,
.oliva-form.oliva-form--light .oliva-form__textarea,
.oliva-form.oliva-form--light input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.oliva-form.oliva-form--light textarea.wpcf7-form-control,
.oliva-form.oliva-form--light select.wpcf7-form-control {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(58, 45, 55, 0.25) !important;
    color: var(--nectar-extra-color-1, #3a2d37) !important;
}
.oliva-form.oliva-form--light input::placeholder,
.oliva-form.oliva-form--light textarea::placeholder {
    color: rgba(58, 45, 55, 0.45) !important;
}
.oliva-form.oliva-form--light input:hover,
.oliva-form.oliva-form--light textarea:hover,
.oliva-form.oliva-form--light select:hover {
    border-color: rgba(58, 45, 55, 0.5) !important;
}
.oliva-form.oliva-form--light input:focus,
.oliva-form.oliva-form--light textarea:focus,
.oliva-form.oliva-form--light select:focus {
    border-color: var(--nectar-extra-color-2, #7f452b) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(127, 69, 43, 0.12) !important;
}
.oliva-form.oliva-form--light input:-webkit-autofill,
.oliva-form.oliva-form--light input:-webkit-autofill:hover,
.oliva-form.oliva-form--light input:-webkit-autofill:focus,
.oliva-form.oliva-form--light textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--nectar-extra-color-1, #3a2d37) !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    border-color: rgba(58, 45, 55, 0.25) !important;
    caret-color: var(--nectar-extra-color-1, #3a2d37) !important;
}
.oliva-form.oliva-form--light .oliva-form__consent {
    color: var(--nectar-extra-color-1, #3a2d37) !important;
}
.oliva-form.oliva-form--light .oliva-form__consent label,
.oliva-form.oliva-form--light .oliva-form__consent .wpcf7-list-item-label,
.oliva-form.oliva-form--light .oliva-form__consent .wpcf7-list-item {
    color: var(--nectar-extra-color-1, #3a2d37) !important;
}
.oliva-form.oliva-form--light input[type="checkbox"] {
    border: 1px solid rgba(58, 45, 55, 0.45) !important;
    background: #fff !important;
}
.oliva-form.oliva-form--light input[type="checkbox"]:checked {
    background: var(--nectar-extra-color-1, #3a2d37) !important;
    border-color: var(--nectar-extra-color-1, #3a2d37) !important;
}
.oliva-form.oliva-form--light input[type="checkbox"]:checked::after {
    border-color: var(--nectar-accent-color, #f1d0a1) !important;
}
.oliva-form.oliva-form--light .oliva-form__consent a {
    color: var(--nectar-extra-color-2, #7f452b) !important;
}
.oliva-form.oliva-form--light .oliva-form__consent a:hover {
    color: var(--nectar-extra-color-1, #3a2d37) !important;
}

.oliva-form .wpcf7-form,
.oliva-form .oliva-form__field {
    margin: 0 0 22px;
    padding: 0;
}

/* Force labels/fields/consent left-aligned regardless of parent text-align */
.oliva-form,
.oliva-form .oliva-form__field,
.oliva-form .oliva-form__row,
.oliva-form .oliva-form__label,
.oliva-form .oliva-form__consent,
.oliva-form .oliva-form__consent label,
.oliva-form .oliva-form__consent .wpcf7-list-item-label {
    text-align: left !important;
}
.oliva-form .oliva-form__submit-row {
    text-align: center !important;
}

.oliva-form .oliva-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 0 0 22px;
}
.oliva-form .oliva-form__row > .oliva-form__field {
    margin: 0;
}
@media (max-width: 690px) {
    .oliva-form .oliva-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .oliva-form .oliva-form__row > .oliva-form__field {
        margin-bottom: 22px;
    }
}

.oliva-form .oliva-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oliva-form .oliva-form__field > .wpcf7-form-control-wrap {
    display: block;
}

.oliva-form .oliva-form__label {
    font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nectar-accent-color, #f1d0a1);
    margin: 0;
    line-height: 1.3;
}

.oliva-form .oliva-form__required {
    color: var(--nectar-accent-color, #f1d0a1);
    margin-left: 2px;
}

.oliva-form .oliva-form__optional {
    color: rgba(241, 208, 161, 0.7);
    font-weight: 400;
    text-transform: none;
    font-style: italic;
    letter-spacing: 0;
    margin-left: 4px;
    font-size: 12px;
}

.oliva-form .oliva-form__input,
.oliva-form .oliva-form__textarea,
.oliva-form input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.oliva-form textarea.wpcf7-form-control,
.oliva-form select.wpcf7-form-control {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid rgba(241, 208, 161, 0.4);
    border-radius: 14px;
    color: var(--nectar-accent-color, #f1d0a1);
    font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    padding: 14px 20px;
    margin: 0;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.oliva-form .oliva-form__textarea,
.oliva-form textarea.wpcf7-form-control {
    min-height: 150px;
    resize: vertical;
    font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.oliva-form input::placeholder,
.oliva-form textarea::placeholder {
    color: rgba(241, 208, 161, 0.5);
    font-style: normal;
    opacity: 1;
}

.oliva-form input:hover,
.oliva-form textarea:hover {
    border-color: rgba(241, 208, 161, 0.7);
}

.oliva-form input:focus,
.oliva-form textarea:focus,
.oliva-form select:focus {
    outline: none;
    border-color: var(--nectar-accent-color, #f1d0a1);
    background: rgba(241, 208, 161, 0.06);
    box-shadow: 0 0 0 3px rgba(241, 208, 161, 0.18);
}

.oliva-form input:-webkit-autofill,
.oliva-form input:-webkit-autofill:hover,
.oliva-form input:-webkit-autofill:focus,
.oliva-form textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--nectar-accent-color, #f1d0a1);
    -webkit-box-shadow: 0 0 0 1000px #3a2d37 inset;
    box-shadow: 0 0 0 1000px #3a2d37 inset;
    border-color: rgba(241, 208, 161, 0.4);
    caret-color: var(--nectar-accent-color, #f1d0a1);
}

.oliva-form .oliva-form__consent {
    margin: 8px 0 24px;
    font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.oliva-form .oliva-form__consent,
.oliva-form .oliva-form__consent label,
.oliva-form .oliva-form__consent .wpcf7-list-item,
.oliva-form .oliva-form__consent .wpcf7-list-item-label,
.oliva-form .oliva-form__consent .wpcf7-acceptance,
.oliva-form .oliva-form__consent .wpcf7-form-control-wrap {
    color: rgba(241, 208, 161, 0.85);
}

.oliva-form .oliva-form__consent .wpcf7-list-item {
    margin: 0;
    display: block;
}

.oliva-form .oliva-form__consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.oliva-form .oliva-form__consent .wpcf7-list-item-label {
    flex: 1;
    display: inline-block;
}

.oliva-form input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex: 0 0 18px;
    border: 1px solid rgba(241, 208, 161, 0.55);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    margin: 3px 0 0;
    transition: background-color .2s ease, border-color .2s ease;
}

.oliva-form input[type="checkbox"]:hover {
    border-color: var(--nectar-accent-color, #f1d0a1);
}

.oliva-form input[type="checkbox"]:checked {
    background: var(--nectar-accent-color, #f1d0a1);
    border-color: var(--nectar-accent-color, #f1d0a1);
}

.oliva-form input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 9px;
    border: solid #3a2d37;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.oliva-form .oliva-form__consent a {
    color: var(--nectar-accent-color, #f1d0a1);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.oliva-form .oliva-form__consent a:hover {
    color: var(--nectar-bg-color, #fff4e5);
}

.oliva-form .oliva-form__submit-row {
    margin: 8px 0 0;
    text-align: right;
}

.oliva-form .wpcf7-spinner {
    display: none;
    margin: 0 0 0 12px;
    background-color: rgba(241, 208, 161, 0.6);
}

form.wpcf7-form.submitting .oliva-form .wpcf7-spinner {
    display: inline-block;
}

.oliva-form .wpcf7-not-valid-tip {
    display: block;
    color: #f4a489;
    font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    margin: 6px 0 0;
    line-height: 1.4;
}

.oliva-form input.wpcf7-not-valid,
.oliva-form textarea.wpcf7-not-valid,
.oliva-form select.wpcf7-not-valid {
    border-color: #f4a489;
    background: rgba(244, 164, 137, 0.08);
}

.oliva-form .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 14px 18px;
    border: 1px solid;
    border-radius: 8px;
    font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.oliva-form .wpcf7 form.sent .wpcf7-response-output,
.oliva-form form.sent .wpcf7-response-output {
    background: rgba(180, 220, 140, 0.12);
    border-color: rgba(180, 220, 140, 0.5);
    color: #d8e9bf;
}

.oliva-form .wpcf7 form.invalid .wpcf7-response-output,
.oliva-form .wpcf7 form.unaccepted .wpcf7-response-output,
.oliva-form .wpcf7 form.payment-required .wpcf7-response-output,
.oliva-form .wpcf7 form.failed .wpcf7-response-output,
.oliva-form .wpcf7 form.aborted .wpcf7-response-output,
.oliva-form form.invalid .wpcf7-response-output,
.oliva-form form.unaccepted .wpcf7-response-output,
.oliva-form form.failed .wpcf7-response-output,
.oliva-form form.aborted .wpcf7-response-output {
    background: rgba(244, 164, 137, 0.08);
    border-color: rgba(244, 164, 137, 0.5);
    color: #f4a489;
}

@media (max-width: 690px) {
    .oliva-form {
        padding: 32px 24px;
    }
    .oliva-form .oliva-form__field {
        margin-bottom: 18px;
    }
    .oliva-form .oliva-form__input,
    .oliva-form .oliva-form__textarea,
    .oliva-form input.wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    .oliva-form textarea.wpcf7-form-control {
        font-size: 16px;
        padding: 12px 18px;
    }
}
