:root {
  --brand-50: #f7f2f9;
  --brand-100: #eadff1;
  --brand-200: #d4c2e2;
  --brand-400: #a67fba;
  --brand-500: #7d5499;
  --brand-600: #684286;
  --brand-700: #542f70;
  --brand-900: #2e103f;
  --purple-400: #c4a3d4;
  --purple-700: #542f70;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --ink: var(--slate-800);
  --muted: var(--slate-500);
  --paper: var(--slate-50);
  --card: #ffffff;
  --line: var(--slate-200);
  --good: #059669;
  --sidebar: 272px;
  --sans: "Barlow", "Segoe UI", sans-serif;
  --radius: 24px;
  --shadow: 0 20px 50px rgba(104, 66, 134, 0.08);
  --shadow-hover: 0 20px 40px -15px rgba(104, 66, 134, 0.18);
  --edge: 5cm;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--slate-800);
  background: var(--slate-50);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brand-500); color: white; }
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
  color: var(--slate-800);
}
p { margin: 0; }

.shell { min-height: 100vh; }
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 10px 30px rgba(49, 46, 129, 0.06);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: calc(100% - (var(--edge) * 2));
  margin: 0 auto;
  padding: 12px 8px 4px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--slate-800);
  flex: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  position: relative;
  flex: none;
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  border-radius: 3px;
  background: white;
}
.brand-mark::before { top: 11px; height: 8px; }
.brand-mark::after { top: 23px; height: 8px; opacity: 0.7; }
.brand strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--brand-900); }
.brand span { display: block; color: var(--slate-500); font-size: 12px; font-weight: 600; }
.head-login, .head-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.head-login input {
  width: 168px;
  border-radius: 999px;
  background: var(--slate-50);
  padding: 8px 14px;
}
.head-login .btn { padding: 8px 16px; box-shadow: none; }
.head-login a {
  color: var(--brand-700);
  font-weight: 700;
  text-decoration: none;
  padding: 8px 4px;
}
.head-login-error {
  flex-basis: 100%;
  margin: 0;
  text-align: right;
  color: #be123c;
  font-size: 13px;
  font-weight: 600;
}
.head-who { display: grid; text-align: right; line-height: 1.25; }
.head-who strong { font-size: 14px; }
.head-who span { color: var(--slate-500); font-size: 12px; }
.head-who span:empty { display: none; }
.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 16px 12px;
}
.top-nav a {
  text-decoration: none;
  color: var(--slate-700);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
}
.top-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.top-nav a.active { background: var(--brand-600); color: white; }
.head-meter { height: 3px; background: var(--slate-100); }
.head-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-700), var(--brand-400)); }
.head-meter-label { color: var(--slate-500); font-size: 12px; font-weight: 600; }
.head-meter-label:empty { display: none; }
.head-auth { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.head-auth a { display: inline-flex; align-items: center; text-decoration: none; padding: 8px 16px; box-shadow: none; }
.user-menu { position: relative; margin-left: auto; }
.user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--brand-200);
  background: white;
  color: var(--brand-900);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.user-trigger strong { font-size: 15px; }
.user-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--brand-600);
}
.user-trigger[aria-expanded="true"] { background: var(--brand-50); }
.user-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 280px;
  max-width: calc(100vw - 24px);
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 40;
}
.user-drop[hidden] { display: none; }
.user-drop-meta {
  display: grid;
  gap: 2px;
  padding: 8px 12px 10px;
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 600;
}
.user-drop-meta span:empty { display: none; }
.user-group { margin: 0 0 6px; }
.user-group p {
  margin: 0;
  padding: 8px 12px 4px;
  color: var(--slate-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.user-group a {
  display: block;
  margin-left: 10px;
  padding: 8px 12px;
  border-left: 2px solid var(--brand-100);
  border-radius: 0 10px 10px 0;
  text-decoration: none;
  font-weight: 600;
  color: var(--slate-800);
}
.user-group a:hover { background: var(--brand-50); color: var(--brand-700); }
.user-group a.active { background: var(--brand-600); color: white; border-left-color: var(--brand-900); }
.user-logout {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid var(--slate-100);
  border-radius: 0 0 12px 12px;
  background: transparent;
  color: var(--brand-700);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.user-logout:hover { background: var(--brand-50); }
.report { scroll-margin-top: 148px; margin-top: 28px; }
.report h2 { font-size: 28px; margin-bottom: 6px; }
.meter { height: 8px; background: var(--slate-100); border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--brand-600); border-radius: inherit; }
.stat-row.four { grid-template-columns: repeat(4, 1fr); }
.stat.plain { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-900); }
.stat.plain b, .stat.plain span { color: var(--brand-900); }
.stat.plain span { opacity: 1; }
.stat.purple { background: #faf5ff; border: 1px solid #ebd7f7; color: #581c87; }
.stat.purple b { color: #581c87; }
.stat.purple span { color: #7e22ce; opacity: 1; font-weight: 700; }
.stat.blue { background: #f0f7ff; border: 1px solid #cee3fe; color: #0369a1; }
.stat.blue b { color: #0369a1; }
.stat.blue span { color: #0284c7; opacity: 1; font-weight: 700; }
.stat.green { background: #f0fdf4; border: 1px solid #c7eed0; color: #15803d; }
.stat.green b { color: #15803d; }
.stat.green span { color: #16a34a; opacity: 1; font-weight: 700; }
.stat.amber { background: #fffbeb; border: 1px solid #fde8ad; color: #b45309; }
.stat.amber b { color: #b45309; }
.stat.amber span { color: #d97706; opacity: 1; font-weight: 700; }
.stat.rose { background: #fff1f2; border: 1px solid #fad1d5; color: #be123c; }
.stat.rose b { color: #be123c; }
.stat.rose span { color: #e11d48; opacity: 1; font-weight: 700; }
.stat.teal { background: #f0fdfa; border: 1px solid #c1f0e8; color: #0f766e; }
.stat.teal b { color: #0f766e; }
.stat.teal span { color: #0d9488; opacity: 1; font-weight: 700; }

.meter.rose span { background: #e11d48; }
.meter.blue span { background: #0284c7; }
.meter.green span { background: #16a34a; }
.meter.amber span { background: #d97706; }
.meter.teal span { background: #0d9488; }
.meter.purple span { background: #9333ea; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.badge.green { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge.rose { background: #ffe4e6; color: #be123c; border: 1px solid #fecdd3; }
.badge.amber { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge.purple { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.badge.blue { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.badge.teal { background: #ccfbf1; color: #0f766e; border: 1px solid #99f6e4; }

.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 16px;
  padding: 14px 18px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.alert-box.rose { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }
.alert-box.rose svg { color: #e11d48; }
.alert-box.green { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-box.green svg { color: #16a34a; }
.alert-box ul { margin: 6px 0 0 16px; padding: 0; }
.alert-box li { margin-bottom: 4px; }
.trend { display: flex; align-items: flex-end; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.trend-col { display: grid; justify-items: center; gap: 6px; min-width: 52px; }
.trend-track { height: 120px; width: 22px; background: var(--slate-100); border-radius: 8px; display: flex; align-items: flex-end; }
.trend-track span { display: block; width: 100%; background: var(--brand-600); border-radius: 8px; }
.trend-col b { font-size: 13px; color: var(--brand-900); }
.trend-col em { font-style: normal; font-size: 12px; color: var(--slate-500); font-weight: 600; }

.main { min-width: 0; }
.menu-btn, .ghost, .btn { border: 0; cursor: pointer; border-radius: 999px; }
.menu-btn { display: none; background: var(--brand-600); color: white; padding: 8px 14px; font-weight: 600; }
.ghost { background: transparent; color: var(--brand-700); padding: 8px 0; font-weight: 600; text-decoration: none; }
.sync-state { color: var(--brand-700); font-size: 13px; font-weight: 600; }
.sync-state.bad { color: #be123c; }
.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(160deg, #2e103f 0%, #684286 48%, #8d62a8 100%);
}
.auth-card { width: min(460px, 100%); text-align: left; }
.auth-card h1 { font-size: 36px; margin-bottom: 6px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-weight: 600; }
.auth-links a { color: var(--brand-700); }
.form-error { color: #be123c; background: #fff1f2; border-radius: 12px; padding: 10px 12px; }
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  color: white;
  background: linear-gradient(90deg, #2e103f, #684286);
}
.admin-top a, .admin-top button { color: white; }
.admin-main { width: calc(100% - (var(--edge) * 2) - 4cm); max-width: none; margin: 0 auto; padding: 28px 0 72px; }
.admin-main h1 { font-size: 36px; margin-bottom: 8px; }
body[data-page="yonetim"] #page-root,
body[data-page="simule"] #page-root {
  width: calc(100% - (var(--edge) * 2));
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.report-nav {
  position: sticky;
  top: 148px;
  background: var(--brand-900);
  color: white;
  border-radius: 20px;
  padding: 14px 10px;
}
.report-nav p {
  margin: 8px 12px 4px;
  color: #d4c2e2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.report-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f4eef8;
  text-decoration: none;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}
.report-nav a::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.report-nav a[href="#hesap"]::before { background: #d8b4fe; }
.report-nav a[href="#calisma"]::before { background: #7dd3fc; }
.report-nav a[href="#konu"]::before { background: #86efac; }
.report-nav a[href="#deneme"]::before { background: #fde047; }
.report-nav a[href="#hedef"]::before { background: #fda4af; }
.report-nav a[href="#karne"]::before { background: #5eead4; }
.report-nav a[href="#karsilastirma"]::before { background: #93c5fd; }
.report-nav a[href="#okul"]::before { background: #d8b4fe; }
.report-nav a[href="#mudur"]::before { background: #fde047; }

.report-nav a:hover { background: rgba(255, 255, 255, 0.08); }
.report-nav a:hover::before { opacity: 1; transform: scale(1.25); }
.report-nav a.active { background: rgba(255, 255, 255, 0.14); box-shadow: inset 3px 0 0 #c4a3d4; }
.report-nav a.active::before { opacity: 1; transform: scale(1.35); box-shadow: 0 0 6px currentColor; }
.report-nav [hidden] { display: none !important; }
.admin-content { min-width: 0; }
.admin-content .section-head { flex-wrap: wrap; align-items: flex-end; }
.admin-content .section-head > div { flex: 1 1 280px; }
.admin-content .section-head > label { width: 240px; flex: none; }
#page-root {
  width: calc(100% - (var(--edge) * 2) - 4cm);
  margin-inline: auto;
  padding: 28px 0 72px;
}

.kicker {
  color: var(--brand-600);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
h1 { font-size: clamp(36px, 5vw, 60px); margin: 8px 0 14px; }
.lead, .muted { color: var(--slate-500); }
.lead { font-size: 18px; font-weight: 300; max-width: 52ch; line-height: 1.6; }

body[data-page="home"] #page-root { width: 100%; max-width: none; padding: 0 0 72px; }
body[data-page="home"] #page-root > :not(.page-hero) {
  width: calc(100% - (var(--edge) * 2) - 10cm);
  margin-left: auto;
  margin-right: auto;
}
.page-hero {
  position: relative;
  width: calc(100% - (var(--edge) * 2));
  margin: 16px auto 0;
  padding: 34px 44px 84px;
  border-radius: 2rem;
  color: white;
  background: linear-gradient(128deg, #2e103f 0%, #684286 58%, #8d62a8 100%);
  box-shadow: 0 25px 50px -12px rgba(46, 16, 63, 0.45);
  overflow: hidden;
}
.page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.page-hero::before {
  width: 280px; height: 280px;
  top: -40px; left: 18%;
  background: rgba(255, 255, 255, 0.22);
}
.page-hero::after {
  width: 240px; height: 240px;
  right: -20px; bottom: -40px;
  background: rgba(255, 255, 255, 0.16);
}
.page-hero .lead { color: #f4eef8; max-width: none; margin-inline: auto; text-align: center; }
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 3.5vw, 3.5cm);
  justify-content: center;
  align-items: center;
}
.hero-copy { text-align: center; }
.page-hero h1 { color: white; font-size: clamp(34px, 4vw, 50px); margin: 8px 0 6px; }
.countdown { margin: 12px auto 0; width: max-content; max-width: 100%; }
.countdown-units {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  gap: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.countdown p {
  margin: 0 0 8px;
  color: #f4eef8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.countdown-units div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  width: 90px;
  flex: 0 0 90px;
  box-sizing: border-box;
  text-align: center;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 4px 6px;
}
.countdown-units div + div { border-left: 1px solid rgba(255, 255, 255, 0.28); }
.countdown-units b {
  display: inline-block;
  min-width: 32px;
  text-align: right;
  color: white;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.countdown-units b[data-days] { min-width: 44px; }
.countdown-units span {
  display: inline-block;
  color: #f4eef8;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.exam-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(72px, 10vw, 140px);
  margin: 18px 0 0;
  padding: 22px clamp(28px, 4vw, 56px);
  border-radius: 24px;
  background: linear-gradient(120deg, #f8f3fb 0%, #f3e8f7 48%, #efe6f6 100%);
  border: 1.5px solid #eadcf3;
  box-shadow: 0 12px 28px -18px rgba(84, 47, 112, 0.4);
}
.exam-strip-copy { min-width: 0; text-align: center; }
.exam-org {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--brand-900);
}
.exam-strip h1 {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--brand-700);
}
.exam-strip .countdown {
  margin: 0;
  text-align: center;
  flex: none;
}
.exam-strip .countdown p { color: var(--brand-600); }
.exam-strip .countdown-units {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(166, 127, 186, 0.38);
  box-shadow: 0 6px 16px rgba(84, 47, 112, 0.08);
}
.exam-strip .countdown-units div + div { border-left-color: rgba(104, 66, 134, 0.18); }
.exam-strip .countdown-units b { color: var(--brand-900); }
.exam-strip .countdown-units span { color: var(--brand-600); }
.hero-copy .hero-actions { justify-content: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn-light, .btn-glass {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
}
.btn-light { background: white; color: var(--brand-700); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12); }
.btn-light:hover { background: var(--brand-50); }
.btn-glass {
  background: rgba(104, 66, 134, 0.45);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
}
.glass-panel {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.22);
}
.glass-panel h3 { color: white; font-size: 24px; font-weight: 700; }
.hero-login form { display: grid; gap: 10px; margin-top: 14px; }
.hero-login input {
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: white;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  box-sizing: border-box;
}
.hero-login input:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.hero-login input::placeholder { color: rgba(255, 255, 255, 0.78); }

/* Giriş butonu ve Yönetime git butonu kesin okunurluk stilleri */
.hero-login button.btn,
.hero-login .btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  color: #2e103f !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
  padding: 13px 20px !important;
  border-radius: 999px !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  cursor: pointer !important;
  margin-top: 4px !important;
  transition: all 0.2s ease !important;
}
.hero-login button.btn:hover,
.hero-login .btn:hover {
  background: #fdf4ff !important;
  color: #1a0528 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24) !important;
}

.hero-login .btn-hero-action,
.hero-login a.btn-hero-action,
.hero-login .btn-light,
.hero-login a.btn-light {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  color: #2e103f !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
  padding: 13px 20px !important;
  border-radius: 999px !important;
  border: 2px solid #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  margin-top: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.hero-login .btn-hero-action:hover,
.hero-login a.btn-hero-action:hover,
.hero-login .btn-light:hover,
.hero-login a.btn-light:hover {
  background: #fdf4ff !important;
  color: #1a0528 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24) !important;
}

.hero-login a.hero-register-link,
.hero-login form a {
  display: block !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  text-align: center !important;
  margin-top: 10px !important;
  padding: 4px 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.9 !important;
  transition: opacity 0.2s ease !important;
}
.hero-login a.hero-register-link:hover,
.hero-login form a:hover {
  opacity: 1 !important;
  color: #ffffff !important;
  text-decoration: underline !important;
  transform: none !important;
}

.hero-login-error {
  margin: 4px 0 0;
  color: #fed7aa;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: rgba(180, 83, 9, 0.35);
  border: 1px solid rgba(251, 146, 60, 0.4);
  padding: 8px 12px;
  border-radius: 12px;
}
.hero-hello {
  margin: 6px 0 4px;
  color: white;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.glass-note {
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.16);
  color: #f4eef8;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.45;
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 12px 8px;
}
.stat b { display: block; font-size: 30px; font-weight: 700; }
.stat span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.page-hero .stat, .page-hero .stat b { color: white; }

.lift {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}
.card, .panel {
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 20px; }
.card h3 { font-size: 22px; margin-bottom: 8px; }

/* Renkli Hatırlatma Kartları */
.card.postit {
  position: relative;
  background: #fffdf2;
  border: 1px solid #fde68a;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 25px -4px rgba(104, 66, 134, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card.postit:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -8px rgba(104, 66, 134, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.postit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.postit-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.postit-icon svg {
  width: 22px;
  height: 22px;
}

.card.postit h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.card.postit p {
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}
.card.postit ul, .card.postit ol {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
}
.card.postit li { margin-bottom: 6px; }

/* Soft Renk Temaları */
.card.postit.purple {
  background: linear-gradient(175deg, #fbf7fd 0%, #f6effb 100%);
  border-color: #ebdcf5;
}
.card.postit.purple .postit-icon {
  background: #eedbf7;
  color: var(--brand-600);
}
.card.postit.purple h2, .card.postit.purple h3 { color: var(--brand-900); }
.card.postit.purple p, .card.postit.purple li { color: #432857; }

.card.postit.blue {
  background: linear-gradient(175deg, #f0f9ff 0%, #e6f4fe 100%);
  border-color: #bae6fd;
}
.card.postit.blue .postit-icon {
  background: #dbeafe;
  color: #0284c7;
}
.card.postit.blue h2, .card.postit.blue h3 { color: #0c4a6e; }
.card.postit.blue p, .card.postit.blue li { color: #1e4a68; }

.card.postit.green {
  background: linear-gradient(175deg, #f0fdf4 0%, #e5fbe9 100%);
  border-color: #bbf7d0;
}
.card.postit.green .postit-icon {
  background: #dcfce7;
  color: #16a34a;
}
.card.postit.green h2, .card.postit.green h3 { color: #14532d; }
.card.postit.green p, .card.postit.green li { color: #1b4b2e; }

.card.postit.amber {
  background: linear-gradient(175deg, #fffbeb 0%, #fef5d6 100%);
  border-color: #fde68a;
}
.card.postit.amber .postit-icon {
  background: #fef3c7;
  color: #d97706;
}
.card.postit.amber h2, .card.postit.amber h3 { color: #78350f; }
.card.postit.amber p, .card.postit.amber li { color: #6b3f17; }

.card.postit.rose {
  background: linear-gradient(175deg, #fff1f2 0%, #ffe2e5 100%);
  border-color: #fecdd3;
}
.card.postit.rose .postit-icon {
  background: #ffe4e6;
  color: #e11d48;
}
.card.postit.rose h2, .card.postit.rose h3 { color: #881337; }
.card.postit.rose p, .card.postit.rose li { color: #6d1f34; }

.card.postit.teal {
  background: linear-gradient(175deg, #f0fdfa 0%, #dffaf4 100%);
  border-color: #99f6e4;
}
.card.postit.teal .postit-icon {
  background: #ccfbf1;
  color: #0d9488;
}
.card.postit.teal h2, .card.postit.teal h3 { color: #134e4a; }
.card.postit.teal p, .card.postit.teal li { color: #194e4a; }

/* Yönetim ve Rapor Kartları */
.report.card.postit {
  margin-top: 28px;
  scroll-margin-top: 148px;
  border-radius: 24px;
}
.report.card.postit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(104, 66, 134, 0.1), 0 4px 12px rgba(15, 23, 42, 0.04);
}
.report.card.postit .table-wrap {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  background: white;
}
.report.card.postit input,
.report.card.postit select,
.report.card.postit textarea {
  background: white;
}

/* Varsayılan grid kartlarına soft arka plan desteği */
.grid-3 > article.card:not(.postit):nth-child(3n+1),
.grid-2 > article.card:not(.postit):nth-child(2n+1) {
  background: #fcf9fe;
  border-color: #f0e6f7;
}
.grid-3 > article.card:not(.postit):nth-child(3n+2),
.grid-2 > article.card:not(.postit):nth-child(2n+2) {
  background: #f5faff;
  border-color: #d8edfd;
}
.grid-3 > article.card:not(.postit):nth-child(3n+3) {
  background: #fffdf2;
  border-color: #fef08a;
}
.profile-card {
  background: linear-gradient(175deg, #fbf7fd 0%, #f7f1fc 100%);
  border: 1.5px solid #ebdcf5;
  border-radius: 26px;
  padding: 30px 28px;
  text-align: left;
  box-shadow: 0 16px 36px -10px rgba(104, 66, 134, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
}
.profile-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-900);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
#home-match.card {
  background: #fbf9fe;
  border: 1.5px solid #ebdcf5;
  border-radius: 22px;
  box-shadow: 0 4px 16px -2px rgba(104, 66, 134, 0.05);
}
.field {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 6px 8px 2px;
  text-align: left;
}
.field:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-500);
  padding: 4px 8px 0;
}
.field:focus-within label { color: var(--brand-600); }
.field input, .field select, .field textarea {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 6px 8px 8px;
}
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: none; }

label { display: grid; gap: 6px; font-size: 12px; color: var(--slate-500); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
input, select, textarea {
  width: 100%;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--slate-800);
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.btn {
  background: var(--brand-600);
  color: white;
  padding: 12px 22px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(104, 66, 134, 0.28);
}
.btn:hover { background: var(--brand-700); }
.btn.secondary { background: var(--brand-900); }
.btn.light { background: var(--slate-100); color: var(--slate-800); box-shadow: none; }

.identity { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; padding: 14px; margin: 8px 0 28px; }
.form-grid { display: grid; gap: 14px; text-align: left; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
[data-saved]:not(:empty) { color: var(--good); font-weight: 600; background: #ecfdf5; border-radius: 10px; padding: 8px 12px; }

/* ==========================================================================
   TAMGALA TARZI ORTA VİTRİN SLİDER
   ========================================================================== */
.orta-vitrin {
  width: 100%;
  margin: 16px 0 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 24px 50px -12px rgba(46, 16, 63, 0.2), 0 6px 20px rgba(15, 23, 42, 0.07);
  background: #ffffff;
  position: relative;
}
.orta-vitrin.lift {
  position: relative;
  z-index: 2;
  margin-top: -50px;
}
.orta-vitrin-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1e112a;
}
.orta-vitrin-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}
.orta-vitrin-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 64px;
  min-height: 460px;
  overflow: hidden;
}

/* Slayt 1: Görsel Banner */
.orta-vitrin-slide.slide-banner-img {
  padding: 0;
  display: block;
  background: #2b0b4a;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.banner-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-full-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
}
.banner-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.banner-hotspot-btn {
  position: absolute;
  pointer-events: auto;
  border-radius: 999px;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}
.banner-hotspot-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.banner-hotspot-btn:focus-visible {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}
.banner-hotspot-btn.btn-katilim {
  left: 6.9%;
  top: 79.9%;
  width: 22.9%;
  height: 9.1%;
}
.banner-hotspot-btn.btn-detay {
  left: 30.5%;
  top: 79.9%;
  width: 13.8%;
  height: 9.1%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Slayt Arka Plan Temaları */
.slide-purple {
  background: linear-gradient(135deg, #2e103f 0%, #4a1d6d 52%, #684286 100%);
}
.slide-blue {
  background: linear-gradient(135deg, #075985 0%, #0369a1 50%, #0284c7 100%);
}
.slide-rose {
  background: linear-gradient(135deg, #881337 0%, #be123c 50%, #e11d48 100%);
}
.slide-amber {
  background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #d97706 100%);
}

/* Slayt Işık / Parıltı Efektleri */
.orta-vitrin-slide::before {
  content: "";
  position: absolute;
  top: -70px;
  right: 15%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.orta-vitrin-slide::after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: 25%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
}

/* Slayt Sol İçerik */
.slide-content {
  position: relative;
  z-index: 2;
  flex: 1 1 580px;
  max-width: 680px;
  text-align: left;
}
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
  color: #ffffff;
  margin-bottom: 16px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}
.slide-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.slide-desc {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 0 28px;
  max-width: 580px;
}
.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.slide-btn.primary {
  background: #ffffff;
  color: #1e112a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.slide-btn.primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.slide-btn.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
}
.slide-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Slayt Sağ Görsel Kartı */
.slide-visual {
  position: relative;
  z-index: 2;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 26px;
  padding: 34px 26px;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.slide-icon-box {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #ffffff;
}
.slide-icon-box svg {
  width: 40px;
  height: 40px;
}
.slide-tag-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.slide-tag-list span {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* Ok Butonları */
.orta-vitrin-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
}
.orta-vitrin-nav svg {
  width: 24px;
  height: 24px;
  display: block;
}
.orta-vitrin-nav:hover {
  background: #ffffff;
  color: #1e112a;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}
.orta-vitrin-nav.prev {
  left: 18px;
}
.orta-vitrin-nav.next {
  right: 18px;
}

/* Dots Alt Alanı */
.orta-vitrin-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 16px;
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
}
.orta-vitrin-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.orta-vitrin-dot:hover {
  background: #94a3b8;
}
.orta-vitrin-dot.active {
  width: 28px;
  background: var(--brand-600);
}
.orta-vitrin-dot:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .orta-vitrin-slide {
    padding: 38px 26px;
    gap: 20px;
    min-height: 380px;
  }
  .orta-vitrin-slide.slide-banner-img,
  .banner-img-wrap,
  .banner-full-img {
    min-height: 380px;
  }
  .slide-visual {
    display: none;
  }
  .orta-vitrin-nav {
    display: none;
  }
}
@media (max-width: 600px) {
  .orta-vitrin.lift {
    margin-top: -36px;
    border-radius: 22px;
  }
  .orta-vitrin-slide {
    padding: 28px 20px;
    min-height: 340px;
  }
  .orta-vitrin-slide.slide-banner-img,
  .banner-img-wrap,
  .banner-full-img {
    min-height: 240px;
  }
  .slide-title {
    font-size: 22px;
  }
  .slide-desc {
    font-size: 14.5px;
    margin-bottom: 20px;
  }
  .slide-actions {
    flex-direction: column;
    width: 100%;
  }
  .slide-btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 14.5px;
    box-sizing: border-box;
  }
}
@media (prefers-reduced-motion: reduce) {
  .orta-vitrin-track {
    transition: none;
  }
}

/* ==========================================================================
   ETKİNLİK DETAY MODAL
   ========================================================================== */
.app-modal {
  border: none;
  border-radius: 26px;
  padding: 0;
  background: transparent;
  max-width: 580px;
  width: calc(100% - 32px);
  margin: auto;
  box-shadow: 0 25px 60px -15px rgba(30, 11, 42, 0.45);
}
.app-modal::backdrop {
  background: rgba(26, 5, 40, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-box {
  background: #ffffff;
  border: 1.5px solid #ebdcf5;
  border-radius: 26px;
  padding: 30px;
  position: relative;
  color: var(--slate-800);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.modal-head .slide-badge {
  background: #f3e8ff;
  border-color: #d8b4fe;
  color: var(--brand-900);
  margin: 0;
}
.modal-head .badge-dot {
  background: var(--brand-600);
  box-shadow: 0 0 8px var(--brand-400);
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}
.modal-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-900);
  margin: 0 0 8px;
  line-height: 1.3;
}
.bulusma-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.b-info-item {
  background: #fbf7fd;
  border: 1px solid #ebdcf5;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}
.b-info-item b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 4px;
}
.b-info-item span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate-800);
}
.bulusma-agenda {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}
.bulusma-agenda h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-700);
  margin: 0 0 10px;
}
.bulusma-agenda ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--slate-600);
}
.bulusma-status-note {
  font-size: 13.5px;
  line-height: 1.5;
  padding: 12px 14px;
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: 14px;
  color: #854d0e;
  margin-bottom: 18px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
@media (max-width: 500px) {
  .bulusma-info-grid {
    grid-template-columns: 1fr;
  }
}

.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin: 28px 0 16px; }
.section-head.center { display: block; text-align: center; margin-bottom: 22px; }
#contents .section-head.center { margin-top: 14px; margin-bottom: 22px; }
.section-head.center p { margin: 8px auto 0; }
.section-head h2 { font-size: 34px; }
.section-head p { color: var(--slate-500); max-width: 46ch; }

.toc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.toc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: white;
  border: 1.5px solid var(--slate-100);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.toc-card i {
  position: absolute;
  top: 12px;
  right: 18px;
  font-style: italic;
  font-weight: 900;
  font-size: 58px;
  line-height: 1;
  opacity: 0.18;
  pointer-events: none;
  transform-origin: top right;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.toc-card:hover i {
  opacity: 0.28;
  transform: scale(1.08) rotate(3deg);
}
.toc-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 76px;
}
.toc-card-head .pill {
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 0;
}
.toc-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease;
}
.toc-card:hover .toc-icon {
  transform: scale(1.08);
}
.toc-icon svg {
  width: 22px;
  height: 22px;
}
.toc-card h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.toc-card p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* 6 Soft Renk Temaları */
.toc-card.blue {
  background: linear-gradient(175deg, #f0f9ff 0%, #e6f4fe 100%);
  border-color: #bae6fd;
}
.toc-card.blue .toc-icon {
  background: #dbeafe;
  color: #0284c7;
}
.toc-card.blue i {
  color: #0284c7;
}
.toc-card.blue h3 {
  color: #0c4a6e;
}
.toc-card.blue p {
  color: #1e4a68;
}
.toc-card.blue:hover {
  transform: translateY(-6px);
  border-color: #7dd3fc;
  box-shadow: 0 18px 36px -8px rgba(2, 132, 199, 0.22), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.toc-card.purple {
  background: linear-gradient(175deg, #fbf7fd 0%, #f6effb 100%);
  border-color: #ebdcf5;
}
.toc-card.purple .toc-icon {
  background: #eedbf7;
  color: var(--brand-600);
}
.toc-card.purple i {
  color: var(--brand-600);
}
.toc-card.purple h3 {
  color: var(--brand-900);
}
.toc-card.purple p {
  color: #432857;
}
.toc-card.purple:hover {
  transform: translateY(-6px);
  border-color: #d8b4fe;
  box-shadow: 0 18px 36px -8px rgba(104, 66, 134, 0.22), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.toc-card.rose {
  background: linear-gradient(175deg, #fff1f2 0%, #ffe2e5 100%);
  border-color: #fecdd3;
}
.toc-card.rose .toc-icon {
  background: #ffe4e6;
  color: #e11d48;
}
.toc-card.rose i {
  color: #e11d48;
}
.toc-card.rose h3 {
  color: #881337;
}
.toc-card.rose p {
  color: #6d1f34;
}
.toc-card.rose:hover {
  transform: translateY(-6px);
  border-color: #fda4af;
  box-shadow: 0 18px 36px -8px rgba(225, 29, 72, 0.22), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.toc-card.amber {
  background: linear-gradient(175deg, #fffbeb 0%, #fef5d6 100%);
  border-color: #fde68a;
}
.toc-card.amber .toc-icon {
  background: #fef3c7;
  color: #d97706;
}
.toc-card.amber i {
  color: #d97706;
}
.toc-card.amber h3 {
  color: #78350f;
}
.toc-card.amber p {
  color: #6b3f17;
}
.toc-card.amber:hover {
  transform: translateY(-6px);
  border-color: #fcd34d;
  box-shadow: 0 18px 36px -8px rgba(217, 119, 6, 0.22), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.toc-card.green {
  background: linear-gradient(175deg, #f0fdf4 0%, #e5fbe9 100%);
  border-color: #bbf7d0;
}
.toc-card.green .toc-icon {
  background: #dcfce7;
  color: #16a34a;
}
.toc-card.green i {
  color: #16a34a;
}
.toc-card.green h3 {
  color: #14532d;
}
.toc-card.green p {
  color: #1b4b2e;
}
.toc-card.green:hover {
  transform: translateY(-6px);
  border-color: #86efac;
  box-shadow: 0 18px 36px -8px rgba(22, 163, 74, 0.22), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.toc-card.teal {
  background: linear-gradient(175deg, #f0fdfa 0%, #dffaf4 100%);
  border-color: #99f6e4;
}
.toc-card.teal .toc-icon {
  background: #ccfbf1;
  color: #0d9488;
}
.toc-card.teal i {
  color: #0d9488;
}
.toc-card.teal h3 {
  color: #134e4a;
}
.toc-card.teal p {
  color: #194e4a;
}
.toc-card.teal:hover {
  transform: translateY(-6px);
  border-color: #5eead4;
  box-shadow: 0 18px 36px -8px rgba(13, 148, 136, 0.22), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill.blue { background: #dbeafe; color: #0284c7; }
.pill.purple { background: #eedbf7; color: var(--brand-700); }
.pill.rose { background: #ffe4e6; color: #e11d48; }
.pill.amber { background: #fef3c7; color: #d97706; }
.pill.emerald, .pill.green { background: #dcfce7; color: #16a34a; }
.pill.cyan, .pill.teal { background: #ccfbf1; color: #0d9488; }
.pill.indigo { background: #eedbf7; color: var(--brand-700); }
.pill.pink { background: #ffe4e6; color: #e11d48; }

.match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.match-card {
  border: 1px solid #e0e7ff;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
  border-radius: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--brand-500);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.12);
}
.match-card b { display: block; color: var(--brand-900); font-weight: 700; }
.match-card span { color: var(--slate-500); font-size: 13px; }
.match-card em { display: inline-block; margin-top: 6px; font-style: normal; color: var(--brand-600); font-weight: 700; background: var(--brand-50); padding: 2px 8px; border-radius: 6px; font-size: 13px; }

.index-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.index-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.index-item small { color: var(--muted); display: block; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.index-item em { font-style: normal; color: var(--brand-700); font-weight: 700; }

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

.prose { display: grid; gap: 12px; }
.prose h2 { font-size: 32px; margin-top: 12px; }
.prose h3 { font-size: 24px; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.tag, .pill-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}
.tag.clay { background: #fff1f2; color: #e11d48; }
.tag.gold { background: #fffbeb; color: #b45309; }

.table-wrap { overflow: auto; border: 1px solid var(--slate-200); border-radius: 16px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--slate-100); vertical-align: middle; }
th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-500); background: var(--slate-50); position: sticky; top: 0; }
tr.hit td { background: var(--brand-50); }
th.num, td.num {
  text-align: right;
  letter-spacing: 0;
  white-space: nowrap;
  width: 1%;
  font-variant-numeric: tabular-nums;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip {
  border: 1px solid var(--slate-200);
  background: white;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  font-weight: 600;
  color: var(--slate-700);
}
.chip.on { background: var(--brand-600); color: white; border-color: var(--brand-600); }

.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--slate-200);
}
.step b { font-size: 28px; color: var(--brand-600); font-weight: 700; }

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
  position: sticky;
  top: 58px;
  background: rgba(248, 250, 252, 0.92);
  padding: 8px 0;
  z-index: 5;
}
.subject { display: none; }
.subject.show { display: block; }

.day-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { background: white; border: 1px solid var(--slate-100); border-radius: 18px; padding: 10px; min-height: 220px; box-shadow: var(--shadow); }
.day h3 { font-size: 16px; margin-bottom: 8px; }
.block { background: var(--slate-50); border-radius: 12px; padding: 8px; margin-bottom: 6px; font-size: 13px; }
.block.rest { background: #ecfdf5; }
.block.read { background: #fff1f2; }

.timer { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; }
.clock {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 10px solid var(--brand-100);
  display: grid;
  place-items: center;
  background: white;
  font-size: 52px;
  font-weight: 700;
  color: var(--brand-700);
}
.clock.work { border-color: var(--brand-500); }
.clock.break { border-color: var(--purple-400); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.topic-unit { margin: 18px 0; }
.topic-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--slate-100);
}
.months { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.dot {
  min-width: 34px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: white;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 4px;
  color: var(--slate-500);
}
.dot.on { background: var(--brand-600); color: white; border-color: var(--brand-600); }

.notice {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--brand-900);
}
.footer-note { margin-top: 28px; color: var(--slate-500); font-size: 13px; }
.score-grid { display: grid; grid-template-columns: 180px repeat(3, 1fr); gap: 8px; align-items: end; margin-bottom: 8px; }
.exam-card { border-top: 1px solid var(--slate-200); padding: 14px 0; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}
.reveal.active { opacity: 1; transform: none; }
.toc-card.reveal.active {
  transition: opacity 0.6s ease-out, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (max-width: 980px) {
  .head-row { flex-wrap: wrap; width: calc(100% - 16px); padding: 12px 4px 4px; }
  .menu-btn { display: inline-flex; }
  .head-auth, .user-menu { width: auto; margin-left: auto; }
  .head-login, .head-user { width: 100%; margin-left: 0; justify-content: stretch; }
  .head-login input { flex: 1; width: auto; min-width: 0; }
  .top-nav { display: none; width: calc(100% - 16px); padding: 4px 8px 12px; justify-content: flex-start; gap: 8px; }
  .top-nav.open { display: flex; }
  .head-who { text-align: left; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .identity, .timer, .index-list, .day-grid, .score-grid, .toc-grid, .form-2, .form-3, .match-grid, .stat-row, .stat-row.four {
    grid-template-columns: 1fr;
  }
  .hero-copy { text-align: center; }
  .hero-copy .countdown { margin-inline: auto; }
  .hero-copy .hero-actions { justify-content: center; }
  #page-root { width: calc(100% - 20px); padding: 16px 0 64px; }
  body[data-page="yonetim"] #page-root,
  body[data-page="simule"] #page-root { display: block; width: calc(100% - 20px); }
  .report-nav { position: static; display: flex; gap: 6px; overflow: auto; width: auto; margin-bottom: 16px; padding: 10px; }
  .report-nav p { display: none; }
  .report-nav a { white-space: nowrap; }
  body[data-page="home"] #page-root > :not(.page-hero) { width: calc(100% - 20px); }
  .exam-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 14px;
  }
  .exam-strip .countdown { margin-inline: auto; text-align: center; }
  .topbar { padding: 12px 16px; }
  .day { min-height: 0; }
  .page-hero { width: calc(100% - 20px); margin-top: 10px; padding: 28px 18px 88px; border-radius: 1.5rem; }
  .countdown-units { max-width: 100%; }
}
@media (max-width: 440px) {
  .countdown { width: 100%; max-width: 360px; }
  .countdown-units { width: 100%; padding: 4px 6px; }
  .countdown-units div { width: auto; flex: 1 1 0; padding: 4px 2px; gap: 3px; }
  .countdown-units b { font-size: 20px; min-width: 22px; }
  .countdown-units b[data-days] { min-width: 34px; }
  .countdown-units span { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toc-card, .toc-card i, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
