/* ---------- başvuru formları ---------- */
body.form-page { background: var(--paper); }
.fshell { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; min-height: 100vh; min-height: 100dvh; }

/* sol panel */
.fside {
  position: sticky; top: 0; height: 100vh; height: 100dvh;
  background: var(--dark); color: #fff; padding: 32px 36px;
  display: flex; flex-direction: column; gap: 28px; overflow: hidden; isolation: isolate;
}
.fside::before {
  content: ''; position: absolute; width: 520px; aspect-ratio: 1; left: -200px; bottom: -260px; z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, rgba(243,208,46,.28), transparent 62%);
}
.fside__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fside__back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); text-decoration: none; font-weight: 600; font-size: 14px; }
.fside__back:hover { color: #fff; }
.fside__logo { min-height: 90px; display: grid; align-items: center; }
.fside__logo { --wm: 160px; }
.fside__logo img { width: var(--wm); height: auto; transition: opacity .35s; }
.fside__logo img.lg-ai, .fside__logo img.lg-builders { --wm: 160px; }
.fside__kind { font-family: var(--font-display); font-weight: 900; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.fside__facts { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.fside__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.fside__facts dt { color: rgba(255,255,255,.55); }
.fside__facts dd { margin: 0; font-weight: 700; text-align: right; }
.fsteps { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 4px; counter-reset: fs; }
.fsteps li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: rgba(255,255,255,.58); font-weight: 600; font-size: 15px; transition: color .3s; }
.fsteps li::before {
  counter-increment: fs; content: counter(fs);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1.5px solid rgba(255,255,255,.25); font-size: 13px; font-weight: 800; transition: all .3s;
}
.fsteps li.is-active { color: #fff; }
.fsteps li.is-active::before { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.fsteps li.is-done { color: rgba(255,255,255,.8); }
.fsteps li.is-done::before { content: '✓'; background: rgba(255,255,255,.12); border-color: transparent; }

/* sağ: form alanı */
.fmain { display: flex; flex-direction: column; min-width: 0; }
.fbar { position: sticky; top: 0; z-index: 10; height: 4px; background: var(--tint); }
.fbar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .5s var(--ease); }
.fbody { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vh, 72px) var(--gutter) 140px; }

.fstep { display: none; animation: fin .5s var(--ease); }
.fstep.is-active { display: block; }
@keyframes fin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fstep__n { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.fstep__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.035em; line-height: 1; margin: 8px 0 10px; }
.fstep__desc { color: var(--ink-2); margin: 0 0 34px; font-size: 16.5px; max-width: 56ch; }

/* alan */
.field { margin-bottom: 26px; }
.field > label, .field__label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.field__label small, .field > label small { font-weight: 500; color: var(--muted); margin-left: 6px; }
.field__hint { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

.input, .textarea, .select {
  width: 100%; min-height: 56px; padding: 14px 18px;
  border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--card);
  font: 500 17px/1.4 var(--font-body); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 128px; resize: vertical; }
.select { 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' stroke='%23111' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
:root[data-theme="dark"] .select { 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' stroke='%23f4f1ea' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(243,208,46,.45); }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--err); }
.ferr { display: none; color: var(--err); font-size: 13.5px; font-weight: 600; margin-top: 8px; }
.field.has-error .ferr { display: block; }
.counter { float: right; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 8px; }
.prefix { position: relative; }
.prefix span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; pointer-events: none; font-size: 15px; }
.prefix .input { padding-left: 186px; }
@media (max-width: 520px) { .prefix span { display: none; } .prefix .input { padding-left: 18px; } }

/* chip seçimleri */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--card); cursor: pointer;
  font-weight: 600; font-size: 15.5px; line-height: 1.25; text-align: left;
  transition: border-color .15s, background .15s, transform .15s var(--ease);
  user-select: none;
}
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chip[aria-pressed="true"]::after { content: '✓'; color: var(--yellow); font-weight: 900; }
.chip:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.chips--grid { display: grid; grid-template-columns: 1fr 1fr; }
.chips--grid .chip { border-radius: 14px; justify-content: space-between; }
@media (max-width: 560px) { .chips--grid { grid-template-columns: 1fr; } }

/* etkinlik kartları (seçim) */
.evpick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.evopt {
  position: relative; text-align: left; cursor: pointer; border: 0; padding: 0;
  border-radius: 22px; background: var(--dark); color: #fff; overflow: hidden;
  min-height: 240px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: inset 0 0 0 3px transparent; transition: box-shadow .2s, transform .25s var(--ease);
}
.evopt:hover { transform: translateY(-3px); }
.evopt__in { padding: 22px; display: flex; flex-direction: column; height: 100%; gap: 20px; }
.evopt__check { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); display: grid; place-items: center; font-weight: 900; color: transparent; transition: all .2s; }
.evopt img { width: 88%; height: auto; margin-top: 18px; }
.evopt__meta { margin-top: auto; font-size: 13.5px; color: rgba(255,255,255,.65); font-weight: 600; display: flex; gap: 14px; flex-wrap: wrap; }
.evopt[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--yellow); }
.evopt[aria-pressed="true"] .evopt__check { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.evopt:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 640px) { .evpick { grid-template-columns: 1fr; } .evopt { min-height: 180px; } }

/* onay kutuları */
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 14px 0; font-size: 15px; color: var(--ink-2); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line-strong); background: var(--card); display: grid; place-items: center; transition: all .15s; margin-top: 1px; }
.check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .box::after { content: '✓'; color: var(--yellow); font-weight: 900; font-size: 14px; }
.check input:focus-visible + .box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.check a { color: var(--ink); font-weight: 600; }
.field.has-error .check .box { border-color: var(--err); }
.toggle-link { background: none; border: 0; padding: 0; color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-top: 10px; }

/* koltuk sayacı (kurumsal) */
.seats { display: grid; gap: 12px; }
.seat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 20px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line-strong); }
.seat__name { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.seat__name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--paper); border-radius: 999px; padding: 4px; }
.stepper button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--card); font-size: 20px; font-weight: 800; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.stepper button:hover { background: var(--yellow); }
.stepper input { width: 56px; text-align: center; border: 0; background: transparent; font: 900 22px var(--font-display); color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seats__empty { padding: 18px 20px; border-radius: 16px; border: 1.5px dashed var(--line-strong); color: var(--muted); font-weight: 600; }

/* alt gezinme */
.fnav {
  position: fixed; bottom: 0; right: 0; left: min(420px, 100%); z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px var(--gutter); background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.fnav__in { width: 100%; max-width: 760px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fnav__hint { font-size: 13px; color: var(--muted); font-weight: 500; }
.fnav__hint kbd { font: 700 12px var(--font-body); padding: 2px 7px; border-radius: 6px; background: var(--card); border: 1px solid var(--line-strong); }
.fnav__btns { display: flex; gap: 10px; margin-left: auto; }
.form-alert { margin: 0 0 24px; padding: 14px 18px; border-radius: 14px; background: var(--err-bg); color: var(--err); font-weight: 600; display: none; }
.form-alert.is-on { display: block; }

/* başarı ekranı */
.done { display: none; text-align: left; animation: fin .6s var(--ease); }
.done.is-on { display: block; }
.done__mark { width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; margin-bottom: 28px; }
.done__mark svg { width: 40px; height: 40px; }
.done__mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.035em; line-height: 1; margin: 0 0 16px; }
.done p { font-size: 17px; color: var(--ink-2); max-width: 54ch; }
.done__card { margin: 28px 0; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; }
.done__card div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.done__card dt { color: var(--muted); }
.done__card dd { margin: 0; font-weight: 700; text-align: right; }
.done__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 960px) {
  .fshell { grid-template-columns: 1fr; }
  .fside { position: relative; height: auto; padding: 18px var(--gutter) 20px; gap: 14px; }
  .fside::before { display: none; }
  .fside__logo { min-height: 0; }
  .fside__logo, .fside__logo img.lg-ai, .fside__logo img.lg-builders { --wm: 120px; }
  .fside__kind { font-size: 20px; }
  .fbody { padding-top: 28px; }
  .fside__facts, .fsteps { display: none; }
  .fside__mobile { display: flex !important; }
  .fnav { left: 0; }
}
.fside__mobile { display: none; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,.7); font-weight: 600; }

@media (hover: none) { .fnav__hint { display: none; } }

.share { margin: 0 0 28px; }
.share__row { display: flex; gap: 8px; }
.share__row .input { font-size: 15px; min-height: 50px; }
.share__li { display: inline-block; margin-top: 10px; font-weight: 700; color: #0a66c2; text-decoration: none; }

.seats__more { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.seats__more a { color: var(--ink); }

/* onay kutuları: genel ".field > label" kuralı bunları blok yapıyordu */
.field > label.check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 0; padding: 6px 0; font-weight: 500; line-height: 1.45; }
.field > label.check .box { margin-top: -1px; }
.field[data-field="consentKvkk"], .field[data-field="consentMarketing"] { margin-bottom: 4px; }

/* ---- başvuru sonrası davet döngüsü ---- */
.loop { margin: 8px 0 28px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--yellow); color: #111;
  --ink: #111111; --ink-2: #2a2b2d; --line: rgba(17,17,17,.14); --card: #ffffff; }
.loop__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.loop__kicker::before { content: ''; width: 4px; height: 16px; background: #111; border-radius: 2px; }
.loop__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; line-height: 1.02; margin: 12px 0 10px; }
.loop__lead { margin: 0 0 22px; font-size: 16px; line-height: 1.5; color: #2a2b2d; max-width: 52ch; }
.loop__meter { background: rgba(255,255,255,.55); border-radius: var(--r); padding: 18px 20px; margin-bottom: 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center; }
.loop__count { display: grid; justify-items: start; }
.loop__count b { font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -0.04em; }
.loop__count span { font-size: 13px; font-weight: 600; color: #2a2b2d; }
.loop__ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.loop__ladder li { display: grid; grid-template-columns: 22px auto 1fr; gap: 10px; align-items: center; font-size: 15px; }
.loop__ladder i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(17,17,17,.35); display: grid; place-items: center; font-style: normal; transition: background .3s, border-color .3s; }
.loop__ladder li.is-on i { background: #111; border-color: #111; }
.loop__ladder li.is-on i::after { content: '✓'; color: var(--yellow); font-size: 12px; font-weight: 900; }
.loop__ladder b { font-family: var(--font-display); font-weight: 900; }
.loop__ladder span { color: #2a2b2d; }
.loop__ladder li.is-on span { font-weight: 700; color: #111; }
.loop__bar { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: rgba(17,17,17,.12); overflow: hidden; margin-top: 8px; }
.loop__bar span { display: block; height: 100%; width: 0; background: #111; border-radius: inherit; transition: width .6s var(--ease); }
.loop__share { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.loop__btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: #111; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; }
.loop__btn:hover { background: #2a2b2d; }
.loop__btn--wa { background: #1fa855; }
.loop__btn--wa:hover { background: #178a45; }
.loop .share__row .input { background: #fff; color: #111; border-color: rgba(17,17,17,.2); }
.loop .share__row .btn { --bg: #111; --fg: #fff; }
.loop__fine { margin: 14px 0 0; font-size: 13px; color: #3d3f42; }
.done__cal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 28px; font-size: 15px; color: var(--ink-2); }
.done__cal span { font-weight: 600; margin-right: 4px; }
@media (max-width: 560px) { .loop__meter { grid-template-columns: 1fr; } .loop__count { grid-auto-flow: column; align-items: baseline; gap: 10px; } .share__row { flex-direction: column; } }

/* ---- kurumsal: 5'ten fazla + katılımcı satırları + liste linki ---- */
.overflow { margin-top: -6px; }
.overflow__body { padding: 4px 0 0 36px; }
.overflow__note { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--tint); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.seats.is-locked { opacity: .55; }
.att { display: grid; gap: 8px; }
.att__row { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 40px; gap: 8px; }
.att__row .input { min-height: 46px; font-size: 15px; }
.att__del { border: 0; border-radius: 10px; background: var(--tint); color: var(--ink); font-size: 20px; cursor: pointer; }
.att__del:hover { background: var(--tint-2); }
.att__add { margin-top: 10px; border: 1px dashed var(--line-strong); background: transparent; color: var(--ink); border-radius: 12px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.att__add:hover { background: var(--tint); }
.listlink { margin: 0 0 28px; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.listlink p { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.listlink__open { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--ink); }
.done__overflow { padding: 14px 16px; border-radius: 14px; background: var(--yellow); color: #111; font-weight: 600; }
@media (max-width: 640px) { .att__row { grid-template-columns: 1fr 40px; } .att__row .input:nth-child(2), .att__row .input:nth-child(3) { grid-column: 1; } .att__del { grid-column: 2; grid-row: 1; } }
