:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #16203a;
  --ink-soft: #5a6582;
  --muted: #8a93ad;
  --line: #e6e9f2;
  --brand: #3b5bdb;
  --brand-2: #6741d9;
  --brand-grad: linear-gradient(135deg, #4263eb 0%, #7048e8 100%);
  --accent: #0ca678;
  --accent-soft: #e6fcf5;
  --warn: #e8590c;
  --warn-soft: #fff4e6;
  --danger: #e03131;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 3px rgba(22, 32, 58, .06), 0 1px 2px rgba(22, 32, 58, .04);
  --shadow: 0 8px 24px rgba(22, 32, 58, .08);
  --shadow-lg: 0 18px 48px rgba(22, 32, 58, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ----------------------------- TOP BAR -------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 11px; background: var(--brand-grad);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 16px rgba(64, 99, 235, .35);
}
.brand .b-name { font-weight: 800; font-size: 16px; letter-spacing: -.2px; }
.brand .b-sub { font-size: 12px; color: var(--muted); }

.cart-toggle {
  position: relative; border: 1px solid var(--line); background: var(--surface);
  border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; gap: 8px; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: .15s;
}
.cart-toggle:hover { border-color: var(--brand); color: var(--brand); }
.top-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.consultant-chip { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 7px 12px 7px 8px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--ink); box-shadow: var(--shadow-sm); }
.consultant-chip:hover { border-color: var(--brand); }
.consultant-chip .cc-av { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }

/* Dashboard */
.dash-panel { background: var(--bg); width: 100%; max-width: 1080px; height: 90vh; border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.dash-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 24px; display: flex; align-items: center; }
.dash-head h3 { margin: 0; font-size: 18px; }
.dash-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.dash-head .x { margin-left: auto; background: var(--surface-2); border: none; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 18px; color: var(--muted); }
.dash-body { flex: 1; overflow-y: auto; padding: 20px 24px; }

.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-sm); }
.stat-card .sv { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.stat-card .sl { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat-card.accent .sv { color: var(--accent); }
.stat-card.brand .sv { color: var(--brand); }

.dash-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.dash-allmine { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 600; }

.dash-table { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.dash-row { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr .9fr 1.1fr 1.4fr 36px; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.dash-row.head { background: var(--surface-2); font-weight: 700; color: var(--ink-soft); font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; cursor: default; }
.dash-row:not(.head) { cursor: pointer; }
.dash-row:not(.head):hover { background: var(--surface-2); }

/* Teklif detayı */
.od-section { margin-bottom: 14px; }
.od-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 6px; }
.od-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.od-row:last-child { border-bottom: none; }
.od-row .l { color: var(--ink-soft); }
.od-row .v { font-weight: 700; color: var(--ink); text-align: right; }
.od-bullets { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.od-bullets li { margin-bottom: 3px; }
.od-pkg { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.od-pkg .pn { font-weight: 700; }
.od-pkg .pv { font-weight: 800; color: var(--brand); }
.od-note { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 7px 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; margin-bottom: 6px; font-size: 13.5px; }
.od-note .on-text { color: var(--ink); font-weight: 600; }
.od-note .on-date { color: var(--muted); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.od-addnote { display: flex; gap: 8px; margin-top: 8px; }
.od-addnote input { flex: 1; }
.od-addnote .btn { width: auto; padding: 10px 16px; }

/* Panel tablosu not hücresi */
.dc-notecell { display: flex; flex-direction: column; gap: 4px; }
.dc-notelast { font-size: 11.5px; color: var(--ink-soft); line-height: 1.3; }
.dc-notelast .dc-notedate { color: var(--muted); font-weight: 700; font-size: 10.5px; }
.dash-row:last-child { border-bottom: none; }
.dash-row .dc-cust { font-weight: 700; }
.dash-row .dc-sub { font-size: 11px; color: var(--muted); font-weight: 400; }
.dash-row select { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; background: var(--surface-2); }
.dash-row input.dc-note { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); font-size: 12px; width: 100%; }
.dash-row .dc-del { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 15px; }
.dash-empty { text-align: center; color: var(--muted); padding: 40px; font-size: 14px; }

.st-gonderildi { color: #1971c2; }
.st-gorusuluyor { color: #e8590c; }
.st-kayit { color: #0ca678; }
.st-olumsuz { color: #e03131; }

@media (max-width: 720px) {
  .dash-row { grid-template-columns: 1fr 1fr; }
  .dash-row .dc-hide { display: none; }
}
.cart-toggle .count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand);
  color: #fff; font-size: 12px; display: grid; place-items: center;
}

/* ------------------------------- HERO --------------------------------- */
.hero {
  background: var(--brand-grad);
  color: #fff; padding: 40px 24px 64px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
}
.hero-inner { max-width: 1180px; margin: 0 auto; position: relative; }
.hero h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.6px; font-weight: 800; }
.hero p { margin: 0; opacity: .92; font-size: 15px; max-width: 560px; }
.hero-stats { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.hero-stat .n { font-size: 22px; font-weight: 800; }
.hero-stat .l { font-size: 12px; opacity: .85; }

/* ------------------------------ LAYOUT -------------------------------- */
.main { max-width: 1180px; margin: -40px auto 0; padding: 0 24px 80px; position: relative; z-index: 5; }

/* Filtre çubuğu */
.filters {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px; margin-bottom: 24px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.search {
  flex: 1 1 260px; display: flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 10px 14px;
}
.search input { border: none; background: transparent; outline: none; width: 100%; font-size: 14px; color: var(--ink); }
.search .ic { color: var(--muted); }

.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; transition: .15s;
}
.pill:hover { border-color: var(--brand); color: var(--brand); }
.pill.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 14px rgba(64,99,235,.3); }

/* Kategori başlığı */
.group-head { display: flex; align-items: baseline; gap: 10px; margin: 30px 0 14px; }
.group-head h2 { font-size: 17px; margin: 0; letter-spacing: -.3px; }
.group-head .g-count { font-size: 12px; color: var(--muted); }
.group-head .g-line { flex: 1; height: 1px; background: var(--line); }

/* Kart ızgarası */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 16px; }

.course-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; cursor: pointer; transition: transform .16s, box-shadow .16s, border-color .16s;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; min-height: 168px; position: relative;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cdd5f0; }
.course-card .c-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, #eef2ff, #f3eefe); margin-bottom: 14px;
}
.course-card .c-name { font-weight: 700; font-size: 15px; letter-spacing: -.2px; margin-bottom: 6px; }
.course-card .c-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; flex: 1; }
.course-card .c-pkg { font-size: 11px; color: var(--brand); font-weight: 600; margin-top: 8px; }
.course-card .c-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tag {
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line);
}
.tag.group { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.tag.sub { background: #fff0f6; color: #c2255c; border-color: transparent; }
.course-card .c-add {
  margin-left: auto; font-size: 12px; font-weight: 700; color: var(--brand);
  background: #eef2ff; border-radius: 999px; padding: 6px 12px; white-space: nowrap;
}
.course-card:hover .c-add { background: var(--brand); color: #fff; }

.empty-grid { text-align: center; color: var(--muted); padding: 40px; font-size: 14px; }

/* ---------------------------- EĞİTMENLER ------------------------------ */
.teacher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.teacher-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.teacher-top { display: flex; gap: 14px; align-items: center; }
.teacher-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-grad); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 20px; object-fit: cover; overflow: hidden;
}
.teacher-avatar img { width: 100%; height: 100%; object-fit: cover; }
.teacher-name { font-weight: 800; font-size: 16px; letter-spacing: -.2px; }
.teacher-title { font-size: 12.5px; color: var(--brand); font-weight: 600; }
.teacher-exp { font-size: 12px; color: var(--muted); margin-top: 2px; }
.teacher-bio { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.5; }
.teacher-subjects { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.subj-chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); }

.teacher-results { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.teacher-results .tr-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 8px; }
.score-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.score-chip {
  display: flex; flex-direction: column; align-items: center; min-width: 64px;
  background: var(--accent-soft); border: 1px solid #b2f2e0; border-radius: 10px; padding: 6px 10px;
}
.score-chip .sc-score { font-weight: 800; font-size: 15px; color: var(--accent); line-height: 1.1; }
.score-chip .sc-exam { font-size: 10px; color: var(--ink-soft); font-weight: 600; margin-top: 2px; }
.teacher-results .tr-empty { font-size: 12px; color: var(--muted); }

/* ------------------------------ MODAL --------------------------------- */
.overlay {
  position: fixed; inset: 0; background: rgba(16, 22, 44, .55); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 90; padding: 20px;
}
.overlay.open { display: flex; }
.modal {
  background: var(--surface); border-radius: 20px; width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .18s ease;
}
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head { padding: 22px 22px 0; display: flex; gap: 14px; }
.modal-head .m-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, #eef2ff, #f3eefe); flex-shrink: 0;
}
.modal-head h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.3px; }
.modal-head p { margin: 0; font-size: 13px; color: var(--ink-soft); }
.modal-head .x {
  margin-left: auto; background: var(--surface-2); border: none; width: 32px; height: 32px; border-radius: 9px;
  cursor: pointer; color: var(--muted); font-size: 18px; align-self: flex-start;
}
.modal-body { padding: 18px 22px 22px; }

.field { margin-bottom: 16px; }
label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
select, input[type="number"], input[type="text"], input[type="email"], input[type="password"] {
  width: 100%; background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 11px; padding: 12px; font-size: 15px; outline: none; transition: .15s;
}
select:focus, input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(64,99,235,.12); }

.seg2 { display: flex; gap: 8px; }
.seg2 button {
  flex: 1; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px;
  padding: 12px; font-weight: 700; cursor: pointer; color: var(--ink-soft); transition: .15s;
}
.seg2 button.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.form-note { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 8px; }
.info-note { font-size: 11.5px; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; margin-bottom: 10px; line-height: 1.4; }

/* Paket listesi (modal içinde, alt alta) */
.list-label { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin: 6px 0 9px; }
.pkg-list { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; margin-bottom: 16px; padding-right: 2px; }
.pkg-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; background: var(--surface);
}
.pkg-section { font-size: 12.5px; font-weight: 800; color: var(--ink); margin: 12px 0 7px; }
.pkg-section:first-child { margin-top: 0; }
.pkg-row:hover { border-color: #cdd5f0; }
.pkg-row .pr-h { font-weight: 700; font-size: 14px; }
.pkg-row .pr-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.pkg-row .pr-right { display: flex; align-items: center; gap: 12px; }
.pkg-row .pr-total { font-weight: 800; font-size: 15px; color: var(--ink); }
.pkg-row .pr-total.missing { color: var(--warn); font-size: 12px; }
.pkg-row .pr-add {
  background: var(--brand-grad); color: #fff; border: none; border-radius: 9px;
  padding: 8px 13px; font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.pkg-row .pr-add:hover { filter: brightness(1.07); }
.pkg-row .pr-add:disabled { opacity: .4; cursor: not-allowed; }

.price-preview {
  background: var(--surface-2); border: 1px dashed var(--line); border-radius: 12px;
  padding: 14px; margin: 4px 0 16px; display: flex; justify-content: space-between; align-items: center;
}
.price-preview .pp-l { font-size: 12.5px; color: var(--ink-soft); }
.price-preview .pp-v { font-size: 20px; font-weight: 800; color: var(--brand); }
.price-preview .pp-v.missing { font-size: 13px; color: var(--warn); font-weight: 600; }

.btn {
  width: 100%; border: none; border-radius: 12px; padding: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: .15s;
}
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 8px 18px rgba(64,99,235,.32); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }

.notice-line { font-size: 12px; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.field-hint { display: block; font-size: 11.5px; color: var(--ink-soft); margin-top: 5px; line-height: 1.35; }
.input-err { border-color: #e5484d !important; box-shadow: 0 0 0 2px rgba(229,72,77,.18) !important; }

/* ---------------------------- GİRİŞ EKRANI ---------------------------- */
.login-overlay {
  background: linear-gradient(135deg, #4263eb 0%, #7048e8 55%, #6741d9 100%);
  backdrop-filter: none; padding: 24px; overflow: hidden;
}
/* dekoratif ışık lekeleri (overlay overflow:hidden ile kırpılır — yatay taşma yaratmaz) */
.login-overlay::before, .login-overlay::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
}
.login-overlay::before { width: 520px; height: 520px; top: -160px; right: -120px; }
.login-overlay::after  { width: 460px; height: 460px; bottom: -180px; left: -140px; }
.login-card {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr;
  width: 100%; max-width: 880px; background: var(--surface); border-radius: 24px;
  overflow: hidden; box-shadow: 0 30px 70px rgba(16,22,44,.35); animation: pop .22s ease;
}
.login-brand {
  background: linear-gradient(160deg, #3b5bdb 0%, #6741d9 100%); color: #fff;
  padding: 44px 38px; display: flex; flex-direction: column;
}
.login-logo, .login-logo-sm {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-weight: 800; font-size: 27px; color: #fff;
}
.login-logo { background: rgba(255,255,255,.18); backdrop-filter: blur(4px); margin-bottom: 24px; }
.login-brand h2 { margin: 0 0 12px; font-size: 27px; letter-spacing: -.6px; font-weight: 800; }
.login-brand > p { margin: 0 0 30px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.86); }
.login-feats { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.login-feats li { display: flex; gap: 12px; align-items: center; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.96); }
.login-feats li span {
  width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,.16);
  display: grid; place-items: center; font-size: 15px; flex-shrink: 0;
}
.login-form { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.login-logo-sm { display: none; background: var(--brand-grad); border-radius: 14px; width: 50px; height: 50px; font-size: 23px; margin-bottom: 18px; }
.login-head h3 { margin: 0 0 7px; font-size: 22px; letter-spacing: -.4px; font-weight: 800; }
.login-head p { margin: 0 0 26px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.login-form .btn-primary { margin-top: 6px; padding: 15px; font-size: 15.5px; }
.login-form .field { margin-bottom: 18px; }
.login-form label { font-size: 13px; margin-bottom: 8px; }
.login-form input { padding: 14px 16px; font-size: 15.5px; border-radius: 12px; }
.login-err { margin: -6px 0 12px; font-size: 12.5px; font-weight: 600; color: var(--danger); }
@media (max-width: 720px) {
  .login-overlay { padding: 16px; }
  .login-card { grid-template-columns: 1fr; max-width: min(440px, calc(100vw - 32px)); }
  .login-brand { display: none; }
  .login-logo-sm { display: grid; }
  .login-form { padding: 32px 24px; }
}
.added-toast { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--accent-soft); border: 1px solid #b2f2e0; color: var(--accent); border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 600; }
.added-toast button { background: none; border: none; color: var(--brand); font-weight: 700; cursor: pointer; font-size: 13px; }
.hidden { display: none !important; }

/* CTA butonları */
.cart-toggle.primary-cta { background: var(--brand-grad); color: #fff; border: none; box-shadow: 0 6px 16px rgba(64,99,235,.35); }
.cart-toggle.primary-cta:hover { filter: brightness(1.06); color: #fff; }
.cart-toggle.primary-cta .count { background: rgba(255,255,255,.25); }
.hero-cta { margin-top: 18px; background: #fff; color: var(--brand); border: none; border-radius: 12px; padding: 14px 22px; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.hero-cta:hover { transform: translateY(-1px); }

/* ===================== FİYAT TEKLİFİ HAZIRLA (TAM EKRAN) ================ */
.builder { position: fixed; inset: 0; z-index: 70; background: var(--bg); display: none; flex-direction: column; }
.builder.open { display: flex; }
#subjectsOverlay { z-index: 85; }   /* builder(70) üstünde, modal(90) altında */
#subjectsBody .group-head:first-child { margin-top: 0; }
.builder-top { background: var(--brand-grad); color: #fff; padding: 18px 28px; display: flex; align-items: center; }
.builder-top h2 { margin: 0; font-size: 20px; }
.builder-top p { margin: 2px 0 0; font-size: 13px; opacity: .9; }
.builder-top .x { margin-left: auto; background: rgba(255,255,255,.18); border: none; width: 40px; height: 40px; border-radius: 11px; cursor: pointer; font-size: 20px; color: #fff; }
.builder-main { flex: 1; overflow: hidden; display: grid; grid-template-columns: 1fr 400px; gap: 0; }
.builder-left { overflow-y: auto; padding: 24px 28px; }
.builder-right { border-left: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; overflow: hidden; }

.b-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.b-step { font-size: 15px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; letter-spacing: -.2px; }
.b-num { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.b-hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.b-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.b-filters { margin-bottom: 18px; box-shadow: none; border: none; padding: 0; background: transparent; }

.br-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.br-head .drawer-clear { margin-left: auto; }
.br-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.builder-right #drawerFoot { border-top: 1px solid var(--line); padding: 18px 20px; background: var(--surface-2); }

@media (max-width: 880px) {
  .builder-main { grid-template-columns: 1fr; }
  .builder-right { border-left: none; border-top: 1px solid var(--line); max-height: 50vh; }
  .b-fields { grid-template-columns: 1fr; }
}

/* ------------------------------ DRAWER (TEKLİF) ------------------------ */
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw;
  background: var(--surface); box-shadow: var(--shadow-lg); z-index: 55;
  transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
/* Çekmecenin karartma katmanı, çekmecenin ALTINDA kalmalı (yoksa blur ekranı kaplar) */
#drawerOverlay { z-index: 50; backdrop-filter: none; }
.drawer-head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.drawer-head h3 { margin: 0; font-size: 17px; }
.drawer-head .drawer-clear { margin-left: auto; margin-right: 10px; background: none; border: 1px solid var(--line); color: var(--danger); border-radius: 9px; padding: 7px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.drawer-head .drawer-clear:hover { background: #fff0f0; border-color: var(--danger); }
.drawer-head .x { background: var(--surface-2); border: none; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 18px; color: var(--muted); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px; background: var(--surface-2); }

.cart-empty { text-align: center; color: var(--muted); padding: 50px 10px; font-size: 14px; }

.line-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; margin-bottom: 10px;
  display: flex; gap: 10px; align-items: flex-start;
}
.line-item .li-ic { font-size: 20px; }
.line-item .li-main { flex: 1; }
.line-item .li-name { font-weight: 700; font-size: 14px; }
.line-item .li-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.line-item .li-right { text-align: right; }
.line-item .li-total { font-weight: 800; font-size: 14px; }
.line-item .li-del { background: none; border: none; color: var(--danger); font-size: 11px; cursor: pointer; margin-top: 4px; padding: 0; }

.totals .t-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--ink-soft); }
.totals .t-row.grand { font-size: 20px; font-weight: 800; color: var(--ink); padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); }
.totals .t-row.grand .v { color: var(--accent); }

.plans { margin-top: 16px; }
.plans h4 { font-size: 13px; margin: 0 0 10px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .6px; }
.plan {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; margin-bottom: 8px; font-size: 13px;
}
.plan.best { border-color: var(--accent); background: var(--accent-soft); }
.plan .pn { font-weight: 700; }
.plan .pm { font-size: 11px; color: var(--muted); }
.plan .pr { text-align: right; font-weight: 800; }
.plan .pe { font-size: 11px; color: var(--muted); font-weight: 500; }
.tag-best { font-size: 9px; background: var(--accent); color: #fff; padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

.warn-box { background: var(--warn-soft); border: 1px solid #ffd8a8; color: var(--warn); padding: 11px 13px; border-radius: 11px; font-size: 12.5px; margin-top: 12px; }

.cust-fields { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.tf-step { font-size: 12px; font-weight: 800; letter-spacing: .4px; color: var(--brand); text-transform: uppercase; margin: 4px 0 10px; }
.tf-actions { display: flex; gap: 8px; }
.tf-actions .btn { width: auto; flex: 1; padding: 12px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { filter: brightness(1.05); }
.saved-banner { background: var(--accent-soft); border: 1px solid #b2f2e0; color: var(--accent); border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 700; margin-bottom: 10px; }

/* Kaydet sonrası alt-sağ bildirim */
.done-toast { position: fixed; bottom: 22px; right: 22px; z-index: 95; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 16px 18px; max-width: 360px; }
.done-toast.hidden { display: none; }
.done-toast .dt-text { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; line-height: 1.4; }
.done-toast .dt-actions { display: flex; gap: 8px; align-items: center; }
.done-toast .btn-wa { width: auto; flex: 1; padding: 10px 14px; }
.done-toast .dt-close { background: none; border: 1px solid var(--line); color: var(--ink-soft); border-radius: 9px; padding: 10px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }

@media (max-width: 560px) {
  .hero h1 { font-size: 24px; }
  .brand .b-sub { display: none; }
}

/* ===================== DENEME SINAVI KÜTÜPHANESİ ===================== */
.exam-upload { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 16px; }
.exam-upload .eu-fields { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 12px; align-items: end; }
.exam-upload .eu-fields .field { margin: 0; }
.exam-upload #examUpload, .exam-upload #progUpload { margin-top: 12px; }
.exam-upload input[type="file"] { font-size: 13px; }
@media (max-width: 760px) { .exam-upload .eu-fields { grid-template-columns: 1fr; } }

.exam-row { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 10px; }
.exam-info { min-width: 0; }
.exam-title { font-weight: 700; color: var(--ink); font-size: 14.5px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exam-meta { font-size: 12.5px; color: var(--muted); }
.exam-tag { display: inline-block; background: rgba(59,91,219,.10); color: var(--brand); font-weight: 600;
  padding: 1px 8px; border-radius: 999px; font-size: 11.5px; }
.exam-actions { display: flex; gap: 8px; flex-shrink: 0; }
.exam-actions .btn { padding: 7px 12px; font-size: 12.5px; }
.btn-danger { background: #fdecec; color: #c92a2a; border: 1px solid #f5c2c2; border-radius: var(--radius-sm);
  font-weight: 600; cursor: pointer; }
.btn-danger:hover { background: #fbdcdc; }

/* Branş ekranında "Online Grup Dersi" girişi */
.subjects-group-cta { position: relative; display: flex; align-items: center; gap: 18px;
  background: linear-gradient(135deg, #eef2ff 0%, #e9fbf5 100%);
  border: 1px solid #dfe4f5; border-radius: 18px; padding: 20px 22px 20px 26px;
  box-shadow: 0 6px 22px rgba(59,91,219,.09); overflow: hidden; }
.subjects-group-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--brand), var(--accent)); }
.sgc-badge { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; background: #fff; box-shadow: 0 4px 14px rgba(59,91,219,.16); }
.sgc-text { flex: 1; min-width: 0; }
.sgc-title { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -.2px; }
.sgc-sub { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.sgc-btn { flex-shrink: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--brand), #4c6ef5); color: #fff; border: none; border-radius: 12px;
  padding: 12px 20px; font-weight: 700; font-size: 14px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(59,91,219,.28); transition: transform .12s ease, box-shadow .12s ease; }
.sgc-btn:hover { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(59,91,219,.38); }
.sgc-arrow { transition: transform .12s ease; }
.sgc-btn:hover .sgc-arrow { transform: translateX(4px); }
@media (max-width: 620px) { .subjects-group-cta { flex-direction: column; align-items: flex-start; }
  .sgc-btn { width: 100%; justify-content: center; } }

/* ---------------------------- ÖNEMLİ NOTLAR --------------------------- */
textarea { width: 100%; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: 11px; padding: 12px; font-size: 15px; outline: none; font-family: inherit; resize: vertical; transition: .15s; }
textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(64,99,235,.12); }
.note-add { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 18px; }
.note-add .btn { width: auto; padding: 10px 18px; }
.notes-list { display: flex; flex-direction: column; gap: 14px; max-width: 840px; margin: 0 auto; }
.note-card {
  display: flex; gap: 15px; align-items: flex-start; position: relative;
  border: 1px solid var(--line); border-radius: 16px; padding: 17px 18px;
  background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .16s, box-shadow .16s, border-color .16s;
}
.note-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cdd5f0; }
.note-card .nc-badge {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; background: var(--brand-grad);
  color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center;
  box-shadow: 0 5px 12px rgba(64, 99, 235, .3);
}
.note-card .nc-main { flex: 1; min-width: 0; }
.note-card .nc-title { font-weight: 800; font-size: 15.5px; color: var(--ink); margin-bottom: 8px; letter-spacing: -.2px; line-height: 1.3; }
.note-card .nc-body { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.nc-body strong { color: var(--ink); font-weight: 800; }
.nc-body .nc-p { margin: 0 0 7px; }
/* Prosedür alanları (deneme dersi / deneme sınavı): tüm metin tam siyah + kalın */
.note-proc .nc-body, .note-proc .nc-body .nc-p, .note-proc .nc-body li, .note-proc .nc-body .nc-quote, .note-proc .nc-body .nc-label { color: var(--ink); font-weight: 700; }
.note-proc .nc-body strong { font-weight: 800; }
.nc-body .nc-p:last-child { margin-bottom: 0; }
.nc-body .nc-label { font-weight: 700; color: var(--ink); margin: 9px 0 5px; font-size: 13px; }
.nc-body .nc-quote {
  border-left: 3px solid var(--brand); background: var(--surface-2);
  border-radius: 0 8px 8px 0; padding: 8px 12px; margin: 4px 0 8px;
  color: var(--ink); font-style: italic;
}
.nc-body .nc-list { margin: 4px 0 8px; padding-left: 4px; list-style: none; }
.nc-body .nc-list li { position: relative; padding-left: 18px; margin-bottom: 4px; }
.nc-body .nc-list li::before { content: "›"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
.note-formula .nc-body .nc-quote { border-left-color: var(--accent); }
.note-card .nc-del { flex-shrink: 0; background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 15px; opacity: .5; transition: .15s; padding: 2px; }
.note-card .nc-del:hover { opacity: 1; transform: scale(1.15); }
/* Formül kartı — vurgulu */
.note-card.note-formula { background: linear-gradient(135deg, #f3f0ff 0%, #eaf0ff 100%); border-color: #d7d2ff; }
.note-card.note-formula .nc-badge { background: linear-gradient(135deg, #0ca678, #0b8f68); box-shadow: 0 5px 12px rgba(12, 166, 120, .32); }
.note-card.note-formula .nc-title { color: var(--brand-2); font-size: 16.5px; }
.notes-empty { color: var(--muted); padding: 40px; text-align: center; font-size: 14px; }

/* ===================== DANIŞMANLIK FİYAT TEKLİFİ ===================== */
.cons-top-actions { display: flex; align-items: center; gap: 10px; }

/* Hedef ülke çipleri (çoklu seçim) */
.cons-countries { display: flex; flex-wrap: wrap; gap: 8px; }
.cons-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: .15s; user-select: none;
}
.cons-chip:hover { border-color: var(--brand); color: var(--ink); }
.cons-chip input { accent-color: var(--brand); cursor: pointer; margin: 0; }
.cons-chip.on { background: #eef2ff; border-color: var(--brand); color: var(--brand-2); }

/* Sağdaki teklif önizleme */
.cons-preview {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px; box-shadow: var(--shadow-sm);
}
.cons-pv-badge { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--brand-2); background: #eef2ff; border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.cons-pv-name { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.cons-pv-note { margin-top: 12px; padding: 10px 12px; background: var(--surface-2); border: 1px dashed var(--line); border-radius: 10px; font-size: 12.5px; color: var(--ink-soft); }
.cons-pv-price { font-size: 15px; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.cons-pv-line { font-size: 13px; color: var(--ink-soft); margin: 3px 0; font-weight: 600; }
.cons-pv-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.cons-pv-list li { position: relative; padding-left: 18px; font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.cons-pv-list li::before { content: "›"; position: absolute; left: 2px; top: 0; color: var(--accent); font-weight: 800; }
.cons-pv-empty { color: var(--muted); font-size: 13px; padding: 8px 0; }

/* Danışmanlık paneli tablosu (fiyat sütunlu) */
.cons-dash-table .dash-row.cons-row {
  grid-template-columns: 1.4fr 1fr 1.5fr 1.1fr 1fr 1.3fr 72px;
}
.cons-row-actions { display: flex; gap: 4px; align-items: center; }
.cons-row-actions button { background: transparent; border: none; cursor: pointer; font-size: 15px; opacity: .6; transition: .15s; padding: 2px; }
.cons-row-actions button:hover { opacity: 1; transform: scale(1.15); }

/* Danışmanlık — seçilen paketin içerik önizlemesi */
.cons-pv-line.muted { color: var(--muted); }
.cons-c-wrap { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.cons-c-sub { font-size: 12.5px; font-weight: 800; color: var(--brand-2); margin: 15px 0 6px; }
.cons-c-p { font-size: 12.5px; line-height: 1.5; color: var(--ink); margin: 0 0 8px; }
.cons-c-p.warm { background: #f6f7ff; border-left: 3px solid var(--brand); border-radius: 9px; padding: 11px 13px; color: var(--ink); font-size: 13px; }
.cons-c-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.cons-c-list li { position: relative; padding-left: 16px; font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.cons-c-list li::before { content: "›"; position: absolute; left: 2px; top: 0; color: var(--accent); font-weight: 800; }
.cons-c-list.ok li::before { content: "✓"; }
.cons-c-list.no li::before { content: "×"; color: #c84646; }
.cons-c-list b { font-weight: 700; }
.cons-c-note { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 8px; padding: 9px 12px; font-size: 12px; color: #0b7a5b; margin: 4px 0 10px; font-weight: 600; line-height: 1.45; }
.cons-c-term { font-size: 11px; color: var(--muted); margin: 0 0 4px; line-height: 1.4; }

/* Danışmanlık — "Dahil olan servisler" şık kart listesi */
.cons-svc { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; }
.cons-svc-item { display: flex; gap: 10px; align-items: flex-start; background: #f9fafd; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.cons-svc-ic { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 1px; }
.cons-svc-txt { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.cons-svc-txt b { color: var(--ink); font-weight: 700; }
.cons-svc-txt { flex: 1; }
.cons-svc-x { flex-shrink: 0; align-self: center; border: 1px solid var(--line); background: #fff; color: #b42318; font-size: 11.5px; font-weight: 700; border-radius: 8px; padding: 4px 8px; cursor: pointer; white-space: nowrap; }
.cons-svc-x:hover { border-color: #b42318; background: #fff5f5; }
.cons-svc-item.off { opacity: .5; background: #f3f4f6; }
.cons-svc-item.off .cons-svc-txt { text-decoration: line-through; }
.cons-svc-item.off .cons-svc-ic { background: #9ca3af; }
.cons-svc-item.off .cons-svc-x { color: var(--brand); text-decoration: none; }

/* Danışmanlık — ülke bazlı okul sayısı satırları */
.cons-countries { display: flex; flex-direction: column; gap: 7px; }
.cons-country-row { display: flex; align-items: center; gap: 8px; }
.cons-country-row .cons-chip { flex: 1; justify-content: flex-start; }
.cons-country-row.on .cons-chip { background: #eef2ff; border-color: var(--brand); color: var(--brand-2); }
.cons-cn { width: 118px; flex-shrink: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; opacity: .45; pointer-events: none; transition: .15s; }
.cons-country-row.on .cons-cn { opacity: 1; pointer-events: auto; border-color: var(--brand); }

/* Danışmanlık — çoklu paket seçimi (mix) */
.cons-pkgs { display: flex; flex-direction: column; gap: 7px; }
.cons-pkg { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: .15s; }
.cons-pkg:hover { border-color: var(--brand); color: var(--ink); }
.cons-pkg input { accent-color: var(--brand); cursor: pointer; margin: 0; flex-shrink: 0; }
.cons-pkg.on { background: #eef2ff; border-color: var(--brand); color: var(--brand-2); font-weight: 700; }
.cons-pkg-banner { margin: 16px 0 8px; padding: 9px 13px; background: #eef2ff; border-left: 4px solid var(--brand); border-radius: 9px; font-weight: 800; font-size: 13.5px; color: var(--brand-2); }

/* Danışmanlık — paketler seviyeye göre gruplu (Lisans / Yüksek Lisans ayrı) */
.cons-pkg-group { margin-bottom: 12px; }
.cons-pkg-group:last-child { margin-bottom: 0; }
.cons-pkg-grouptitle { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 0 0 7px 2px; }
.cons-pkg-group .cons-pkg { margin-bottom: 7px; }

/* Branş ekranı — toplu seçim (IB/AP özel ders) */
.course-card .c-pick {
  position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--surface); color: transparent;
  font-size: 14px; font-weight: 800; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .14s; z-index: 2;
}
.course-card .c-pick:hover { border-color: var(--brand); color: #cdd5f0; }
.course-card.sel { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(59,91,219,.15); }
.course-card.sel .c-pick { background: var(--brand); border-color: var(--brand); color: #fff; }
.subjects-bulkbar {
  position: sticky; bottom: 0; margin-top: 18px; display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: 0 -6px 24px rgba(15,23,42,.10); z-index: 5;
}
.subjects-bulkbar.hidden { display: none; }
.sbb-info { flex: 1; font-size: 13.5px; color: var(--ink-soft); }
.sbb-info b { color: var(--brand); font-size: 15px; }
.sbb-clear {
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  border-radius: 9px; padding: 9px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.sbb-clear:hover { border-color: #cdd5f0; color: var(--ink); }
.sbb-go {
  border: 0; background: var(--brand); color: #fff; border-radius: 9px; padding: 11px 18px;
  font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(59,91,219,.30);
}
.sbb-go:hover { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(59,91,219,.38); }
/* Modalda seçilen derslerin çip listesi */
.multi-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.multi-list.hidden { display: none; }
.multi-chip {
  background: rgba(59,91,219,.08); border: 1px solid rgba(59,91,219,.25); color: var(--brand);
  border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600;
}

/* Birleşik grup (AP/SAT) — modalda ders işaretleme */
.pkg-row.pkg-selectable { cursor: pointer; align-items: center; gap: 12px; transition: opacity .14s, border-color .14s; }
.pkg-row.pkg-selectable:hover { border-color: #cdd5f0; }
.pkg-row.pkg-selectable.off { opacity: .45; }
.pkg-row.pkg-selectable.off .pr-total { text-decoration: line-through; }
.pkg-check { width: 19px; height: 19px; flex-shrink: 0; accent-color: var(--brand); cursor: pointer; }

/* Grup ders programları */
.prog-cat-head { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin: 16px 2px 6px; }
.prog-cat-head:first-child { margin-top: 2px; }
.prog-note { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.prog-filter { padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 13px; max-width: 260px; }
