/* Dynamic form runtime — application/index.html temasıyla birebir, tek akışlı (aşağı doğru) */
:root {
  --space:       #04040f;
  --space-mid:   #07081c;
  --ink-deep:    #04040f;
  --ink:         #08091f;
  --ink-mid:     #14185a;
  --bone:        #ffffff;
  --bone-warm:   #e8e6f0;
  --bone-dim:    #9896b8;
  --gold:        #c9a961;
  --gold-soft:   #dfc070;
  --danger:      #f0786f;
  --ok:          #6ec97a;
  --nebula-1:    rgba(72, 52, 140, 0.18);
  --nebula-2:    rgba(20, 60, 140, 0.14);
  --nebula-3:    rgba(140, 40, 80, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  background: var(--space);
  color: var(--bone);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}
body { min-height: 100vh; position: relative; }
::selection { background: var(--gold); color: var(--ink); }

[dir="rtl"] { direction: rtl; text-align: right; }

/* ─── BACKDROP LAYERS ─── */
.bg-radial {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 100% 60% at 20% 20%, var(--nebula-1) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 80% 70%, var(--nebula-2) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 60% 10%, var(--nebula-3) 0%, transparent 50%),
    radial-gradient(ellipse 120% 80% at 50% 50%, rgba(8,9,31,0.6) 0%, transparent 100%),
    linear-gradient(160deg, #06061a 0%, #030310 40%, #060318 100%);
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 50%, rgba(2,2,10,0.7) 100%);
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  mix-blend-mode: overlay; opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grainShift 8s steps(2) infinite;
}
@keyframes grainShift {
  0%   { background-position: 0 0; }
  25%  { background-position: -64px 32px; }
  50%  { background-position: 32px -64px; }
  75%  { background-position: -32px -32px; }
  100% { background-position: 0 0; }
}

/* ─── WRAP ─── */
.form-wrap {
  position: relative; z-index: 10;
  max-width: 720px; margin: 0 auto;
  padding: 3.5rem 1.5rem 7rem;
}
.form-loading {
  position: relative; z-index: 10;
  text-align: center; color: var(--bone-dim);
  padding: 7rem 1rem; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
}
.form-loading::after {
  content: ''; display: block; margin: 1.2rem auto 0;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid rgba(201,169,97,0.2);
  border-top-color: var(--gold);
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── HERO ─── */
.form-hero {
  text-align: center;
  padding-bottom: 2.5rem; margin-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.form-hero::before {
  content: 'BOSPHORUS DIPLOMACY FORUM';
  display: block;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.32em;
  color: var(--gold); margin-bottom: 1rem;
}
.form-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 900; line-height: 1.12; letter-spacing: -0.025em;
  color: var(--bone);
}
.form-hero p {
  color: var(--bone-dim);
  margin: 0.9rem auto 0; max-width: 520px;
  font-size: 0.92rem; line-height: 1.7; font-weight: 500;
}
.form-hero .lang-switch {
  margin-top: 1.5rem; display: inline-flex; gap: 0.35rem; flex-wrap: wrap;
}
.form-hero .lang-switch button {
  padding: 0.34rem 0.85rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent; color: var(--bone-dim);
  cursor: pointer; font-family: inherit; transition: all 0.25s;
}
.form-hero .lang-switch button.active {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
}
.form-hero .lang-switch button:hover:not(.active) {
  border-color: var(--gold); color: var(--gold);
}

/* ─── FORM FLOW ─── */
.form-fields { display: flex; flex-direction: column; gap: 1rem; }

/* ─── QUESTION BLOCK ─── */
.q-block {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1.5rem 1.5rem 1.4rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 5px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
  animation: q-rise 0.5s cubic-bezier(0.22,0.61,0.36,1) backwards;
}
.q-block:focus-within {
  border-color: rgba(201,169,97,0.4);
  box-shadow: 0 8px 36px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,169,97,0.12);
}
@keyframes q-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.q-block:nth-child(1)  { animation-delay: .04s; }
.q-block:nth-child(2)  { animation-delay: .08s; }
.q-block:nth-child(3)  { animation-delay: .12s; }
.q-block:nth-child(4)  { animation-delay: .16s; }
.q-block:nth-child(5)  { animation-delay: .20s; }
.q-block:nth-child(6)  { animation-delay: .24s; }
.q-block:nth-child(7)  { animation-delay: .28s; }
.q-block:nth-child(8)  { animation-delay: .32s; }
.q-block:nth-child(n+9){ animation-delay: .36s; }

.q-label {
  font-size: 0.79rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--bone); text-transform: uppercase; line-height: 1.5;
}
.q-required { color: var(--gold); font-weight: 900; margin-left: 0.15em; }
.q-help {
  font-size: 0.76rem; color: rgba(180,177,204,0.65);
  line-height: 1.55; margin-top: -0.15rem;
}

/* ─── TEXT INPUTS / TEXTAREA / NATIVE SELECT ─── */
.q-block input[type="text"], .q-block input[type="email"], .q-block input[type="tel"],
.q-block input[type="number"], .q-block input[type="date"],
.q-block select, .q-block textarea {
  width: 100%; padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--bone); font-family: inherit;
  font-size: 0.92rem; font-weight: 500;
  border-radius: 4px; outline: none;
  -webkit-appearance: none; appearance: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
}
.q-block textarea { resize: vertical; min-height: 140px; line-height: 1.65; }
.q-block input::placeholder, .q-block textarea::placeholder { color: rgba(180,177,204,0.4); }
.q-block input:hover, .q-block select:hover, .q-block textarea:hover {
  border-color: rgba(255,255,255,0.18);
}
.q-block input:focus, .q-block select:focus, .q-block textarea:focus {
  border-color: var(--gold);
  background: rgba(201,169,97,0.05);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.12), inset 0 1px 0 rgba(255,255,255,0.03);
}
/* date picker icon tint */
.q-block input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(72%) sepia(38%) saturate(420%) hue-rotate(2deg) brightness(92%);
  cursor: pointer;
}

/* native select chevron (kısa listeler) */
.q-block select {
  padding-right: 2.4rem; min-height: 3rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23c9a961' stroke-width='1.7' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center;
  cursor: pointer;
}
[dir="rtl"] .q-block select {
  background-position: left 1rem center; padding-right: 1rem; padding-left: 2.4rem;
}
.q-block select option { background: var(--ink); color: var(--bone); }

/* ─── CUSTOM RADIO / CHECKBOX (kart tarzı) ─── */
.q-radio-group, .q-checkbox-group {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.q-choice {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  border-radius: 4px; cursor: pointer; user-select: none;
  font-size: 0.88rem; font-weight: 600; color: var(--bone-warm);
  transition: border-color 0.2s, background 0.2s, transform 0.08s, box-shadow 0.2s;
}
.q-choice > * { pointer-events: none; }
.q-choice:hover {
  border-color: rgba(201,169,97,0.5);
  background: rgba(201,169,97,0.04);
}
.q-choice:active { transform: scale(0.99); }
.q-choice:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.18);
}
.q-choice.checked {
  border-color: var(--gold);
  background: rgba(201,169,97,0.08);
  color: var(--bone);
}
.q-choice-label { flex: 1; line-height: 1.45; }

/* radio dot */
.q-choice-dot {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.28);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.q-choice.checked .q-choice-dot { border-color: var(--gold); background: var(--gold); }
.q-choice-dot::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink); transform: scale(0); transition: transform 0.2s;
}
.q-choice.checked .q-choice-dot::after { transform: scale(1); }

/* checkbox box */
.q-choice-box {
  width: 19px; height: 19px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.q-choice.checked .q-choice-box { background: var(--gold); border-color: var(--gold); }
.q-choice-box svg { display: block; animation: tick 0.2s ease; }
@keyframes tick {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ─── SEARCHABLE DROPDOWN (combo) ─── */
.q-combo { position: relative; }
.q-combo-trigger {
  width: 100%; display: flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 4px; cursor: pointer;
  font-family: inherit; font-size: 0.92rem; font-weight: 500;
  color: var(--bone); text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
}
[dir="rtl"] .q-combo-trigger { text-align: right; }
.q-combo-trigger:hover { border-color: rgba(255,255,255,0.18); }
.q-combo.open .q-combo-trigger,
.q-combo-trigger:focus-visible {
  border-color: var(--gold);
  background: rgba(201,169,97,0.05);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.12), inset 0 1px 0 rgba(255,255,255,0.03);
  outline: none;
}
.q-combo-text {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.q-combo-text.is-placeholder { color: rgba(180,177,204,0.42); }
.q-combo-clear {
  flex-shrink: 0; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.66rem; border-radius: 50%;
  color: var(--bone-dim); background: rgba(255,255,255,0.06);
  transition: background 0.18s, color 0.18s;
}
.q-combo-clear:hover { background: var(--danger); color: #fff; }
.q-combo-caret {
  color: var(--gold); font-size: 0.66rem; flex-shrink: 0;
  transition: transform 0.25s;
}
.q-combo.open .q-combo-caret { transform: rotate(180deg); }

.q-combo-panel {
  display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  z-index: 50;
  background: #0b0c24;
  border: 1px solid rgba(201,169,97,0.28);
  border-radius: 5px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,0.7);
  animation: combo-in 0.15s ease;
}
.q-combo.open .q-combo-panel { display: block; }
@keyframes combo-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.q-combo-search {
  width: 100%; padding: 0.75rem 0.95rem;
  background: rgba(255,255,255,0.04);
  border: none; border-bottom: 1px solid rgba(255,255,255,0.09);
  color: var(--bone); font-family: inherit; font-size: 0.88rem;
  outline: none;
}
.q-combo-search::placeholder { color: rgba(180,177,204,0.4); }
.q-combo-list { max-height: 260px; overflow-y: auto; }
.q-combo-list::-webkit-scrollbar { width: 8px; }
.q-combo-list::-webkit-scrollbar-track { background: transparent; }
.q-combo-list::-webkit-scrollbar-thumb {
  background: rgba(201,169,97,0.3); border-radius: 4px;
}
.q-combo-list::-webkit-scrollbar-thumb:hover { background: rgba(201,169,97,0.5); }
.q-combo-option {
  padding: 0.68rem 0.95rem;
  font-size: 0.88rem; font-weight: 500; color: var(--bone-warm);
  cursor: pointer; transition: background 0.1s, color 0.1s;
}
.q-combo-option:hover,
.q-combo-option.active {
  background: rgba(201,169,97,0.12); color: var(--bone);
}
.q-combo-option.selected {
  background: rgba(201,169,97,0.18); color: var(--gold); font-weight: 700;
}
.q-combo-option.selected::after {
  content: '✓'; float: right; color: var(--gold); font-weight: 900;
}
[dir="rtl"] .q-combo-option.selected::after { float: left; }
.q-combo-empty {
  padding: 1rem; text-align: center;
  color: rgba(180,177,204,0.5); font-size: 0.82rem;
}

/* ─── CUSTOM FILE UPLOAD ─── */
.q-file {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1.3rem 1.15rem;
  background: rgba(255,255,255,0.015);
  border: 1.5px dashed rgba(255,255,255,0.16);
  border-radius: 4px; cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.q-file:hover { border-color: rgba(201,169,97,0.5); background: rgba(201,169,97,0.04); }
.q-file.has-file { border-color: var(--gold); background: rgba(201,169,97,0.06); }
.q-file input { display: none; }
.q-file-icon { font-size: 1.25rem; color: var(--gold); flex-shrink: 0; }
.q-file-text {
  flex: 1; font-size: 0.85rem; font-weight: 600; color: var(--bone-dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.q-file.has-file .q-file-text { color: var(--gold); }

/* ─── ERROR ─── */
.q-error {
  color: var(--danger); font-size: 0.76rem; font-weight: 600;
  margin-top: 0.2rem; display: flex; align-items: center; gap: 0.35rem;
}
.q-error::before { content: '⚠'; font-size: 0.85rem; }
.q-block.has-error {
  border-color: rgba(240,120,111,0.45);
  box-shadow: 0 4px 28px rgba(0,0,0,0.45), 0 0 0 1px rgba(240,120,111,0.18);
  animation: shake 0.3s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.q-block.has-error input,
.q-block.has-error textarea,
.q-block.has-error .q-combo-trigger,
.q-block.has-error select {
  border-color: rgba(240,120,111,0.6);
}

/* ─── ACTIONS ─── */
.form-actions {
  display: flex; gap: 1rem; justify-content: flex-end;
  margin-top: 1rem;
}
[dir="rtl"] .form-actions { justify-content: flex-start; }
.btn-submit {
  position: relative; overflow: hidden;
  padding: 1.05rem 2.8rem;
  background: var(--gold); color: var(--ink);
  border: none; border-radius: 3px;
  font-family: inherit; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(201,169,97,0.22);
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s, opacity 0.2s;
}
.btn-submit:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,169,97,0.32);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none;
}

/* ─── TOAST ─── */
.form-toast {
  position: fixed; bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.4rem; border-radius: 100px;
  background: rgba(37,40,97,0.96);
  border: 1px solid rgba(201,169,97,0.3);
  color: var(--gold); font-size: 0.79rem; font-weight: 700;
  z-index: 500; white-space: nowrap; max-width: calc(100vw - 2rem);
  box-shadow: 0 12px 30px rgba(0,0,0,0.55);
  animation: toast-in 0.3s ease;
}
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.form-toast.success {
  background: rgba(20,60,40,0.96);
  border-color: rgba(110,201,122,0.4); color: var(--ok);
}
.form-toast.error {
  background: rgba(70,24,24,0.96);
  border-color: rgba(240,120,111,0.4); color: var(--danger);
}

/* ─── SUCCESS ─── */
.form-success {
  text-align: center; padding: 5rem 1.5rem;
  animation: q-rise 0.55s ease backwards;
}
.form-success::before {
  content: '✦';
  display: block; font-size: 2.6rem; color: var(--gold);
  margin-bottom: 1.25rem;
  animation: pop 0.5s cubic-bezier(0.22,1.2,0.4,1) backwards;
}
@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.form-success h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900; letter-spacing: -0.02em;
  color: var(--bone); margin-bottom: 0.75rem;
}
.form-success p {
  color: var(--bone-dim); font-size: 0.92rem; line-height: 1.7;
  font-weight: 500; max-width: 420px; margin: 0 auto;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .form-wrap { padding: 2.25rem 1rem 5rem; }
  .q-block { padding: 1.2rem 1.1rem 1.1rem; }
  .form-hero { padding-bottom: 2rem; margin-bottom: 1.75rem; }
  .btn-submit { width: 100%; }
  .form-actions { justify-content: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .q-block, .form-success, .form-success::before,
  .form-toast, .q-combo-panel, .q-choice-box svg { animation: none; }
  .q-block.has-error { animation: none; }
}

/* ─── Description (rich text + optional card frame) ─── */
.form-hero .form-desc {
  margin: 0.9rem auto 0;
  max-width: 520px;
  font-size: 0.95rem; line-height: 1.7;
  color: var(--bone-dim, #c8cbd5);
  font-weight: 500;
  text-align: left;                          /* keep description left-aligned */
  white-space: normal;                       /* <br>s handle line breaks */
  word-break: normal;
}
[dir="rtl"] .form-hero .form-desc { text-align: right; }
.form-hero .form-desc strong { font-weight: 700; color: var(--bone, #fff); }
.form-hero .form-desc em     { font-style: italic; }
.form-hero .form-desc p      { margin: 0 0 0.6em; }
.form-hero .form-desc p:last-child { margin-bottom: 0; }
.form-hero .form-desc br     { display: block; content: ""; }
/* Inline (regional) card block: only wraps the selected portion of the desc. */
.form-desc-card-inline {
  margin: 0.9rem 0;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}
.form-desc-card-inline p:last-child { margin-bottom: 0; }
.form-desc-card-inline + .form-desc-card-inline { margin-top: 0.6rem; }

/* Language switch stays LTR even in RTL mode */
[dir="rtl"] .lang-switch { direction: ltr; unicode-bidi: isolate; }

/* ─── Word counter (textarea) ─── */
.q-textarea-wrap { position: relative; }
.q-word-counter {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--bone-dim, #9aa0ab);
  text-align: right;
  font-feature-settings: 'tnum' 1;
}
.q-word-counter.under { color: #f59e0b; }
.q-word-counter.over  { color: #ef4444; font-weight: 600; }

/* ─── DELEGATES / PERSON LIST (repeating name+role rows) ─── */
.q-persons { display: flex; flex-direction: column; gap: 0.75rem; }
.q-person {
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.02);
  border-radius: 4px;
  animation: q-rise 0.35s ease backwards;
}
.q-person-title {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.8rem;
}
.q-person-num {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(201,169,97,0.14);
  border: 1px solid rgba(201,169,97,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.66rem; font-weight: 800; color: var(--gold);
}
.q-person-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
}
.q-person-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.q-person-label {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: rgba(180,177,204,0.75);
}
@media (max-width: 600px) {
  .q-person-grid { grid-template-columns: 1fr; }
}

/* ─── Form Hub (link tiles) ─── */
.form-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 1.5rem;
}
.form-hub-tile {
  display: flex; flex-direction: column; gap: 8px;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: var(--bone, #fff);
  transition: transform 0.18s, background 0.18s, border-color 0.18s;
}
.form-hub-tile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}
.form-hub-tile-title {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em;
}
.form-hub-tile-desc {
  font-size: 0.88rem; color: var(--bone-dim, #b6b8c2); line-height: 1.55;
}
@media (max-width: 600px) {
  .form-hub { grid-template-columns: 1fr; }
}
