.ofb-wrap.ofb-theme-light {
--ofb-bg: #ffffff;
--ofb-surface: #ffffff;
--ofb-text: #0f172a;
--ofb-muted: #475569;
--ofb-input-bg: #f8fafc;
--ofb-border: #dbe2ea;
--ofb-focus: rgba(15, 23, 42, 0.10);
--ofb-primary: #d4a62a;
--ofb-primary-text: #ffffff;
}
.ofb-wrap.ofb-theme-dark {
--ofb-bg: #0b1020;
--ofb-surface: linear-gradient(180deg, #0a0f1c 0%, #070b16 100%);
--ofb-text: #f8fafc;
--ofb-muted: #cbd5e1;
--ofb-input-bg: #0a1020;
--ofb-border: #1f2a44;
--ofb-focus: rgba(212, 166, 42, 0.20);
--ofb-primary: #d4a62a;
--ofb-primary-text: #ffffff;
}
.ofb-wrap {
max-width: 720px;
margin: 20px auto;
}
.ofb-form {
background: var(--ofb-surface);
color: var(--ofb-text);
border: 1px solid var(--ofb-border);
border-radius: 20px;
padding: 18px;
box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.ofb-field {
margin-bottom: 14px;
}
.ofb-label {
display: block;
font-weight: 700;
font-size: 13px;
line-height: 1.3;
margin-bottom: 6px;
color: var(--ofb-text);
}
.ofb-required {
color: #dc2626;
}
.ofb-form input[type=text],
.ofb-form input[type=email],
.ofb-form input[type=tel],
.ofb-form input[type=file],
.ofb-form input[type=date],
.ofb-form input[type=datetime-local],
.ofb-form select,
.ofb-form textarea {
width: 100%;
box-sizing: border-box;
padding: 10px 12px;
border: 1px solid var(--ofb-border);
border-radius: 12px;
background: var(--ofb-input-bg);
color: var(--ofb-text);
font-size: 14px;
line-height: 1.4;
transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ofb-form input[type=text],
.ofb-form input[type=email],
.ofb-form input[type=tel],
.ofb-form input[type=file],
.ofb-form select {
min-height: 42px;
}
.ofb-form textarea {
min-height: 96px;
resize: vertical;
}
.ofb-form input::placeholder,
.ofb-form textarea::placeholder {
color: var(--ofb-muted);
}
.ofb-form input:focus,
.ofb-form select:focus,
.ofb-form textarea:focus {
outline: none;
border-color: var(--ofb-primary);
box-shadow: 0 0 0 3px var(--ofb-focus);
}
.ofb-options-group {
display: grid;
gap: 8px;
}
.ofb-choice {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border: 1px solid var(--ofb-border);
border-radius: 12px;
background: var(--ofb-input-bg);
color: var(--ofb-text);
}
.ofb-choice input[type=checkbox],
.ofb-choice input[type=radio] {
width: 16px;
height: 16px;
margin: 0;
accent-color: var(--ofb-primary);
flex: 0 0 auto;
}
.ofb-single-checkbox {
background: transparent;
border: none;
padding: 0;
} .ofb-terms-field {
margin: 18px 0 14px;
}
.ofb-terms-choice {
align-items: flex-start;
padding: 12px 14px;
cursor: pointer;
line-height: 1.55;
}
.ofb-terms-choice input[type=checkbox] {
margin-top: 2px;
}
.ofb-terms-text {
font-size: 13px;
color: var(--ofb-text);
}
.ofb-terms-link {
color: #268fd0;
text-decoration: underline;
text-underline-offset: 2px;
font-weight: 700;
}
.ofb-terms-link:hover,
.ofb-terms-link:focus-visible {
color: #0c568f;
}
.ofb-submit {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 170px;
padding: 11px 20px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, .38);
background: linear-gradient(135deg, #0c568f, #2696d8 60%, #54c1f4);
color: var(--ofb-primary-text);
font-weight: 750;
font-size: 14px;
letter-spacing: .02em;
cursor: pointer;
transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
box-shadow: 0 15px 31px rgba(15, 96, 156, .31), 0 0 21px rgba(55, 171, 235, .18), inset 0 1px 0 rgba(255, 255, 255, .34);
}
.ofb-submit:hover {
transform: translateY(-1px);
}
.ofb-submit[disabled] {
opacity: .72;
cursor: wait;
transform: none;
}
.ofb-message {
margin-top: 12px;
padding: 10px 12px;
border-radius: 12px;
display: none;
font-size: 13px;
}
.ofb-message.is-loading,
.ofb-message.is-success,
.ofb-message.is-error {
display: block;
}
.ofb-message.is-loading {
background: #eff6ff;
color: #1d4ed8;
}
.ofb-message.is-success {
background: #ecfdf5;
color: #047857;
}
.ofb-message.is-error {
background: #fef2f2;
color: #b91c1c;
}
.ofb-honeypot {
position: absolute;
left: -9999px;
opacity: 0;
pointer-events: none;
}
@media (max-width: 640px) {
.ofb-wrap {
margin: 14px auto;
}
.ofb-form {
padding: 14px;
border-radius: 16px;
}
.ofb-submit {
min-width: 100%;
}
}
.ofb-step { display: none; }
.ofb-step.is-active { display: block; }
.ofb-next-step {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 150px;
padding: 11px 20px;
border-radius: 999px;
border: none;
background: var(--ofb-primary);
color: var(--ofb-primary-text);
font-weight: 700;
font-size: 14px;
cursor: pointer;
}
.ofb-step-error,
.ofb-field-error {
margin-top: 7px;
color: #b91c1c;
font-size: 13px;
font-weight: 600;
}
.ofb-invalid input,
.ofb-invalid select,
.ofb-invalid textarea,
.ofb-invalid .ofb-choice {
border-color: #dc2626 !important;
} .ofb-popup.ofb-theme-light,
.ofb-popup-overlay.ofb-theme-light {
--ofb-bg: #ffffff;
--ofb-surface: #ffffff;
--ofb-text: #0f172a;
--ofb-muted: #475569;
--ofb-input-bg: #f8fafc;
--ofb-border: #dbe2ea;
--ofb-focus: rgba(15, 23, 42, 0.10);
--ofb-primary: #d4a62a;
--ofb-primary-text: #ffffff;
}
.ofb-popup.ofb-theme-dark,
.ofb-popup-overlay.ofb-theme-dark {
--ofb-bg: #0b1020;
--ofb-surface: #0a0f1c;
--ofb-text: #f8fafc;
--ofb-muted: #cbd5e1;
--ofb-input-bg: #0a1020;
--ofb-border: #1f2a44;
--ofb-focus: rgba(212, 166, 42, 0.20);
--ofb-primary: #d4a62a;
--ofb-primary-text: #ffffff;
}
.ofb-popup-trigger {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
padding: 12px 24px;
border: 0;
border-radius: 999px;
background: var(--ofb-primary);
color: var(--ofb-primary-text);
font: inherit;
font-weight: 700;
line-height: 1.2;
cursor: pointer;
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.ofb-popup-trigger:hover {
transform: translateY(-1px);
box-shadow: 0 14px 28px rgba(15, 23, 42, 0.20);
}
.ofb-popup-trigger:focus-visible,
.ofb-popup-close:focus-visible {
outline: 3px solid var(--ofb-focus);
outline-offset: 3px;
}
.ofb-popup-overlay {
position: fixed;
inset: 0;
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
background: rgba(2, 6, 23, 0.72);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity .2s ease, visibility .2s ease;
}
.ofb-popup-overlay.is-open {
opacity: 1;
visibility: visible;
pointer-events: auto;
}
.ofb-popup-dialog {
position: relative;
width: min(760px, 100%);
max-height: calc(100vh - 48px);
overflow-y: auto;
overscroll-behavior: contain;
border: 1px solid var(--ofb-border);
border-radius: 24px;
background: var(--ofb-surface);
color: var(--ofb-text);
box-shadow: 0 30px 80px rgba(2, 6, 23, 0.36);
transform: translateY(18px) scale(.98);
transition: transform .2s ease;
}
.ofb-popup-overlay.is-open .ofb-popup-dialog {
transform: translateY(0) scale(1);
}
.ofb-popup-header {
padding: 24px 64px 8px 24px;
}
.ofb-popup-header
h2{
position: relative;
margin:0;
padding-left:20px;
color:#0e1923;
font-size:clamp(24px,3vw,34px);
font-weight:800;
line-height:1.08;
letter-spacing:-0.035em;
text-shadow:0 2px 12px rgba(12,86,143,.08);
}
.ofb-popup-header h2::before{
content:"";
position:absolute;
top:4px;
bottom:4px;
left:0;
width:5px;
border-radius:999px;
background:linear-gradient(
180deg,
#54c1f4,
#2696d8 55%,
#0c568f
);
box-shadow:
0 0 12px rgba(38,150,216,.55),
0 0 24px rgba(84,193,244,.22);
}
.ofb-popup-header h2::after{
content:"";
display:block;
width:90px;
height:3px;
margin-top:12px;
border-radius:999px;
background:linear-gradient(
90deg,
#0c568f,
#54c1f4,
transparent
);
box-shadow:0 0 12px rgba(38,150,216,.30);
}
.ofb-popup-close {
position: absolute;
top: 14px;
right: 14px;
z-index: 2;
width: 40px;
height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
border: 1px solid var(--ofb-border);
border-radius: 50%;
background: var(--ofb-input-bg);
color: var(--ofb-text);
font-size: 28px;
line-height: 1;
cursor: pointer;
}
.ofb-popup-form-wrap {
max-width: none;
margin: 0;
padding: 0 6px 6px;
}
.ofb-popup-dialog .ofb-form {
border: 0;
border-radius: 0 0 24px 24px;
box-shadow: none;
background: transparent;
padding: 18px 24px 24px;
}
body.ofb-popup-open {
overflow: hidden;
}
@media (max-width: 640px) {
.ofb-popup-overlay {
align-items: flex-end;
padding: 10px;
}
.ofb-popup-dialog {
width: 100%;
max-height: calc(100vh - 20px);
border-radius: 20px;
}
.ofb-popup-header {
padding: 22px 56px 4px 16px;
}
.ofb-popup-dialog .ofb-form {
padding: 14px 16px 18px;
}
.ofb-popup-trigger {
width: 100%;
}
}
@media (prefers-reduced-motion: reduce) {
.ofb-popup-overlay,
.ofb-popup-dialog,
.ofb-popup-trigger {
transition: none;
}
} .ofb-recaptcha-field {
margin: 18px 0 14px;
}
.ofb-recaptcha-shell {
width: 100%;
max-width: 100%;
min-height: 0;
overflow: visible; }
.ofb-recaptcha {
max-width: 100%;
min-height: 0;
position: relative;
} .ofb-recaptcha[data-ofb-size="compact"] {
width: 164px;
min-height: 144px;
}
.ofb-recaptcha[data-ofb-size="normal"] {
width: 304px;
min-height: 78px;
}
.ofb-recaptcha-error {
min-height: 0;
margin-top: 7px;
color: #b91c1c;
font-size: 13px;
font-weight: 600;
}
.ofb-recaptcha-error:empty {
display: none;
}  @media screen and (max-width: 767px) {
body .ofb-wrap {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
margin: 0 auto !important;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
} body .ofb-wrap:not(.ofb-popup-form-wrap) .ofb-form {
display: block !important;
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
background: transparent !important;
}
body .ofb-wrap .ofb-form,
body .ofb-wrap .ofb-form *,
body .ofb-wrap .ofb-form *::before,
body .ofb-wrap .ofb-form *::after {
box-sizing: border-box;
}
body .ofb-wrap .ofb-step {
width: 100% !important;
min-width: 0 !important;
}
body .ofb-wrap .ofb-field {
width: 100% !important;
min-width: 0 !important;
margin: 0 0 14px !important;
}
body .ofb-wrap .ofb-label {
display: block !important;
margin: 0 0 6px !important;
font-size: 14px !important;
font-weight: 700 !important;
line-height: 1.35 !important;
letter-spacing: 0 !important;
overflow-wrap: anywhere;
}
body .ofb-wrap .ofb-form :is(input[type="text"],input[type="email"],input[type="tel"],input[type="date"],input[type="datetime-local"],input[type="file"],select,textarea:not([name="g-recaptcha-response"])) {
display: block !important;
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
height: auto !important;
min-height: 48px !important;
margin: 0 !important;
padding: 11px 13px !important;
font-size: 16px !important; font-family: inherit !important;
font-weight: 400 !important;
line-height: 1.4 !important;
border: 1px solid var(--ofb-border, #dbe2ea) !important;
border-radius: 12px !important;
box-shadow: none !important;
background: var(--ofb-input-bg, #f8fafc) !important;
color: var(--ofb-text, #0f172a) !important;
-webkit-appearance: none;
appearance: none;
}
body .ofb-wrap .ofb-form textarea:not([name="g-recaptcha-response"]) {
height: 112px !important;
min-height: 112px !important;
resize: vertical !important;
} body .ofb-wrap .ofb-form input[type="date"],
body .ofb-wrap .ofb-form input[type="datetime-local"] {
-webkit-appearance: auto;
appearance: auto;
}
body .ofb-wrap .ofb-form :is(input,select,textarea):focus-visible {
outline: 2px solid #138bd1 !important;
outline-offset: 1px !important;
}
body .ofb-wrap .ofb-options-group {
display: grid !important;
grid-template-columns: minmax(0, 1fr) !important;
gap: 8px !important;
}
body .ofb-wrap .ofb-choice {
min-width: 0 !important;
min-height: 44px !important;
padding: 9px 11px !important;
font-size: 14px !important;
line-height: 1.4 !important;
}
body .ofb-wrap .ofb-choice input:is([type="checkbox"],[type="radio"]) {
width: 18px !important;
height: 18px !important;
min-height: 0 !important;
padding: 0 !important;
flex: 0 0 18px !important;
-webkit-appearance: auto !important;
appearance: auto !important;
}
body .ofb-wrap .ofb-recaptcha-field {
width: 100% !important;
max-width: 100% !important;
margin: 10px 0 14px !important;
}
body .ofb-wrap .ofb-recaptcha-shell {
display: block !important;
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
overflow: visible !important;
}
body .ofb-wrap .ofb-recaptcha {
max-width: 100% !important;
transform: none !important; transform-origin: top left !important;
} body .ofb-wrap textarea[name="g-recaptcha-response"] {
display: none !important;
visibility: hidden !important;
}
body .ofb-wrap .ofb-form .ofb-submit,
body .ofb-wrap .ofb-form .ofb-next-step {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
min-height: 50px !important;
align-items: center !important;
justify-content: center !important;
margin: 6px 0 0 !important;
padding: 12px 16px !important;
border-radius: 13px !important;
font-size: 16px !important;
line-height: 1.35 !important;
text-align: center !important;
white-space: normal !important;
overflow-wrap: anywhere !important;
} body .ofb-wrap .ofb-honeypot {
position: absolute !important;
left: -9999px !important;
width: 1px !important;
height: 1px !important;
opacity: 0 !important;
pointer-events: none !important;
} body .ofb-popup-dialog .ofb-wrap.ofb-popup-form-wrap {
padding: 0 14px 16px !important;
}
body .ofb-popup-dialog .ofb-form {
padding: 0 !important;
border: none !important;
box-shadow: none !important;
}
}  html body textarea[name="g-recaptcha-response"],
html body textarea.g-recaptcha-response,
html body textarea[id="g-recaptcha-response"],
html body textarea[id^="g-recaptcha-response-"] {
display: none !important;
visibility: hidden !important;
position: absolute !important;
opacity: 0 !important;
width: 0 !important;
min-width: 0 !important;
max-width: 0 !important;
height: 0 !important;
min-height: 0 !important;
max-height: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
box-shadow: none !important;
pointer-events: none !important;
}
@media screen and (max-width: 767px) { body .ofb-wrap .ofb-form .ofb-submit {
position: relative !important;
z-index: 2;
display: flex !important;
}
} @media screen and (max-width: 767px) {
html body div.ofb-popup-overlay {
position: fixed !important;
inset: 0 !important;
top: 0 !important;
right: 0 !important;
bottom: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100dvh !important;
max-width: none !important;
max-height: none !important;
margin: 0 !important;
z-index: 999999 !important;
}
html body div.ofb-popup-overlay:not(.is-open) {
display: none !important;
visibility: hidden !important;
pointer-events: none !important;
}
html body div.ofb-popup-overlay.is-open {
display: flex !important;
visibility: visible !important;
pointer-events: auto !important;
overflow-x: hidden !important;
overflow-y: auto !important;
} html body div.ofb-popup-overlay .ofb-popup-dialog {
flex: 0 1 auto;
min-height: 0;
max-height: calc(100dvh - 32px) !important;
overflow-y: auto !important;
-webkit-overflow-scrolling: touch;
}
}