/* ================================================================
   Yaki Ya! — Apply Form Modal CSS v2.13.2
   Headings / buttons: DIN Condensed, capitals (brand).
   Body, labels, inputs: Open Sans, sentence case (yakiya.co.uk body font).
   One bold element per step: the red glow behind the step header.
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

@font-face { font-family:'Yakiya DIN';src:url('../fonts/DINCondensed-Bold.woff') format('woff'),url('../fonts/DINCondensed-Bold.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap; }

.yc-form-wrap {
  --yc-red:      #FF0000;
  --yc-ember:    #960000;
  --yc-ink:      #000000;
  --yc-surface:  #1f1f1f;
  --yc-surface2: #2a2a2a;
  --yc-line:     #424242;
  --yc-text:     #ffffff;
  --yc-muted:    #b5b5b5;
  --yc-dim:      #8a8a8a;
  --yc-din:  'Yakiya DIN', "DIN Condensed", "DINAlternate-Bold", "Arial Narrow", sans-serif;
  --yc-body: "Open Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --yc-ease: cubic-bezier(.16, 1, .3, 1);
}
.yc-form-wrap, .yc-form-wrap * { box-sizing: border-box; }

/* ── Trigger button — matches the Elementor hero button (unchanged) ── */
.yc-trigger-btn {
  font-family: 'Yakiya DIN', "DIN Condensed", "Arial Narrow", sans-serif !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  padding: 15px 35px !important;
  border-radius: 2px !important;
  border: none !important;
  background: #FF0000 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  display: inline-block !important;
  transition: background .2s, color .2s !important;
  line-height: 1em !important;
  text-decoration: none !important;
}
.yc-trigger-btn:hover { background: #ffffff !important; color: #FF0000 !important; }
.yc-trigger-btn:focus-visible { outline: 3px solid #fff !important; outline-offset: 3px !important; }

/* ── Overlay ── */
.yc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.yc-overlay.open { display: flex; animation: ycFade .2s ease; }
@keyframes ycFade { from { opacity: 0; } to { opacity: 1; } }

/* ── Modal ── */
.yc-modal {
  background: var(--yc-ink);
  color: var(--yc-text);
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--yc-body);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 100px rgba(0,0,0,.6);
  animation: ycRise .38s var(--yc-ease);
}
@keyframes ycRise { from { transform: translateY(28px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Header ── */
.yc-modal-head {
  padding: 18px 22px 14px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.yc-modal-logo {
  width: min(118px, 30vw);
  max-height: 30px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.yc-modal-head-info { min-width: 0; padding-left: 16px; border-left: 1px solid var(--yc-line); }
.yc-modal-title {
  font-family: var(--yc-din);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0;
  white-space: nowrap;
}
.yc-modal-sub { font-size: 12px; color: var(--yc-dim); margin-top: 4px; white-space: nowrap; }

.yc-form-wrap .yc-modal-close {
  width: 36px; height: 36px; min-width: 0; min-height: 0;
  padding: 0; margin: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--yc-surface);
  border: 1px solid var(--yc-line);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: background .2s, border-color .2s, transform .2s;
}
.yc-form-wrap .yc-modal-close:hover { background: var(--yc-red); border-color: var(--yc-red); transform: rotate(90deg); }
.yc-form-wrap .yc-modal-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ── Segmented progress (clickable to go back) ── */
.yc-steps-nav {
  list-style: none;
  margin: 0;
  padding: 0 22px 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.yc-seg { margin: 0; padding: 0; cursor: default; }
.yc-seg-bar {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: var(--yc-surface2);
  position: relative;
  overflow: hidden;
}
.yc-seg-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--yc-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--yc-ease);
}
.yc-seg.done .yc-seg-bar::after,
.yc-seg.current .yc-seg-bar::after { transform: scaleX(1); }
.yc-seg.current .yc-seg-bar::after { background: linear-gradient(90deg, var(--yc-ember), var(--yc-red)); }
.yc-seg-label {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: var(--yc-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.yc-seg.current .yc-seg-label { color: #fff; font-weight: 600; }
.yc-seg.done { cursor: pointer; }
.yc-seg.done .yc-seg-label { color: var(--yc-muted); }
.yc-seg.done:hover .yc-seg-label { color: #fff; text-decoration: underline; }

/* ── Body ── */
.yc-modal-body {
  padding: 0 22px 22px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--yc-line) transparent;
  position: relative;
}
.yc-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.yc-step { display: none; }
.yc-step.active { display: block; animation: ycStepIn .35s var(--yc-ease); }
@keyframes ycStepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* Step header — the signature moment */
.yc-step-head {
  position: relative;
  margin: 0 -22px 14px;
  padding: 14px 22px 12px;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255,0,0,.22) 0%, rgba(150,0,0,.08) 38%, transparent 62%),
    var(--yc-ink);
}
.yc-step-count { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--yc-red); }
.yc-step-title {
  margin: 0;
  font-family: var(--yc-din);
  font-weight: 400;
  font-size: 44px;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
  max-width: 78%;
}
.yc-step-lead { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--yc-muted); max-width: 34ch; }

/* ── Error ── */
.yc-error {
  display: none;
  position: sticky;
  top: 0;
  z-index: 3;
  margin: 0 -22px 0;
  padding: 12px 22px 12px 46px;
  background: var(--yc-ember);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.yc-error::before {
  content: '!';
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff; color: var(--yc-ember);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
}

/* ── Fields ── */
.yc-field { margin-bottom: 18px; }
.yc-field > label,
.yc-label {
  display: block;
  font-family: var(--yc-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #f1f1f1;
  margin-bottom: 8px;
}
.req { color: var(--yc-red); }
.yc-opt { color: var(--yc-dim); font-weight: 400; font-size: 13px; margin-left: 4px; }

.yc-form-wrap .yc-field input[type=text],
.yc-form-wrap .yc-field input[type=email],
.yc-form-wrap .yc-field input[type=tel],
.yc-form-wrap .yc-field input[type=url],
.yc-form-wrap .yc-field input[type=date],
.yc-form-wrap .yc-field select,
.yc-form-wrap .yc-field textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  background: var(--yc-surface);
  border: 1.5px solid transparent;
  border-bottom-color: var(--yc-line);
  color: #fff;
  padding: 12px 14px;
  font-family: var(--yc-body);
  font-size: 16px; /* 16px stops iOS zooming the page on focus */
  line-height: 1.4;
  border-radius: 8px;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.yc-form-wrap .yc-field input::placeholder,
.yc-form-wrap .yc-field textarea::placeholder { color: #6f6f6f; opacity: 1; }
.yc-form-wrap .yc-field input:hover,
.yc-form-wrap .yc-field select:hover,
.yc-form-wrap .yc-field textarea:hover { background: var(--yc-surface2); }
.yc-form-wrap .yc-field input:focus,
.yc-form-wrap .yc-field select:focus,
.yc-form-wrap .yc-field textarea:focus {
  background: var(--yc-surface2);
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}
.yc-form-wrap .yc-field select {
  cursor: pointer;
  padding-right: 42px;
  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='%23FF0000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.yc-form-wrap .yc-field select option { background: #1f1f1f; color: #fff; }
.yc-form-wrap .yc-field input[type=date] { color-scheme: dark; }
.yc-form-wrap .yc-field textarea { resize: vertical; min-height: 92px; }
.yc-mono { letter-spacing: 2px; text-transform: uppercase; font-variant-numeric: tabular-nums; }

.yc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.yc-field-row > .yc-field { min-width: 0; }

/* Invalid */
.yc-form-wrap .yc-field input.yc-invalid,
.yc-form-wrap .yc-field select.yc-invalid,
.yc-form-wrap .yc-field textarea.yc-invalid {
  border-color: var(--yc-red) !important;
  box-shadow: 0 0 0 4px rgba(255,0,0,.18) !important;
  animation: ycShake .32s ease;
}
.yc-field-error > label, .yc-field-error > .yc-label { color: #ff6b6b; }
.yc-choice-btn.yc-invalid,
.yc-avail-grid.yc-invalid .yc-avail,
.yc-chip-grid.yc-invalid .yc-chip,
.yc-radio-row.yc-invalid .yc-radio,
.yc-consent-wrap.yc-invalid { border-color: var(--yc-red) !important; animation: ycShake .32s ease; }
@keyframes ycShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.yc-hint, .yc-inline-note { font-size: 13px; color: var(--yc-muted); line-height: 1.55; margin: 8px 0 0; }
.yc-inline-note a { color: #fff; text-decoration: underline; text-decoration-color: var(--yc-red); text-underline-offset: 3px; }
.yc-counter { text-align: right; color: var(--yc-dim); font-variant-numeric: tabular-nums; }

/* ── Role area cards ── */
.yc-role-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.yc-form-wrap .yc-choice-btn {
  position: relative;
  min-height: 0;
  margin: 0;
  background: var(--yc-surface);
  border: 1.5px solid transparent;
  color: #fff;
  padding: 18px 14px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  border-radius: 10px;
  font-family: var(--yc-body);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  transition: border-color .2s, background .2s, transform .2s var(--yc-ease);
}
/* Hover lift only on devices with a real pointer. On phones :hover "sticks" to the
   last-touched card, which made an unselected card look active. */
@media (hover: hover) and (pointer: fine) {
  .yc-form-wrap .yc-choice-btn:not(.selected):hover { background: var(--yc-surface2); transform: translateY(-2px); }
}
.yc-form-wrap .yc-choice-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.yc-form-wrap .yc-choice-btn.selected { border-color: var(--yc-red); background: #2a0a0a; }
.yc-form-wrap .yc-choice-btn.selected::after {
  content: '';
  position: absolute; top: 12px; right: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--yc-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.yc-choice-icon { font-size: 26px; line-height: 1; margin-bottom: 8px; }
.yc-form-wrap .yc-choice-btn strong { font-family: var(--yc-din); font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: 0; line-height: 1; }
.yc-form-wrap .yc-choice-btn span:not(.yc-choice-icon) { font-family: var(--yc-body); font-size: 13px; color: var(--yc-muted); }

/* ── Radio / availability / chips / consent (custom marks) ── */
.yc-radio-row, .yc-avail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yc-radio, .yc-avail, .yc-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  min-height: 54px;
  background: var(--yc-surface);
  border: 1.5px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color .2s, background .2s;
}
.yc-radio:hover, .yc-avail:hover, .yc-chip:hover { background: var(--yc-surface2); }
.yc-radio input, .yc-avail input, .yc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.yc-radio-mark {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #6f6f6f;
  transition: border-color .2s, box-shadow .2s;
}
.yc-radio:has(input:checked), .yc-avail:has(input:checked), .yc-chip:has(input:checked) { border-color: var(--yc-red); background: #2a0a0a; }
.yc-radio:has(input:checked) .yc-radio-mark,
.yc-avail:has(input:checked) .yc-radio-mark { border-color: var(--yc-red); box-shadow: inset 0 0 0 4px #2a0a0a, inset 0 0 0 10px var(--yc-red); }
.yc-radio:has(input:focus-visible), .yc-avail:has(input:focus-visible), .yc-chip:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.yc-avail { align-items: flex-start; }
.yc-avail .yc-radio-mark { margin-top: 1px; }
.yc-avail strong { display: block; font-size: 15px; }
.yc-avail small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--yc-muted); }

.yc-chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.yc-chip { justify-content: center; text-align: center; padding: 12px 8px; min-height: 48px; font-size: 14px; }

.yc-rtw-block {
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--yc-surface);
  border-left: 4px solid var(--yc-red);
}
.yc-rtw-block p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--yc-muted); }
.yc-rtw-block strong { color: #fff; display: block; margin-bottom: 4px; }
.yc-rtw-extra { margin-top: 6px; }
.yc-share-code-wrap {
  padding: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,0,0,.12), rgba(255,0,0,.02) 60%);
  border: 1px solid rgba(255,0,0,.25);
}

/* ── CV dropzone ── */
.yc-file-wrap { position: relative; }
.yc-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.yc-form-wrap .yc-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  margin: 0;
  padding: 26px 18px;
  border: 2px dashed var(--yc-line);
  border-radius: 12px;
  background: var(--yc-surface);
  cursor: pointer;
  font-weight: 400;
  transition: border-color .2s, background .2s;
}
.yc-drop:hover, .yc-file-wrap.yc-dragover .yc-drop { border-color: var(--yc-red); background: #2a0a0a; }
.yc-file-input:focus-visible + .yc-drop { outline: 2px solid #fff; outline-offset: 2px; }
.yc-drop-icon { color: var(--yc-red); margin-bottom: 4px; }
.yc-drop-main { font-size: 15px; font-weight: 600; color: #fff; }
.yc-drop-main u { text-decoration-color: var(--yc-red); text-underline-offset: 3px; }
.yc-drop-sub { font-size: 13px; color: var(--yc-dim); }
.yc-drop-file {
  margin-top: 10px;
  padding: 8px 12px 8px 34px;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
}
.yc-drop-file::before {
  content: '';
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--yc-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}
.yc-file-wrap.has-file .yc-drop { border-style: solid; border-color: var(--yc-red); }
.yc-file-wrap.yc-invalid .yc-drop { border-color: var(--yc-red); border-style: solid; box-shadow: 0 0 0 4px rgba(255,0,0,.18); animation: ycShake .32s ease; }

/* ── Consent ── */
.yc-consent-wrap { margin-top: 6px; padding: 6px 16px; border-radius: 10px; background: var(--yc-surface); border: 1.5px solid transparent; }
.yc-consent { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; margin: 0; font-size: 14px; line-height: 1.55; color: var(--yc-muted); cursor: pointer; }
.yc-consent + .yc-consent { border-top: 1px solid rgba(255,255,255,.07); }
.yc-consent input[type=checkbox] {
  -webkit-appearance: none; appearance: none;
  flex-shrink: 0;
  width: 20px; height: 20px; margin: 1px 0 0;
  border: 2px solid #6f6f6f;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s, border-color .15s;
}
.yc-consent input[type=checkbox]:checked {
  background: var(--yc-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
  border-color: var(--yc-red);
}
.yc-consent input[type=checkbox]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.yc-consent-text { cursor: pointer; display: block; margin: 0; font-weight: 400; }
.yc-consent-text a { color: #fff !important; text-decoration: underline !important; text-decoration-color: var(--yc-red) !important; text-underline-offset: 3px; margin-left: 2px; white-space: nowrap; }

/* ── Footer ── */
.yc-modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.07);
  background: var(--yc-ink);
  flex-shrink: 0;
}
.yc-form-wrap .yc-back-btn {
  visibility: hidden;
  background: none;
  border: 0;
  margin: 0;
  min-height: 0;
  padding: 10px 6px;
  color: var(--yc-muted);
  font-family: var(--yc-din);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  transition: color .2s;
}
.yc-form-wrap .yc-back-btn::before { content: '‹'; margin-right: 6px; font-size: 22px; vertical-align: -1px; }
.yc-form-wrap .yc-back-btn.visible { visibility: visible; }
.yc-form-wrap .yc-back-btn:hover { color: #fff; }
.yc-form-wrap .yc-back-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }

.yc-form-wrap .yc-next-btn {
  margin: 0;
  min-height: 52px;
  min-width: 170px;
  padding: 14px 30px;
  border: 0;
  border-radius: 8px;
  background: var(--yc-red);
  color: #fff;
  font-family: var(--yc-din);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255,0,0,.28);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.yc-form-wrap .yc-next-btn:hover { background: var(--yc-ember); box-shadow: 0 10px 28px rgba(150,0,0,.35); }
.yc-form-wrap .yc-next-btn:active { transform: translateY(1px); }
.yc-form-wrap .yc-next-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.yc-form-wrap .yc-next-btn:disabled { background: var(--yc-surface2); color: #777; box-shadow: none; cursor: not-allowed; }
.yc-form-wrap .yc-next-btn.yc-loading { background: var(--yc-ember); color: #fff; cursor: wait; }
.yc-form-wrap .yc-next-btn.yc-loading::after {
  content: '';
  display: inline-block;
  width: 15px; height: 15px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ycSpin .7s linear infinite;
}
@keyframes ycSpin { to { transform: rotate(360deg); } }

/* ── Success ── */
.yc-success {
  position: relative;
  padding: 40px 30px 32px;
  overflow-y: auto;
  overflow-x: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,0,0,.2), transparent 60%), var(--yc-ink);
  outline: none;
}
.yc-success-kanji {
  position: absolute;
  top: 10px; right: -10px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,0,0,.12);
  -webkit-text-stroke: 1.5px rgba(255,0,0,.5);
  writing-mode: vertical-rl;
  pointer-events: none;
}
.yc-success-check { display: block; margin-bottom: 18px; }
.yc-success-check circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: ycDraw .7s var(--yc-ease) forwards; }
.yc-success-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ycDraw .45s .45s var(--yc-ease) forwards; }
@keyframes ycDraw { to { stroke-dashoffset: 0; } }
.yc-success-title {
  font-family: var(--yc-din);
  font-weight: 400;
  font-size: 56px;
  line-height: .9;
  text-transform: uppercase;
  color: #fff;
  max-width: 80%;
}
.yc-success-lead { margin: 12px 0 24px; font-size: 16px; line-height: 1.55; color: var(--yc-muted); max-width: 36ch; }
.yc-next-list { list-style: none; counter-reset: ycn; margin: 0 0 28px; padding: 0; }
.yc-next-list li {
  counter-increment: ycn;
  position: relative;
  padding: 0 0 16px 46px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--yc-muted);
}
.yc-next-list li::before {
  content: counter(ycn);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yc-surface);
  border: 1px solid var(--yc-line);
  font-family: var(--yc-din); font-weight: 400; font-size: 18px; color: #fff;
}
.yc-next-list li:not(:last-child)::after {
  content: ''; position: absolute; left: 15px; top: 30px; bottom: 2px; width: 1px; background: var(--yc-line);
}
.yc-next-list strong { color: #fff; display: block; font-size: 15px; }
.yc-success-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.yc-form-wrap .yc-success-btn,
.yc-form-wrap .yc-success-close {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; margin: 0;
  border-radius: 8px;
  font-family: var(--yc-din); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: 0; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.yc-form-wrap .yc-success-btn { background: var(--yc-red); color: #fff; border: 0; }
.yc-form-wrap .yc-success-btn:hover { background: var(--yc-ember); color: #fff; }
.yc-form-wrap .yc-success-close { background: transparent; color: #fff; border: 1.5px solid var(--yc-line); }
.yc-form-wrap .yc-success-close:hover { border-color: #fff; }

/* ── Mobile: full-height bottom sheet ── */
@media (max-width: 600px) {
  .yc-overlay { padding: 0; align-items: flex-end; }
  .yc-modal {
    max-width: none;
    height: calc(100vh - 28px);
    height: calc(100dvh - 28px);
    max-height: none;
    border-radius: 16px 16px 0 0;
    animation: ycSheet .4s var(--yc-ease);
  }
  @keyframes ycSheet { from { transform: translateY(100%); } to { transform: none; } }
  .yc-modal-head { padding: 14px 16px 12px; gap: 12px; }
  .yc-modal-head-info { padding-left: 12px; }
  .yc-modal-title { font-size: 18px; }
  .yc-steps-nav { padding: 0 16px 12px; }
  .yc-seg-label { display: none; }
  .yc-modal-body { padding: 0 16px 18px; }
  .yc-step-head { margin: 0 -16px 12px; padding: 12px 16px 10px; }
  .yc-step-title { font-size: 38px; }
  /* Success-screen kanji: smaller and fainter on phones so it never fights the text. */
  .yc-success-kanji { font-size: 84px; right: -8px; color: rgba(255,0,0,.05); -webkit-text-stroke: 1px rgba(255,0,0,.28); }
  .yc-form-wrap .yc-modal-close { width: 44px; height: 44px; }
  .yc-error { margin: 0 -16px; padding-left: 42px; }
  .yc-field-row { grid-template-columns: 1fr; gap: 0; }
  .yc-role-choice { grid-template-columns: 1fr; }
  .yc-form-wrap .yc-choice-btn { flex-direction: row; align-items: center; gap: 12px; padding: 14px 44px 14px 14px; }
  .yc-choice-icon { margin: 0; }
  .yc-form-wrap .yc-choice-btn strong { font-size: 20px; }
  .yc-form-wrap .yc-choice-btn.selected::after { top: 50%; transform: translateY(-50%); }
  .yc-avail-grid { grid-template-columns: 1fr; }
  .yc-chip-grid { grid-template-columns: 1fr 1fr; }
  .yc-modal-foot { padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .yc-form-wrap .yc-next-btn { flex: 1; min-width: 0; max-width: 240px; margin-left: auto; }
  .yc-success { padding: 32px 20px 24px; }
  .yc-success-title { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .yc-form-wrap *, .yc-form-wrap *::before, .yc-form-wrap *::after { animation: none !important; transition: none !important; }
  .yc-success-check circle, .yc-success-check path { stroke-dashoffset: 0; }
}

/* ── Brand locks (v2.14.0) ──────────────────────────────────────────
   WordPress themes (Astra / Elementor kit) style div, button and button:hover
   globally, which is why the header title and button hovers could lose the brand
   look on the live site. These rules are deliberately !important.
   - DIN Condensed bold cut, no letter-spacing: header title, step titles, role-card
     names, success title. Matches the yakiya.co.uk headings ("WHY YOU'LL LOVE IT HERE").
   - DIN (bold cut): buttons, as on the yakiya.co.uk hero button.
   - Open Sans: labels, help text, inputs.
   - Hover on every button: white background, red text (yakiya.co.uk behaviour). */
.yc-form-wrap .yc-modal-title,
.yc-form-wrap .yc-step-title,
.yc-form-wrap .yc-success-title,
.yc-form-wrap .yc-choice-btn strong {
  font-family: 'Yakiya DIN', "DIN Condensed", "Arial Narrow", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}
.yc-form-wrap .yc-next-btn,
.yc-form-wrap .yc-back-btn,
.yc-form-wrap .yc-success-btn,
.yc-form-wrap .yc-success-close {
  font-family: 'Yakiya DIN', "DIN Condensed", "Arial Narrow", sans-serif !important;
  letter-spacing: 0 !important;
}
.yc-form-wrap .yc-field > label,
.yc-form-wrap .yc-label,
.yc-form-wrap .yc-step-lead,
.yc-form-wrap .yc-step-count,
.yc-form-wrap .yc-modal-sub,
.yc-form-wrap .yc-seg-label,
.yc-form-wrap .yc-inline-note,
.yc-form-wrap .yc-consent,
.yc-form-wrap .yc-drop-main,
.yc-form-wrap .yc-drop-sub,
.yc-form-wrap .yc-radio,
.yc-form-wrap .yc-avail,
.yc-form-wrap .yc-chip,
.yc-form-wrap .yc-choice-btn span:not(.yc-choice-icon),
.yc-form-wrap .yc-success-lead,
.yc-form-wrap .yc-next-list li,
.yc-form-wrap .yc-error,
.yc-form-wrap input,
.yc-form-wrap select,
.yc-form-wrap textarea {
  font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, sans-serif !important;
}

.yc-form-wrap .yc-modal-close:hover,
.yc-form-wrap .yc-modal-close:focus-visible {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #FF0000 !important;
}
.yc-form-wrap .yc-next-btn:not(:disabled):not(.yc-loading):hover,
.yc-form-wrap .yc-next-btn:not(:disabled):not(.yc-loading):focus-visible,
.yc-form-wrap .yc-success-btn:hover,
.yc-form-wrap .yc-success-btn:focus-visible,
.yc-form-wrap .yc-success-close:hover,
.yc-form-wrap .yc-success-close:focus-visible {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #FF0000 !important;
  box-shadow: 0 10px 28px rgba(255,255,255,.12) !important;
}
.yc-form-wrap .yc-back-btn:hover,
.yc-form-wrap .yc-back-btn:focus-visible { color: #ffffff !important; background: transparent !important; }
.yc-form-wrap .yc-next-btn,
.yc-form-wrap .yc-success-btn { background: #FF0000 !important; color: #ffffff !important; border: 0 !important; }
.yc-form-wrap .yc-next-btn:disabled { background: #2a2a2a !important; color: #777 !important; box-shadow: none !important; }
.yc-form-wrap .yc-next-btn.yc-loading { background: #960000 !important; color: #ffffff !important; }


/* Success text always sits above the decorative kanji. */
.yc-form-wrap .yc-success > *:not(.yc-success-kanji) { position: relative; z-index: 1; }

/* Role cards are <button>s, so the theme's button:hover / :focus / :active colours
   (red text, white background) used to bleed in. Lock every state here. */
.yc-form-wrap .yc-choice-btn,
.yc-form-wrap .yc-choice-btn:focus,
.yc-form-wrap .yc-choice-btn:active {
  background: var(--yc-surface) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
.yc-form-wrap .yc-choice-btn.selected,
.yc-form-wrap .yc-choice-btn.selected:hover,
.yc-form-wrap .yc-choice-btn.selected:focus,
.yc-form-wrap .yc-choice-btn.selected:active {
  background: #2a0a0a !important;
  border-color: #FF0000 !important;
  color: #ffffff !important;
}
@media (hover: hover) and (pointer: fine) {
  .yc-form-wrap .yc-choice-btn:not(.selected):hover { background: var(--yc-surface2) !important; color: #ffffff !important; }
}
.yc-form-wrap .yc-choice-btn strong,
.yc-form-wrap .yc-choice-btn:hover strong,
.yc-form-wrap .yc-choice-btn:focus strong,
.yc-form-wrap .yc-choice-btn.selected strong { color: #ffffff !important; }
.yc-form-wrap .yc-choice-btn span:not(.yc-choice-icon),
.yc-form-wrap .yc-choice-btn:hover span:not(.yc-choice-icon),
.yc-form-wrap .yc-choice-btn:focus span:not(.yc-choice-icon) { color: #a8a8a8 !important; }
.yc-form-wrap .yc-choice-btn:focus-visible { outline: 2px solid #ffffff !important; outline-offset: 2px; }
