/* style.css */

/* ═══════════════════════════════════════════════════════
   THEME SYSTEM — CSS Custom Properties
   ═══════════════════════════════════════════════════════ */
:root {
  --bg-primary: #f0f2f5;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-subtle: rgba(0, 0, 0, 0.02);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --bg-glass-border: rgba(0, 0, 0, 0.08);
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --accent: #0891b2;
  --accent-rgb: 8, 145, 178;
  --accent-glow: rgba(8, 145, 178, 0.25);
  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-accent: rgba(8, 145, 178, 0.3);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.07);
  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-border: rgba(0, 0, 0, 0.06);
  --mobile-menu-bg: rgba(240, 242, 245, 0.97);
  --toast-bg: rgba(255, 255, 255, 0.92);
  --scroll-mask: rgba(240, 242, 245, 0.75);
}

html.dark {
  --bg-primary: #0b0f19;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-subtle: rgba(255, 255, 255, 0.02);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --text-heading: #ffffff;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --accent: #00f0ff;
  --accent-rgb: 0, 240, 255;
  --accent-glow: rgba(0, 240, 255, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 240, 255, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --nav-bg: rgba(11, 15, 25, 0.7);
  --nav-border: rgba(255, 255, 255, 0.05);
  --mobile-menu-bg: rgba(11, 15, 25, 0.97);
  --toast-bg: rgba(11, 15, 25, 0.88);
  --scroll-mask: rgba(11, 15, 25, 0.75);
}

/* Custom Scrollbar Hiding */
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Base Body Resets */
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-body);
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* ═══════════════════════════════════════════════════════
   CONTACT SECTION — Premium CTA Styles
   ═══════════════════════════════════════════════════════ */

/* --- Tipografi Hiyerarşisi --- */
.contact-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7); /* slate-400 */
  margin-bottom: 0.5rem;
}

.contact-data {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 0.04em;
  text-align: center;
  word-break: break-all;
}

@media (min-width: 640px) {
  .contact-data {
    font-size: 1.6rem;
  }
}

/* --- 3D Tilt Kahraman Kartlar --- */
.contact-hero-card {
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  will-change: transform, box-shadow;
  transition:
    transform 0.5s cubic-bezier(0.03, 0.98, 0.52, 0.99),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    opacity 0.7s ease-out,
    translate 0.7s ease-out;
}

.contact-hero-card:hover {
  border-color: rgba(0, 240, 255, 0.4) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 240, 255, 0.12),
    0 0 60px rgba(0, 240, 255, 0.05);
}

/* --- Spotlight Overlay (Fare Takipli) --- */
.card-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  transition: opacity 0.45s ease;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 240, 255, 0.07),
    transparent 55%
  );
}

.contact-hero-card:hover .card-spotlight {
  opacity: 1;
}

/* --- Sosyal Medya Izgarası --- */
.social-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(148, 163, 184, 0.6);
  text-decoration: none;
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease;
}

.social-icon-btn:hover {
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(0, 240, 255, 0.06);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.25), 0 0 6px rgba(0, 240, 255, 0.15);
  transform: translateY(-4px);
}

.social-icon-btn:active {
  transform: translateY(-1px);
}

/* --- Toast Bildirimi --- */
.copy-toast {
  position: fixed;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #00f0ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION — YOLO Computer Vision Styles
   ═══════════════════════════════════════════════════════ */

/* --- Boot-up Daktilo Komutu --- */
.hero-boot-line {
  position: absolute;
  top: 6rem;
  left: 2rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #00f0ff;
  opacity: 0;
  z-index: 20;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hero-boot-line.visible {
  opacity: 0.85;
}

.hero-boot-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: #00f0ff;
  vertical-align: middle;
  margin-left: 2px;
  animation: yolo-blink 0.6s step-end infinite;
}

@keyframes yolo-blink {
  50% { opacity: 0; }
}

/* --- Hero Reveal (Sıralı Fade-in) --- */
.hero-reveal {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(14px);
}

.hero-reveal.visible {
  opacity: 1 !important;
  transform: translateY(0);
}

/* --- YOLO Bounding Box (Desktop Only) --- */
.yolo-box {
  display: none;
}

@media (hover: hover) and (min-width: 769px) {
  .yolo-box {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 60;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .yolo-box.active {
    opacity: 1;
  }

  /* Ana kutu: ince, yarı-şeffaf cyan border */
  .yolo-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 240, 255, 0.25);
    box-shadow:
      0 0 10px rgba(0, 240, 255, 0.08),
      inset 0 0 10px rgba(0, 240, 255, 0.03);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  /* Scanline: yukarıdan aşağıya süzülen çok silik çizgi */
  .yolo-box::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 30%;
    top: -30%;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(57, 255, 176, 0.06) 50%,
      transparent 100%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .yolo-box.active::after {
    opacity: 1;
    animation: yolo-scanline 2.5s linear infinite;
  }

  @keyframes yolo-scanline {
    0%   { top: -30%; }
    100% { top: 100%; }
  }

  /* Köşe nişangah çizgileri — Asit Yeşili (#39ffb0) */
  .yolo-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    transition: transform 0.3s ease;
  }

  .yolo-corner::before,
  .yolo-corner::after {
    content: '';
    position: absolute;
    background: #39ffb0;
    box-shadow: 0 0 6px rgba(57, 255, 176, 0.6);
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }

  /* Yatay çizgi */
  .yolo-corner::before {
    width: 20px;
    height: 2.5px;
  }

  /* Dikey çizgi */
  .yolo-corner::after {
    width: 2.5px;
    height: 20px;
  }

  /* Micro-pulse: köşeler çok hafif büyüyüp küçülür */
  .yolo-box.active .yolo-corner {
    animation: yolo-corner-pulse 1.8s ease-in-out infinite;
  }

  @keyframes yolo-corner-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.1); }
  }

  /* Sol Üst */
  .yolo-corner.tl { top: -1px; left: -1px; transform-origin: top left; }
  .yolo-corner.tl::before { top: 0; left: 0; }
  .yolo-corner.tl::after { top: 0; left: 0; }

  /* Sağ Üst */
  .yolo-corner.tr { top: -1px; right: -1px; transform-origin: top right; }
  .yolo-corner.tr::before { top: 0; right: 0; }
  .yolo-corner.tr::after { top: 0; right: 0; }

  /* Sol Alt */
  .yolo-corner.bl { bottom: -1px; left: -1px; transform-origin: bottom left; }
  .yolo-corner.bl::before { bottom: 0; left: 0; }
  .yolo-corner.bl::after { bottom: 0; left: 0; }

  /* Sağ Alt */
  .yolo-corner.br { bottom: -1px; right: -1px; transform-origin: bottom right; }
  .yolo-corner.br::before { bottom: 0; right: 0; }
  .yolo-corner.br::after { bottom: 0; right: 0; }

  /* ═══ Anomali Modu (Kırmızı Uyarı) ═══ */
  .yolo-box.anomaly::before {
    border-color: rgba(255, 51, 51, 0.35);
    box-shadow:
      0 0 15px rgba(255, 51, 51, 0.12),
      inset 0 0 12px rgba(255, 51, 51, 0.04);
  }

  .yolo-box.anomaly::after {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(255, 51, 51, 0.06) 50%,
      transparent 100%
    );
  }

  .yolo-box.anomaly .yolo-corner::before,
  .yolo-box.anomaly .yolo-corner::after {
    background: #ff3333;
    box-shadow: 0 0 8px rgba(255, 51, 51, 0.7);
  }

  .yolo-box.anomaly .yolo-label {
    background: #ff3333;
    animation: yolo-label-flicker 0.15s step-end infinite;
  }

  @keyframes yolo-label-flicker {
    50% { opacity: 0.5; }
  }
}

/* --- YOLO Etiketi — Asit Yeşili --- */
.yolo-label {
  position: absolute;
  top: -22px;
  left: -1px;
  background: #39ffb0;
  color: #0b0f19;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  line-height: 1.4;
  transition: background 0.3s ease;
}

/* ═══════════════════════════════════════════════════════
   TERMINAL SKILLS EXPERIENCES
   ═══════════════════════════════════════════════════════ */

/* --- Focus/Mute Effect --- */
/* The parent container when hovered */
@media (hover: hover) {
  .skills-list:hover .skill-item {
    opacity: 0.3 !important;
  }
}

/* Base item transitions */
.skills-list .skill-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.skills-list .skill-item:hover,
.skills-list .skill-item:focus-within {
  opacity: 1 !important;
  transform: translateX(4px);
}

.skills-list .skill-item:hover span {
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
  transition: text-shadow 0.3s ease;
}

/* --- Shimmer Data Flow Effect --- */
.skill-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: skill-shimmer 2.5s linear infinite;
}

@keyframes skill-shimmer {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ═══════════════════════════════════════════════════════
   SCROLL HINT (VERİ DAMLASI)
   ═══════════════════════════════════════════════════════ */

/* Maske ile arka plandaki node'ları gizleme (Clear Path) */
.scroll-hint-mask {
  background: radial-gradient(ellipse at center, rgba(11, 15, 25, 0.75) 10%, rgba(11, 15, 25, 0) 70%);
}

.scroll-hint-track {
  width: 2px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.scroll-hint-drop {
  width: 2px;
  height: 15px;
  background: #00f0ff;
  position: absolute;
  left: 0;
  top: -15px;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
  border-radius: 2px;
  animation: scroll-drop-anim 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scroll-drop-anim {
  0% {
    top: -15px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 50px;
    opacity: 0;
  }
}

/* ═══════════════════════════════════════════════════════
   CV TERMINAL LINK
   ═══════════════════════════════════════════════════════ */
.cv-terminal-link {
  display: inline-flex;
  align-items: center;
  color: rgba(0, 240, 255, 0.85); /* Default haline biraz daha pop/parlaklık eklendi */
  text-decoration: none;
  transition: all 0.1s ease; /* Anında etkileşim hissi için hızlandırıldı */
  font-family: inherit;
  cursor: pointer;
  margin-top: 0.15rem;
  animation: cvTextPulse 3s infinite ease-in-out;
}

@keyframes cvTextPulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(0, 240, 255, 0.3); }
  50% { opacity: 0.7; text-shadow: none; }
}

.cv-terminal-link:hover {
  color: #00f0ff;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.8);
  transform: translateX(4px);
  animation: none; /* Hover anında pulse'ı durdur */
  opacity: 1;
}

.cv-terminal-link:active {
  transform: translateX(2px) scale(0.98);
}

.cv-cursor {
  color: #00f0ff; /* Vurgu Rengi */
  margin-left: 8px;
  animation: cvBlink 1s step-end infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes cvBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cv-terminal-link:hover .cv-cursor {
  animation: none; /* Hover olunca sürekli yansın */
  opacity: 1;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.9);
}

/* ═══════════════════════════════════════════════════════
   NOTES ARCHIVE (FRONTEND) STYLES
   ═══════════════════════════════════════════════════════ */

/* --- Course Pill (Nav) --- */
.course-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  color: rgba(148, 163, 184, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: max-content;
}

@media (min-width: 768px) {
  .course-pill {
    min-width: 100%;
  }
}

.course-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.course-pill.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.05);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

/* --- Archive Note Card --- */
.archive-note-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.archive-note-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  pointer-events: none;
}

.archive-note-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5),
              0 0 15px rgba(0, 240, 255, 0.15);
}

.archive-note-card.anim-entrance {
  animation: cardEntrance 0.5s ease backwards;
}

@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Card Types --- */
.card-type-pdf .type-indicator { color: #f87171; background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.2); }
.card-type-pdf:hover .type-indicator { box-shadow: 0 0 12px rgba(248, 113, 113, 0.3); }

.card-type-link .type-indicator { color: #60a5fa; background: rgba(96, 165, 250, 0.1); border-color: rgba(96, 165, 250, 0.2); }
.card-type-link:hover .type-indicator { box-shadow: 0 0 12px rgba(96, 165, 250, 0.3); }

/* --- Action Button inside Card --- */
.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
}

.archive-note-card:hover .card-action-btn {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.4);
  color: #00f0ff;
}

/* --- Scanner Effect on Hover --- */
.archive-note-card::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; width: 100%; height: 15px;
  background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.2), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.archive-note-card:hover::after {
  opacity: 1;
  animation: cardScan 2s linear infinite;
}

@keyframes cardScan {
  0% { top: -10%; }
  100% { top: 110%; }
}

/* --- Empty State / Glitch --- */
.arch-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 4px
  );
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
}

.arch-glitch-text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  color: rgba(255, 68, 68, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  animation: gentleGlitch 4s ease-in-out infinite;
}

@keyframes gentleGlitch {
  0%, 96%, 100% { transform: translate(0, 0) skew(0deg); opacity: 1; }
  97% { transform: translate(-2px, 1px) skew(-5deg); opacity: 0.8; }
  98% { transform: translate(2px, -1px) skew(5deg); opacity: 0.8; text-shadow: -2px 0 #ff00c1, 2px 0 #00fff9; }
  99% { transform: translate(-1px, -2px) skew(-2deg); opacity: 0.9; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE HAMBURGER MENU (Global — All Pages)
   ═══════════════════════════════════════════════════════ */

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.4rem;
  cursor: pointer;
  position: relative;
  z-index: 60;
  transition: border-color 0.3s ease;
}

.mobile-nav-toggle:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

.mobile-nav-toggle .hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 1px;
  transition: all 0.3s ease;
  position: absolute;
}

.mobile-nav-toggle .hamburger-line:nth-child(1) { transform: translateY(-5px); }
.mobile-nav-toggle .hamburger-line:nth-child(2) { transform: translateY(0); }
.mobile-nav-toggle .hamburger-line:nth-child(3) { transform: translateY(5px); }

/* Hamburger → X animation */
.mobile-nav-toggle.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg);
  background: #00f0ff;
}
.mobile-nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
  background: #00f0ff;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; /* navbar height */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 25, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 49;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 3rem;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  width: 80%;
  max-width: 320px;
  text-align: center;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  border-radius: 0.3rem;
}

.mobile-menu a:hover,
.mobile-menu a.active-mobile-link {
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.05);
}

@media (max-width: 767px) {
  .mobile-nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
}

/* ═══════════════════════════════════════════════════════
   TEST — RESUME BANNER & QUESTION ANIMATIONS
   ═══════════════════════════════════════════════════════ */

/* Resume Banner */
.test-resume-banner {
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 0.6rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: testFadeIn 0.4s ease;
}

.test-resume-banner .resume-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.test-resume-banner .resume-info {
  flex: 1;
}

.test-resume-banner .resume-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #00f0ff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.test-resume-banner .resume-detail {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.7);
  margin-top: 0.15rem;
}

.test-resume-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.test-resume-actions button {
  padding: 0.4rem 0.85rem;
  border-radius: 0.35rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-resume-continue {
  background: #00f0ff;
  color: #0b0f19;
}
.btn-resume-continue:hover {
  background: rgba(0, 240, 255, 0.85);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.btn-resume-discard {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(148, 163, 184, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.btn-resume-discard:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3) !important;
}

/* Question slide animation */
@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-30px); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.test-question-card.slide-out {
  animation: slideOutLeft 0.2s ease forwards;
}

.test-question-card.slide-in {
  animation: slideInRight 0.3s ease forwards;
}

/* CountUp animation utility */
@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.count-animate {
  animation: countPulse 0.5s ease;
}

/* Performance message */
.test-perf-message {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 1rem;
  padding: 0.6rem;
  border-radius: 0.4rem;
}

.test-perf-message.excellent {
  color: #34d399;
  background: rgba(52, 211, 153, 0.06);
}
.test-perf-message.good {
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.04);
}
.test-perf-message.average {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.05);
}
.test-perf-message.poor {
  color: #f87171;
  background: rgba(248, 113, 113, 0.05);
}

@media (max-width: 640px) {
  .test-resume-banner {
    flex-direction: column;
    text-align: center;
  }
  .test-resume-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════
   INTERACTIVE TEST PAGE STYLES
   ═══════════════════════════════════════════════════════ */

/* --- Screen transitions --- */
.test-screen {
  animation: testFadeIn 0.35s ease;
}

@keyframes testFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.test-screen-header {
  margin-bottom: 0.5rem;
}

/* --- Back Button --- */
.test-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  background: none;
  border: none;
  color: rgba(148, 163, 184, 0.6);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.test-back-btn:hover {
  color: #e2e8f0;
}

/* --- Mode Cards --- */
.test-mode-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.test-mode-card:hover {
  background: rgba(0, 240, 255, 0.05);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.08);
}

/* --- Filter Pills --- */
.test-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  color: rgba(148, 163, 184, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.test-filter-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.test-filter-pill.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.4);
  color: #00f0ff;
}

/* --- Checkbox Labels --- */
.test-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.4rem;
  color: rgba(148, 163, 184, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.test-checkbox-label:hover {
  background: rgba(255, 255, 255, 0.06);
}

.test-checkbox-label input[type="checkbox"] {
  accent-color: #00f0ff;
}

/* --- Start Button --- */
.test-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 2rem;
  background: #00f0ff;
  color: #0b0f19;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.test-start-btn:hover {
  background: rgba(0, 240, 255, 0.9);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
  transform: translateY(-1px);
}

/* --- Question Card --- */
.test-question-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
}

/* --- Option Buttons --- */
.test-option-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.test-option-btn:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.test-option-btn.selected {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.4);
}

.test-option-btn.selected .test-option-label {
  background: rgba(0, 240, 255, 0.2);
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.5);
}

.test-option-btn.disabled {
  cursor: default;
  opacity: 0.7;
}

.test-option-btn.correct {
  background: rgba(74, 222, 128, 0.05) !important;
  border-color: rgba(74, 222, 128, 0.4) !important;
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.1) !important;
  opacity: 1 !important;
}

.test-option-btn.correct .test-option-label {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

@keyframes shakeWrong {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

.test-option-btn.wrong {
  background: rgba(248, 113, 113, 0.05) !important;
  border-color: rgba(248, 113, 113, 0.4) !important;
  box-shadow: 0 0 15px rgba(248, 113, 113, 0.1) !important;
  opacity: 1 !important;
  animation: shakeWrong 0.4s ease;
}

.test-option-btn.wrong .test-option-label {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.5);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.2);
}

/* --- Option Label (A, B, C...) --- */
.test-option-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(148, 163, 184, 0.8);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.test-option-text {
  line-height: 1.4;
}

/* --- Answer Button --- */
.test-answer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 2rem;
  background: #00f0ff;
  color: #0b0f19;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.test-answer-btn:disabled {
  background: rgba(0, 240, 255, 0.3);
  box-shadow: none;
  cursor: not-allowed;
  color: rgba(11, 15, 25, 0.5);
}

.test-answer-btn:hover:not(:disabled) {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

/* --- Next Button (Primary CTA) --- */
.test-next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 2rem;
  background: #00f0ff;
  color: #0b0f19;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  animation: testFadeIn 0.3s ease;
}

.test-next-btn:hover {
  background: rgba(0, 240, 255, 0.9);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
}

/* --- Feedback Box (Glassmorphism) --- */
.test-feedback-box {
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  animation: testFadeIn 0.4s ease;
  background: rgba(11, 15, 25, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.test-feedback-box.correct {
  border-left: 4px solid #4ade80;
  border-top: 1px solid rgba(74, 222, 128, 0.15);
  border-right: 1px solid rgba(74, 222, 128, 0.15);
  border-bottom: 1px solid rgba(74, 222, 128, 0.15);
  box-shadow: inset 20px 0 40px -20px rgba(74, 222, 128, 0.1);
}

.test-feedback-box.wrong {
  border-left: 4px solid #f87171;
  border-top: 1px solid rgba(248, 113, 113, 0.15);
  border-right: 1px solid rgba(248, 113, 113, 0.15);
  border-bottom: 1px solid rgba(248, 113, 113, 0.15);
  box-shadow: inset 20px 0 40px -20px rgba(248, 113, 113, 0.1);
}

.test-feedback-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.test-feedback-box.correct .test-feedback-header { color: #4ade80; }
.test-feedback-box.wrong .test-feedback-header { color: #f87171; }

.test-feedback-correct-answer {
  font-family: 'Inter', sans-serif;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.85rem;
}

/* --- Explanation (Modern & Bright) --- */
.test-explanation {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.6;
}

.test-explanation-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #00f0ff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* --- Result Card --- */
.test-result-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
}

/* --- Review Card (Yanlış sorular) --- */
.test-review-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}

/* ═══════════════════════════════════════════════════════
   ADMIN — QUESTION FORM (WORKSPACE EMBEDDED)
   ═══════════════════════════════════════════════════════ */

.workspace-view.form-wide-view {
  max-width: 1400px; /* Expands the form from 960px to 1400px for a wide, spread-out layout */
}

.q-form-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.q-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.q-form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}

.q-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.25rem;
}

@media (max-width: 640px) {
  .q-form-row-2,
  .q-form-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   ADMIN — BULK IMPORT (TOPLU SORU İÇE AKTARMA)
   ═══════════════════════════════════════════════════════ */

/* --- Subtitle --- */
.bulk-subtitle {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.45);
  margin-top: 0.35rem;
  font-family: 'Inter', sans-serif;
}

/* --- Settings Row (Ders / Hafta / Zorluk) --- */
.bulk-settings-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .bulk-settings-row {
    grid-template-columns: 1fr;
  }
}

/* --- Devasa Textarea --- */
.bulk-textarea {
  min-height: 420px;
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 0.82rem !important;
  line-height: 1.75 !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 0.5rem !important;
  padding: 1.25rem !important;
  color: rgba(226, 232, 240, 0.9) !important;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.bulk-textarea:focus {
  border-color: rgba(0, 240, 255, 0.3) !important;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.06), inset 0 0 30px rgba(0, 240, 255, 0.02) !important;
}

.bulk-textarea::placeholder {
  color: rgba(148, 163, 184, 0.2) !important;
  font-size: 0.78rem !important;
}

/* --- Format Hint Box --- */
.bulk-format-hint {
  background: rgba(0, 240, 255, 0.02);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 0.4rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.bulk-format-hint-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0, 240, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.bulk-format-hint-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.45);
}

.bulk-format-hint-content code {
  font-family: 'Courier New', Courier, monospace;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.1rem 0.35rem;
  border-radius: 0.2rem;
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.7rem;
}

/* --- Meta Bar (Ders/Hafta/Zorluk bilgisi) --- */
.bulk-meta-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  background: rgba(0, 240, 255, 0.03);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 0.4rem;
  margin-bottom: 1.25rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(0, 240, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Stats Bar (Başarılı / Uyarı / Hata) --- */
.bulk-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.bulk-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.85rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
}

.bulk-stat.success {
  background: rgba(52, 211, 153, 0.04);
  border-color: rgba(52, 211, 153, 0.12);
}

.bulk-stat.warning {
  background: rgba(251, 191, 36, 0.04);
  border-color: rgba(251, 191, 36, 0.12);
}

.bulk-stat.error {
  background: rgba(255, 68, 68, 0.04);
  border-color: rgba(255, 68, 68, 0.12);
}

.bulk-stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.bulk-stat.success .bulk-stat-num { color: #34d399; }
.bulk-stat.warning .bulk-stat-num { color: #fbbf24; }
.bulk-stat.error .bulk-stat-num { color: #ff4444; }

.bulk-stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.4);
}

/* --- Error List --- */
.bulk-error-list {
  margin-bottom: 1.25rem;
}

.bulk-error-item {
  padding: 0.55rem 0.85rem;
  background: rgba(255, 68, 68, 0.04);
  border: 1px solid rgba(255, 68, 68, 0.1);
  border-radius: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255, 68, 68, 0.85);
  margin-bottom: 0.35rem;
  font-family: 'Inter', sans-serif;
}

/* --- Preview Card --- */
.bulk-preview-card {
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0.5rem;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.25s ease;
}

.bulk-preview-card.success {
  border-left: 3px solid rgba(52, 211, 153, 0.35);
}

.bulk-preview-card.error {
  border-left: 3px solid rgba(255, 68, 68, 0.35);
  opacity: 0.7;
}

.bulk-preview-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.bulk-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.bulk-preview-qnum {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bulk-preview-status {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.bulk-preview-status.success {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
}

.bulk-preview-status.error {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}

.bulk-preview-text {
  font-size: 0.84rem;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.5;
  margin: 0 0 0.65rem 0;
}

/* --- Preview Options --- */
.bulk-preview-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.3rem;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.65);
  transition: background 0.2s ease;
}

.bulk-preview-option.correct {
  background: rgba(52, 211, 153, 0.06);
  color: rgba(226, 232, 240, 0.9);
}

.bulk-preview-option.missing {
  background: rgba(255, 68, 68, 0.04);
  border: 1px dashed rgba(255, 68, 68, 0.15);
}

.bulk-preview-option-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.4);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.bulk-preview-option.correct .bulk-preview-option-label {
  color: #34d399;
}

.bulk-preview-option-text {
  flex: 1;
}

.bulk-preview-correct-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* --- Preview Explanation --- */
.bulk-preview-explanation {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: rgba(251, 191, 36, 0.03);
  border: 1px solid rgba(251, 191, 36, 0.1);
  border-radius: 0.35rem;
  font-size: 0.75rem;
  color: rgba(251, 191, 36, 0.75);
  line-height: 1.5;
}

.bulk-preview-explanation-icon {
  flex-shrink: 0;
  font-size: 0.85rem;
  line-height: 1.3;
}

/* --- Result Screen --- */
.bulk-result-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  animation: bulkResultEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes bulkResultEntrance {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bulk-result-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.08);
  border: 2px solid rgba(52, 211, 153, 0.25);
  color: #34d399;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.12);
  animation: bulkIconPulse 2s ease-in-out infinite;
}

@keyframes bulkIconPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(52, 211, 153, 0.12); }
  50% { box-shadow: 0 0 45px rgba(52, 211, 153, 0.2); }
}

.bulk-result-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem 0;
}

.bulk-result-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.5);
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}

.bulk-result-meta-sep {
  color: rgba(148, 163, 184, 0.2);
}

.bulk-result-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   LIGHT MODE OVERRIDES
   ═══════════════════════════════════════════════════════ */

/* --- Navbar (tüm sayfalar) --- */
html:not(.dark) nav {
  background: var(--nav-bg) !important;
  border-bottom-color: var(--nav-border) !important;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}
html:not(.dark) nav a {
  color: var(--text-muted);
}
html:not(.dark) nav a:hover {
  color: var(--text-heading);
}
html:not(.dark) nav .font-tech.text-white,
html:not(.dark) nav .text-white {
  color: var(--text-heading) !important;
}
html:not(.dark) nav .text-brand-accent {
  color: var(--accent) !important;
}

/* --- Mobile Menu --- */
html:not(.dark) .mobile-menu {
  background: var(--mobile-menu-bg);
}
html:not(.dark) .mobile-menu a {
  color: var(--text-muted);
  border-bottom-color: var(--border-subtle);
}
html:not(.dark) .mobile-menu a:hover,
html:not(.dark) .mobile-menu a.active-mobile-link {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
}

/* --- Hamburger Lines --- */
html:not(.dark) .mobile-nav-toggle {
  border-color: var(--border-subtle);
}
html:not(.dark) .mobile-nav-toggle .hamburger-line {
  background: var(--text-heading);
}
html:not(.dark) .mobile-nav-toggle.open .hamburger-line {
  background: var(--accent);
}

/* --- Hero Section --- */
html:not(.dark) .hero-boot-line {
  color: var(--accent);
}
html:not(.dark) .hero-boot-cursor {
  background: var(--accent);
}
html:not(.dark) #hero h1 {
  color: var(--text-heading) !important;
}
html:not(.dark) #hero p {
  color: var(--text-muted) !important;
}
html:not(.dark) #hero a.bg-brand-accent {
  background: var(--accent) !important;
  box-shadow: 0 0 15px var(--accent-glow) !important;
}
html:not(.dark) #hero a.bg-brand-accent:hover {
  box-shadow: 0 0 25px var(--accent-glow) !important;
}
html:not(.dark) #hero a.bg-transparent {
  border-color: var(--border-subtle) !important;
  color: var(--text-muted) !important;
}
html:not(.dark) #hero a.bg-transparent:hover {
  color: var(--text-heading) !important;
  border-color: rgba(0,0,0,0.2) !important;
}

/* --- Scroll Hint --- */
html:not(.dark) .scroll-hint-mask {
  background: radial-gradient(ellipse at center, var(--scroll-mask) 10%, transparent 70%);
}
html:not(.dark) .scroll-hint-track {
  background: rgba(0, 0, 0, 0.1);
}
html:not(.dark) .scroll-hint-drop {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* --- Terminal & Skill Cards (Glassmorphism & Academic IDE) --- */
html:not(.dark) #terminal-container .backdrop-blur-sm,
html:not(.dark) #skills-container .backdrop-blur-sm {
  background: rgba(249, 250, 251, 0.95) !important;
  border-color: rgba(23, 37, 84, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #terminal-container .bg-white\/5,
html:not(.dark) #skills-container .bg-white\/5 {
  background: rgba(243, 244, 246, 0.8) !important;
  border-bottom-color: rgba(23, 37, 84, 0.1) !important;
}
html:not(.dark) #terminal-content,
html:not(.dark) #terminal-container .invisible,
html:not(.dark) #skills-container .text-slate-300 {
  color: #172554 !important;
  font-weight: 500 !important;
}
html:not(.dark) .text-brand-accent {
  color: #0f766e !important;
  font-weight: 600 !important;
}
html:not(.dark) .skill-item span {
  color: #0f766e !important;
  font-weight: 600 !important;
}
html:not(.dark) .skill-fill {
  background: #0f766e !important;
  box-shadow: 0 0 10px rgba(15, 118, 110, 0.3) !important;
}
html:not(.dark) .skill-item .bg-brand-accent\/10 {
  background: rgba(15, 118, 110, 0.1) !important;
  border-color: rgba(15, 118, 110, 0.2) !important;
}
html:not(.dark) .skill-item .bg-black\/60 {
  background: rgba(23, 37, 84, 0.05) !important;
  border-color: rgba(23, 37, 84, 0.1) !important;
}

/* --- Academic Dashboard Cards --- */
html:not(.dark) #scholar-card-1 > div,
html:not(.dark) #scholar-card-2 > div,
html:not(.dark) #scholar-card-3 > div {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  box-shadow: var(--shadow-card) !important;
  backdrop-filter: blur(16px) !important;
}
html:not(.dark) #academic-dashboard h3 {
  color: var(--accent) !important;
}
html:not(.dark) #academic-dashboard .text-brand-accent {
  color: var(--accent) !important;
}
html:not(.dark) #academic-dashboard .text-\[\#a0aec0\] {
  color: var(--text-muted) !important;
}
html:not(.dark) #academic-dashboard a.group {
  border-color: rgba(var(--accent-rgb), 0.3) !important;
  background: rgba(var(--accent-rgb), 0.08) !important;
  color: var(--accent) !important;
}
html:not(.dark) #academic-dashboard a.group:hover {
  background: rgba(var(--accent-rgb), 0.15) !important;
  border-color: rgba(var(--accent-rgb), 0.5) !important;
  box-shadow: 0 0 20px var(--accent-glow) !important;
}

/* --- Contact Section --- */
html:not(.dark) .contact-header h2 {
  color: var(--text-heading) !important;
}
html:not(.dark) .contact-hero-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  box-shadow: var(--shadow-card) !important;
}
html:not(.dark) .contact-hero-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 20px var(--accent-glow) !important;
}
html:not(.dark) .contact-label {
  color: var(--text-muted);
}
html:not(.dark) .contact-data {
  color: var(--accent);
}
html:not(.dark) .contact-hero-card .w-14 {
  background: rgba(var(--accent-rgb), 0.08) !important;
  border-color: rgba(var(--accent-rgb), 0.25) !important;
  color: var(--accent) !important;
}

/* --- Social Icons --- */
html:not(.dark) .social-icon-btn {
  border-color: var(--border-subtle);
  background: var(--bg-card-subtle);
  color: var(--text-muted);
}
html:not(.dark) .social-icon-btn:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.06);
  box-shadow: 0 0 18px var(--accent-glow);
}

/* --- Toast --- */
html:not(.dark) .copy-toast {
  background: var(--toast-bg);
  border-color: rgba(var(--accent-rgb), 0.25);
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* --- CV Terminal Link --- */
html:not(.dark) .cv-terminal-link {
  color: #0f766e !important;
  font-weight: 600;
}
html:not(.dark) .cv-terminal-link:hover {
  color: #0f766e !important;
  text-shadow: 0 0 10px rgba(15, 118, 110, 0.3) !important;
}
html:not(.dark) .cv-cursor {
  color: #0f766e !important;
}

/* --- YOLO Box (light mode) --- */
html:not(.dark) .yolo-label {
  background: var(--accent);
  color: #ffffff;
}

/* --- Notes Page --- */
html:not(.dark) .course-pill {
  background: var(--bg-card-subtle);
  border-color: var(--border-subtle);
  color: var(--text-muted);
}
html:not(.dark) .course-pill:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-heading);
}
html:not(.dark) .course-pill.active {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.35);
  color: var(--accent);
}
html:not(.dark) .archive-note-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
html:not(.dark) .archive-note-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 0 12px var(--accent-glow);
}
html:not(.dark) .card-action-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--border-subtle);
  color: var(--text-body);
}
html:not(.dark) .archive-note-card:hover .card-action-btn {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
}
html:not(.dark) .arch-empty-state {
  border-color: var(--border-subtle);
}

/* --- Test Page --- */
html:not(.dark) .test-mode-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
html:not(.dark) .test-mode-card:hover {
  background: rgba(var(--accent-rgb), 0.04);
  border-color: rgba(var(--accent-rgb), 0.3);
}
html:not(.dark) .test-filter-pill {
  background: var(--bg-card-subtle);
  border-color: var(--border-subtle);
  color: var(--text-muted);
}
html:not(.dark) .test-filter-pill:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-heading);
}
html:not(.dark) .test-filter-pill.active {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.35);
  color: var(--accent);
}
html:not(.dark) .test-question-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
html:not(.dark) .test-option-btn {
  background: var(--bg-card-subtle);
  border-color: var(--border-subtle);
  color: var(--text-body);
}
html:not(.dark) .test-option-btn:hover:not(.disabled) {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}
html:not(.dark) .test-option-btn.selected {
  background: rgba(var(--accent-rgb), 0.06);
  border-color: rgba(var(--accent-rgb), 0.35);
}
html:not(.dark) .test-option-label {
  border-color: var(--border-subtle);
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-muted);
}
html:not(.dark) .test-result-card,
html:not(.dark) .test-review-card {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
html:not(.dark) .test-feedback-box {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}
html:not(.dark) .test-checkbox-label {
  background: var(--bg-card-subtle);
  border-color: var(--border-subtle);
  color: var(--text-muted);
}
html:not(.dark) .test-start-btn,
html:not(.dark) .test-answer-btn,
html:not(.dark) .test-next-btn {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
html:not(.dark) .test-start-btn:hover,
html:not(.dark) .test-answer-btn:hover:not(:disabled),
html:not(.dark) .test-next-btn:hover {
  box-shadow: 0 0 20px var(--accent-glow);
}
html:not(.dark) .test-back-btn {
  color: var(--text-muted);
}
html:not(.dark) .test-back-btn:hover {
  color: var(--text-heading);
}
html:not(.dark) .test-resume-banner {
  background: rgba(var(--accent-rgb), 0.04);
  border-color: rgba(var(--accent-rgb), 0.15);
}
html:not(.dark) .test-resume-banner .resume-title {
  color: var(--accent);
}

/* --- Notes/Test Page Background Gradient Override --- */
html:not(.dark) .fixed.inset-0.pointer-events-none.opacity-20 {
  opacity: 0.08 !important;
}

/* --- Notes Content Area --- */
html:not(.dark) #notes-content-area {
  background: var(--bg-card) !important;
  border-color: var(--border-subtle) !important;
}
html:not(.dark) #active-course-title {
  color: var(--text-muted) !important;
}

/* --- Generic text overrides for light mode --- */
html:not(.dark) .text-white {
  color: var(--text-heading) !important;
}
html:not(.dark) .text-slate-300 {
  color: var(--text-body) !important;
}
html:not(.dark) .text-slate-400 {
  color: var(--text-muted) !important;
}
html:not(.dark) .text-slate-500 {
  color: var(--text-faint) !important;
}

/* --- Theme Toggle Button --- */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 0.5rem;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.06);
}
.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.theme-toggle-btn:hover svg {
  transform: rotate(25deg);
}

/* ═══════════════════════════════════════════════════════
   VIEW TRANSITIONS API - THEME WIPE
   ═══════════════════════════════════════════════════════ */
::view-transition-group(root) {
  animation: none; /* Varsayılan cross-fade'i kapat */
}
::view-transition-old(root) {
  /* Eski tema altta hareketsiz kalsın */
  animation: none;
  z-index: 1;
}
::view-transition-new(root) {
  /* Yeni tema üstte, JS tarafından animate edilecek */
  animation: none;
  z-index: 2;
}
/* Dark moddan Light moda geçerken z-indexleri değiştirelim ki 
   her zaman yeni tema eski temanın üstüne yayılsın */
.dark::view-transition-old(root) {
  z-index: 1;
}
.dark::view-transition-new(root) {
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════
   STICKY CREDITS BAR
   ═══════════════════════════════════════════════════════ */
.credits-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 5px 0;
  text-align: center;
  background: rgba(232, 235, 240, 0.75);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.35s ease, border-color 0.35s ease;
}
html.dark .credits-bar {
  background: rgba(13, 18, 32, 0.75);
  border-top-color: rgba(255, 255, 255, 0.04);
}
.credits-bar p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  font-family: 'Inter', sans-serif;
}
.credits-link {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}
.credits-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.credits-link:hover {
  color: var(--accent);
}
.credits-link:hover::after {
  width: 100%;
}

/* 📱 Mobile Credits Bar Smart Hide */
@media (max-width: 767px) {
  .credits-bar {
    position: absolute;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    padding-bottom: 15px;
  }
  html.dark .credits-bar {
    background: transparent;
    border-top-color: transparent;
  }
}

/* ═══════════════════════════════════════════════════════
   SLIDE INDICATOR DOTS
   ═══════════════════════════════════════════════════════ */
#slide-indicator {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.slide-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}

html:not(.dark) .slide-dot {
  background: rgba(23, 37, 84, 0.2);
}

.slide-dot.active-dot {
  background: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.2);
}

html:not(.dark) .slide-dot.active-dot {
  background: #0f766e !important;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15) !important;
}

.slide-dot:hover:not(.active-dot) {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.6);
}

html:not(.dark) .slide-dot:hover:not(.active-dot) {
  background: rgba(23, 37, 84, 0.5);
}

/* ═══════════════════════════════════════════════════════
   LIGHT MODE SPECIFIC OVERRIDES (Ders Notları & Menü)
   ═══════════════════════════════════════════════════════ */

/* --- 1. KART TASARIMI VE METİNLER --- */
html:not(.dark) .archive-note-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
html:not(.dark) .archive-note-card h3 {
    color: #172554 !important; /* Akademik Lacivert */
    font-weight: 600;
}
html:not(.dark) .archive-note-card p {
    color: #475569 !important; /* Koyu Gri */
}

/* --- 2. VURGU VE TEXT RENKLERİ --- */
html:not(.dark) .from-brand-accent {
    --tw-gradient-from: #0f766e !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
html:not(.dark) .to-blue-500 {
    --tw-gradient-to: #172554 !important;
}
html:not(.dark) .text-brand-accent {
    color: #0f766e !important;
}
html:not(.dark) .text-brand-accent\/50 {
    color: rgba(15, 118, 110, 0.6) !important;
}
html:not(.dark) .bg-brand-accent {
    background-color: #0f766e !important;
    box-shadow: 0 0 8px rgba(15, 118, 110, 0.4) !important;
}

/* --- 3. SOL MENÜ (PİLL) TASARIMI --- */
html:not(.dark) .course-pill {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
    color: #475569;
}
html:not(.dark) .course-pill:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #0f172a;
}
html:not(.dark) .course-pill.active {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(15, 118, 110, 0.2);
    color: #0f766e;
    font-weight: 600;
    text-shadow: none;
    box-shadow: inset 4px 0 0 #0f766e;
}

/* ═══════════════════════════════════════════════════════
   LIGHT MODE — İNTERAKTİF TEST SAYFASI OVERRIDE'LARI
   ═══════════════════════════════════════════════════════ */

/* --- 1. SAYFA BAŞLIKLARI (Screen Headers) --- */
html:not(.dark) .test-screen-header h1 {
    color: #172554 !important; /* Akademik Lacivert */
}
html:not(.dark) .test-mode-card h3 {
    color: #172554 !important;
}

/* --- 2. MOD KARTLARI (Haftalık / Karışık) --- */
html:not(.dark) .test-mode-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
html:not(.dark) .test-mode-card p {
    color: #475569 !important;
}
html:not(.dark) .test-mode-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 118, 110, 0.3);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.1);
}

/* --- 3. FİLTRE PİLL'LERİ (Hafta / Zorluk / Sayı) --- */
html:not(.dark) .test-filter-pill {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}
html:not(.dark) .test-filter-pill:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #0f172a;
}
html:not(.dark) .test-filter-pill.active {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(15, 118, 110, 0.25);
    color: #0f766e;
    box-shadow: inset 3px 0 0 #0f766e;
}

/* --- 4. CHECKBOX LABEL'LARI --- */
html:not(.dark) .test-checkbox-label {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}
html:not(.dark) .test-checkbox-label:hover {
    background: rgba(0, 0, 0, 0.06);
}
html:not(.dark) .test-checkbox-label input[type="checkbox"] {
    accent-color: #0f766e;
}

/* --- 5. SORU KARTI --- */
html:not(.dark) .test-question-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
html:not(.dark) #question-text {
    color: #1e293b !important; /* slate-800 — güçlü kontrast */
}

/* --- 6. ŞIK BUTONLARI --- */
html:not(.dark) .test-option-btn {
    background: rgba(241, 245, 249, 0.5);
    border-color: rgba(0, 0, 0, 0.08);
    color: #334155;
}
html:not(.dark) .test-option-btn:hover:not(.disabled) {
    background: rgba(241, 245, 249, 0.85);
    border-color: rgba(0, 0, 0, 0.15);
}
/* Seçili Şık — Notes solmenüsüyle tutarlı inset sol çizgi */
html:not(.dark) .test-option-btn.selected {
    background: rgba(15, 118, 110, 0.06);
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: inset 4px 0 0 #0f766e;
}

/* --- 7. ŞIK ETİKETLERİ (A, B, C...) --- */
html:not(.dark) .test-option-label {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: #172554; /* Akademik Lacivert */
}
html:not(.dark) .test-option-btn.selected .test-option-label {
    background: rgba(15, 118, 110, 0.12);
    border-color: rgba(15, 118, 110, 0.4);
    color: #0f766e;
    box-shadow: none;
}

/* --- 8. ŞIK METİNLERİ --- */
html:not(.dark) .test-option-text {
    color: #334155;
}

/* --- 9. AKSIYON BUTONLARI (Cevapla / Sonraki / Başlat / Tekrar) --- */
html:not(.dark) .test-answer-btn,
html:not(.dark) .test-next-btn,
html:not(.dark) .test-start-btn {
    background: #0f766e; /* Koyu Teal */
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}
html:not(.dark) .test-answer-btn:hover:not(:disabled),
html:not(.dark) .test-next-btn:hover,
html:not(.dark) .test-start-btn:hover {
    background: #115e59; /* Bir ton daha koyu */
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
    transform: translateY(-1px);
}
html:not(.dark) .test-answer-btn:disabled {
    background: rgba(15, 118, 110, 0.3);
    color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

/* Geri Dön Butonu */
html:not(.dark) .test-back-btn {
    color: #64748b;
}
html:not(.dark) .test-back-btn:hover {
    color: #0f172a;
}

/* --- 10. İLERLEME ÇUBUĞU (Progress Bar) --- */
html:not(.dark) .test-progress-track,
html:not(.dark) .w-full.h-1.bg-white\/5 {
    background: rgba(0, 0, 0, 0.08) !important;
}
/* Dolgu rengi .bg-brand-accent global override ile zaten #0f766e → ✅ */

/* İlerleme etiketi ve hafta etiketi */
html:not(.dark) #test-progress-label {
    color: #475569 !important;
}

/* --- 11. GERİ BİLDİRİM KUTUSU (Feedback Box) --- */
html:not(.dark) .test-feedback-box {
    background: rgba(241, 245, 249, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
html:not(.dark) .test-feedback-correct-answer {
    color: #334155;
}
html:not(.dark) .test-explanation {
    color: #475569;
    border-top-color: rgba(0, 0, 0, 0.1);
}
html:not(.dark) .test-explanation-title {
    color: #0f766e; /* Neon yerine Koyu Teal */
}

/* --- 12. SONUÇ KARTI ve İNCELEME KARTLARI --- */
html:not(.dark) .test-result-card,
html:not(.dark) .test-review-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
html:not(.dark) .test-review-card p {
    color: #334155 !important;
}
/* Sonuç kartı ayırıcı çizgileri */
html:not(.dark) #result-score-card .bg-white\/10 {
    background: rgba(0, 0, 0, 0.08) !important;
}
/* DOĞRU / YANLIŞ etiketleri */
html:not(.dark) #result-score-card .text-slate-500 {
    color: #64748b !important;
}
/* Başarı % rengi — .text-brand-accent global override ile #0f766e → ✅ */
/* Sonuç "Yanlış Yapılan Sorular" başlığı */
html:not(.dark) #result-review h3 {
    color: #64748b !important;
}

/* --- 13. DEVAM ET BANNER'I (Resume) --- */
html:not(.dark) .test-resume-banner {
    background: rgba(15, 118, 110, 0.05);
    border-color: rgba(15, 118, 110, 0.2);
}
html:not(.dark) .test-resume-banner .resume-title {
    color: #0f766e;
}
html:not(.dark) .test-resume-banner .resume-detail {
    color: #64748b;
}
html:not(.dark) .btn-resume-continue {
    background: #0f766e;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 118, 110, 0.2);
}
html:not(.dark) .btn-resume-continue:hover {
    background: #115e59;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}
html:not(.dark) .btn-resume-discard {
    background: rgba(0, 0, 0, 0.04);
    color: #64748b;
    border-color: rgba(0, 0, 0, 0.1) !important;
}
html:not(.dark) .btn-resume-discard:hover {
    background: rgba(248, 113, 113, 0.08);
    color: #dc2626;
    border-color: rgba(248, 113, 113, 0.3) !important;
}

/* --- 14. PERFORMANS MESAJI (.good neon cyan → Teal) --- */
html:not(.dark) .test-perf-message.good {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.06);
}
