/* ============================================================
   test-basvuru.css — test sürecine başvuru diyaloğu
   ------------------------------------------------------------
   Kimlik diyaloğunun (.auth-*) dil kardeşi. 08.10.2026: NEURAL
   diline geçti — cam modal, cümle düzeninde etiketler, vurgu
   rengi düğme. Jetonlar neural.css'ten gelir; burada yeniden
   tanımlanmaz, ayrışmasın. Ayrı dosya olmasının sebebi diyaloğun
   YALNIZ başvuru sayfasında gerekmesi (geri-bildirim.css ile aynı
   gerekçe).
   ============================================================ */

.tb-dialog {
  width: min(760px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--m1);
  background: var(--yuzey-modal);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  backdrop-filter: blur(24px) saturate(130%);
  box-shadow: var(--golge-modal);
  overflow: hidden;
}
.tb-dialog[open] { animation: nr-pop .45s var(--egri) backwards; }
.tb-dialog::backdrop {
  background: rgba(4, 2, 2, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.tb-shell { display: flex; flex-direction: column; max-height: inherit; margin: 0; }

.tb-bas {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 14px 16px 26px;
  box-shadow: inset 0 -1px 0 var(--c1);
}
.tb-eyebrow {
  margin: 0 0 6px;
  font-family: var(--f-baslik);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--aa);
}
.tb-baslik {
  margin: 0;
  font-family: var(--f-baslik);
  font-weight: 450;
  font-size: 22px;
  letter-spacing: -.03em;
  color: var(--m1);
}
.tb-kapat {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--m3);
  font-size: 16px;
  cursor: pointer;
}
.tb-kapat:hover { background: rgba(255, 255, 255, .07); color: #fff; }

.tb-govde { flex: 1; min-height: 0; padding: 20px 26px 24px; overflow-y: auto; overscroll-behavior: contain; }
.tb-lead { margin: 0 0 18px; font-size: 13px; line-height: 1.65; color: var(--m3); }
.tb-lead b { font-weight: 500; color: var(--m1); }

.tb-uyari {
  margin: 0 0 16px;
  padding: 11px 13px;
  border-radius: 4px;
  background: rgba(239, 168, 155, .08);
  box-shadow: inset 0 0 0 1px rgba(239, 168, 155, .22);
  font-size: 12.5px;
  line-height: 1.55;
  color: #f6c7bd;
}
.tb-uyari.tamam {
  background: rgba(164, 197, 175, .08);
  box-shadow: inset 0 0 0 1px rgba(164, 197, 175, .22);
  color: #cfe2d5;
}

.tb-ikili { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.tb-alan { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.tb-alan > span { font-size: 11.5px; color: var(--m4); }
.tb-alan > span i { font-style: normal; color: var(--m5); }
.tb-alan input,
.tb-alan textarea {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  outline: 0;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255, 232, 226, .055);
  color: var(--m1);
  font: inherit;
  font-size: 13.5px;
  line-height: 1.5;
}
.tb-alan textarea { padding: 10px 12px; resize: vertical; }
.tb-alan input:focus,
.tb-alan textarea:focus { box-shadow: inset 0 0 0 1px rgba(var(--aar), .34), 0 0 0 3px rgba(var(--ar), .09); }
.tb-alan small { font-size: 11.5px; line-height: 1.5; color: var(--m5); }

.tb-bolum {
  margin: 4px 0 16px;
  padding: 14px 16px 6px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  box-shadow: inset 0 0 0 1px var(--c1);
}
.tb-bolum legend {
  float: left;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  font-family: var(--f-baslik);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--m4);
}
.tb-bolum legend + * { clear: both; }
.tb-not-ust { margin: 0 0 14px; font-size: 11.5px; line-height: 1.55; color: var(--m5); }

/* ---------- rol kartları ----------
   Radyo düğmesi görünmez ama odaklanabilir kalır; kart seçili
   durumda vurgu halkasına geçer. */
.tb-roller { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.tb-rol { position: relative; display: block; cursor: pointer; }
.tb-rol input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tb-rol-ic {
  display: block;
  height: 100%;
  padding: 13px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(255, 232, 226, .08);
  transition: background .2s, box-shadow .2s;
}
.tb-rol-ic b { display: block; margin-bottom: 5px; font-size: 13.5px; font-weight: 500; color: var(--m1); }
.tb-rol-ic i { display: block; font-style: normal; font-size: 12px; line-height: 1.5; color: var(--m4); }
.tb-rol:hover .tb-rol-ic { background: rgba(255, 255, 255, .06); }
.tb-rol input:checked + .tb-rol-ic { background: rgba(var(--aar), .1); box-shadow: inset 0 0 0 1px rgba(var(--aar), .4); }
.tb-rol input:focus-visible + .tb-rol-ic { outline: 2px solid rgba(var(--aar), .7); outline-offset: 2px; }

/* ---------- amaç kutuları ---------- */
.tb-grup { margin-bottom: 12px; }
.tb-grup-ad {
  margin-bottom: 6px;
  font-family: var(--f-baslik);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--m5);
}
.tb-kutular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; }
.tb-kutu {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 5px 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--m2);
  cursor: pointer;
}
.tb-kutu input { flex: none; width: 14px; height: 14px; margin-top: 2px; accent-color: var(--a); }
.tb-kutu:hover { color: #fff; }

/* ---------- onay ---------- */
.tb-onay {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 6px 0 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--m2);
  cursor: pointer;
}
.tb-onay input { flex: none; width: 14px; height: 14px; margin-top: 2px; accent-color: var(--a); }

/* ---------- gönder ---------- */
.tb-gonder {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: var(--a);
  color: var(--au);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: background .25s;
}
.tb-gonder:hover:not(:disabled) { background: var(--ah); }
.tb-gonder:disabled { opacity: .55; cursor: default; }

.tb-not { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: var(--m4); text-align: center; }

/* ---------- bal küpü ----------
   Ekranda YOK ama `display:none` değil: bazı botlar gizli alanları
   atlar, ekran dışına taşınmış alanı doldurur. */
.tb-tuzak { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- teşekkür ---------- */
.tb-tesekkur { padding: 24px 0 6px; text-align: center; }
.tb-tik {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(164, 197, 175, .12);
  box-shadow: inset 0 0 0 1px rgba(164, 197, 175, .25);
  color: var(--iyi);
  font-size: 20px;
}
.tb-tesekkur h3 { margin: 0 0 10px; font-family: var(--f-baslik); font-weight: 450; font-size: 20px; letter-spacing: -.03em; }
.tb-tesekkur p { margin: 0 0 8px; font-size: 13px; line-height: 1.65; color: var(--m3); }
.tb-tesekkur .tb-gonder { margin-top: 16px; }

/* ---------- dar ekran ---------- */
@media (max-width: 620px) {
  .tb-ikili,
  .tb-roller,
  .tb-kutular { grid-template-columns: minmax(0, 1fr); }
  .tb-bas { padding: 18px 12px 14px 18px; }
  .tb-govde { padding: 16px 18px 20px; }
  .tb-baslik { font-size: 19px; }
}
