body.ofs-forms .comment-respond .comment-form input[type="text"],
body.ofs-forms .comment-respond .comment-form input[type="email"],
body.ofs-forms .comment-respond .comment-form input[type="url"],
body.ofs-forms .comment-respond .comment-form input[type="tel"],
body.ofs-forms .comment-respond .comment-form input[type="number"],
body.ofs-forms .comment-respond .comment-form input[type="password"],
body.ofs-forms .comment-respond .comment-form textarea,
body.ofs-forms .comment-respond .comment-form select {
box-sizing: border-box;
display: block;
width: 100%;
max-width: 100%;
min-height: 52px;
margin: 0;
padding: var(--space-12, 12px) var(--space-16, 16px);
font-family: var(--font-text, 'DM Sans', 'Segoe UI', sans-serif);
font-size: 16px;
line-height: var(--lh-md, 24px);
color: var(--text, #0f172a);
background-color: var(--surface, #ffffff);
border: 1px solid var(--border-strong, #cbd5e1);
border-radius: var(--radius-12, 12px);
box-shadow: none;
transition-property: border-color, background-color, box-shadow;
transition-duration: var(--dur, 200ms);
transition-timing-function: var(--ease, cubic-bezier(.2, .6, .3, 1));
}
body.ofs-forms .comment-respond .comment-form textarea {
min-height: 140px;
height: auto;
resize: vertical;
}
body.ofs-forms .comment-respond .comment-form input::placeholder,
body.ofs-forms .comment-respond .comment-form textarea::placeholder {
color: var(--text-subtle, #64748b);
opacity: 1;
}
body.ofs-forms .comment-respond .comment-form > p:not(.mc4wp-checkbox):not(.comment-form-cookies-consent) > label,
body.ofs-forms .comment-respond .comment-form .comment-form-rating > label {
display: block;
margin-bottom: var(--space-8, 8px);
font-family: var(--font-text, 'DM Sans', 'Segoe UI', sans-serif);
font-size: var(--fs-sm, 14px);
font-weight: var(--fw-semibold, 600);
line-height: var(--lh-sm, 20px);
color: var(--text, #0f172a);
}
body.ofs-forms .comment-respond .comment-form .required {
color: var(--brand, #2563eb);
font-weight: var(--fw-bold, 700);
text-decoration: none;
}
body.ofs-forms .comment-respond .comment-form input[type="text"]:focus,
body.ofs-forms .comment-respond .comment-form input[type="email"]:focus,
body.ofs-forms .comment-respond .comment-form input[type="url"]:focus,
body.ofs-forms .comment-respond .comment-form input[type="tel"]:focus,
body.ofs-forms .comment-respond .comment-form input[type="number"]:focus,
body.ofs-forms .comment-respond .comment-form input[type="password"]:focus,
body.ofs-forms .comment-respond .comment-form textarea:focus,
body.ofs-forms .comment-respond .comment-form select:focus {
outline: 2px solid transparent;
outline-offset: 2px;
border-color: var(--brand, #2563eb);
box-shadow: var(--focus-ring, 0 0 0 2px #ffffff, 0 0 0 5px #2563eb);
}
body.ofs-forms .comment-respond .comment-form input[aria-invalid="true"]:not([type="checkbox"]):not([type="radio"]),
body.ofs-forms .comment-respond .comment-form textarea[aria-invalid="true"],
body.ofs-forms .comment-respond .comment-form select[aria-invalid="true"] {
border-color: var(--state-error, #b91c1c);
background-color: var(--danger-a1, rgb(185 28 28 / .06));
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='13'/%3E%3Cline x1='12' y1='16.5' x2='12.01' y2='16.5'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right var(--space-16, 16px) center;
background-size: 20px 20px;
padding-right: 46px;
}
body.ofs-forms .comment-respond .comment-form input:user-invalid:not([type="checkbox"]):not([type="radio"]),
body.ofs-forms .comment-respond .comment-form textarea:user-invalid,
body.ofs-forms .comment-respond .comment-form select:user-invalid {
border-color: var(--state-error, #b91c1c);
background-color: var(--danger-a1, rgb(185 28 28 / .06));
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='13'/%3E%3Cline x1='12' y1='16.5' x2='12.01' y2='16.5'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right var(--space-16, 16px) center;
background-size: 20px 20px;
padding-right: 46px;
}
body.ofs-forms .comment-respond .comment-form input[aria-invalid="true"]:focus:not([type="checkbox"]):not([type="radio"]),
body.ofs-forms .comment-respond .comment-form textarea[aria-invalid="true"]:focus,
body.ofs-forms .comment-respond .comment-form select[aria-invalid="true"]:focus {
border-color: var(--state-error, #b91c1c);
box-shadow: 0 0 0 2px var(--surface, #ffffff), 0 0 0 5px var(--state-error, #b91c1c);
}
body.ofs-forms .comment-respond .comment-form input:user-invalid:focus:not([type="checkbox"]):not([type="radio"]),
body.ofs-forms .comment-respond .comment-form textarea:user-invalid:focus,
body.ofs-forms .comment-respond .comment-form select:user-invalid:focus {
border-color: var(--state-error, #b91c1c);
box-shadow: 0 0 0 2px var(--surface, #ffffff), 0 0 0 5px var(--state-error, #b91c1c);
}
body.ofs-forms .ofs-msg {
display: flex;
align-items: flex-start;
gap: var(--space-8, 8px);
margin-top: var(--space-8, 8px);
font-family: var(--font-text, 'DM Sans', 'Segoe UI', sans-serif);
font-size: var(--fs-sm, 14px);
font-weight: var(--fw-medium, 500);
line-height: var(--lh-sm, 20px);
color: var(--state-error, #b91c1c);
}
body.ofs-forms .ofs-msg::before {
content: "";
flex: 0 0 auto;
width: 18px;
height: 18px;
margin-top: 1px;
background-color: var(--state-error, #b91c1c);
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='13'/%3E%3Cline x1='12' y1='16.5' x2='12.01' y2='16.5'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='13'/%3E%3Cline x1='12' y1='16.5' x2='12.01' y2='16.5'/%3E%3C/svg%3E");
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: 18px 18px;
mask-size: 18px 18px;
}
body.ofs-forms .comment-respond .comment-form input:required:user-valid:not([type="checkbox"]):not([type="radio"]),
body.ofs-forms .comment-respond .comment-form textarea:required:user-valid {
border-color: var(--state-success, #047857);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right var(--space-16, 16px) center;
background-size: 20px 20px;
padding-right: 46px;
}
body.ofs-forms .comment-respond .comment-form select:required:user-valid {
border-color: var(--state-success, #047857);
}
body.ofs-forms .comment-respond .comment-form input:disabled,
body.ofs-forms .comment-respond .comment-form textarea:disabled,
body.ofs-forms .comment-respond .comment-form select:disabled {
background-color: var(--surface-muted, #f1f5f9);
border-color: var(--border, #e2e8f0);
border-style: solid;
color: var(--text-subtle, #64748b);
cursor: not-allowed;
box-shadow: none;
}
body.ofs-forms .comment-respond .comment-form input[readonly],
body.ofs-forms .comment-respond .comment-form textarea[readonly] {
background-color: var(--surface, #ffffff);
border-color: var(--border-strong, #cbd5e1);
border-style: dashed;
color: var(--text, #0f172a);
cursor: default;
}
body.ofs-forms .woocommerce-form__input-checkbox,
body.ofs-forms .mc4wp-checkbox input[type="checkbox"],
body.ofs-forms .comment-form input[type="checkbox"],
body.ofs-forms .woocommerce form .form-row input[type="checkbox"],
body.ofs-forms .woocommerce form .form-row input[type="radio"]:not(.shipping_method) {
box-sizing: border-box;
flex: 0 0 auto;
width: 22px;
height: 22px;
margin: 0;
padding: 0;
appearance: none;
-webkit-appearance: none;
display: inline-grid;
place-content: center;
vertical-align: middle;
background-color: var(--surface, #ffffff);
background-image: none;
border: 2px solid var(--border-strong, #cbd5e1);
border-radius: var(--radius-8, 8px);
cursor: pointer;
transition-property: background-color, border-color, box-shadow;
transition-duration: var(--dur, 200ms);
transition-timing-function: var(--ease, cubic-bezier(.2, .6, .3, 1));
}
body.ofs-forms .woocommerce form .form-row input[type="radio"]:not(.shipping_method) {
border-radius: var(--radius-circle, 50%);
}
body.ofs-forms .woocommerce-form__input-checkbox::before,
body.ofs-forms .mc4wp-checkbox input[type="checkbox"]::before,
body.ofs-forms .comment-form input[type="checkbox"]::before,
body.ofs-forms .woocommerce form .form-row input[type="checkbox"]::before,
body.ofs-forms .woocommerce form .form-row input[type="radio"]:not(.shipping_method)::before {
content: "";
width: 12px;
height: 12px;
transform: scale(0);
background-color: var(--text-on-brand, #ffffff);
clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
transition-property: transform;
transition-duration: var(--dur-fast, 120ms);
transition-timing-function: var(--ease, cubic-bezier(.2, .6, .3, 1));
}
body.ofs-forms .woocommerce form .form-row input[type="radio"]:not(.shipping_method)::before {
width: 10px;
height: 10px;
border-radius: var(--radius-circle, 50%);
clip-path: none;
}
body.ofs-forms .woocommerce-form__input-checkbox:checked,
body.ofs-forms .mc4wp-checkbox input[type="checkbox"]:checked,
body.ofs-forms .comment-form input[type="checkbox"]:checked,
body.ofs-forms .woocommerce form .form-row input[type="checkbox"]:checked,
body.ofs-forms .woocommerce form .form-row input[type="radio"]:not(.shipping_method):checked {
background-color: var(--brand, #2563eb);
border-color: var(--brand, #2563eb);
}
body.ofs-forms .woocommerce-form__input-checkbox:checked::before,
body.ofs-forms .mc4wp-checkbox input[type="checkbox"]:checked::before,
body.ofs-forms .comment-form input[type="checkbox"]:checked::before,
body.ofs-forms .woocommerce form .form-row input[type="checkbox"]:checked::before,
body.ofs-forms .woocommerce form .form-row input[type="radio"]:not(.shipping_method):checked::before {
transform: scale(1);
}
body.ofs-forms .woocommerce-form__input-checkbox:hover,
body.ofs-forms .mc4wp-checkbox input[type="checkbox"]:hover,
body.ofs-forms .comment-form input[type="checkbox"]:hover,
body.ofs-forms .woocommerce form .form-row input[type="checkbox"]:hover,
body.ofs-forms .woocommerce form .form-row input[type="radio"]:not(.shipping_method):hover {
border-color: var(--brand, #2563eb);
}
body.ofs-forms .woocommerce-form__input-checkbox:focus-visible,
body.ofs-forms .mc4wp-checkbox input[type="checkbox"]:focus-visible,
body.ofs-forms .comment-form input[type="checkbox"]:focus-visible,
body.ofs-forms .woocommerce form .form-row input[type="checkbox"]:focus-visible,
body.ofs-forms .woocommerce form .form-row input[type="radio"]:not(.shipping_method):focus-visible {
outline: 2px solid transparent;
outline-offset: 2px;
box-shadow: var(--focus-ring, 0 0 0 2px #ffffff, 0 0 0 5px #2563eb);
}
body.ofs-forms .woocommerce-form__input-checkbox:disabled,
body.ofs-forms .comment-form input[type="checkbox"]:disabled,
body.ofs-forms .woocommerce form .form-row input[type="checkbox"]:disabled {
background-color: var(--surface-muted, #f1f5f9);
border-color: var(--border, #e2e8f0);
cursor: not-allowed;
}
body.ofs-forms label.woocommerce-form__label-for-checkbox,
body.ofs-forms p.mc4wp-checkbox,
body.ofs-forms p.comment-form-cookies-consent,
body.ofs-forms .comment-form p.mc4wp-checkbox,
body.ofs-forms .comment-form p.comment-form-cookies-consent {
box-sizing: border-box;
display: flex;
align-items: center;
gap: var(--space-12, 12px);
width: 100%;
min-height: 52px;
margin: 0 0 var(--space-12, 12px);
padding: var(--space-12, 12px) var(--space-16, 16px);
background-color: var(--surface, #ffffff);
border: 1px solid var(--border, #e2e8f0);
border-radius: var(--radius-12, 12px);
font-family: var(--font-text, 'DM Sans', 'Segoe UI', sans-serif);
font-size: var(--fs-md, 16px);
font-weight: var(--fw-regular, 400);
line-height: var(--lh-md, 24px);
color: var(--text, #0f172a);
cursor: pointer;
transition-property: background-color, border-color, box-shadow;
transition-duration: var(--dur, 200ms);
transition-timing-function: var(--ease, cubic-bezier(.2, .6, .3, 1));
}
body.ofs-forms p.mc4wp-checkbox > label {
display: flex;
align-items: center;
gap: var(--space-12, 12px);
width: 100%;
margin: 0;
font-weight: var(--fw-regular, 400);
cursor: pointer;
}
body.ofs-forms p.comment-form-cookies-consent > label {
margin: 0;
font-weight: var(--fw-regular, 400);
font-size: var(--fs-md, 16px);
line-height: var(--lh-md, 24px);
cursor: pointer;
}
body.ofs-forms label.woocommerce-form__label-for-checkbox:hover,
body.ofs-forms p.mc4wp-checkbox:hover,
body.ofs-forms p.comment-form-cookies-consent:hover {
border-color: var(--border-strong, #cbd5e1);
background-color: var(--brand-a1, rgb(37 99 235 / .06));
}
body.ofs-forms label.woocommerce-form__label-for-checkbox:has(input:checked),
body.ofs-forms p.mc4wp-checkbox:has(input:checked),
body.ofs-forms p.comment-form-cookies-consent:has(input:checked) {
border-color: var(--brand, #2563eb);
background-color: var(--brand-a1, rgb(37 99 235 / .06));
box-shadow: inset 0 0 0 1px var(--brand, #2563eb);
}
body.ofs-forms label.woocommerce-form__label-for-checkbox:has(input:focus-visible),
body.ofs-forms p.mc4wp-checkbox:has(input:focus-visible),
body.ofs-forms p.comment-form-cookies-consent:has(input:focus-visible) {
outline: 2px solid transparent;
outline-offset: 2px;
border-color: var(--brand, #2563eb);
box-shadow: var(--focus-ring, 0 0 0 2px #ffffff, 0 0 0 5px #2563eb);
}
body.ofs-forms #respond .comment-form .form-submit input#submit,
body.ofs-forms #respond .comment-form .form-submit input[type="submit"],
body.ofs-forms #respond .comment-form .form-submit button[type="submit"] {
box-sizing: border-box;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
min-width: 160px;
padding: 0 var(--space-24, 24px);
font-family: var(--font-text, 'DM Sans', 'Segoe UI', sans-serif);
font-size: var(--fs-md, 16px);
font-weight: var(--fw-semibold, 600);
line-height: var(--lh-md, 24px);
color: var(--text-on-brand, #ffffff);
background-color: var(--brand, #2563eb);
border: 0;
border-radius: var(--radius-12, 12px);
cursor: pointer;
appearance: none;
-webkit-appearance: none;
transition-property: background-color, box-shadow;
transition-duration: var(--dur, 200ms);
transition-timing-function: var(--ease, cubic-bezier(.2, .6, .3, 1));
}
body.ofs-forms #respond .comment-form .form-submit input#submit:hover,
body.ofs-forms #respond .comment-form .form-submit input[type="submit"]:hover,
body.ofs-forms #respond .comment-form .form-submit button[type="submit"]:hover {
background-color: var(--brand-hover, #1d4ed8);
}
body.ofs-forms #respond .comment-form .form-submit input#submit:focus-visible,
body.ofs-forms #respond .comment-form .form-submit input[type="submit"]:focus-visible,
body.ofs-forms #respond .comment-form .form-submit button[type="submit"]:focus-visible {
outline: 2px solid transparent;
outline-offset: 2px;
box-shadow: var(--focus-ring, 0 0 0 2px #ffffff, 0 0 0 5px #2563eb);
}
body.ofs-forms #respond .comment-form .form-submit input#submit:disabled,
body.ofs-forms #respond .comment-form .form-submit input[type="submit"]:disabled,
body.ofs-forms #respond .comment-form .form-submit button[type="submit"]:disabled {
background-color: var(--surface-muted, #f1f5f9);
color: var(--text-subtle, #64748b);
cursor: not-allowed;
}
body.ofs-forms .comment-respond .comment-form .comment-form-rating {
margin-bottom: var(--space-16, 16px);
}
@media (prefers-reduced-motion: reduce) {
body.ofs-forms .comment-respond .comment-form input,
body.ofs-forms .comment-respond .comment-form textarea,
body.ofs-forms .comment-respond .comment-form select,
body.ofs-forms #respond .comment-form .form-submit input#submit,
body.ofs-forms #respond .comment-form .form-submit input[type="submit"],
body.ofs-forms #respond .comment-form .form-submit button[type="submit"],
body.ofs-forms .woocommerce-form__input-checkbox,
body.ofs-forms .mc4wp-checkbox input[type="checkbox"],
body.ofs-forms .woocommerce form .form-row input[type="checkbox"],
body.ofs-forms label.woocommerce-form__label-for-checkbox,
body.ofs-forms p.mc4wp-checkbox,
body.ofs-forms p.comment-form-cookies-consent {
transition-duration: 1ms;
}
body.ofs-forms .woocommerce-form__input-checkbox::before,
body.ofs-forms .mc4wp-checkbox input[type="checkbox"]::before,
body.ofs-forms .comment-form input[type="checkbox"]::before,
body.ofs-forms .woocommerce form .form-row input[type="checkbox"]::before {
transition-duration: 1ms;
}
}
@media (forced-colors: active) {
body.ofs-forms .comment-respond .comment-form input:focus,
body.ofs-forms .comment-respond .comment-form textarea:focus,
body.ofs-forms .comment-respond .comment-form select:focus {
outline: 3px solid Highlight;
outline-offset: 2px;
}
body.ofs-forms .woocommerce-form__input-checkbox,
body.ofs-forms .mc4wp-checkbox input[type="checkbox"],
body.ofs-forms .comment-form input[type="checkbox"],
body.ofs-forms .woocommerce form .form-row input[type="checkbox"] {
border-color: CanvasText;
}
body.ofs-forms .woocommerce-form__input-checkbox:checked::before,
body.ofs-forms .mc4wp-checkbox input[type="checkbox"]:checked::before,
body.ofs-forms .comment-form input[type="checkbox"]:checked::before,
body.ofs-forms .woocommerce form .form-row input[type="checkbox"]:checked::before {
background-color: CanvasText;
}
}
@media (max-width: 480px) {
body.ofs-forms .comment-respond .comment-form input[type="text"],
body.ofs-forms .comment-respond .comment-form input[type="email"],
body.ofs-forms .comment-respond .comment-form input[type="url"],
body.ofs-forms .comment-respond .comment-form input[type="tel"],
body.ofs-forms .comment-respond .comment-form textarea,
body.ofs-forms .comment-respond .comment-form select {
padding-left: var(--space-12, 12px);
padding-right: var(--space-12, 12px);
font-size: 16px;
}
body.ofs-forms label.woocommerce-form__label-for-checkbox,
body.ofs-forms p.mc4wp-checkbox,
body.ofs-forms p.comment-form-cookies-consent {
align-items: flex-start;
padding: var(--space-12, 12px);
}
body.ofs-forms #respond .comment-form .form-submit input#submit,
body.ofs-forms #respond .comment-form .form-submit input[type="submit"],
body.ofs-forms #respond .comment-form .form-submit button[type="submit"] {
width: 100%;
}
}
