/*
 * VelvetLeads embedded forms (enquiry, guide request, eligibility, online booking).
 * Look: it belongs to the immvest.com page it sits on. Text uses the PAGE font (font-family: inherit, Open Sans on the
 * live theme); headings inside the components use Montserrat. White inputs on the page's beige, 1px borders, square
 * corners, no shadows, gold 1.5px focus, dark grey #4a4a4a button with a white uppercase label.
 *
 * These forms are pasted into WPBakery / ThemeREX pages whose theme styles inputs, selects, buttons, labels, legends
 * and paragraphs aggressively (and whose scripts wrap selects in their own widgets). So: every rule is scoped under
 * .vl-form-wrap .vl-form, controls start from "all: revert" and are then re-styled, selects are forced to a plain
 * appearance (no native look, our own chevron, and any wrapper the theme adds around them is flattened), legends and
 * fieldsets are neutralised, and the decorative properties themes love to add (radius, shadow, gradient, italics,
 * indents) are pinned with !important. Fields are <div>s, not <p>s, so theme paragraph rules never apply.
 *
 * Contrast: control borders use #8f8a78 (3:1 or more against white and the beige page). Gold #c9a24b is 2.4:1 on white,
 * so it is only used for outlines and marks, never for text; every focus state also darkens the border.
 */
.vl-form-wrap {
  --vlf-text: #5a5a5a;
  --vlf-label: #3b4247;
  --vlf-ink: #212a31;
  --vlf-btn: #4a4a4a;
  --vlf-gold: #c9a24b;
  --vlf-hair: #d8d3c4;   /* decorative dividers and boxes */
  --vlf-line: #8f8a78;   /* control borders */
  --vlf-line-h: #5f5b4d;
  --vlf-soft: #fbf8f0;
  --vlf-error: #a32020;
  --vlf-head: Montserrat, 'Open Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  max-width: 780px; margin: 0; padding: 0; font-family: inherit; font-size: 16px; line-height: 1.5; color: var(--vlf-text); text-align: start;
  -webkit-text-size-adjust: 100%;
}
.vl-form-wrap *, .vl-form-wrap *::before, .vl-form-wrap *::after { box-sizing: border-box; }
.vl-form-wrap .vl-form :is(label, legend, fieldset, div, span, p, button, input, select, textarea, a) { font-style: normal !important; text-indent: 0 !important; }

/* grid: two columns, wide fields span both */
.vl-form-wrap .vl-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin: 0; padding: 0; border: 0; background: none; }
.vl-form-wrap .vl-form > * { min-width: 0; margin: 0; }
.vl-form-wrap .vl-form .vl-textarea, .vl-form-wrap .vl-form .vl-wide, .vl-form-wrap .vl-form .vl-consent, .vl-form-wrap .vl-form .vl-privacy,
.vl-form-wrap .vl-form .vl-actionrow, .vl-form-wrap .vl-form .vl-status, .vl-form-wrap .vl-form .vl-booking, .vl-form-wrap .vl-form noscript { grid-column: 1 / -1; }
.vl-form-wrap .vl-form .vl-field, .vl-form-wrap .vl-form .vl-consent, .vl-form-wrap .vl-form .vl-privacy, .vl-form-wrap .vl-form .vl-actionrow, .vl-form-wrap .vl-form .vl-hint { margin: 0; padding: 0; font-size: inherit; line-height: inherit; color: inherit; background: none; }

/* labels: sentence case, 15px, 600 */
.vl-form-wrap .vl-form label { all: revert; box-sizing: border-box; display: block; margin: 0 0 8px; padding: 0; background: none; font-family: inherit; font-size: 15px; font-weight: 600; font-style: normal; letter-spacing: 0; text-transform: none; color: var(--vlf-label); line-height: 1.35; cursor: default; float: none; width: auto; text-shadow: none; }
.vl-form-wrap .vl-form label span[aria-hidden] { color: #b8923a; font-weight: 400; }

/* text controls */
.vl-form-wrap .vl-form :is(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"], [type="button"]), select, textarea) {
  all: revert; box-sizing: border-box; display: block; width: 100%; max-width: none; height: auto; min-height: 50px; margin: 0; padding: 12px 14px;
  font: inherit; font-size: 16px; line-height: 1.35; letter-spacing: 0; text-transform: none; text-shadow: none; text-align: start; color: #2b2b2b;
  background: #fff none; border: 1px solid var(--vlf-line); outline: 0; float: none; -webkit-appearance: none; appearance: none; transition: border-color .15s;
  border-radius: 0 !important; box-shadow: none !important; background-image: none; filter: none; transform: none;
}
.vl-form-wrap .vl-form textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.vl-form-wrap .vl-form input::placeholder, .vl-form-wrap .vl-form textarea::placeholder { color: #767676; opacity: 1; }
.vl-form-wrap .vl-form :is(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea):hover { border-color: var(--vlf-line-h); }
.vl-form-wrap .vl-form :is(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea):focus { border-color: var(--vlf-btn); outline: 1.5px solid var(--vlf-gold); outline-offset: 2px; background-color: #fff; }
.vl-form-wrap .vl-form :is(input, select, textarea)[aria-invalid="true"], .vl-form-wrap .vl-form .vl-invalid { border-color: var(--vlf-error); outline: 1.5px solid var(--vlf-error); outline-offset: 0; }
.vl-form-wrap .vl-form :is(input, select, textarea)[disabled] { opacity: .6; cursor: not-allowed; }
.vl-form-wrap .vl-form input[type="tel"], .vl-form-wrap .vl-form input[type="email"] { direction: ltr; text-align: start; }
.vl-form-wrap[dir="rtl"] .vl-form input[type="tel"], .vl-form-wrap[dir="rtl"] .vl-form input[type="email"] { text-align: right; }
.vl-form-wrap .vl-form option { color: #2b2b2b; background: #fff; font-family: inherit; text-transform: none; letter-spacing: 0; font-style: normal; }

/* selects: always the same white box with our own chevron. Declared after the generic rule, higher specificity, !important,
   so a theme's native/transparent/custom-arrow select styling (or a script that swaps the widget) cannot show through. */
.vl-form-wrap .vl-form .vl-field select, .vl-form-wrap .vl-form .vl-phone select, .vl-form-wrap .vl-form select[name], .vl-form-wrap .vl-form select[data-country], .vl-form-wrap .vl-form select[data-prefix] {
  -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important;
  display: block !important; visibility: visible !important; opacity: 1; position: static !important; float: none !important;
  width: 100% !important; height: auto !important; min-height: 50px !important; margin: 0 !important; padding: 12px 42px 12px 14px !important; cursor: pointer; text-overflow: ellipsis;
  color: #2b2b2b !important; background-color: #fff !important; border: 1px solid var(--vlf-line) !important; border-radius: 0 !important; box-shadow: none !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234a4a4a' stroke-width='1.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 15px center !important; background-size: 12px 8px !important;
}
.vl-form-wrap[dir="rtl"] .vl-form .vl-field select, .vl-form-wrap[dir="rtl"] .vl-form .vl-phone select, .vl-form-wrap[dir="rtl"] .vl-form select[name] { padding: 12px 14px 12px 42px !important; background-position: left 15px center !important; }
.vl-form-wrap .vl-form .vl-field select:focus, .vl-form-wrap .vl-form .vl-phone select:focus, .vl-form-wrap .vl-form select[name]:focus { border-color: var(--vlf-btn) !important; }
.vl-form-wrap .vl-form select::-ms-expand { display: none; }
/* anything a theme wraps around a select (custom arrow boxes, pseudo elements, widget shells) is flattened */
.vl-form-wrap .vl-form :has(> select):not(.vl-field, .vl-phone, .vl-consent) { position: relative !important; display: block !important; width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; overflow: visible !important; }
.vl-form-wrap .vl-form :has(> select):not(.vl-field, .vl-phone, .vl-consent)::before, .vl-form-wrap .vl-form :has(> select):not(.vl-field, .vl-phone, .vl-consent)::after { content: none !important; display: none !important; }
.vl-form-wrap .vl-form .vl-phone > :has(> select) { flex: 0 0 10rem !important; width: 10rem !important; max-width: 50% !important; }
.vl-form-wrap .vl-form :is(.select2-container, .nice-select, .selectric-wrapper, .selectric-hide-select ~ .selectric, .sbHolder, .selectBox-dropdown, .chosen-container, .ui-selectmenu-button) { display: none !important; }

/* phone: country code and number as one joined control */
.vl-form-wrap .vl-form .vl-phone { all: revert; box-sizing: border-box; display: flex; align-items: stretch; gap: 0; width: 100%; margin: 0; padding: 0; border: 0; background: none; }
.vl-form-wrap .vl-form .vl-phone select, .vl-form-wrap .vl-form .vl-phone > :has(> select) select { flex: 0 0 auto; border-inline-end-width: 0 !important; padding-inline-start: 14px !important; }
.vl-form-wrap .vl-form .vl-phone > select { flex: 0 0 10rem; width: 10rem !important; max-width: 50%; }
.vl-form-wrap .vl-form .vl-phone input { flex: 1 1 auto; min-width: 0; width: auto; }
.vl-form-wrap .vl-form .vl-phone:focus-within { outline: 1.5px solid var(--vlf-gold); outline-offset: 2px; }
.vl-form-wrap .vl-form .vl-phone :is(select, input):focus { outline: 0; border-color: var(--vlf-btn) !important; }
.vl-form-wrap .vl-form .vl-phone select:focus { border-inline-end-width: 1px !important; }

/* consent: a square box with a hairline, gold fill and dark tick when ticked */
.vl-form-wrap .vl-form .vl-consent label { display: flex; gap: 14px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; line-height: 1.5; margin: 0; cursor: pointer; color: var(--vlf-text); }
.vl-form-wrap .vl-form .vl-consent input[type="checkbox"] {
  all: revert; box-sizing: border-box; flex: none; display: inline-block; width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; cursor: pointer; vertical-align: top;
  -webkit-appearance: none; appearance: none; background: #fff; border: 1px solid var(--vlf-line); border-radius: 0 !important; box-shadow: none !important; outline: 0;
}
.vl-form-wrap .vl-form .vl-consent input[type="checkbox"]:hover { border-color: var(--vlf-line-h); }
.vl-form-wrap .vl-form .vl-consent input[type="checkbox"]:checked {
  background: var(--vlf-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'%3E%3Cpath d='M1 5.5l4 4 8-8.5' fill='none' stroke='%231f1f1f' stroke-width='2'/%3E%3C/svg%3E") center / 14px 11px no-repeat;
  border-color: var(--vlf-btn);
}
.vl-form-wrap .vl-form .vl-consent input[type="checkbox"]:focus-visible { outline: 1.5px solid var(--vlf-gold); outline-offset: 3px; }
.vl-form-wrap .vl-form .vl-privacy { font-size: 14px; }
.vl-form-wrap .vl-form .vl-privacy a { color: var(--vlf-label); text-decoration: underline; text-decoration-color: var(--vlf-gold); text-decoration-thickness: 1.5px; text-underline-offset: 4px; background: none; border: 0; padding: 0; font-weight: 400; }
.vl-form-wrap .vl-form .vl-privacy a:hover { color: var(--vlf-ink); }
.vl-form-wrap .vl-form .vl-privacy a:focus-visible { outline: 1.5px solid var(--vlf-gold); outline-offset: 3px; }
.vl-form-wrap .vl-form .vl-hp { position: absolute !important; inset-inline-start: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* buttons: shared reset for every button this form owns */
.vl-form-wrap .vl-form button {
  all: revert; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 0; font: inherit; line-height: 1.2; letter-spacing: 0; text-transform: none; text-shadow: none; text-decoration: none; cursor: pointer; float: none; width: auto; max-width: none;
  color: var(--vlf-label); background: #fff none; border: 1px solid var(--vlf-line); -webkit-appearance: none; appearance: none; outline: 0;
  border-radius: 0 !important; box-shadow: none !important; background-image: none !important; transform: none !important; filter: none; transition: border-color .15s, background-color .15s, color .15s;
}
.vl-form-wrap .vl-form button:focus-visible { outline: 1.5px solid var(--vlf-gold); outline-offset: 3px; }
.vl-form-wrap .vl-form .vl-actionrow { display: block; }
.vl-form-wrap .vl-form .vl-submit { position: relative; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; min-height: 52px; height: auto; padding: 14px 38px; background: var(--vlf-btn) !important; border-color: var(--vlf-btn); color: #fff; }
.vl-form-wrap .vl-form .vl-submit:hover { background: #2f2f2f !important; border-color: #2f2f2f; color: #fff; }
.vl-form-wrap .vl-form .vl-submit:focus-visible { outline-offset: 3px; }
.vl-form-wrap .vl-form .vl-submit[disabled] { opacity: 1; cursor: progress; background: #7a7a7a !important; border-color: #7a7a7a; }
.vl-form-wrap .vl-form .vl-submit[aria-busy="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--vlf-gold); animation: vlf-run 1.1s linear infinite; transform-origin: left center; }
.vl-form-wrap[dir="rtl"] .vl-form .vl-submit, .vl-form-wrap:lang(zh) .vl-form .vl-submit { letter-spacing: 0; text-transform: none; font-size: 16px; }

/* status line */
.vl-form-wrap .vl-form .vl-status { min-height: 0; margin: 0; font-size: 15px; line-height: 1.5; color: var(--vlf-text); }
.vl-form-wrap .vl-form .vl-status:empty { display: none; }
.vl-form-wrap .vl-form .vl-status.vl-error { color: var(--vlf-error); padding: 10px 14px; border: 1px solid var(--vlf-error); border-inline-start-width: 3px; background: #fff; }

/* result */
.vl-form-wrap .vl-done, .vl-done { padding: 6px 0 6px 24px; border-inline-start: 3px solid #c9a24b; font-size: 17px; line-height: 1.6; color: #4a4a4a; font-family: inherit; max-width: 780px; outline: 0; }
.vl-form-wrap .vl-done, [dir="rtl"] .vl-done, .vl-done[dir="rtl"] { padding-inline: 24px 0; }
.vl-done p { margin: 0 0 .75em; }
.vl-done p:last-child { margin-bottom: 0; }
.vl-done .vl-download { display: inline-block; padding: 13px 28px; border: 1px solid #4a4a4a; background: #4a4a4a; color: #fff; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; font-weight: 600; border-radius: 0; }
.vl-done .vl-download:hover { background: #2f2f2f; color: #fff; }
.vl-done .vl-download:focus-visible { outline: 1.5px solid #c9a24b; outline-offset: 3px; }

/* ------------------------------------------------------------------------------------------ online booking */
.vl-form-wrap .vl-form fieldset.vl-booking { all: revert; box-sizing: border-box; grid-column: 1 / -1; display: block; min-width: 0; margin: 0; padding: 22px 24px 26px; border: 1px solid var(--vlf-hair); border-radius: 0 !important; background: none !important; box-shadow: none !important; font-family: inherit; font-style: normal !important; color: var(--vlf-text); }
.vl-form-wrap .vl-form .vl-booking legend { all: revert; box-sizing: border-box; display: block !important; float: none !important; width: auto !important; margin: 0; padding: 0 10px !important; background: none !important; font-family: var(--vlf-head); font-size: 16px; font-weight: 600; font-style: normal !important; letter-spacing: 0; text-transform: none; text-indent: 0 !important; color: var(--vlf-ink); line-height: 1.3; }
.vl-form-wrap .vl-form .vl-booking .vl-field { margin: 4px 0 0; }
.vl-form-wrap .vl-form .vl-bk-block { margin: 24px 0 0; min-width: 0; }
.vl-form-wrap .vl-form .vl-bk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.vl-form-wrap .vl-form .vl-bk-label { display: block; margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--vlf-label); line-height: 1.35; }
.vl-form-wrap .vl-form .vl-bk-date { font-size: 15px; color: var(--vlf-ink); }

/* day strip: square tiles, weekday / number / month */
.vl-form-wrap .vl-form .vl-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin: 0; padding: 0; }
.vl-form-wrap .vl-form button.vl-day { flex-direction: column; gap: 1px; min-height: 80px; padding: 10px 4px 9px; background: #fff none; }
.vl-form-wrap .vl-form .vl-day-w, .vl-form-wrap .vl-form .vl-day-m { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: var(--vlf-text); }
.vl-form-wrap .vl-form .vl-day-n { font-family: var(--vlf-head); font-size: 22px; line-height: 1.2; color: var(--vlf-ink); font-weight: 600; font-variant-numeric: lining-nums; }
.vl-form-wrap[dir="rtl"] .vl-form .vl-day-w, .vl-form-wrap[dir="rtl"] .vl-form .vl-day-m, .vl-form-wrap:lang(zh) .vl-form .vl-day-w, .vl-form-wrap:lang(zh) .vl-form .vl-day-m { letter-spacing: 0; text-transform: none; font-size: 13px; }

/* time buttons */
.vl-form-wrap .vl-form .vl-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin: 0; padding: 0; }
.vl-form-wrap .vl-form button.vl-time { min-height: 48px; padding: 10px 8px; font-size: 16px; color: var(--vlf-label); background: #fff none; font-variant-numeric: lining-nums tabular-nums; direction: ltr; unicode-bidi: isolate; }
.vl-form-wrap .vl-form button:is(.vl-time, .vl-day):hover { border-color: var(--vlf-btn); color: var(--vlf-ink); }
.vl-form-wrap .vl-form button:is(.vl-time, .vl-day).is-on, .vl-form-wrap .vl-form button:is(.vl-time, .vl-day)[aria-checked="true"] { border-color: var(--vlf-gold); outline: 1.5px solid var(--vlf-gold); outline-offset: -3px; background: var(--vlf-soft) none; color: var(--vlf-ink); font-weight: 600; }
.vl-form-wrap .vl-form button:is(.vl-time, .vl-day):focus-visible { outline: 1.5px solid var(--vlf-btn); outline-offset: 3px; }
.vl-form-wrap .vl-form .vl-booking.vl-invalid, .vl-form-wrap .vl-form fieldset.vl-booking.vl-invalid { border-color: var(--vlf-error); outline: 1.5px solid var(--vlf-error); outline-offset: 0; }

/* loading, empty and error states: quiet text on a dashed hairline, no spinner graphics */
.vl-form-wrap .vl-form .vl-bk-state { margin: 24px 0 0; padding: 22px 18px; border: 1px dashed var(--vlf-hair); text-align: center; font-size: 15px; line-height: 1.5; color: var(--vlf-text); }
.vl-form-wrap .vl-form .vl-bk-state:empty { display: none; }
.vl-form-wrap .vl-form .vl-bk-state p { margin: 0 0 12px; padding: 0; font-size: inherit; line-height: inherit; color: inherit; }
.vl-form-wrap .vl-form .vl-bk-state p:last-child { margin-bottom: 0; }
.vl-form-wrap .vl-form .vl-bk-state.is-loading { position: relative; overflow: hidden; border-style: solid; }
.vl-form-wrap .vl-form .vl-bk-state.is-loading::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--vlf-gold); animation: vlf-run 1.2s ease-in-out infinite; transform-origin: left center; }
.vl-form-wrap .vl-form .vl-bk-state.is-error { border-style: solid; border-color: var(--vlf-error); color: var(--vlf-error); }
.vl-form-wrap .vl-form .vl-bk-state button { min-height: 44px; padding: 10px 22px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--vlf-label); }
.vl-form-wrap .vl-form .vl-bk-state button:hover { border-color: var(--vlf-btn); color: var(--vlf-ink); }
.vl-form-wrap[dir="rtl"] .vl-form .vl-bk-state button { letter-spacing: 0; text-transform: none; font-size: 15px; }
.vl-form-wrap .vl-form .vl-booking[aria-busy="true"] .vl-days, .vl-form-wrap .vl-form .vl-booking[aria-busy="true"] .vl-times { opacity: .45; pointer-events: none; }

/* what was chosen */
.vl-form-wrap .vl-form .vl-bk-summary { margin: 22px 0 0; padding: 12px 16px; border-inline-start: 3px solid var(--vlf-gold); background: var(--vlf-soft); color: var(--vlf-ink); font-size: 16px; line-height: 1.5; }
.vl-form-wrap .vl-form .vl-bk-summary:empty { display: none; }
.vl-form-wrap .vl-form .vl-bk-meta { margin: 14px 0 0; font-size: 14px; color: var(--vlf-text); line-height: 1.45; }
.vl-form-wrap .vl-form .vl-bk-meta:empty { display: none; }

@keyframes vlf-run { 0% { transform: scaleX(0); } 50% { transform: scaleX(.6); } 100% { transform: scaleX(0); transform-origin: right center; } }
@media (prefers-reduced-motion: reduce) { .vl-form-wrap .vl-form * { transition: none !important; } .vl-form-wrap .vl-form .vl-submit[aria-busy="true"]::after, .vl-form-wrap .vl-form .vl-bk-state.is-loading::after { animation: none; transform: none; } }

/* ------------------------------------------------------------------------------------------ small screens */
@media (max-width: 640px) {
  .vl-form-wrap .vl-form { grid-template-columns: 1fr; gap: 20px; }
  .vl-form-wrap .vl-form .vl-phone > select, .vl-form-wrap .vl-form .vl-phone > :has(> select) { flex-basis: 8.6rem !important; width: 8.6rem !important; }
  .vl-form-wrap .vl-form .vl-submit { width: 100%; }
  .vl-form-wrap .vl-form fieldset.vl-booking { padding: 20px 16px 22px; }
  .vl-form-wrap .vl-form .vl-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--vlf-line) transparent; }
  .vl-form-wrap .vl-form button.vl-day { flex: 0 0 70px; scroll-snap-align: start; }
  .vl-form-wrap .vl-form .vl-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vl-form-wrap .vl-form .vl-bk-block { margin-top: 20px; }
}
@media (max-width: 360px) { .vl-form-wrap .vl-form .vl-times { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
