/* =========================================================
   SARAÇ AKADEMİ — Design System
   "Köz'den aleve" — bir tomurcuğun aleve dönüşmesi teması
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Work+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@500;600&display=swap');

:root{
  /* Marka alevi — logodan birebir */
  --flame-orange: #1D8FA3;
  --flame-red: #0C2D4A;
  --flame-red-deep: #071F38;
  --flame-orange-soft: #3BB0C4;
  --flame-orange-mist: #DFF3F5;
  --accent-gold: #F5A623;
  --accent-gold-deep: #E8890C;

  /* Roket teali — logodaki turkuaz gövde vurgusu */
  --teal: #1D95A8;
  --teal-soft: #CFEEF2;

  /* Büyüme yeşili — yaprak/filiz vurgusu, cimriyle kullanılır */
  --sprout: #4E7A51;
  --sprout-soft: #E4EEE1;

  /* Zemin */
  --dusk: #142238;         /* logodaki lacivert — hero/footer */
  --dusk-2: #1C2E4A;
  --paper: #FAFAF8;        /* nötr, sıcak olmayan beyaz */
  --paper-alt: #EBEEF3;    /* hafif kontrast bölüm zemini — soğuk gri-mavi */
  --ink: #131B26;
  --ink-soft: #4A5568;
  --line: rgba(19,27,38,0.10);
  --line-dark: rgba(230,238,248,0.14);

  /* Tipografi */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body: 'Work Sans', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(19,27,38,0.25);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--f-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--f-display); margin:0; line-height:1.12; letter-spacing:-0.01em; color:var(--ink); }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

:focus-visible{ outline:3px solid var(--flame-orange); outline-offset:3px; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }

.eyebrow{
  font-family:var(--f-mono);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--flame-red);
  display:inline-flex;
  align-items:center;
  gap:9px;
}
.eyebrow::before{
  content:"";
  width:7px; height:7px; border-radius:50%;
  background:var(--flame-orange);
  box-shadow:0 0 0 3px var(--flame-orange-mist);
}
.on-dark .eyebrow{ color:var(--flame-orange-soft); }
.on-dark .eyebrow::before{ box-shadow:0 0 0 3px rgba(240,129,5,0.22); }

.section{ padding:96px 0; }
.section-tight{ padding:64px 0; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(28px,3.6vw,42px); margin-top:14px; }
.section-head p{ margin-top:16px; color:var(--ink-soft); font-size:17px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 26px;
  border-radius:100px;
  font-weight:600; font-size:15px;
  border:1.5px solid transparent;
  background:none; -webkit-appearance:none; appearance:none;
  font-family:inherit; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn-flame{
  background:linear-gradient(100deg,var(--flame-orange),var(--flame-red));
  color:#fff;
  box-shadow:0 12px 28px -10px rgba(191,28,41,0.55);
}
.btn-flame:hover{ transform:translateY(-2px); box-shadow:0 16px 34px -10px rgba(191,28,41,0.65); }
.btn-ghost-dark{ border-color:var(--line-dark); color:#EDF1F6; }
.btn-ghost-dark:hover{ background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.3); }
.btn-ghost-dark.active{ background:var(--flame-orange); border-color:var(--flame-orange); color:#fff; }
.btn-ghost{ border-color:var(--line); color:var(--ink); }
.pay-method-tab{ padding:10px 20px; border-radius:10px; border:1.5px solid var(--line); background:#fff; color:var(--ink-soft); font-weight:700; font-size:13.5px; cursor:pointer; transition:.2s; }
.pay-method-tab:hover{ border-color:var(--flame-red); color:var(--ink); }
.pay-method-tab.active{ background:var(--flame-red); border-color:var(--flame-red); color:#fff; }
.btn-ghost:hover{ background:var(--paper-alt); }
.btn-sm{ padding:9px 18px; font-size:13.5px; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,247,248,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height:82px; gap:24px; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
/* max-width: adminin yüklediği logo çok geniş/yatay bir en-boy oranına sahip
   olsa bile (örn. yatay bir wordmark logo), üst menüyü sıkıştırıp diğer
   menü öğelerinin üzerine binmesini önler — bkz. includes/functions.php →
   site_logo_html(). */
.brand img{ height:66px; width:auto; max-width:200px; object-fit:contain; }
.brand span{ font-family:var(--f-display); font-weight:700; font-size:19px; letter-spacing:-0.01em; white-space:nowrap; }
.brand span em{ font-style:normal; color:var(--flame-red); }

/* ÖNEMLİ: min-width:0 buraya BİLEREK KONULMADI. .nav-main'in içindeki
   linkler white-space:nowrap olduğu için, eğer bu kutunun kendisi
   min-width:0 ile içeriğinden daha dar olmaya zorlanırsa, sığmayan metin
   kutunun dışına taşıp yanındaki "Panelim / Çıkış Yap" alanının ÜZERİNE
   biner (üst üste binme hatasının asıl sebebi buydu). min-width:auto
   (tarayıcı varsayılanı) sayesinde .nav-main kendi içeriğinden asla daha
   dar olamaz; sığmadığında üst üste binmek yerine .wrap'in kendisi yatay
   kaydırılabilir hale gelir (yukarıdaki overflow-x:hidden) — kesinlikle
   üst üste binme olmaz. */
.nav-main{ display:flex; align-items:center; gap:clamp(14px, 1.6vw, 30px); flex-wrap:nowrap; flex-shrink:0; }
.nav-main a{ font-size:14px; font-weight:600; color:var(--ink-soft); position:relative; padding:6px 0; white-space:nowrap; }
.nav-main a:hover, .nav-main a.active{ color:var(--ink); }
.nav-main a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:linear-gradient(90deg,var(--flame-orange),var(--flame-red));
  border-radius:2px;
}
.nav-actions{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.nav-actions a.login{ font-size:14.5px; font-weight:600; color:var(--ink-soft); white-space:nowrap; }
.nav-actions a.login:hover{ color:var(--ink); }

/* Üst menü açılır alt menü (Kurumsal vb.) */
.nav-dropdown{ position:relative; }
.nav-dropdown > a{ display:inline-flex; align-items:center; gap:4px; }
.nav-dropdown-caret{ transition:transform .15s ease; }
.nav-dropdown:hover .nav-dropdown-caret{ transform:rotate(180deg); }
.nav-dropdown-menu{
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(6px);
  min-width:200px; background:#fff; border:1px solid var(--line); border-radius:12px;
  box-shadow:0 12px 32px rgba(20,10,8,0.12); padding:8px; display:flex; flex-direction:column; gap:2px;
  opacity:0; visibility:hidden; pointer-events:none; transition:opacity .15s ease, transform .15s ease;
  z-index:60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0);
}
.nav-dropdown-menu a{
  padding:9px 12px; border-radius:8px; font-size:13.5px; font-weight:600; color:var(--ink-soft); white-space:nowrap;
}
.nav-dropdown-menu a:hover{ background:var(--paper-alt); color:var(--ink); }

.nav-toggle{ display:none; background:none; border:none; padding:8px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:22px; height:2px; background:var(--ink); border-radius:2px;
  position:relative; transition:.2s;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }

/* ---------- Hero (dusk / köz) ---------- */
.hero{
  position:relative;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(240,129,5,0.30), transparent 60%),
    radial-gradient(50% 50% at 100% 90%, rgba(191,28,41,0.25), transparent 60%),
    var(--dusk);
  color:#EDF1F6;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:26px 26px;
  mask-image:radial-gradient(60% 60% at 75% 30%, black, transparent 75%);
  pointer-events:none;
}
.hero .wrap{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1.05fr 0.85fr; gap:40px; align-items:center;
  padding-top:88px; padding-bottom:96px;
}
.hero h1{
  font-size:clamp(36px,5vw,60px);
  color:#fff;
  margin-top:20px;
}
.hero h1 .grad{
  background:linear-gradient(100deg,var(--flame-orange),var(--flame-red-deep) 120%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.lead{
  margin-top:22px; font-size:18px; color:#C9D3DE; max-width:520px;
}
.hero .cta-row{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }

.hero-stats{
  display:flex; gap:36px; margin-top:56px; flex-wrap:wrap;
}
.hero-stats div strong{
  display:block; font-family:var(--f-display); font-size:28px; color:#fff;
}
.hero-stats div span{ font-size:13px; color:#9FB0C2; }

.hero-art{ position:relative; }
.bud-visual{ width:100%; height:auto; filter:drop-shadow(0 30px 60px rgba(0,0,0,0.45)); }

/* ---------- Marquee strip ---------- */
.strip{
  background:var(--ink);
  color:var(--flame-orange-soft);
  overflow:hidden;
  border-bottom:1px solid var(--line-dark);
}
.strip-track{
  display:flex; gap:56px; white-space:nowrap;
  padding:14px 0;
  animation:scroll-left 26s linear infinite;
  width:max-content;
}
.strip-track span{ font-family:var(--f-mono); font-size:13px; letter-spacing:0.05em; opacity:0.85; }
@keyframes scroll-left{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .strip-track{ animation:none; } }

/* ---------- Growth path (signature element) ---------- */
.growth{ background:var(--paper); }
.growth-path{ width:100%; height:auto; margin-top:20px; }
.growth-legend{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:36px;
}
.growth-legend .stage-name{ font-family:var(--f-display); font-weight:700; font-size:15px; }
.growth-legend .stage-desc{ font-size:13.5px; color:var(--ink-soft); margin-top:6px; }
.growth-legend .stage-tag{
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--flame-red); margin-bottom:8px; display:block;
}

/* ---------- Cards ---------- */
.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:30px;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); border-color:transparent; }

.feature-card .icon{
  width:46px; height:46px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--flame-orange-mist),var(--flame-orange-soft));
  margin-bottom:18px;
}
.feature-card .icon svg{ width:22px; height:22px; stroke:var(--flame-red); }
.feature-card h3{ font-size:17px; margin-bottom:8px; }
.feature-card p{ font-size:14.5px; color:var(--ink-soft); }

/* ---------- Package cards ---------- */
.pkg-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:0; overflow:hidden; display:flex; flex-direction:column;
  transition:box-shadow .2s ease, transform .2s ease;
}
.pkg-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.pkg-card .pkg-top{
  padding:26px 26px 20px; border-bottom:1px dashed var(--line);
}
.pkg-card .pkg-level{ font-family:var(--f-mono); font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--flame-red); }
.pkg-card h3{ font-size:20px; margin-top:8px; }
.pkg-card .pkg-desc{ font-size:13.5px; color:var(--ink-soft); margin-top:8px; }
.pkg-card .pkg-body{ padding:22px 26px; flex:1; display:flex; flex-direction:column; gap:12px; }
.pkg-card .pkg-feat{ display:flex; align-items:flex-start; gap:10px; font-size:14px; }
.pkg-card .pkg-feat svg{ width:16px; height:16px; flex:none; margin-top:3px; stroke:var(--sprout); }
.pkg-card .pkg-foot{
  padding:20px 26px 26px; display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.pkg-price{ font-family:var(--f-display); font-size:22px; font-weight:700; }
.pkg-price span{ font-family:var(--f-body); font-weight:500; font-size:12.5px; color:var(--ink-soft); }
.pkg-card.featured{ border:2px solid var(--accent-gold); position:relative; box-shadow:0 16px 40px -18px rgba(232,137,12,.45); }
.pkg-card.featured::before{
  content:"En çok tercih edilen";
  position:absolute; top:0; right:0;
  background:linear-gradient(100deg,var(--accent-gold),var(--accent-gold-deep));
  color:#3a2308; font-family:var(--f-mono); font-size:10.5px; letter-spacing:0.06em; text-transform:uppercase;
  padding:6px 14px; border-radius:0 0 0 12px;
}

/* ---------- Testimonials ---------- */
.testi-card{
  background:var(--paper-alt); border-radius:var(--radius); padding:28px;
  border:1px solid var(--line);
}
.testi-card p{ font-size:15px; color:var(--ink); }
.testi-card .who{ display:flex; align-items:center; gap:12px; margin-top:20px; }
.testi-avatar{
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--flame-orange),var(--flame-red));
  color:#fff; font-family:var(--f-display); font-weight:700; font-size:14px;
}
.testi-card .who strong{ font-size:14px; display:block; }
.testi-card .who span{ font-size:12.5px; color:var(--ink-soft); }
.stars{ color:#FFC107; font-size:14px; letter-spacing:2px; margin-bottom:14px; }

/* ---------- Blog cards ---------- */
.blog-card{ display:flex; flex-direction:column; }
.blog-card .thumb{
  height:170px; border-radius:var(--radius); margin-bottom:18px;
  background:linear-gradient(135deg,var(--flame-orange-mist),var(--sprout-soft));
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
}
.blog-card .thumb svg{ width:44px; height:44px; stroke:var(--flame-red); opacity:.7; }
.blog-card .cat{ font-family:var(--f-mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--flame-red); }
.blog-card h3{ font-size:18px; margin-top:10px; }
.blog-card p{ font-size:14px; color:var(--ink-soft); margin-top:8px; }
.blog-card .meta{ margin-top:16px; font-size:12.5px; color:var(--ink-soft); font-family:var(--f-mono); }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--dusk);
  background:
    radial-gradient(60% 90% at 15% 30%, rgba(191,28,41,0.30), transparent 60%),
    radial-gradient(50% 80% at 90% 80%, rgba(240,129,5,0.24), transparent 60%),
    var(--dusk);
  color:#fff; border-radius:24px;
  padding:64px 56px;
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; font-size:clamp(24px,3vw,34px); max-width:480px; }
.cta-band p{ color:#BFCAD6; margin-top:12px; max-width:440px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:#BFCAD6; padding:72px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; }
.footer-brand .brand span{ color:#EDF1F6; }
.footer-brand p{ margin-top:16px; font-size:14px; color:#8695A6; max-width:280px; }
.footer-col h4{ font-family:var(--f-mono); font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:#8695A6; margin-bottom:16px; }
.footer-col li{ margin-bottom:11px; }
.footer-col a{ font-size:14.5px; color:#C9D3DE; }
.footer-col a:hover{ color:var(--flame-orange-soft); }
.footer-bottom{
  margin-top:56px; padding-top:24px; border-top:1px solid var(--line-dark);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  font-size:13px; color:#76869A;
}
.social-row{ display:flex; gap:12px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line-dark);
  display:flex; align-items:center; justify-content:center;
}
.social-row a:hover{ border-color:var(--flame-orange); }
.social-row svg{ width:16px; height:16px; stroke:#C9D3DE; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background:var(--dusk);
  background:
    radial-gradient(55% 70% at 85% 10%, rgba(240,129,5,0.26), transparent 60%),
    radial-gradient(45% 60% at 8% 100%, rgba(29,149,168,0.22), transparent 65%),
    var(--dusk);
  color:#fff; padding:64px 0 56px;
}
.page-hero h1{ color:#fff; font-size:clamp(30px,4vw,46px); margin-top:16px; }
.page-hero p{ color:#C9D3DE; margin-top:14px; max-width:560px; font-size:16px; }
.breadcrumb{ font-family:var(--f-mono); font-size:12.5px; color:#9FB0C2; }
.breadcrumb a:hover{ color:#fff; }

/* ---------- Filters (paketler) ---------- */
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:40px; }
.filter-chip{
  padding:9px 18px; border-radius:100px; border:1px solid var(--line);
  font-size:13.5px; font-weight:600; color:var(--ink-soft); background:#fff;
}
.filter-chip.active{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* ---------- Values / about ---------- */
.value-row{ display:flex; gap:20px; padding:28px 0; border-bottom:1px solid var(--line); }
.value-row:first-child{ padding-top:0; }
.value-num{ font-family:var(--f-mono); font-size:13px; color:var(--flame-red); flex:none; width:44px; padding-top:4px; }
.value-row h3{ font-size:18px; margin-bottom:6px; }
.value-row p{ font-size:14.5px; color:var(--ink-soft); max-width:520px; }

.team-card{ text-align:left; position:relative; }
.team-avatar{
  width:100%; aspect-ratio:1; border-radius:var(--radius);
  background:linear-gradient(135deg,var(--flame-orange-mist),var(--sprout-soft));
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
  border:1px solid var(--line); position:relative;
}
.team-avatar span{ font-family:var(--f-display); font-weight:700; font-size:30px; color:var(--flame-red); }
.team-card h3{ font-size:16px; }
.team-card .role{ font-size:13px; color:var(--flame-red); font-family:var(--f-mono); margin-top:4px; }
.team-card p{ font-size:13.5px; color:var(--ink-soft); margin-top:10px; }
.team-social{ display:flex; align-items:center; gap:10px; margin-top:12px; position:relative; z-index:2; }
.team-instagram{ width:44px; height:44px; flex-shrink:0; border-radius:50%; background:linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7); color:#fff; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(0,0,0,.15); transition:.25s; }
.team-instagram svg{ width:23px; height:23px; }
.team-instagram:hover{ transform:scale(1.08); box-shadow:0 12px 26px rgba(0,0,0,.2); }
.team-instagram-handle{ font-size:13px; font-weight:600; color:var(--ink); text-decoration:none; }
.team-instagram-handle:hover{ color:var(--flame-red); text-decoration:underline; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:56px; }
.contact-info-card{
  background:var(--ink); color:#fff; border-radius:var(--radius); padding:36px;
}
.contact-info-card h3{ color:#fff; font-size:19px; }
.contact-line{ display:flex; gap:14px; align-items:flex-start; margin-top:22px; }
.contact-line svg{ width:19px; height:19px; stroke:var(--flame-orange-soft); flex:none; margin-top:2px; }
.contact-line strong{ display:block; font-size:14px; }
.contact-line span{ font-size:13.5px; color:#9FB0C2; }
.map-box{
  margin-top:24px; border-radius:var(--radius-sm); overflow:hidden; border:1px solid var(--line-dark);
  height:180px; background:var(--dusk-2);
  display:flex; align-items:center; justify-content:center;
}
.map-box svg{ width:32px; height:32px; stroke:var(--flame-orange-soft); opacity:.6; }

.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid .full{ grid-column:1 / -1; }
.field label{ font-size:13px; font-weight:600; display:block; margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px; border-radius:var(--radius-sm);
  border:1.5px solid var(--line); font-family:var(--f-body); font-size:14.5px;
  background:var(--paper); color:var(--ink);
  transition:border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--flame-orange); outline:none; }
.field textarea{ resize:vertical; min-height:110px; }
/* Yukarıdaki genel kural TÜM input'ları (checkbox dahil) width:100% yapıyordu —
   ders oluşturma formundaki öğrenci checkbox'ları bu yüzden görünmez bir
   şekilde satırın neredeyse tamamını kaplıyor, bitişikteki isim metnini
   sağa/alt satıra itiyordu ("öğrenci seçemiyorum" hatası). Checkbox/radio
   burada hariç tutuluyor. */
.field input[type="checkbox"], .field input[type="radio"]{
  width:auto; flex:none; padding:0; border:none; background:none;
}
.form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:16px; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); padding:22px 0; }
.faq-q{ display:flex; justify-content:space-between; align-items:center; cursor:pointer; gap:20px; }
.faq-q h4{ font-size:16px; }
.faq-q .plus{ font-family:var(--f-mono); font-size:20px; color:var(--flame-red); flex:none; transition:transform .2s; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ font-size:14.5px; color:var(--ink-soft); max-width:640px; margin-top:0; max-height:0; overflow:hidden; transition:max-height .25s ease, margin-top .25s ease; }
.faq-item.open .faq-a{ margin-top:14px; max-height:200px; }

/* ---------- Blog detail ---------- */
.article-body{ max-width:700px; margin:0 auto; }
.article-body p{ font-size:16.5px; color:var(--ink); margin-bottom:20px; }
.article-body h2{ font-size:24px; margin:36px 0 16px; }
.article-meta{ display:flex; gap:18px; align-items:center; font-family:var(--f-mono); font-size:12.5px; color:var(--ink-soft); margin-top:18px; flex-wrap:wrap; }

/* ---------- Utilities ---------- */
.mt-8{ margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-40{margin-top:40px;}
.text-center{ text-align:center; margin-left:auto; margin-right:auto; }
.tag-pill{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--sprout-soft); color:var(--sprout);
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.05em; text-transform:uppercase;
  padding:5px 12px; border-radius:100px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero .wrap{ grid-template-columns:1fr; padding-top:60px; }
  .hero-art{ order:-1; width:100%; max-width:340px; margin:0 auto; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .growth-legend{ grid-template-columns:repeat(2,1fr); }
}
/* Üst menüde 8 ana sekme + "Kurumsal" alt menüsü + logo + Panelim/Çıkış
   butonları var — bunların hepsi tam metinle yan yana ancak sadece GERÇEKTEN
   geniş masaüstü ekranlarında (1500px+) rahat, kaydırmadan sığar. Bu
   genişliğin altında (dizüstü bilgisayarların çoğu, yarım ekran, tablet
   yatay dahil) menü kaydırma çubuğu YERİNE doğrudan hamburger menüye
   geçiyor — hiçbir ara/bozuk durum yok: ya tam menü düzgünce sığar ya da
   hamburger menü açılır, üçüncü bir "sıkışık/kaydırmalı" hâl mümkün değil.
   overflow-x:hidden + flex-shrink:0 kuralları da (yukarıda) son bir güvence
   olarak, aşırı uç bir durumda bile üst üste binmeyi imkansız kılar. */
@media (max-width: 1500px){
  .nav-main{ display:none; }
  .nav-toggle{ display:block; }
  .site-header .wrap{ padding:0 16px; }
  .nav-actions{ gap:10px; }
  .nav-actions a.login{ font-size:13px; white-space:nowrap; }
  .brand img{ height:48px; max-width:150px; }
}
@media (max-width: 760px){
  /* Öğretmen detay sayfasındaki 280px sabit sütun genişliği dar telefon
     ekranlarında yatay taşmaya sebep oluyordu — mobilde tek sütuna iniyor. */
  .teacher-detail-grid{ grid-template-columns:1fr !important; }
  .teacher-detail-grid > div:first-child{ text-align:center; }
  .btn-sm{ padding:8px 14px; font-size:13px; }
  .grid-3, .grid-4, .grid-2{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .form-grid{ grid-template-columns:1fr; }
  .cta-band{ padding:44px 28px; flex-direction:column; align-items:flex-start; }
  .section{ padding:64px 0; }
  .growth-legend{ grid-template-columns:1fr; }
}

/* Mobile nav drawer */
.mobile-nav{
  position:fixed; inset:0; background:var(--dusk); z-index:100;
  display:flex; flex-direction:column; padding:26px 24px;
  transform:translateX(100%); transition:transform .28s ease;
}
.mobile-nav.open{ transform:translateX(0); }
.mobile-nav .close-row{ display:flex; justify-content:flex-end; }
.mobile-nav .close-row button{ background:none; border:none; color:#fff; font-size:28px; line-height:1; }
.mobile-nav ul{ margin-top:40px; display:flex; flex-direction:column; gap:26px; }
.mobile-nav a{ font-family:var(--f-display); font-size:26px; color:#fff; font-weight:600; }
.mobile-nav li.mobile-nav-sub{ margin-top:-16px; margin-left:18px; }
.mobile-nav li.mobile-nav-sub a{ font-size:17px; color:rgba(255,255,255,0.75); font-weight:500; }
.mobile-nav .btn{ margin-top:40px; align-self:flex-start; }

/* =========================================================
   Floating actions: WhatsApp / Instagram / Facebook / Canlı Sohbet
   ========================================================= */
.fab-stack{
  position:fixed;
  right:22px; bottom:22px;
  z-index:80;
  display:flex; flex-direction:column-reverse;
  align-items:center;
  gap:12px;
}
.fab-btn{
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; border:none;
  box-shadow:0 10px 24px -8px rgba(19,27,38,0.4);
  transition:transform .18s ease, box-shadow .18s ease;
  position:relative;
}
.fab-btn:hover{ transform:translateY(-3px) scale(1.04); box-shadow:0 14px 30px -8px rgba(19,27,38,0.5); }
.fab-btn svg{ width:24px; height:24px; }

.fab-btn .fab-tooltip{
  position:absolute; right:64px; top:50%; transform:translateY(-50%);
  background:var(--ink); color:#fff;
  font-size:12.5px; font-weight:600; white-space:nowrap;
  padding:7px 12px; border-radius:8px;
  opacity:0; pointer-events:none;
  transition:opacity .15s ease, right .15s ease;
}
.fab-btn:hover .fab-tooltip{ opacity:1; right:60px; }

.fab-whatsapp{ background:#25D366; }
.fab-instagram{ background:radial-gradient(circle at 30% 110%, #ffdb6d 0%, #ff5c39 32%, #d92e7f 62%, #9c34ac 78%, #5b4bce 100%); }
.fab-facebook{ background:#1877F2; }
.fab-chat{
  background:linear-gradient(100deg,var(--flame-orange),var(--flame-red));
  width:58px; height:58px;
}
.fab-chat .icon-close{ display:none; }
.fab-chat.open .icon-chat{ display:none; }
.fab-chat.open .icon-close{ display:block; }
.fab-chat .fab-badge{
  position:absolute; top:-2px; right:-2px;
  width:16px; height:16px; border-radius:50%;
  background:var(--sprout); border:2px solid var(--paper);
}
.fab-chat.open ~ .fab-social{ opacity:0; pointer-events:none; transform:translateY(8px); }
.fab-social{ display:flex; flex-direction:column; gap:12px; transition:opacity .18s ease, transform .18s ease; }

/* Chat panel */
.chat-panel{
  position:fixed;
  right:22px; bottom:92px;
  width:360px; max-width:calc(100vw - 32px);
  height:480px; max-height:calc(100vh - 140px);
  background:#fff;
  border-radius:18px;
  box-shadow:0 30px 60px -16px rgba(19,27,38,0.35);
  z-index:81;
  display:flex; flex-direction:column;
  overflow:hidden;
  opacity:0; transform:translateY(16px) scale(0.98);
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
  border:1px solid var(--line);
}
.chat-panel.open{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }

.chat-header{
  background:var(--ink);
  background:radial-gradient(120% 140% at 100% 0%, rgba(240,129,5,0.35), transparent 55%), var(--ink);
  color:#fff;
  padding:18px 18px;
  display:flex; align-items:center; justify-content:space-between;
  flex:none;
}
.chat-header-info{ display:flex; align-items:center; gap:12px; }
.chat-avatar{
  width:38px; height:38px; border-radius:50%;
  background:linear-gradient(135deg,var(--flame-orange),var(--flame-red));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-display); font-weight:700; font-size:13px; flex:none;
}
.chat-header-info strong{ display:block; font-size:14.5px; }
.chat-status{ font-size:11.5px; color:#9FB0C2; }
.chat-status::before{ content:"● "; color:#4E9E52; }
.chat-close{ background:none; border:none; color:#fff; font-size:22px; line-height:1; opacity:0.8; }
.chat-close:hover{ opacity:1; }

.chat-body{
  flex:1; overflow-y:auto; padding:18px;
  display:flex; flex-direction:column; gap:12px;
  background:var(--paper-alt);
}
.chat-msg{
  max-width:82%; font-size:13.5px; line-height:1.5;
  padding:10px 14px; border-radius:14px;
}
.chat-msg.bot{
  background:#fff; border:1px solid var(--line);
  align-self:flex-start; border-bottom-left-radius:4px;
  color:var(--ink);
}
.chat-msg.user{
  background:linear-gradient(100deg,var(--flame-orange),var(--flame-red));
  color:#fff;
  align-self:flex-end; border-bottom-right-radius:4px;
}
.chat-quick-replies{ display:flex; flex-wrap:wrap; gap:8px; margin-top:2px; }
.chat-chip{
  background:#fff; border:1px solid var(--line); color:var(--ink);
  font-size:12.5px; font-weight:600; padding:8px 13px; border-radius:100px;
}
.chat-chip:hover{ border-color:var(--flame-orange); color:var(--flame-red); }
.chat-typing{ display:flex; gap:4px; align-self:flex-start; padding:12px 14px; background:#fff; border:1px solid var(--line); border-radius:14px; border-bottom-left-radius:4px; }
.chat-typing span{ width:6px; height:6px; border-radius:50%; background:var(--ink-soft); opacity:0.5; animation:chatTyping 1.1s infinite ease-in-out; }
.chat-typing span:nth-child(2){ animation-delay:.15s; }
.chat-typing span:nth-child(3){ animation-delay:.3s; }
@keyframes chatTyping{ 0%,60%,100%{ transform:translateY(0); opacity:0.4;} 30%{ transform:translateY(-4px); opacity:1;} }

.chat-input-row{
  flex:none; display:flex; gap:10px; align-items:center;
  padding:14px; border-top:1px solid var(--line); background:#fff;
}
.chat-input-row input{
  flex:1; border:1.5px solid var(--line); border-radius:100px;
  padding:11px 16px; font-family:var(--f-body); font-size:13.5px;
  background:var(--paper);
}
.chat-input-row input:focus{ outline:none; border-color:var(--flame-orange); }
.chat-input-row button{
  width:38px; height:38px; border-radius:50%; flex:none; border:none;
  background:linear-gradient(100deg,var(--flame-orange),var(--flame-red));
  color:#fff; display:flex; align-items:center; justify-content:center;
}
.chat-input-row button svg{ width:16px; height:16px; }

@media (max-width: 480px){
  .fab-stack{ right:14px; bottom:14px; }
  .fab-btn{ width:48px; height:48px; }
  .fab-btn .fab-tooltip{ display:none; }
  .chat-panel{ right:12px; left:12px; width:auto; bottom:82px; height:70vh; }
}

/* =========================================================
   Hero carousel + promo badge + video card (v2)
   ========================================================= */
.promo-badge{
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(100deg,var(--flame-orange),var(--flame-red));
  color:#fff; font-weight:700; font-size:13px;
  padding:8px 18px; border-radius:100px;
  box-shadow:0 10px 24px -10px rgba(240,129,5,0.6);
  margin-bottom:18px;
}

.hero-carousel{ position:relative; }
.hero-arrow{
  position:absolute; top:44%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,0.08); border:1px solid var(--line-dark);
  color:#fff; display:flex; align-items:center; justify-content:center;
  z-index:6; transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-arrow:hover{ background:rgba(255,255,255,0.18); border-color:rgba(255,255,255,0.4); }
.hero-arrow svg{ width:18px; height:18px; }
.hero-arrow-prev{ left:-14px; }
.hero-arrow-next{ right:-14px; }

.hero-dots{ display:flex; gap:8px; margin-top:34px; }
.hero-dots .dot{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.25); border:none; padding:0; transition:background .2s ease, width .2s ease; }
.hero-dots .dot:hover{ background:rgba(255,255,255,0.45); }
.hero-dots .dot.active{ background:var(--flame-orange); width:22px; border-radius:5px; }

.hero-copy{ transition:opacity .22s ease, transform .22s ease; }
.hero-copy.is-fading{ opacity:0; transform:translateY(6px); }

.video-card{
  position:relative; border-radius:20px; overflow:hidden;
  border:1px solid var(--line-dark); width:100%;
  background:linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
}
.video-card .bud-visual{ width:100%; height:auto; filter:none; }
.video-card{ aspect-ratio: 420 / 460; }
.video-card .hero-video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; display:block;
}
.video-card-shade{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(27,21,18,0.05) 0%, rgba(27,21,18,0.55) 100%);
  pointer-events:none;
}
.video-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:70px; height:70px; border-radius:50%;
  background:rgba(255,255,255,0.96); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 16px 34px -10px rgba(0,0,0,0.55);
  transition:transform .2s ease;
}
.video-play::before{
  content:""; position:absolute; inset:-10px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,0.5);
  animation:playPulse 2.4s ease-out infinite;
}
@keyframes playPulse{ 0%{ transform:scale(0.9); opacity:0.8;} 100%{ transform:scale(1.35); opacity:0;} }
.video-play:hover{ transform:translate(-50%,-50%) scale(1.06); }
.video-play svg{ width:24px; height:24px; color:var(--flame-red); margin-left:3px; }

.floating-card{
  position:absolute; background:#fff; border-radius:14px; padding:13px 16px;
  box-shadow:0 20px 40px -12px rgba(0,0,0,0.35);
  display:flex; align-items:center; gap:11px; max-width:210px; z-index:3;
}
.floating-card strong{ display:block; font-size:12.5px; font-family:var(--f-display); color:var(--ink); }
.floating-card span{ font-size:11px; color:var(--ink-soft); }
.badge-ic{ width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex:none; }
.badge-ic svg{ width:16px; height:16px; }
.badge-ic-check{ background:var(--sprout); color:#fff; }
.badge-ic-star{ background:var(--flame-orange-soft); color:var(--flame-red); }
.badge-check{ top:7%; left:-6%; }
.badge-star{ bottom:7%; right:-6%; }

@media (max-width: 980px){
  .hero-arrow{ display:none; }
  .badge-check{ top:4%; left:auto; right:3%; }
  .badge-star{ bottom:4%; right:auto; left:3%; }
}
@media (max-width: 480px){
  .floating-card{ max-width:170px; padding:10px 12px; }
  .video-play{ width:56px; height:56px; }
  .video-play svg{ width:19px; height:19px; }
}

/* Video modal (tanıtım videosu — demo yer tutucu) */
.video-modal{
  position:fixed; inset:0; z-index:120;
  background:rgba(15,11,8,0.72);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  opacity:0; pointer-events:none;
  transition:opacity .2s ease;
}
.video-modal.open{ opacity:1; pointer-events:auto; }
.video-modal-box{
  background:#fff; border-radius:20px; padding:44px 36px;
  max-width:440px; width:100%; text-align:center;
  transform:translateY(10px); transition:transform .2s ease;
  position:relative;
}
.video-modal.open .video-modal-box{ transform:translateY(0); }
.video-modal-box-video{
  background:transparent; padding:0; max-width:920px; width:100%;
  border-radius:0; overflow:visible; box-shadow:none;
}
.video-modal-video-wrap{
  border-radius:16px; overflow:hidden; background:#000;
  box-shadow:0 30px 70px -20px rgba(0,0,0,0.6);
}
.video-modal-box-video .video-modal-close{
  top:-42px; right:0; background:rgba(255,255,255,0.12); border-color:rgba(255,255,255,0.25); color:#fff;
}
.video-modal-box-video .video-modal-close:hover{ background:rgba(255,255,255,0.22); }
.modal-video{ display:block; width:100%; max-height:80vh; background:#000; }
.video-modal-close{
  position:absolute; top:16px; right:16px;
  width:34px; height:34px; border-radius:50%; border:1px solid var(--line);
  background:none; font-size:18px; color:var(--ink-soft);
}
.video-modal-close:hover{ background:var(--paper-alt); }
.video-modal-play{
  width:64px; height:64px; border-radius:50%; margin:0 auto 20px;
  background:linear-gradient(100deg,var(--flame-orange),var(--flame-red));
  display:flex; align-items:center; justify-content:center;
}
.video-modal-play svg{ width:24px; height:24px; color:#fff; margin-left:3px; }
.video-modal-box h3{ font-size:19px; }
.video-modal-box p{ font-size:14px; color:var(--ink-soft); margin-top:10px; margin-bottom:24px; }

/* =========================================================
   Giriş Yap / Kayıt Ol — split ekran auth şablonu
   ========================================================= */
.auth-shell{
  display:grid; grid-template-columns:1fr 1fr;
  min-height:calc(100vh - 82px);
}
.auth-promo{
  position:relative; overflow:hidden;
  background:
    radial-gradient(65% 60% at 20% 15%, rgba(240,129,5,0.28), transparent 60%),
    radial-gradient(55% 55% at 90% 85%, rgba(191,28,41,0.24), transparent 60%),
    var(--dusk);
  color:#EDF1F6;
  padding:72px 56px;
  display:flex; flex-direction:column; justify-content:center;
}
.auth-promo::after{
  content:"";
  position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:26px 26px;
  mask-image:radial-gradient(55% 55% at 25% 20%, black, transparent 75%);
  pointer-events:none;
}
.auth-promo > *{ position:relative; z-index:2; }
.auth-status-pill{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,0.08); border:1px solid var(--line-dark);
  color:#EDF1F6; font-family:var(--f-mono); font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase;
  padding:7px 14px; border-radius:100px; width:fit-content; margin-bottom:22px;
}
.auth-status-pill::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--sprout); box-shadow:0 0 0 3px rgba(78,122,81,0.3); }
.auth-promo h1{ color:#fff; font-size:clamp(28px,3.2vw,40px); max-width:480px; }
.auth-promo h1 .grad{
  background:linear-gradient(100deg,var(--flame-orange),var(--flame-red-deep) 120%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.auth-promo p.lead{ margin-top:16px; color:#C9D3DE; max-width:440px; font-size:15.5px; }

.auth-feature-list{ margin-top:36px; display:flex; flex-direction:column; gap:12px; max-width:460px; }
.auth-feature{
  display:flex; align-items:flex-start; gap:14px;
  background:rgba(255,255,255,0.05); border:1px solid var(--line-dark);
  border-radius:14px; padding:15px 16px;
}
.auth-feature .icon{
  width:38px; height:38px; border-radius:10px; flex:none;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--flame-orange),var(--flame-red));
}
.auth-feature .icon svg{ width:18px; height:18px; color:#fff; }
.auth-feature strong{ display:block; font-size:14px; color:#fff; }
.auth-feature span{ font-size:12.5px; color:#9FB0C2; }

.auth-trust{ display:flex; gap:22px; margin-top:36px; flex-wrap:wrap; }
.auth-trust span{ display:flex; align-items:center; gap:7px; font-size:12.5px; color:#9FB0C2; }
.auth-trust svg{ width:15px; height:15px; color:var(--sprout); flex:none; }

.auth-box{
  width:100%; max-width:400px;
}
.auth-box-inner{
  padding:64px 40px;
  display:flex; align-items:center; justify-content:center;
  background:var(--paper);
  min-height:100%;
}
.auth-box h2{ font-size:24px; }
.auth-box .sub{ font-size:14px; color:var(--ink-soft); margin-top:10px; }
.auth-box .sub a{ color:var(--flame-red); font-weight:600; }
.auth-box .sub a:hover{ text-decoration:underline; }

.auth-field{ margin-top:20px; }
.auth-field label{ font-size:13px; font-weight:600; display:block; margin-bottom:8px; }
.auth-field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.input-icon{ position:relative; }
.input-icon svg{
  position:absolute; left:14px; top:50%; transform:translateY(-50%);
  width:16px; height:16px; color:var(--ink-soft); pointer-events:none;
}
.input-icon input{ padding-left:40px; }
.input-icon.has-toggle input{ padding-right:46px; }
.pw-toggle{
  position:absolute; right:6px; top:50%; transform:translateY(-50%);
  width:32px; height:32px;
  background:none; border:none; border-radius:8px; padding:0; color:var(--ink-soft);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.pw-toggle svg{ width:18px; height:18px; flex:none; }
.pw-toggle:hover{ color:var(--ink); background:var(--paper-alt); }

.auth-row-between{ display:flex; align-items:center; justify-content:space-between; margin-top:18px; flex-wrap:wrap; gap:10px; }
.remember-me{ display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--ink-soft); }
.remember-me input{ width:16px; height:16px; accent-color:var(--flame-orange); }
.forgot-link{ font-size:13.5px; font-weight:600; color:var(--flame-red); }
.forgot-link:hover{ text-decoration:underline; }

.kvkk-check{ display:flex; align-items:flex-start; gap:10px; margin-top:20px; font-size:12.5px; color:var(--ink-soft); }
.kvkk-check input{ width:16px; height:16px; margin-top:2px; accent-color:var(--flame-orange); flex:none; }
.kvkk-check a{ color:var(--flame-red); font-weight:600; }
.kvkk-check a:hover{ text-decoration:underline; }

.auth-submit{ width:100%; justify-content:center; margin-top:24px; }
.auth-trust-mini{ display:flex; gap:16px; margin-top:26px; flex-wrap:wrap; justify-content:center; }
.auth-trust-mini span{ display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--ink-soft); }
.auth-trust-mini svg{ width:13px; height:13px; color:var(--sprout); }

.auth-success{
  display:none; margin-top:18px; padding:14px 16px;
  background:var(--sprout-soft); color:var(--sprout); border-radius:10px;
  font-size:13.5px; font-weight:600;
}

@media (max-width: 900px){
  .auth-shell{ grid-template-columns:1fr; min-height:auto; }
  .auth-promo{ padding:52px 28px; }
  .auth-box-inner{ padding:48px 24px; }
  .auth-field-row{ grid-template-columns:1fr; }
}

/* =========================================================
   Auth alanları — emoji ikonlu input stili + doğrulama rozeti
   ========================================================= */
.auth-field input,
.auth-field select{
  width:100%; padding:13px 15px; border-radius:10px;
  border:1.5px solid var(--line); font-family:var(--f-body); font-size:14.5px;
  background:#fff; color:var(--ink);
  transition:border-color .15s ease, box-shadow .15s ease;
  appearance:none; -webkit-appearance:none;
}
.auth-field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357504A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:16px;
}
.auth-field input::placeholder{ color:#93A2B4; }
.auth-field input:focus, .auth-field select:focus{
  border-color:var(--flame-orange); outline:none;
  box-shadow:0 0 0 3px var(--flame-orange-mist);
}

.required-mark{ color:var(--flame-red); margin-left:2px; }
.field-hint{ color:var(--ink-soft); font-weight:500; font-size:11.5px; margin-left:6px; }

.input-icon .emoji-ico{
  position:absolute; left:13px; top:50%; transform:translateY(-50%);
  font-size:16px; line-height:1; pointer-events:none;
}
.input-icon.has-emoji input,
.input-icon.has-emoji select{ padding-left:40px; }
.input-icon.has-emoji.has-toggle input{ padding-right:46px; }

/* Edge/IE'nin kendi yerleşik şifre göster ikonunu gizle (özel ikonumuzla üst üste binmesin) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear{
  display:none;
}

.verify-badge{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-top:22px; background:var(--paper-alt); border:1px solid var(--line);
  border-radius:12px; padding:14px 16px;
}
.verify-badge-left{ display:flex; align-items:center; gap:12px; }
.verify-check{
  width:30px; height:30px; border-radius:50%; background:var(--sprout);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.verify-check svg{ width:15px; height:15px; color:#fff; }
.verify-badge strong{ font-size:13.5px; display:block; color:var(--ink); }
.verify-badge .vb-sub{ font-size:11.5px; color:var(--ink-soft); margin-top:1px; }
.verify-badge-right{ display:flex; align-items:center; gap:7px; color:var(--ink-soft); flex:none; }
.verify-badge-right svg{ width:17px; height:17px; }
.verify-badge-right span{ font-size:11px; line-height:1.3; }

@media (max-width: 420px){
  .verify-badge{ flex-direction:column; align-items:flex-start; }
}

/* =========================================================
   Üst duyuru şeridi + iletişim/sosyal medya çubuğu
   ========================================================= */
.topbars{ position:relative; z-index:55; }

.promo-strip{
  background:linear-gradient(100deg, #071f38, #0c2d4a 60%, #1D8FA3);
  color:#fff;
}
.promo-strip .wrap{
  display:flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 24px; position:relative;
  flex-wrap:wrap;
}
.promo-strip-text{
  display:flex; align-items:center; gap:9px; flex-wrap:wrap;
  justify-content:center;
  font-size:13px; font-weight:600;
}
.promo-chip{
  background:rgba(0,0,0,0.22); border:1px solid rgba(255,255,255,0.18);
  padding:5px 12px; border-radius:100px;
  font-family:var(--f-mono); font-size:11.5px; font-weight:600; letter-spacing:0.03em;
  white-space:nowrap;
}
.promo-chip.hot{
  background:#FFE066; color:#151F2E; border-color:transparent;
}
.promo-sep{ opacity:0.6; font-size:12px; }
.promo-extra{ color:rgba(255,255,255,0.92); }
.promo-timer{
  display:flex; align-items:center; gap:6px;
  background:rgba(0,0,0,0.22); border:1px solid rgba(255,255,255,0.18);
  padding:5px 12px; border-radius:100px;
  font-family:var(--f-mono); font-size:11.5px; font-weight:600; white-space:nowrap;
}
.promo-timer::before{ content:""; width:6px; height:6px; border-radius:50%; background:#FFE066; }
.promo-cta{
  background:#fff; color:#071f38;
  font-size:12.5px; font-weight:700;
  padding:7px 16px; border-radius:100px;
  white-space:nowrap; flex:none;
  transition:transform .15s ease;
}
.promo-cta:hover{ transform:translateY(-1px); }
.promo-close{
  position:absolute; right:14px; top:50%; transform:translateY(-50%);
  width:26px; height:26px; border-radius:50%; border:none;
  background:rgba(255,255,255,0.16); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:15px; line-height:1; flex:none;
}
.promo-close:hover{ background:rgba(255,255,255,0.28); }

.utility-strip{
  background:var(--ink); color:#BFCAD6;
}
.utility-strip .wrap{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:9px 24px;
  font-size:12.5px;
}
.utility-left{ display:flex; align-items:center; gap:22px; flex:none; }
.utility-left a{ display:flex; align-items:center; gap:7px; color:#BFCAD6; font-weight:500; }
.utility-left a:hover{ color:#fff; }
.utility-left svg{ width:14px; height:14px; color:var(--flame-orange-soft); flex:none; }
.utility-center{ flex:1; text-align:center; color:#8695A6; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.utility-center strong{ color:var(--flame-orange-soft); font-weight:700; }
.utility-center .dot-sep{ color:var(--sprout); margin:0 3px; }
.utility-social{ display:flex; align-items:center; gap:8px; flex:none; }
.utility-social a{
  width:24px; height:24px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; flex:none;
}
.utility-social svg{ width:12.5px; height:12.5px; }
.utility-social .us-youtube{ background:#FF0000; }
.utility-social .us-instagram{ background:radial-gradient(circle at 30% 110%, #ffdb6d 0%, #ff5c39 32%, #d92e7f 62%, #9c34ac 78%, #5b4bce 100%); }
.utility-social .us-facebook{ background:#1877F2; }
.utility-social .us-x{ background:#000; }
.utility-social .us-whatsapp{ background:#25D366; }

@media (max-width: 980px){
  .promo-extra{ display:none; }
  .utility-center{ display:none; }
}
@media (max-width: 700px){
  .promo-strip .wrap{ padding:9px 44px 9px 16px; gap:7px; }
  .promo-strip-text{ font-size:12px; gap:6px; }
  .promo-chip, .promo-timer{ font-size:10.5px; padding:4px 9px; }
  .promo-close{ right:8px; }
  .utility-left a:nth-child(2){ display:none; }
  .utility-strip .wrap{ padding:8px 16px; }
}
@media (max-width: 480px){
  .promo-cta{ display:none; }
}

/* =========================================================
   Eğitim Paketlerimiz — görselli vitrin kartları (Anasayfa)
   ========================================================= */
.showcase-stars{
  color:var(--flame-orange); font-size:18px; letter-spacing:6px;
  margin-bottom:6px;
}
.section-head.text-center{ text-align:center; }
.showcase-underline{
  width:70px; height:4px; border-radius:2px;
  background:linear-gradient(90deg,var(--flame-orange),var(--flame-red));
  margin:16px auto 0;
}

.showcase-card{
  background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.showcase-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); border-color:transparent; }

.showcase-image{
  position:relative; height:190px; flex:none;
  display:flex; align-items:center; justify-content:center;
}
.showcase-image.tone-a{ background:linear-gradient(135deg,var(--flame-orange-mist),var(--flame-orange-soft)); }
.showcase-image.tone-b{ background:linear-gradient(135deg,var(--sprout-soft),var(--flame-orange-mist)); }
.showcase-image.tone-c{ background:linear-gradient(135deg,var(--flame-orange),var(--flame-red)); }
.showcase-image svg{ width:60px; height:60px; }
.showcase-image.tone-a svg, .showcase-image.tone-b svg{ color:var(--flame-red); opacity:0.85; }
.showcase-image.tone-c svg{ color:#fff; opacity:0.95; }

.showcase-badge{
  position:absolute; top:14px; left:14px;
  background:#fff; color:var(--ink);
  font-family:var(--f-mono); font-size:10.5px; font-weight:700;
  letter-spacing:0.05em; text-transform:uppercase;
  padding:6px 11px; border-radius:7px;
  box-shadow:0 6px 14px -6px rgba(0,0,0,0.25);
  white-space:nowrap;
}
.showcase-image.tone-c .showcase-badge{ background:rgba(255,255,255,0.95); }

.showcase-body{ padding:22px 22px 24px; display:flex; flex-direction:column; flex:1; }
.showcase-subtitle{
  font-family:var(--f-mono); font-size:11.5px; letter-spacing:0.04em; text-transform:uppercase;
  color:var(--flame-red);
}
.showcase-body h3{ font-size:19px; margin-top:8px; }
.showcase-price-row{
  display:flex; align-items:baseline; gap:6px; margin-top:16px;
  padding-top:14px; border-top:1px dashed var(--line);
}
.showcase-price{ font-family:var(--f-display); font-size:24px; font-weight:700; }
.showcase-price-note{ font-size:12px; color:var(--ink-soft); margin-top:5px; }
.showcase-actions{ display:flex; gap:10px; margin-top:20px; }
.showcase-actions .btn{ flex:1; justify-content:center; padding:11px 14px; font-size:13.5px; }

.showcase-more-row{ text-align:center; margin-top:40px; }
.showcase-hidden{ display:none !important; }

@media (max-width: 760px){
  .showcase-image{ height:170px; }
}

/* =========================================================================
   PANEL KABUĞU (Öğrenci / Öğretmen / Admin) — demo uygulama arayüzü
   Not: Bu sistem tamamen ön yüz (frontend) demosudur, gerçek bir sunucuya
   bağlı değildir. Tüm veriler örnektir ve admin paneli üzerinden yönetici
   arka planda bir sistem kurduğunda gerçek verilerle değiştirilebilir.
   ========================================================================= */

.app-body{ background:var(--paper); }

.app-shell{ display:flex; min-height:100vh; }

/* ---------- Sidebar ---------- */
.app-sidebar{
  width:264px; flex:none; background:var(--dusk); color:#BFCAD6;
  display:flex; flex-direction:column;
  position:sticky; top:0; height:100vh; overflow-y:auto;
  z-index:40;
}
.app-sidebar-header{ padding:24px 20px 18px; border-bottom:1px solid var(--line-dark); }
.app-sidebar-header .brand{
  display:inline-flex; background:#fff; padding:10px 14px; border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,0.18);
}
.app-sidebar-header .brand img{ height:38px; display:block; }
.app-role-badge{
  margin-top:16px; display:inline-flex; align-items:center; gap:7px;
  background:rgba(255,255,255,0.06); border:1px solid var(--line-dark);
  padding:6px 12px; border-radius:100px;
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--flame-orange-soft);
}
.app-role-badge::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--sprout); }

.app-user-brief{ display:flex; align-items:center; gap:12px; padding:18px 20px; border-bottom:1px solid var(--line-dark); }
.app-user-avatar{
  width:42px; height:42px; border-radius:50%; flex:none;
  background:linear-gradient(135deg,var(--flame-orange),var(--flame-red));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-display); font-weight:700; font-size:15px; color:#fff;
}
.app-user-brief strong{ display:block; font-size:14px; color:#fff; }
.app-user-brief span{ font-size:12px; color:#8695A6; }

.app-nav{ flex:1; padding:16px 12px; }
.app-nav-group{ margin-bottom:18px; }
.app-nav-label{
  font-family:var(--f-mono); font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase;
  color:#66768A; padding:0 12px; margin-bottom:8px; display:block;
}
.app-nav-item{
  display:flex; align-items:center; gap:12px; width:100%; text-align:left;
  padding:11px 13px; border-radius:10px; margin-bottom:3px;
  color:#9FB0C2; font-size:13.5px; font-weight:600;
  background:none; border:none; border-left:3px solid transparent; font-family:inherit; cursor:pointer;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.app-nav-item svg{ width:18px; height:18px; flex:none; }
.app-nav-item:hover{ background:rgba(255,255,255,0.06); color:#fff; }
.app-nav-item.active{
  background:linear-gradient(100deg, rgba(240,129,5,0.32), rgba(191,28,41,0.26));
  color:#fff; border-left-color:var(--flame-orange);
  box-shadow:inset 0 0 0 1px rgba(240,129,5,0.25);
  font-weight:700;
}
.app-nav-item .count-badge{
  margin-left:auto; background:var(--flame-red); color:#fff;
  font-family:var(--f-mono); font-size:10.5px; font-weight:700;
  padding:2px 7px; border-radius:100px;
}

.app-sidebar-footer{ padding:14px 12px 20px; border-top:1px solid var(--line-dark); }
.app-sidebar-footer .app-nav-item{ color:#8695A6; }

/* ---------- Topbar + content ---------- */
.app-main{ flex:1; min-width:0; display:flex; flex-direction:column; }
.app-topbar{
  height:72px; background:#fff; border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 30px; position:sticky; top:0; z-index:20; flex:none;
}
.app-topbar-left{ display:flex; align-items:center; gap:14px; }
.app-sidebar-toggle{ display:none; background:none; border:none; padding:6px; }
.app-sidebar-toggle svg{ width:22px; height:22px; color:var(--ink); }
.app-topbar h1{ font-size:19px; }
.app-topbar-sub{ font-size:12.5px; color:var(--ink-soft); margin-top:2px; }
.app-topbar-right{ display:flex; align-items:center; gap:16px; }
.app-icon-btn{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--line);
  background:#fff; display:flex; align-items:center; justify-content:center;
  position:relative; color:var(--ink-soft);
}
.app-icon-btn svg{ width:17px; height:17px; }
.app-icon-btn .dot{ position:absolute; top:8px; right:8px; width:7px; height:7px; border-radius:50%; background:var(--flame-red); }

.app-content{ padding:30px; max-width:1320px; width:100%; margin:0 auto; }
.app-panel{ display:none; }
.app-panel.active{ display:block; animation:panelIn .2s ease; }
@keyframes panelIn{ from{ opacity:0; transform:translateY(6px);} to{ opacity:1; transform:translateY(0);} }

.app-section-title{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:12px; }
.app-section-title h2{ font-size:21px; }
.app-section-title p{ font-size:13.5px; color:var(--ink-soft); margin-top:4px; }

/* ---------- Stat cards ---------- */
.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:30px; }
.stat-card{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px; }
.stat-card .label{ font-family:var(--f-mono); font-size:11px; letter-spacing:0.05em; text-transform:uppercase; color:var(--ink-soft); }
.stat-card .value{ font-family:var(--f-display); font-size:27px; font-weight:700; margin-top:10px; }
.stat-card .sub{ font-size:12px; color:var(--ink-soft); margin-top:6px; }
.stat-card .sub.pos{ color:var(--sprout); }

/* ---------- Cards / panels ---------- */
.panel-card{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:24px; margin-bottom:24px; }

/* Genel amaçlı modal (ders notu/materyal, PDF görüntüleyici vb.) */
.modal-overlay{ position:fixed; inset:0; background:rgba(20,20,20,0.55); z-index:9999; display:flex; align-items:center; justify-content:center; padding:20px; }
.modal-card{ background:#fff; border-radius:16px; width:100%; max-width:520px; max-height:88vh; overflow-y:auto; padding:24px; }
.modal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.modal-head h3{ margin:0; font-size:17px; }
.modal-close{ background:none; border:none; font-size:24px; line-height:1; cursor:pointer; color:var(--ink-soft); padding:0 4px; }
.modal-close:hover{ color:var(--ink); }
.panel-card-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; flex-wrap:wrap; gap:10px; }
.panel-card-head h3{ font-size:16px; }

/* ---------- Data table ---------- */
.table-wrap{ background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; overflow-x:auto; }
.data-table{ width:100%; border-collapse:collapse; min-width:640px; }
.data-table th{
  text-align:left; font-family:var(--f-mono); font-size:10.5px; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--ink-soft); padding:13px 18px; background:var(--paper-alt); border-bottom:1px solid var(--line);
  white-space:nowrap;
}
.data-table td{ padding:13px 18px; font-size:13.5px; border-bottom:1px solid var(--line); vertical-align:middle; }
.data-table tr:last-child td{ border-bottom:none; }
.data-table tr:hover td{ background:var(--paper-alt); }
.cell-name{ display:flex; align-items:center; gap:10px; font-weight:600; }
.cell-avatar{
  width:32px; height:32px; border-radius:50%; flex:none;
  background:linear-gradient(135deg,var(--flame-orange-mist),var(--sprout-soft));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-display); font-size:11.5px; font-weight:700; color:var(--flame-red);
}

.status-pill{
  display:inline-flex; align-items:center; gap:5px;
  padding:4px 10px; border-radius:100px;
  font-size:11px; font-weight:700; white-space:nowrap;
}
.status-pill::before{ content:""; width:6px; height:6px; border-radius:50%; }
.status-pill.done{ background:var(--sprout-soft); color:var(--sprout); }
.status-pill.done::before{ background:var(--sprout); }
.status-pill.pending{ background:var(--flame-orange-mist); color:#B8600A; }
.status-pill.pending::before{ background:var(--flame-orange); }
.status-pill.late{ background:#FBE4E4; color:var(--flame-red); }
.status-pill.late::before{ background:var(--flame-red); }
.status-pill.neutral{ background:var(--paper-alt); color:var(--ink-soft); border:1px solid var(--line); }
.status-pill.neutral::before{ background:var(--ink-soft); }

.row-actions{ display:flex; gap:8px; }
.icon-action{
  width:30px; height:30px; border-radius:8px; border:1px solid var(--line); background:#fff;
  display:flex; align-items:center; justify-content:center; color:var(--ink-soft);
}
.icon-action:hover{ background:var(--paper-alt); color:var(--ink); }
.icon-action svg{ width:14px; height:14px; }

/* ---------- Tabs (inner) ---------- */
.subtab-row{ display:flex; gap:8px; margin-bottom:20px; flex-wrap:wrap; }
.subtab{
  padding:8px 16px; border-radius:100px; border:1px solid var(--line);
  background:#fff; font-size:13px; font-weight:600; color:var(--ink-soft);
}
.subtab.active{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* ---------- Progress ---------- */
.progress-track{ height:8px; border-radius:100px; background:var(--paper-alt); overflow:hidden; }
.progress-fill{ height:100%; border-radius:100px; background:linear-gradient(90deg,var(--flame-orange),var(--flame-red)); }
.progress-fill.green{ background:linear-gradient(90deg,var(--sprout),#6BA36E); }

/* ---------- Course/package mini cards ---------- */
.enroll-card{ display:flex; gap:16px; align-items:center; padding:18px; border:1px solid var(--line); border-radius:12px; margin-bottom:14px; }
.enroll-card .enroll-icon{
  width:52px; height:52px; border-radius:12px; flex:none;
  background:linear-gradient(135deg,var(--flame-orange-mist),var(--flame-orange-soft));
  display:flex; align-items:center; justify-content:center;
}
.enroll-card .enroll-icon svg{ width:24px; height:24px; color:var(--flame-red); }
.enroll-card .enroll-info{ flex:1; min-width:0; }
.enroll-card h4{ font-size:15px; }
.enroll-card .enroll-meta{ font-size:12.5px; color:var(--ink-soft); margin-top:3px; }
.enroll-card .enroll-progress{ margin-top:10px; max-width:320px; }
.enroll-card .enroll-progress .p-label{ display:flex; justify-content:space-between; font-size:11.5px; color:var(--ink-soft); margin-bottom:5px; }
.enroll-card .enroll-actions{ flex:none; }

/* ---------- Upcoming lesson card ---------- */
.next-lesson-card{
  background:var(--dusk);
  background:radial-gradient(70% 90% at 90% 10%, rgba(240,129,5,0.28), transparent 60%), var(--dusk);
  color:#fff; border-radius:16px; padding:26px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  margin-bottom:28px;
}
.next-lesson-card .nl-eyebrow{ font-family:var(--f-mono); font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:var(--flame-orange-soft); }
.next-lesson-card h3{ color:#fff; font-size:20px; margin-top:8px; }
.next-lesson-card p{ color:#9FB0C2; font-size:13px; margin-top:6px; }
.next-lesson-card .nl-time{ font-family:var(--f-display); font-size:26px; font-weight:700; color:#fff; }

/* ---------- Forms in panel (content mgmt demo) ---------- */
.panel-field{ margin-bottom:18px; }
.panel-field label{ font-size:13px; font-weight:600; display:block; margin-bottom:8px; }
.panel-field input, .panel-field select, .panel-field textarea{
  width:100%; padding:12px 14px; border-radius:10px; border:1.5px solid var(--line);
  font-family:var(--f-body); font-size:14px; background:var(--paper);
}
.panel-field input:focus, .panel-field select:focus, .panel-field textarea:focus{
  outline:none; border-color:var(--flame-orange); box-shadow:0 0 0 3px var(--flame-orange-mist);
}
.panel-field textarea{ min-height:120px; resize:vertical; }
.panel-save-note{
  display:none; margin-top:14px; padding:12px 14px; border-radius:10px;
  background:var(--sprout-soft); color:var(--sprout); font-size:13px; font-weight:600;
}

.demo-disclaimer{
  display:flex; gap:12px; align-items:flex-start;
  background:var(--flame-orange-mist); border:1px solid var(--flame-orange-soft);
  border-radius:12px; padding:16px 18px; margin-bottom:26px; font-size:13px; color:#7A4A0A;
}
.demo-disclaimer svg{ width:18px; height:18px; flex:none; margin-top:1px; color:var(--flame-orange); }

/* ---------- Mobile sidebar ---------- */
@media (max-width: 980px){
  .app-sidebar{
    position:fixed; left:0; top:0; height:100vh; width:270px;
    transform:translateX(-100%); transition:transform .25s ease; box-shadow:0 0 40px rgba(0,0,0,0.3);
  }
  .app-sidebar.open{ transform:translateX(0); }
  .app-sidebar-toggle{ display:flex; }
  .stat-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px){
  .app-content{ padding:20px 16px; }
  .app-topbar{ padding:0 16px; }
  .stat-grid{ grid-template-columns:1fr; }
  .next-lesson-card{ flex-direction:column; align-items:flex-start; }
  .enroll-card{ flex-direction:column; align-items:flex-start; }
}
.teacher-mesaj-grid{ display:grid; grid-template-columns:280px 1fr; min-height:420px; }
@media (max-width: 760px){
  /* Öğretmen panelindeki mesajlar ekranı: sabit 280px genişlikli kişi listesi
     dar telefon ekranlarında (ör. 375px) taşmaya sebep oluyordu — liste ve
     yazışma alanı artık mobilde alt alta diziliyor. */
  .teacher-mesaj-grid{ grid-template-columns:1fr; }
  .teacher-mesaj-grid > div:first-child{ max-height:260px !important; border-right:none !important; border-bottom:1px solid var(--line); }
}
.app-sidebar-backdrop{
  display:none; position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:35;
}
.app-sidebar-backdrop.open{ display:block; }

/* =========================================================================
   CANLI DERS — video görüşme demo arayüzü
   ========================================================================= */
.live-shell{ min-height:100vh; min-height:100dvh; background:#0D0A08; color:#fff; display:flex; flex-direction:column; }
.live-topbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px; border-bottom:1px solid rgba(255,255,255,0.08); flex-wrap:wrap; gap:12px;
}
.live-topbar-left{ display:flex; align-items:center; gap:14px; }
.live-topbar-left img{ height:26px; }
.live-lesson-title{ font-size:14.5px; font-weight:700; }
.live-lesson-sub{ font-size:12px; color:#8695A6; }
.live-status{
  display:flex; align-items:center; gap:7px;
  font-family:var(--f-mono); font-size:11.5px; color:#B8DFB9;
  background:rgba(78,122,81,0.18); border:1px solid rgba(78,122,81,0.4);
  padding:6px 12px; border-radius:100px;
}
.live-status::before{ content:""; width:7px; height:7px; border-radius:50%; background:#4E9E52; box-shadow:0 0 0 3px rgba(78,158,82,0.25); }
/* Kayıt (LiveKit Egress) devam ederken tüm katılımcılara görünen uyarı —
   dersin kaydedildiğini şeffaf şekilde bildirmek için bilinçli olarak
   herkese (sadece öğretmene/admin'e değil) gösteriliyor. */
.live-rec-badge{
  display:flex; align-items:center; gap:7px;
  font-family:var(--f-mono); font-size:11.5px; font-weight:600; color:#ffd1d1;
  background:rgba(230,57,70,0.18); border:1px solid rgba(230,57,70,0.45);
  padding:6px 12px; border-radius:100px;
}
.live-rec-badge::before{ content:""; width:7px; height:7px; border-radius:50%; background:#e63946; box-shadow:0 0 0 3px rgba(230,57,70,0.25); animation:liveRecPulse 1.4s ease-in-out infinite; }
@keyframes liveRecPulse{ 0%,100%{ opacity:1; } 50%{ opacity:.35; } }
.live-timer{ font-family:var(--f-mono); font-size:15px; font-weight:600; color:#fff; background:rgba(255,255,255,0.06); padding:6px 14px; border-radius:8px; }
.live-timer.live-timer-over{ background:rgba(230,57,70,0.25); color:#ffd1d1; }

.live-stage{ flex:1; display:flex; gap:18px; padding:20px 24px; min-height:0; }
.live-videos{ flex:1; display:grid; grid-template-columns:1fr 1fr; gap:16px; min-width:0; position:relative; }
/* "Büyüt" (pin) özelliği: bir kutucuğa tıklanınca (özellikle ekran
   paylaşımını okunaklı büyütebilmek için) grid yerleşimi bırakılıp esnek
   (flex) bir yerleşime geçilir — odaklanılan kutucuk çoğu alanı kaplar,
   diğerleri altta küçük bir şeride sıralanır. Bkz. aşağıdaki JS'te
   setPinnedTile(). */
.live-videos.has-pinned{ display:flex; flex-wrap:wrap; align-content:flex-start; gap:12px; }
.live-videos.has-pinned .live-tile{ flex:0 1 168px; height:108px; order:2; aspect-ratio:auto; }
.live-videos.has-pinned .live-tile.is-pinned{ flex:1 1 100%; height:min(64vh, 560px); order:1; }
.live-tile{
  position:relative; background:#171310; border-radius:16px; overflow:hidden;
  display:flex; align-items:center; justify-content:center; aspect-ratio:16/10;
  border:1px solid rgba(255,255,255,0.08); cursor:zoom-in;
}
.live-videos.has-pinned .live-tile.is-pinned{ cursor:default; }
.live-tile video{ width:100%; height:100%; object-fit:cover; }
.live-videos.has-pinned .live-tile.is-pinned video{ object-fit:contain; background:#000; }
/* "Aynala" tercihi açıldığında SADECE bu kutucuğun kendi önizleme videosunu
   çevirir — bkz. canli-ders.php script'i, applySelfMirrorPref(). Karşı
   tarafa giden gerçek görüntüyü hiçbir zaman etkilemez. */
.live-tile.mirrored video{ transform:scaleX(-1); }
.live-tile-controls{
  position:absolute; top:14px; left:14px; z-index:4; display:flex; gap:6px;
  opacity:0; transition:opacity .15s ease;
}
.live-tile:hover .live-tile-controls{ opacity:1; }
/* Dokunmatik ekranlarda ":hover" hiç tetiklenmediği için büyüt/tam ekran
   düğmeleri mobilde asla görünmüyor, dolayısıyla asla dokunulamıyordu —
   dokunmatik cihazlarda bu düğmeler her zaman görünür tutuluyor. */
@media (hover: none){
  .live-tile-controls{ opacity:1; }
}
.live-tile-pin, .live-tile-fullscreen, .live-tile-kick{
  width:30px; height:30px; border-radius:8px; flex:none;
  background:rgba(13,10,8,0.6); border:1px solid rgba(255,255,255,0.15); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.live-tile-pin:hover, .live-tile-fullscreen:hover{ background:rgba(13,10,8,0.85); }
.live-tile-kick:hover{ background:#E5484D; border-color:#E5484D; }
.live-tile-pin svg, .live-tile-fullscreen svg, .live-tile-kick svg{ width:15px; height:15px; }
.live-videos.has-pinned .live-tile.is-pinned .live-tile-pin{ display:none; }
/* Tam ekrandayken (Fullscreen API) kutucuk tüm ekranı kaplar; video
   kırpılmadan (object-fit:contain) tamamı görünür — özellikle ekran
   paylaşımını okurken önemli. Köşeler de tam ekranda kare olsun diye
   border-radius sıfırlanıyor. */
.live-tile:fullscreen{ border-radius:0; aspect-ratio:auto; }
.live-tile:fullscreen video{ object-fit:contain; background:#000; }
.live-tile.is-fullscreen .live-tile-controls{ opacity:1; }
.live-unpin-btn{
  position:absolute; top:14px; right:14px; z-index:5;
  display:flex; align-items:center; gap:7px; background:rgba(13,10,8,0.72);
  border:1px solid rgba(255,255,255,0.15); color:#fff; padding:8px 14px; border-radius:100px;
  font-size:12.5px; font-weight:600;
}
.live-unpin-btn svg{ width:14px; height:14px; }
.live-tile-avatar{
  width:84px; height:84px; border-radius:50%;
  background:linear-gradient(135deg,var(--flame-orange),var(--flame-red));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-display); font-weight:700; font-size:28px; color:#fff;
}
.live-tile-label{
  position:absolute; left:14px; bottom:14px;
  display:flex; align-items:center; gap:7px;
  background:rgba(13,10,8,0.72); padding:6px 12px; border-radius:100px;
  font-size:12px; font-weight:600;
}
.live-tile-label .mic-off{ width:13px; height:13px; color:var(--flame-red); }
.live-dot{
  width:8px; height:8px; border-radius:50%; flex:none;
  background:var(--flame-red); box-shadow:0 0 0 2px rgba(230,57,70,0.25);
}
.live-dot.online{ background:#4E9E52; box-shadow:0 0 0 2px rgba(78,158,82,0.25); }
.live-tile-badge{
  position:absolute; top:14px; right:14px;
  font-family:var(--f-mono); font-size:10.5px; letter-spacing:0.05em; text-transform:uppercase;
  background:rgba(255,255,255,0.1); padding:5px 10px; border-radius:6px; color:#C9D3DE;
}
.live-cam-off-msg{ display:flex; flex-direction:column; align-items:center; gap:10px; color:#66768A; }
.live-cam-off-msg svg{ width:34px; height:34px; }
.live-cam-off-msg span{ font-size:12.5px; }

.live-chat{
  width:300px; flex:none; background:#141E2C; border-radius:16px; border:1px solid rgba(255,255,255,0.08);
  display:flex; flex-direction:column; overflow:hidden;
  transition:width .2s ease, opacity .2s ease;
}
.live-chat.closed{ width:0; opacity:0; border:none; }
.live-material-panel{
  flex:1.2; min-width:0; background:#141E2C; border-radius:16px; border:1px solid rgba(255,255,255,0.08);
  display:flex; flex-direction:column; overflow:hidden;
}
.live-material-toolbar{ display:flex; align-items:center; gap:10px; padding:12px 14px; border-bottom:1px solid rgba(255,255,255,0.08); flex-wrap:wrap; }
.live-material-toolbar select{ flex:1; min-width:140px; background:#1c2838; color:#fff; border:1px solid rgba(255,255,255,0.15); border-radius:8px; padding:8px 10px; font-size:13px; }
.live-material-frame{ flex:1; min-height:0; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.live-material-content{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
.live-material-content iframe{ width:100%; height:100%; border:none; background:#fff; }
.live-material-loading{ color:rgba(255,255,255,0.6); font-size:13.5px; }
.live-mat-pdf-canvas-wrap{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; }
.live-mat-pdf-canvas-wrap canvas{ background:#fff; box-shadow:0 4px 20px rgba(0,0,0,0.3); max-width:100%; max-height:100%; }
.live-mat-page-nav{ display:flex; align-items:center; gap:10px; color:#fff; font-size:13px; font-weight:600; }
.live-mat-page-btn{
  width:30px; height:30px; border-radius:8px; background:rgba(255,255,255,0.08);
  border:1px solid var(--line-dark); color:#fff; font-size:17px; line-height:1;
  display:flex; align-items:center; justify-content:center;
}
.live-mat-page-btn:hover{ background:rgba(255,255,255,0.16); }
.live-material-empty{ color:rgba(255,255,255,0.5); font-size:13.5px; text-align:center; max-width:280px; padding:20px; }
/* Materyalin (PDF/görsel) ÜZERİNE çizim katmanı: öğretmen "Çiz" moduna
   geçmeden bu katman pointer-events:none'dır — yani PDF'in kendisiyle
   normal şekilde etkileşime girilebilir (kaydırma vb). "Çiz" açıkken
   katman tıklamaları/dokunuşları kendisi alır ve kalemle işaretlenebilir.
   Öğrenci tarafında bu katman HER ZAMAN pointer-events:none'dır — sadece
   öğretmenin işaretlediklerini görür, kendisi asla çizemez/değiştiremez. */
.live-mat-annotate-canvas{
  position:absolute; inset:0; width:100%; height:100%; pointer-events:none; touch-action:none;
}
.live-mat-annotate-canvas.draw-active{ pointer-events:auto; cursor:crosshair; }
.live-mat-colors{ display:flex; align-items:center; gap:6px; }
.live-whiteboard-panel{
  flex:1.2; min-width:0; background:#141E2C; border-radius:16px; border:1px solid rgba(255,255,255,0.08);
  display:flex; flex-direction:column; overflow:hidden;
}
.live-whiteboard-toolbar{ display:flex; align-items:center; gap:10px; padding:10px 12px; border-bottom:1px solid rgba(255,255,255,0.08); flex-wrap:wrap; }
.live-wb-tools{ display:flex; align-items:center; gap:4px; padding:3px; background:rgba(255,255,255,0.05); border-radius:9px; }
.live-wb-tool-btn{
  width:30px; height:30px; border-radius:7px; border:1px solid transparent;
  background:transparent; color:#C9D3DE; padding:0; cursor:pointer;
  display:flex; align-items:center; justify-content:center; flex:none;
  transition:background .15s ease;
}
.live-wb-tool-btn svg{ width:16px; height:16px; }
.live-wb-tool-btn:hover{ background:rgba(255,255,255,0.1); }
.live-wb-tool-btn.active{ background:rgba(255,255,255,0.18); border-color:rgba(255,255,255,0.3); color:#fff; }
.live-wb-colors{ display:flex; align-items:center; gap:6px; }
.live-wb-color{
  width:22px; height:22px; border-radius:50%; border:2px solid rgba(255,255,255,0.25); padding:0; cursor:pointer; flex:none;
}
.live-wb-color.active{ border-color:#fff; box-shadow:0 0 0 2px rgba(255,255,255,0.15); }
.live-whiteboard-frame{ flex:1; min-height:0; position:relative; background:#fff; }
.live-whiteboard-frame canvas{ width:100%; height:100%; display:block; touch-action:none; cursor:crosshair; }
.live-wb-viewonly-badge{
  position:absolute; top:10px; right:10px;
  font-family:var(--f-mono); font-size:10.5px; letter-spacing:0.05em; text-transform:uppercase;
  background:rgba(20,30,44,0.85); color:#C9D3DE; padding:5px 10px; border-radius:6px; pointer-events:none;
}
.live-chat-head{ padding:16px 18px; border-bottom:1px solid rgba(255,255,255,0.08); font-size:13.5px; font-weight:700; }
.live-chat-body{ flex:1; overflow-y:auto; padding:16px 18px; display:flex; flex-direction:column; gap:12px; }
.live-msg{ font-size:13px; line-height:1.5; max-width:88%; }
.live-msg strong{ display:block; font-size:11.5px; color:var(--flame-orange-soft); margin-bottom:2px; }
.live-msg.me{ align-self:flex-end; text-align:right; }
.live-msg.me strong{ color:#9BD39E; }
.live-msg-time{ font-size:10.5px; color:#66768A; margin-right:6px; font-family:var(--f-mono); }
.live-msg.me .live-msg-time{ margin-right:0; margin-left:6px; }
.live-msg.system{
  align-self:center; max-width:100%; text-align:center; font-size:11.5px;
  color:#8695A6; font-style:italic; padding:2px 0;
}
.live-chat-input{ display:flex; gap:8px; padding:14px; border-top:1px solid rgba(255,255,255,0.08); }
.live-chat-input input{
  flex:1; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12);
  border-radius:100px; padding:10px 14px; color:#fff; font-size:13px;
}
.live-chat-input input::placeholder{ color:#66768A; }
.live-chat-input button{
  width:36px; height:36px; border-radius:50%; border:none; flex:none;
  background:linear-gradient(100deg,var(--flame-orange),var(--flame-red)); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.live-chat-input button svg{ width:15px; height:15px; }

.live-controls{
  display:flex; align-items:center; justify-content:center; gap:14px;
  padding:20px; border-top:1px solid rgba(255,255,255,0.08); flex-wrap:wrap;
}
.live-ctrl{
  width:52px; height:52px; border-radius:50%; border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.07); color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:background .15s ease;
}
.live-ctrl:hover{ background:rgba(255,255,255,0.14); }
.live-ctrl svg{ width:20px; height:20px; }
/* Mikrofon/kamera düğmeleri: klasik canlı ders platformlarındaki gibi
   AÇIK durumda yeşil, KAPALI durumda kırmızı. (--flame-red site genelinde
   artık lacivert bir tona karşılık geldiği için burada gerçek kırmızı/
   yeşil tonları bilinçli olarak ayrı tanımlandı.) */
.live-ctrl.is-on{ background:#2FA84F; border-color:#2FA84F; }
.live-ctrl.is-on:hover{ background:#268F42; }
.live-ctrl.is-off{ background:#E5484D; border-color:#E5484D; }
.live-ctrl.is-off:hover{ background:#C93A3E; }
.live-ctrl.leave{ background:var(--flame-red); border-color:var(--flame-red); width:auto; padding:0 22px; gap:9px; border-radius:100px; font-size:14px; font-weight:700; }
.live-ctrl.leave:hover{ background:#A81725; }

/* ---------- Ders içi bildirimler ("X derse katıldı / ayrıldı") ---------- */
.live-toast-container{
  position:fixed; top:14px; left:50%; transform:translateX(-50%);
  z-index:200; display:flex; flex-direction:column; align-items:center; gap:8px;
  pointer-events:none; max-width:92vw;
}
.live-toast{
  background:rgba(20,16,12,0.92); color:#fff; border:1px solid rgba(255,255,255,0.12);
  padding:9px 18px; border-radius:100px; font-size:13px; font-weight:600;
  box-shadow:0 8px 24px rgba(0,0,0,0.35);
  opacity:0; transform:translateY(-8px); transition:opacity .2s ease, transform .2s ease;
  white-space:nowrap; text-overflow:ellipsis; overflow:hidden; max-width:100%;
}
.live-toast.show{ opacity:1; transform:translateY(0); }

@media (max-width: 860px){
  .live-videos{ grid-template-columns:1fr; }
  .live-stage{ flex-direction:column; overflow-y:auto; -webkit-overflow-scrolling:touch; }
  .live-chat{ width:100%; height:220px; }
  .live-chat.closed{ width:100%; height:0; }
  .live-material-panel, .live-whiteboard-panel{ min-height:280px; }
  .live-tile{ min-height:180px; }
}

/* Küçük telefon ekranları: kontrol çubuğu tek satıra sığmıyordu (7-8 buton
   × 52px + boşluklar > ekran genişliği), taşan kısım kullanıcıya görünmeyip
   kamera düğmesine ulaşmak için "masaüstü modu"na geçmek gerekiyordu. Artık
   butonlar küçülüyor ve gerektiğinde yatay kaydırılabiliyor, hiçbiri kaybolmuyor. */
@media (max-width: 480px){
  .live-topbar{ padding:12px 14px; }
  .live-topbar-left img{ height:20px; }
  .live-lesson-title{ font-size:13px; }
  .live-status{ display:none; } /* yer kazanmak için: bağlantı durumu zaten kutucuklardaki noktada görünüyor */
  .live-stage{ padding:12px; gap:12px; }
  .live-controls{
    padding:12px 10px; gap:8px; justify-content:flex-start;
    flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch;
  }
  .live-ctrl{ width:44px; height:44px; flex:none; }
  .live-ctrl svg{ width:18px; height:18px; }
  .live-ctrl.leave{ padding:0 16px; font-size:13px; }
  .live-tile-avatar{ width:64px; height:64px; font-size:22px; }
  .live-tile-label{ font-size:11px; padding:5px 10px; }
}

/* ---------- Toggle switch (admin ayarları) ---------- */
.switch-row{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--line); gap:16px; }
.switch-row:last-child{ border-bottom:none; }
.switch-row strong{ font-size:14px; display:block; }
.switch-row span.desc{ font-size:12.5px; color:var(--ink-soft); margin-top:2px; display:block; }
.switch{ position:relative; width:44px; height:26px; flex:none; }
.switch input{ opacity:0; width:0; height:0; position:absolute; }
.switch .track{
  position:absolute; inset:0; background:var(--line); border-radius:100px; cursor:pointer;
  transition:background .2s ease;
}
.switch .track::before{
  content:""; position:absolute; left:3px; top:3px; width:20px; height:20px;
  background:#fff; border-radius:50%; transition:transform .2s ease;
  box-shadow:0 2px 6px rgba(0,0,0,0.2);
}
.switch input:checked + .track{ background:var(--flame-orange); }
.switch input:checked + .track::before{ transform:translateX(18px); }
