* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: sans-serif; background: #f0f2f5; }

/* AUTH */
.auth-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.auth-card { background: white; padding: 40px; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); width: 350px; text-align: center; }
.auth-title { color: #1a73e8; margin-bottom: 24px; }
.auth-link { margin-top: 16px; font-size: 14px; }

/* INPUTS */
.input { width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; display: block; }
.input-sm { padding: 8px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.form-label { font-size: 12px; color: #666; }

/* BUTTONS */
.btn { padding: 12px 24px; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 14px; display: inline-block; text-decoration: none; }
.btn-primary { width: 100%; background: #1a73e8; color: white; }
.btn-success { background: #34a853; color: white; }
.btn-danger { background: red; color: white; }
.btn-lg { padding: 15px 40px; border-radius: 30px; font-size: 18px; }
.btn-sil { color: red; background: none; border: none; cursor: pointer; font-weight: bold; }
.btn-duzenle { color: #1a73e8; font-weight: bold; text-decoration: none; margin-right: 10px; }

/* TOPBAR */
.topbar { background: #1a73e8; color: white; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 56px; position: sticky; top: 0; z-index: 100; }
.topbar-logo { font-size: 16px; font-weight: 500; color: white; }
.topbar-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { color: rgba(255,255,255,0.85); text-decoration: none; padding: 8px 14px; border-radius: 6px; font-size: 14px; }
.nav-link.active { background: #1557b0; color: white; }
.nav-link.cikis { color: #ffcccc; }

/* PANEL */
.panel-body { min-height: 100vh; }
.panel-main { padding: 28px; max-width: 900px; margin: 0 auto; }

/* CARDS */
.card { background: white; border: 0.5px solid #e0e0e0; border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; }
.card-title { font-size: 12px; font-weight: 500; color: #666; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }

/* AVATAR */
.avatar { width: 48px; height: 48px; border-radius: 50%; background: #E6F1FB; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 500; color: #0C447C; flex-shrink: 0; }

/* INFO ROWS */
.info-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 0.5px solid #eee; font-size: 14px; }
.info-row:last-child { border-bottom: none; }
.info-label { color: #666; }
.info-val { font-weight: 500; }

/* STATS */
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.stat { background: #f8f9fa; border-radius: 8px; padding: 14px 16px; }
.stat-label { font-size: 12px; color: #666; margin-bottom: 6px; }
.stat-val { font-size: 26px; font-weight: 500; }

/* SORU */
.soru-kart { max-width: 800px; margin: auto; background: white; border-radius: 12px; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.soru-header { display: flex; justify-content: space-between; align-items: center; background: #f8f9fa; padding: 15px; border-radius: 10px; margin-bottom: 10px; border: 1px solid #eee; }
.soru-etiketler { margin-bottom: 15px; }
.etiket { color: white; padding: 4px 10px; border-radius: 5px; font-size: 12px; font-weight: bold; margin-right: 5px; }
.soru-onculu { background: transparent; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.soru-metni { font-size: 20px; color: #202124; margin-bottom: 20px; }
.secenekler { display: grid; gap: 10px; }
.secenek-btn { width: 100%; text-align: left; padding: 15px; background: white; border: 2px solid #f1f3f4; border-radius: 10px; cursor: pointer; display: block; font-size: 14px; }
.secenek-btn:hover { border-color: #1a73e8; }

/* TOOLBAR */
.toolbar { background: #f0f2f5; padding: 8px; border-radius: 6px; margin-bottom: 5px; display: flex; flex-wrap: wrap; gap: 4px; }
.toolbar-btn { padding: 4px 8px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; background: white; font-size: 13px; }

/* TABLO */
.tablo { width: 100%; border-collapse: collapse; font-size: 13px; }
.tablo th { padding: 10px; border: 1px solid #eee; background: #f8f9fa; text-align: left; }
.tablo td { padding: 8px 10px; border: 1px solid #eee; }

/* SORU LİSTESİ */
.soru-listesi-item { padding: 15px; background: white; border: 1px solid #eee; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }

/* ŞIKLAR */
.siklar { background: #f8f9fa; padding: 15px; border-radius: 10px; margin-bottom: 20px; }
.sik-row { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }

/* OKUL ÖNERİ */
.okul-oneri { border: 1px solid #ddd; border-radius: 6px; background: white; max-height: 150px; overflow-y: auto; display: none; margin-bottom: 15px; }
.okul-oneri-item { padding: 8px 10px; cursor: pointer; border-bottom: 1px solid #eee; font-size: 14px; }
.okul-oneri-item:hover { background: #f0f2f5; }

/* ─── ADMİN YENİ TASARIM ─── */
.admin-topbar {
  background: white;
  border-bottom: 1px solid #e8edf2;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 0;
}

.admin-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 32px;
  text-decoration: none;
}

.admin-logo-badge {
  width: 32px;
  height: 32px;
  background: #0c447c;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.admin-logo-text { font-size: 14px; font-weight: 600; color: #1a2236; line-height: 1.2; }
.admin-logo-sub { font-size: 10px; color: #8896b0; }

.admin-nav-link {
  font-size: 13px;
  color: #6b7a99;
  padding: 0 12px;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.admin-nav-link:hover { color: #0c447c; }
.admin-nav-link.active { color: #0c447c; border-bottom-color: #0c447c; font-weight: 500; }
.admin-nav-link.danger { color: #e24b4a; }

.admin-nav-right {
  margin-left: auto;
  font-size: 12px;
  color: #8896b0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-user-badge {
  background: #e6f1fb;
  color: #0c447c;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.admin-main { padding: 24px 28px; max-width: 1100px; margin: 0 auto; }

.admin-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #e8edf2;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.admin-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a2236;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Soru listesi grupları */
.soru-grup-baslik {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.soru-grup-baslik:first-child { margin-top: 0; }
.soru-grup-taslak { background: #fff8e6; color: #8a6000; border: 1px solid #f5d98a; }
.soru-grup-yayinda { background: #eaf3de; color: #2d5a0e; border: 1px solid #c0dd97; }
.soru-grup-duraklat { background: #f0f2f5; color: #444441; border: 1px solid #d3d1c7; }

.admin-soru-item {
  padding: 12px 14px;
  background: white;
  border: 1px solid #e8edf2;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  transition: border-color 0.15s;
}

.admin-soru-item:hover { border-color: #b5d4f4; }

.admin-soru-sol { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }

.admin-soru-no {
  width: 26px;
  height: 26px;
  background: #f0f2f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #5a6a82;
  flex-shrink: 0;
}

.admin-soru-metin {
  font-size: 13px;
  color: #3a4a5e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.admin-soru-istat {
  font-size: 11px;
  color: #aab4c4;
  margin-top: 2px;
}

.admin-soru-sag { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.durum-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.badge-taslak { background: #fff8e6; color: #b07d10; border: 1px solid #f5d98a; }
.badge-yayinda { background: #eaf3de; color: #3b6d11; border: 1px solid #c0dd97; }
.badge-duraklat { background: #f0f2f5; color: #5f5e5a; border: 1px solid #d3d1c7; }

.admin-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.admin-btn-onizle { background: #ede9fb; color: #534ab7; }
.admin-btn-duzenle { background: #e6f1fb; color: #185fa5; }
.admin-btn-sil { background: #fbeaea; color: #a32d2d; }

/* ─── YENİ GİRİŞ SAYFASI ─── */
.giris-body {
  background: #f0f2f5;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}

.giris-wrap {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  width: 780px;
  max-width: 100%;
}

.giris-sol {
  background: linear-gradient(160deg, #1557b0 0%, #1a73e8 60%, #2196f3 100%);
  padding: 48px 40px;
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
  overflow: hidden;
}

.giris-sol::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  top: -80px; right: -80px;
}

.giris-sol::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -60px; left: -40px;
}

.giris-sol-icerik { position: relative; z-index: 1; }

.giris-logo-badge {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  color: white; margin-bottom: 16px;
  letter-spacing: 1px;
}

.giris-sol-baslik { font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.giris-sol-alt { font-size: 13px; opacity: 0.75; line-height: 1.5; margin-bottom: 32px; }

.giris-stat {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}

.giris-stat-no { font-size: 28px; font-weight: 700; }
.giris-stat-label { font-size: 12px; opacity: 0.7; margin-top: 2px; }

.giris-sag {
  background: white;
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.giris-form-baslik { font-size: 22px; font-weight: 600; color: #202124; margin-bottom: 6px; }
.giris-form-alt { font-size: 13px; color: #888; margin-bottom: 28px; }

.giris-form-grup { margin-bottom: 16px; }
.giris-form-etiket { font-size: 12px; color: #666; font-weight: 500; display: block; margin-bottom: 6px; }

.giris-input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #e8e8e8; border-radius: 10px;
  font-size: 14px; color: #202124; outline: none;
  transition: border-color 0.2s;
}

.giris-input:focus { border-color: #1a73e8; }

.giris-sifre-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.giris-sifre-link { font-size: 12px; color: #1a73e8; text-decoration: none; }

.giris-btn-yeni {
  width: 100%; padding: 12px;
  background: #1a73e8; color: white;
  border: none; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; margin-top: 8px;
  box-shadow: 0 4px 12px rgba(26,115,232,0.3);
}

.giris-ayrac {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: #ccc; font-size: 12px;
}
.giris-ayrac::before, .giris-ayrac::after {
  content: ''; flex: 1; height: 1px; background: #f0f0f0;
}

.giris-kayit-link { text-align: center; font-size: 13px; color: #888; }
.giris-kayit-link a { color: #1a73e8; text-decoration: none; font-weight: 500; }

/* ─── YENİ PANEL TOPBAR ─── */
.panel-topbar-yeni {
  background: #1a73e8; color: white;
  padding: 0 24px; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}

.ptopbar-sol { display: flex; align-items: center; gap: 16px; }
.ptopbar-logo { font-size: 16px; font-weight: 600; letter-spacing: 0.3px; }
.ptopbar-ayrac { width: 1px; height: 20px; background: rgba(255,255,255,0.25); }

.ptopbar-kullanici {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); border-radius: 8px; padding: 5px 12px;
  font-size: 13px;
}

.ptopbar-avatar {
  width: 26px; height: 26px; border-radius: 6px;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}

.ptopbar-nav { display: flex; align-items: center; gap: 4px; }

.ptopbar-link {
  color: rgba(255,255,255,0.8); text-decoration: none;
  padding: 7px 14px; border-radius: 8px; font-size: 13px;
}
.ptopbar-link.aktif { background: rgba(255,255,255,0.2); color: white; font-weight: 500; }
.ptopbar-link.cikis { color: rgba(255,200,200,0.9); }

.ptopbar-timer {
  background: rgba(0,0,0,0.2); border-radius: 8px;
  padding: 6px 14px; font-size: 13px; font-weight: 600;
  color: #ffcccc;
}

/* ─── YENİ SORU KARTI ─── */
.panel-main-yeni { padding: 24px; max-width: 800px; margin: 0 auto; }

.soru-kart-yeni {
  background: white; border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex; flex-direction: column;
  height: calc(100vh - 80px);
}

.soru-etiket-bar {
  background: #f8f9fa; border-bottom: 1px solid #f0f0f0;
  padding: 10px 20px; display: flex; gap: 6px; flex-wrap: wrap;
  flex-shrink: 0;
}

.ep { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.ep-zorluk { background: #fff3e0; color: #e65100; }
.ep-sinif  { background: #eceff1; color: #546e7a; }
.ep-ders   { background: #e3f2fd; color: #1565c0; }
.ep-unite  { background: #e8f5e9; color: #2e7d32; }
.ep-konu   { background: #f3e5f5; color: #6a1b9a; }

.soru-govde-yeni { flex: 1; overflow-y: auto; padding: 20px 24px; min-height: 0; }

.soru-oncul-yeni {
  background: transparent;
  border-left: 3px solid #1a73e8;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: 13px; line-height: 1.6; color: #555;
  margin-bottom: 16px;
  white-space: pre-wrap;
}

.soru-metni-yeni {
  font-size: 17px; font-weight: 500;
  color: #202124; line-height: 1.6; margin-bottom: 20px;
  white-space: pre-wrap;
}

.secenek-btn-yeni {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid #f0f0f0; border-radius: 10px;
  background: white; cursor: pointer; font-size: 14px; color: #444;
  transition: all 0.15s;
}

.secenek-btn-yeni:hover { border-color: #1a73e8; background: #f0f7ff; color: #1a73e8; }
.secenek-btn-yeni:hover .sik-harf-yeni { background: #1a73e8; color: white; }

.sik-harf-yeni {
  width: 30px; height: 30px; flex-shrink: 0;
  background: #f0f2f5; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #666;
}

/* ─── YENİ PROFİL ─── */
.profil-kart-yeni {
  background: white; border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 20px 24px; margin-bottom: 14px;
}

.profil-kart-baslik-yeni {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.8px; color: #999; margin-bottom: 16px;
}

.profil-avatar-yeni {
  width: 52px; height: 52px; border-radius: 12px;
  background: #e3f2fd;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600; color: #1a73e8; flex-shrink: 0;
}

.ozet-stat-yeni {
  background: #f8f9fa; border-radius: 10px; padding: 12px 14px;
}
.ozet-stat-etiket-yeni { font-size: 11px; color: #888; margin-bottom: 4px; }
.ozet-stat-deger-yeni { font-size: 20px; font-weight: 600; color: #202124; }

.siralama-satir-yeni {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px;
}
.siralama-satir-yeni:last-child { border: none; }
.siralama-kapsam-yeni { color: #666; }
.siralama-no-yeni { font-size: 16px; font-weight: 600; color: #1a73e8; text-align: right; }
.siralama-toplam-yeni { font-size: 11px; color: #bbb; text-align: right; }

/* ─── PROFİL SEKME SİSTEMİ ─── */
.profil-banner {
  background: white; border-radius: 14px;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.profil-banner-sol { display: flex; align-items: center; gap: 14px; }
.profil-banner-isim { font-size: 15px; font-weight: 600; color: #202124; }
.profil-banner-alt { font-size: 12px; color: #888; margin-top: 2px; }
.profil-banner-sag { display: flex; gap: 24px; }
.profil-banner-stat { text-align: center; }
.profil-banner-no { font-size: 20px; font-weight: 600; color: #202124; }
.profil-banner-label { font-size: 11px; color: #999; margin-top: 1px; }
.profil-banner-sep { width: 1px; background: #f0f0f0; }

.sekme-bar {
  background: white; border-radius: 12px;
  padding: 4px; margin-bottom: 14px;
  display: flex; gap: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.sekme-btn {
  flex: 1; padding: 9px 14px;
  border: none; border-radius: 9px;
  font-size: 13px; font-weight: 500;
  cursor: pointer; color: #888; background: transparent;
  transition: all 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.sekme-btn:hover { background: #f5f5f5; color: #444; }
.sekme-btn.aktif { background: #e8f0fe; color: #1a73e8; font-weight: 600; }
.sekme-yakinda { font-size: 9px; background: #e8f0fe; color: #1a73e8; padding: 1px 6px; border-radius: 10px; font-weight: 600; }
.sekme-icerik { display: none; }
.sekme-icerik.aktif { display: block; }

.yakin-wrap { background: white; border-radius: 14px; padding: 48px 24px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.yakin-ikon { font-size: 40px; margin-bottom: 14px; }
.yakin-baslik { font-size: 16px; font-weight: 600; color: #202124; margin-bottom: 8px; }
.yakin-alt { font-size: 13px; color: #999; }

/* Şifre formu */
.sifre-kart-profil { background: white; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.05); max-width: 440px; }
.sifre-profil-header { padding: 16px 22px; border-bottom: 1px solid #f4f4f4; display: flex; align-items: center; justify-content: space-between; }
.sifre-profil-baslik { font-size: 13px; font-weight: 600; color: #202124; }
.sifre-profil-alt { font-size: 11px; color: #aaa; margin-top: 2px; }
.sifre-profil-body { padding: 20px 22px; }
.sf-field { margin-bottom: 14px; }
.sf-label { font-size: 11px; font-weight: 600; color: #8896b0; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 6px; }
.sf-wrap { position: relative; }
.sf-input {
  width: 100%; padding: 10px 40px 10px 14px;
  border: 1.5px solid #eaecf0; border-radius: 9px;
  font-size: 13px; color: #202124; outline: none;
  background: #fafbfc; transition: border-color 0.2s, background 0.2s;
}
.sf-input:focus { border-color: #1a73e8; background: white; }
.sf-input.ok  { border-color: #34a853; background: #f6fef7; }
.sf-input.err { border-color: #ea4335; background: #fff8f7; }
.sf-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #c0c8d4; padding: 0; display: flex; align-items: center; }
.sf-guc-bars { display: flex; gap: 3px; margin-top: 6px; }
.sf-guc-bar { height: 3px; flex: 1; border-radius: 2px; background: #eaecf0; transition: background 0.3s; }
.sf-guc-bar.z { background: #ea4335; }
.sf-guc-bar.o { background: #fbbc04; }
.sf-guc-bar.g { background: #34a853; }
.sf-guc-text { font-size: 11px; margin-top: 4px; }
.sf-guc-text.z { color: #ea4335; }
.sf-guc-text.o { color: #f9a825; }
.sf-guc-text.g { color: #34a853; }
.sf-hint { font-size: 11px; margin-top: 5px; display: flex; align-items: center; gap: 4px; }
.sf-hint.ok  { color: #34a853; }
.sf-hint.err { color: #ea4335; }
.sf-divider { border: none; border-top: 1px solid #f4f4f4; margin: 14px 0; }
.sf-btn { width: 100%; padding: 11px; background: #1a73e8; color: white; border: none; border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(26,115,232,0.25); }

/* Karekök sembolü boyut düzeltmesi */
.soru-oncul-yeni, .soru-metni-yeni, .secenek-btn-yeni {
  font-size: inherit;
}
.soru-oncul-yeni *, .soru-metni-yeni *, .secenek-btn-yeni * {
  font-family: inherit;
}

/* SORU ÇÖZÜM EKRANI - KOPYALAMA KORUMASI */
.soru-kart-yeni, .soru-kart-yeni * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.soru-kart-yeni img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* ============================================================
   v4.3.35: Giriş sayfası mobil/tablet uyumu
   Dar ekranda sol tanıtım paneli + sağ form alt alta dizilir.
   ============================================================ */
@media (max-width: 640px) {
  .giris-body {
    align-items: flex-start;
    padding: 0;
  }
  .giris-wrap {
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
  .giris-sol {
    width: 100%;
    flex-shrink: 1;
    padding: 26px 22px 20px;
  }
  /* Mobilde tanıtım kartları ve puan kutusu gizlenir — sade giriş ekranı */
  .giris-sol .k-ozellik,
  .giris-sol .puan-kutu { display: none; }
  .giris-sol-alt { margin-bottom: 0; }
  .giris-sag {
    width: 100%;
    flex: 1;
    padding: 28px 22px 36px;
  }
}

/* ============================================================
   v4.3.36: Panel mobil/tablet uyumu — Adım 2a
   Üst bar (hamburger menü) + soru çözme ekranı.
   ============================================================ */
@media (max-width: 760px) {
  /* --- Üst bar --- */
  .panel-topbar-yeni {
    padding: 0 12px;
    height: 52px;
  }
  .ptopbar-logo { font-size: 14px; }
  .ptopbar-ayrac { display: none; }
  .ptopbar-kullanici {
    padding: 4px 8px;
    font-size: 11px;
    gap: 5px;
  }
  .ptopbar-avatar { width: 22px; height: 22px; font-size: 10px; }
  /* Mod değiştirici mobilde alt satıra düşmesin diye gizlenmez ama küçülür */
  .mod-degistirici { margin-left: 6px !important; }
  .mod-degistirici button { padding: 5px 8px !important; font-size: 11px !important; }

  /* Hamburger butonu görünür olur */
  #hamburgerBtn { display: block !important; }

  /* Nav linkleri varsayılan gizli — hamburger ile açılır */
  .ptopbar-nav {
    display: none;
    position: absolute;
    top: 52px; right: 0;
    background: #1a73e8;
    flex-direction: column;
    align-items: stretch;
    min-width: 200px;
    padding: 8px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    border-radius: 0 0 0 12px;
    z-index: 300;
  }
  .ptopbar-nav.mobil-acik { display: flex; }
  .ptopbar-link {
    padding: 11px 14px;
    font-size: 14px;
    border-radius: 8px;
  }

  /* --- Soru çözme ekranı --- */
  .panel-main { padding: 12px; }
  .soru-kart-yeni {
    height: auto;
    min-height: calc(100vh - 76px);
    border-radius: 12px;
  }
  .soru-etiket-bar { padding: 8px 12px; }
  .ep { padding: 3px 9px; font-size: 10px; }
  .soru-govde-yeni { padding: 14px 14px; overflow-y: visible; }
  .soru-metni-yeni { font-size: 16px; margin-bottom: 16px; }
  .soru-oncul-yeni { font-size: 13px; padding: 10px 12px; }
  .secenek-btn-yeni {
    padding: 12px 12px;
    font-size: 15px;
    gap: 10px;
  }
  .sik-harf-yeni { width: 32px; height: 32px; }

  /* v4.3.37: Mobilde tüm soruların şıkları alt alta (tek kolon).
     sikDizilimi 'yatay'/'ikili' olsa bile telefonda tek kolona iner.
     Inline grid-template-columns'u ezmek için !important gerekli. */
  .secenekler {
    grid-template-columns: 1fr !important;
  }

  /* v4.3.38: Profil/takip/kurum modlarındaki sabit kolonlu grid'ler.
     mobil-tekkolon → telefonda tek kolon, mobil-ikikolon → iki kolon. */
  .mobil-tekkolon {
    grid-template-columns: 1fr !important;
  }
  .mobil-ikikolon {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Geniş tablolar (kurum üyeleri, takip listeleri) yatay kaydırılabilir */
  .tablo {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

/* Çok dar telefonlar */
@media (max-width: 380px) {
  .ptopbar-logo { font-size: 13px; }
  .ptopbar-kullanici { font-size: 10px; }
  .soru-metni-yeni { font-size: 15px; }
}

/* ============================================================
   v4.3.39: Şifre sayfaları (auth-card) mobil uyumu
   ============================================================ */
@media (max-width: 420px) {
  .auth-card {
    width: 100%;
    padding: 28px 22px;
    border-radius: 12px;
  }
  .auth-body { padding: 14px; }
}

/* ============================================================
   v4.3.41: Admin paneli mobil/tablet uyumu
   ============================================================ */
@media (max-width: 760px) {
  /* Üst bar — dikey, esnek yükseklik */
  .admin-topbar {
    height: auto;
    padding: 8px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    position: relative;
  }
  .admin-logo-wrap { margin-right: 0; }
  .admin-logo-text { font-size: 13px; }
  .admin-logo-sub { font-size: 10px; }

  /* Ana nav (İçerik/Kullanıcılar/İletişim/Sistem) — yatay kaydırılabilir */
  .admin-nav-grup {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .admin-grup-btn {
    height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  /* Sağdaki blok (Hesapla / Merhaba / Çıkış) — alta düşer, küçülür */
  .admin-nav-right {
    margin-left: 0 !important;
    width: 100%;
    flex-wrap: wrap;
    font-size: 11px;
    padding: 4px 0;
    gap: 8px;
  }
  .admin-nav-right button {
    padding: 5px 10px !important;
    font-size: 11px !important;
    margin-right: 6px !important;
  }
  .admin-user-badge { font-size: 11px; }

  /* Ana içerik padding'i küçülür */
  .admin-main { padding: 14px 12px; }

  /* Admin'de kullanılan inline form/buton satırları sıkı kalmasın */
  .tablo th, .tablo td { padding: 6px 8px; font-size: 11px; }
}

@media (max-width: 420px) {
  .admin-grup-btn { padding: 0 8px; font-size: 11px; }
  .admin-logo-badge { width: 32px; height: 32px; font-size: 12px; }
}

/* ─── v4.8.5: Soru Listesi — sağa dayalı seçilebilir kartlar + sol önizleme paneli ─── */
.soru-liste-duzen { display: flex; gap: 18px; align-items: flex-start; }
.soru-onizleme-panel { flex: 1 1 0; min-width: 0; position: sticky; top: 16px; max-height: calc(100vh - 40px); overflow-y: auto; }
.soru-onizleme-panel-ic { background: #fff; border: 1px solid #e8edf2; border-radius: 12px; padding: 18px; }
.soru-onizleme-bos { color: #aab4c4; text-align: center; padding: 48px 18px; border: 2px dashed #e0e6ee; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.soru-liste-kolon { width: 560px; max-width: 56%; flex-shrink: 0; }
.soru-liste-kolon .admin-soru-item { cursor: pointer; align-items: flex-start; }
.soru-liste-kolon .admin-soru-item.aktif { border-color: #7cb342; box-shadow: 0 0 0 2px #c5e1a5; background: #f7fcef; }
.soru-liste-kolon .admin-soru-item.isaretli { border-left: 4px solid #1a73e8; }
.soru-liste-kolon .admin-soru-sol { align-items: flex-start; }
.soru-liste-kolon .admin-soru-no { margin-top: 2px; }
.soru-liste-kolon .admin-soru-sag { flex-wrap: wrap; justify-content: flex-end; }
.soru-sec-kutu { width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; accent-color: #1a73e8; margin-top: 4px; }
.admin-soru-etiket { font-size: 11px; color: #8a93a3; font-weight: 600; margin-bottom: 3px; }
.soru-liste-kolon .admin-soru-metin {
  white-space: normal; max-width: none; font-size: 13px; color: #2f3a49; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 980px) {
  .soru-liste-duzen { flex-direction: column-reverse; }
  .soru-liste-kolon { width: 100%; max-width: 100%; }
  .soru-onizleme-panel { position: static; width: 100%; max-height: none; }
}
