/* ===================================================================
   RehberBox — Kariyer & Meslek Seçimi Rehberlik Envanteri (RIASEC)
   Tasarım: Mesleki Yeterlilik Testi Ortak Tasarım Dili (Tek Kaynak)
   =================================================================== */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fontlar/sora-tr-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fontlar/sora-tr-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fontlar/sora-tr-800.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fontlar/ibm-plex-sans-tr-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fontlar/ibm-plex-sans-tr-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fontlar/ibm-plex-sans-tr-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fontlar/ibm-plex-sans-tr-700.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --lacivert: #1E3A5F;
  --mavi: #2D6A9F;
  --mavi-ac: #4D9EDE;
  --altin: #F0A500;
  --yesil: #28A745;
  --yesil-ac: #2BBD87;

  --zemin: #F4F7FB;
  --kagit: #FFFFFF;
  --kagit2: #F1F5F9;
  --murekkep: #2C3E50;
  --murekkep2: #475569;
  --murekkep3: #6C757D;
  --cizgi: #E2E8F0;
  --cizgi2: #F0F2F5;

  --lacivert-a: #E8F4FD;
  --mavi-a: #E8F4FD;
  --altin-a: #FFF8E6;
  --yesil-a: #D1FAE5;
  --mor: #5B21B6;
  --mor-a: #EDE9FE;

  --golge: 0 2px 12px rgba(0,0,0,.08);
  --golge-yum: 0 1px 6px rgba(0,0,0,.05);
  --yay: 12px;
  --bas-degrade: linear-gradient(135deg, #1E3A5F, #2D6A9F);
  --cubuk-degrade: linear-gradient(90deg, #3B82C4 0%, #2BBD87 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--zemin);
  color: var(--murekkep);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mn {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.konteyner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

/* ── Hero Başlık Kartı ── */
.baslik-alan {
  background: var(--bas-degrade);
  color: #fff;
  border-radius: var(--yay);
  padding: 30px 28px;
  margin-bottom: 22px;
  box-shadow: var(--golge);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.baslik-sol {
  flex: 1;
  min-width: 280px;
}
.baslik-alan h1 {
  font-size: clamp(21px, 3.2vw, 26px);
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.baslik-alan p {
  color: rgba(255,255,255,.9);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}
.rozet {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  vertical-align: 2px;
}
.btn-ust-don {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.32);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .18s, border-color .18s;
  white-space: nowrap;
}
.btn-ust-don:hover {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

/* ── Bilgi Kutusu ── */
.bilgi-kutusu {
  background: var(--lacivert-a);
  border: 1px solid var(--cizgi);
  border-left: 4px solid var(--mavi);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--murekkep2);
}
.bilgi-kutusu b {
  color: var(--murekkep);
}
.bilgi-kutusu .etiket {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--mavi);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

/* ── İlerleme Çubuğu ── */
.ilerleme-alan {
  background: var(--kagit);
  border: 1px solid var(--cizgi);
  border-radius: var(--yay);
  box-shadow: var(--golge-yum);
  padding: 14px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ilerleme-cubuk-dis {
  flex: 1;
  height: 9px;
  background: var(--kagit2);
  border-radius: 6px;
  overflow: hidden;
}
.ilerleme-cubuk-ic {
  height: 100%;
  width: 0%;
  background: var(--cubuk-degrade);
  border-radius: 6px;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ilerleme-metin {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mavi);
  white-space: nowrap;
}

/* ── Panel / Kart Yapısı ── */
.panel {
  background: var(--kagit);
  border: 1px solid var(--cizgi);
  border-radius: var(--yay);
  box-shadow: var(--golge);
  padding: 28px 30px;
  margin-bottom: 24px;
  animation: belir .25s ease;
}
@keyframes belir {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ── Başlangıç Ekranı ── */
.giris-karti {
  text-align: center;
  padding: 40px 24px;
}
.giris-ikon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--lacivert-a);
  color: var(--mavi);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 18px;
}
.giris-karti h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--lacivert);
  margin-bottom: 12px;
}
.giris-karti p {
  color: var(--murekkep2);
  font-size: 14.5px;
  max-width: 65ch;
  margin: 0 auto 26px;
  line-height: 1.65;
}
.giris-ozellikler {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
  text-align: left;
}
.giris-ozellik {
  background: var(--kagit2);
  border: 1px solid var(--cizgi);
  border-radius: 10px;
  padding: 16px;
}
.giris-ozellik-bas {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--lacivert);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.giris-ozellik-not {
  font-size: 12px;
  color: var(--murekkep3);
  line-height: 1.45;
}

/* ── Butonlar ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all .18s;
  text-decoration: none;
}
.btn-primary {
  background: var(--mavi);
  color: #fff;
  box-shadow: 0 3px 10px rgba(45,106,159,0.25);
}
.btn-primary:hover {
  background: var(--lacivert);
  box-shadow: 0 4px 14px rgba(30,58,95,0.35);
  color: #fff;
}
.btn-primary:disabled {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-secondary {
  background: var(--kagit2);
  border: 1px solid var(--cizgi);
  color: var(--murekkep2);
}
.btn-secondary:hover {
  background: var(--mavi-a);
  border-color: var(--mavi);
  color: var(--mavi);
}

/* ── Soru Ekranı ── */
.soru-baslik-satir {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cizgi2);
}
.soru-no-rozet {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--mavi-a);
  color: var(--mavi);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(45,106,159,0.2);
}
.soru-kategori-ipucu {
  font-size: 12px;
  color: var(--murekkep3);
}
.soru-metin {
  font-size: clamp(17px, 2.4vw, 20px);
  font-weight: 700;
  color: var(--lacivert);
  line-height: 1.45;
  margin-bottom: 24px;
  min-height: 52px;
}

/* ── 5'li Likert Skala Butonları ── */
.skala-liste {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .skala-liste {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.skala-btn {
  background: var(--kagit);
  border: 1.5px solid var(--cizgi);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all .18s;
  font-family: inherit;
  color: var(--murekkep);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.skala-btn:hover {
  border-color: var(--mavi);
  background: var(--mavi-a);
  color: var(--mavi);
}
.skala-btn.secili {
  background: var(--mavi);
  border-color: var(--mavi);
  color: #fff;
  box-shadow: 0 4px 12px rgba(45,106,159,0.25);
}
.skala-rakam {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 800;
}
.skala-etiket {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}
.skala-btn.secili .skala-etiket {
  color: #fff;
}

.soru-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--cizgi2);
  padding-top: 18px;
}
.soru-klavye-not {
  font-size: 12px;
  color: var(--murekkep3);
}
@media (max-width: 640px) {
  .soru-klavye-not { display: none; }
}

/* ── Sonuç Raporu / Karne ── */
.karne-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
}
@media (max-width: 840px) {
  .karne-grid { grid-template-columns: 1fr; }
}

.radar-kutu {
  background: var(--kagit2);
  border: 1px solid var(--cizgi);
  border-radius: var(--yay);
  padding: 22px;
  text-align: center;
}
.radar-baslik-etiket {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--murekkep3);
  font-weight: 700;
  margin-bottom: 6px;
}
.holland-kod-buyuk {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--lacivert);
  margin-bottom: 4px;
}
.holland-ad-aciklama {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mavi);
  margin-bottom: 16px;
}
.radar-canvas {
  width: 100% !important;
  max-width: 280px;
  height: 280px !important;
  margin: 0 auto;
}

/* ── Yetkinlik Çubukları ── */
.yetkinlik-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.yetkinlik-oge {
  background: var(--kagit2);
  border: 1px solid var(--cizgi);
  border-radius: 8px;
  padding: 12px 14px;
}
.yetkinlik-ust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.yetkinlik-ad {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--lacivert);
}
.yetkinlik-oran {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--mavi);
}
.yetkinlik-bar-dis {
  height: 7px;
  background: var(--cizgi);
  border-radius: 4px;
  overflow: hidden;
}
.yetkinlik-bar-ic {
  height: 100%;
  border-radius: 4px;
  background: var(--cubuk-degrade);
}

/* ── Meslek Öneri Kartları (Ortak Tasarım Dili) ── */
.filtre-sekme-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.filtre-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--cizgi);
  background: var(--kagit);
  color: var(--murekkep2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: .18s;
  font-family: inherit;
}
.filtre-btn:hover {
  border-color: var(--mavi);
  background: var(--mavi-a);
  color: var(--mavi);
}
.filtre-btn.aktif {
  background: var(--mavi);
  color: #fff;
  border-color: var(--mavi);
}

.kartlar-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.meslek-oneri-kart {
  background: var(--kagit);
  border: 1px solid var(--cizgi);
  border-radius: var(--yay);
  box-shadow: var(--golge-yum);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .2s;
}
.meslek-oneri-kart:hover {
  box-shadow: var(--golge);
  border-color: var(--mavi);
  transform: translateY(-2px);
}
.meslek-kart-ust {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.meslek-ad {
  font-size: 15px;
  font-weight: 700;
  color: var(--lacivert);
  line-height: 1.35;
}
.uyum-rozet {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
  background: var(--yesil-a);
  color: var(--yesil);
  border: 1px solid var(--yesil);
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
}
.meslek-etiketler {
  font-size: 11.5px;
  color: var(--murekkep3);
  margin-bottom: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.meslek-tanim {
  font-size: 12.5px;
  color: var(--murekkep2);
  line-height: 1.5;
  margin-bottom: 12px;
}
.prog-etiket-cipler {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}
.prog-etiket-cip {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--lacivert-a);
  color: var(--mavi);
  border: 1px solid rgba(45,106,159,0.18);
  font-weight: 600;
}
.btn-atlas-link {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  background: var(--kagit2);
  border: 1px solid var(--cizgi);
  color: var(--lacivert);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .18s;
}
.btn-atlas-link:hover {
  background: var(--mavi);
  color: #fff;
  border-color: var(--mavi);
}

.aksiyon-satir {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ── Cevapsız Soru Uyarısı ve Geçiş Kilidi ── */
.btn-bekliyor {
  opacity: .55 !important;
  cursor: not-allowed !important;
}
.btn-bekliyor:hover {
  background: var(--kagit2) !important;
  border-color: var(--cizgi) !important;
  color: var(--murekkep2) !important;
}
.soru-uyari-kutu {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 16px;
  margin: 14px 0 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(220,38,38,0.08);
}
@keyframes kartSalla {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.anim-salla {
  animation: kartSalla .35s ease-in-out !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.2) !important;
}

