/* ============================================================
   EğitimPlatform — Design System v2
   Modern · Responsive · SEO-Friendly
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  /* Brand Colors */
  --clr-primary:       #4F46E5;
  --clr-primary-dark:  #3730A3;
  --clr-primary-light: #EEF2FF;
  --clr-primary-mid:   #6366F1;
  --clr-secondary:     #7C3AED;
  --clr-accent:        #06B6D4;
  --clr-accent-dark:   #0891B2;

  /* Semantic */
  --clr-success:  #059669;
  --clr-warning:  #D97706;
  --clr-danger:   #DC2626;
  --clr-info:     #2563EB;

  /* Neutrals */
  --clr-text:       #0F172A;
  --clr-text-2:     #334155;
  --clr-muted:      #64748B;
  --clr-light:      #94A3B8;
  --clr-border:     #E2E8F0;
  --clr-border-2:   #CBD5E1;
  --clr-bg:         #F8FAFC;
  --clr-bg-2:       #F1F5F9;
  --clr-white:      #FFFFFF;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,.06);
  --shadow-sm: 0 1px 4px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,.10), 0 2px 4px rgba(15,23,42,.05);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.12), 0 4px 8px rgba(15,23,42,.06);
  --shadow-xl: 0 24px 48px rgba(15,23,42,.15), 0 8px 16px rgba(15,23,42,.08);
  --shadow-primary: 0 8px 24px rgba(79,70,229,.35);
  --shadow-card-hover: 0 20px 40px rgba(79,70,229,.12), 0 4px 8px rgba(79,70,229,.06);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #06B6D4 100%);
  --grad-primary-soft: linear-gradient(135deg, #EEF2FF 0%, #F3E8FF 100%);
  --grad-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 100%);

  /* Radius */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;

  /* Transitions */
  --t-fast: .15s ease;
  --t-base: .2s ease;
  --t-slow: .35s cubic-bezier(.4,0,.2,1);

  /* Sabit üst navbar — içerik kaydırılmaz */
  --site-header-height: 67px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Ana tema: üstte sabit navbar için boşluk */
body.site-layout {
  padding-top: var(--site-header-height);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--clr-primary); text-decoration: none; transition: color var(--t-base); }
a:hover { color: var(--clr-primary-dark); }
button, input, select, textarea { font-family: var(--font); }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--clr-text); }
ul, ol { list-style: none; }
::selection { background: var(--clr-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 3px; border-radius: var(--r-xs); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 900;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; gap: 8px; padding: 14px 20px; min-height: 66px; }
/* Sadece /panel* sayfalarında: navbar satırı tam genişlik */
.nav-inner.nav-inner--full {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  box-sizing: border-box;
}
.nav-logo {
  font-size: 20px; font-weight: 800; letter-spacing: -0.6px;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  flex-shrink: 0; margin-right: 12px;
}
.nav-logo:hover { opacity: .85; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  color: var(--clr-muted); font-size: 14px; font-weight: 500;
  padding: 7px 13px; border-radius: var(--r-full);
  transition: all var(--t-base);
}
.nav-link:hover { color: var(--clr-primary); background: var(--clr-primary-light); }
.nav-link.active { color: var(--clr-primary); background: var(--clr-primary-light); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  border-radius: var(--r-sm); margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--clr-text); border-radius: 2px;
  transition: all var(--t-slow);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* User Dropdown */
.nav-user-menu { position: relative; }
.nav-user-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--clr-bg); border: 1.5px solid var(--clr-border);
  border-radius: var(--r-full); padding: 6px 14px 6px 6px;
  cursor: pointer; font-size: 13px; font-weight: 500; color: var(--clr-text-2);
  transition: all var(--t-base);
}
.nav-user-btn:hover { border-color: var(--clr-primary); background: var(--clr-primary-light); }
.nav-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--clr-primary-light); }
.nav-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--clr-white); border: 1px solid var(--clr-border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-xl);
  min-width: 220px; padding: 8px;
  display: none; z-index: 999;
  animation: dropIn .2s ease;
}
.nav-dropdown.show { display: block; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.nav-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: var(--r-sm); color: var(--clr-text-2);
  font-size: 13px; font-weight: 500; transition: all var(--t-fast);
}
.nav-dropdown a:hover { background: var(--clr-bg); color: var(--clr-primary); }
.dropdown-divider { border: none; border-top: 1px solid var(--clr-border); margin: 6px 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 22px; border: none; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font);
  transition: all var(--t-base); white-space: nowrap; line-height: 1;
  text-decoration: none; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background var(--t-fast);
  border-radius: inherit;
}
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: scale(.97); }
.btn:hover { text-decoration: none; }

.btn-primary {
  background: linear-gradient(135deg, #4F46E5, #6366F1);
  color: #fff; box-shadow: 0 2px 8px rgba(79,70,229,.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #4338CA, #4F46E5);
  box-shadow: var(--shadow-primary); transform: translateY(-1px);
  color: #fff;
}
.btn-secondary {
  background: linear-gradient(135deg, #7C3AED, #9333EA);
  color: #fff; box-shadow: 0 2px 8px rgba(124,58,237,.3);
}
.btn-secondary:hover { background: linear-gradient(135deg, #6D28D9, #7C3AED); transform: translateY(-1px); color: #fff; }
.btn-outline {
  background: transparent; color: var(--clr-primary);
  border: 1.5px solid var(--clr-primary); box-shadow: none;
}
.btn-outline:hover { background: var(--clr-primary); color: #fff; box-shadow: var(--shadow-primary); transform: translateY(-1px); }
.btn-ghost { background: var(--clr-bg); color: var(--clr-text-2); border: 1.5px solid var(--clr-border); }
.btn-ghost:hover { background: var(--clr-bg-2); border-color: var(--clr-border-2); color: var(--clr-primary); }
.btn-success { background: linear-gradient(135deg, #059669, #10B981); color: #fff; box-shadow: 0 2px 8px rgba(5,150,105,.3); }
.btn-success:hover { background: linear-gradient(135deg, #047857, #059669); transform: translateY(-1px); color: #fff; }
.btn-danger { background: linear-gradient(135deg, #DC2626, #EF4444); color: #fff; box-shadow: 0 2px 8px rgba(220,38,38,.3); }
.btn-danger:hover { background: linear-gradient(135deg, #B91C1C, #DC2626); transform: translateY(-1px); color: #fff; }
.btn-danger-outline { background: transparent; color: var(--clr-danger); border: 1.5px solid var(--clr-danger); }
.btn-danger-outline:hover { background: var(--clr-danger); color: #fff; }
.btn-white { background: #fff; color: var(--clr-primary); font-weight: 700; box-shadow: var(--shadow-md); }
.btn-white:hover { background: var(--clr-primary-light); transform: translateY(-1px); color: var(--clr-primary); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--r-md); }
.btn-sm { padding: 7px 16px; font-size: 13px; border-radius: var(--r-sm); }
.btn-xs { padding: 5px 12px; font-size: 12px; border-radius: 6px; }

/* Small button aliases */
.btn-primary-sm { @extend .btn; background: linear-gradient(135deg, #4F46E5, #6366F1); color: #fff; padding: 7px 16px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; box-shadow: 0 2px 6px rgba(79,70,229,.25); transition: all var(--t-base); }
.btn-primary-sm:hover { background: linear-gradient(135deg, #4338CA, #4F46E5); transform: translateY(-1px); color: #fff; text-decoration: none; box-shadow: 0 4px 12px rgba(79,70,229,.35); }
.btn-outline-sm { background: #fff; color: var(--clr-primary); border: 1.5px solid var(--clr-border); padding: 7px 16px; border-radius: var(--r-sm); font-size: 13px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; transition: all var(--t-base); }
.btn-outline-sm:hover { border-color: var(--clr-primary); background: var(--clr-primary-light); text-decoration: none; color: var(--clr-primary); }
.btn-success-sm { background: linear-gradient(135deg, #059669, #10B981); color: #fff; padding: 6px 14px; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; border: none; cursor: pointer; transition: all var(--t-base); }
.btn-success-sm:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(5,150,105,.3); }
.btn-danger-sm { background: #FEE2E2; color: var(--clr-danger); padding: 6px 14px; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; border: none; cursor: pointer; transition: all var(--t-base); }
.btn-danger-sm:hover { background: var(--clr-danger); color: #fff; }

/* ============================================================
   FLASH / ALERTS
   ============================================================ */
.flash-container { padding: 10px 0; }
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-md);
  font-size: 14px; line-height: 1.5; margin-bottom: 16px;
  border: 1px solid transparent; animation: alertSlide .3s ease;
}
@keyframes alertSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.alert-success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert-error, .alert-danger { background: #FEF2F2; border-color: #FCA5A5; color: #7F1D1D; }
.alert-info { background: #EFF6FF; border-color: #BFDBFE; color: #1E3A5F; }
.alert-warning { background: #FFFBEB; border-color: #FDE68A; color: #78350F; }

/* ============================================================
   FORMS — Beautiful inputs
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--clr-text-2); margin-bottom: 7px; letter-spacing: .01em;
}
.form-group label .required { color: var(--clr-danger); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-sm);
  font-size: 14px; font-family: var(--font);
  color: var(--clr-text); background: var(--clr-white);
  transition: all var(--t-base);
  outline: none; appearance: none; -webkit-appearance: none;
  box-shadow: var(--shadow-xs);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--clr-light); }
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: var(--clr-border-2); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(79,70,229,.1);
  background: #fff;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.form-actions { display: flex; align-items: center; gap: 10px; padding-top: 8px; }
.hint { font-size: 12px; color: var(--clr-light); margin-top: 5px; }

/* Input with icon */
.input-icon-wrap { position: relative; }
.input-icon-wrap .input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--clr-light); pointer-events: none; }
.input-icon-wrap input { padding-left: 40px; }

/* Password toggle */
.input-password { position: relative; }
.input-password input { padding-right: 46px; }
.toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--clr-light); font-size: 18px; line-height: 1; padding: 4px; border-radius: var(--r-xs); transition: color var(--t-fast); }
.toggle-password:hover { color: var(--clr-primary); }

/* Checkbox / Radio */
.checkbox-item { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; padding: 4px 0; color: var(--clr-text-2); }
.checkbox-item input[type="checkbox"], .checkbox-item input[type="radio"] { width: 16px; height: 16px; accent-color: var(--clr-primary); cursor: pointer; }
.form-check-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 13px; }
.forgot-link { color: var(--clr-primary); font-size: 13px; font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }

/* Form card wrapper */
.form-card { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-lg); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--clr-border); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: calc(50% - 12px); }
.price-range span { color: var(--clr-light); font-weight: 600; }

/* ============================================================
   NAVBAR MENU MOBILE — masaüstünde gizli, 900px altında açılır
   ============================================================ */
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu-mobile { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: #0F0C29;
  background: linear-gradient(135deg, #0F0C29 0%, #302B63 40%, #24243E 70%, #1a1a3e 100%);
  padding: 90px 0 110px; color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,70,229,.45) 0%, transparent 70%);
}
.hero-wave {
  position: absolute; bottom: -2px; left: 0; right: 0; line-height: 0;
}
.hero-wave svg { width: 100%; height: auto; display: block; }
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-full); padding: 6px 16px; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.9); margin-bottom: 20px; backdrop-filter: blur(8px);
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 6px #34D399; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.hero-content h1 {
  font-size: clamp(36px, 6vw, 68px); font-weight: 800;
  line-height: 1.1; margin-bottom: 18px; letter-spacing: -1.5px;
  color: #fff;
}
.gradient-text {
  background: linear-gradient(135deg, #A5B4FC 0%, #67E8F9 50%, #6EE7B7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 18px; color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto 36px; line-height: 1.7; }

/* Hero Search */
.hero-search { max-width: 820px; margin: 0 auto 24px; }
.hero-search-box {
  display: flex; background: rgba(255,255,255,.97);
  border-radius: var(--r-xl); box-shadow: var(--shadow-xl);
  padding: 8px; gap: 8px; flex-wrap: wrap;
}
.hero-search-field {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: var(--clr-bg);
  border-radius: var(--r-md); flex: 1; min-width: 180px;
  border: 1.5px solid transparent; transition: border-color var(--t-base);
}
.hero-search-field:focus-within { border-color: var(--clr-primary); background: #fff; }
.hero-search-field svg { color: var(--clr-light); flex-shrink: 0; }
.hero-search-field input {
  border: none; background: transparent; font-size: 14px;
  font-family: var(--font); outline: none; width: 100%; color: var(--clr-text);
}
/* Şehir select — hero-search-field içinde (branş select'i override eder) */
.hero-search-field > select {
  border: none !important; background: transparent !important;
  padding: 0 !important; padding-right: 18px !important;
  font-size: 14px; font-family: var(--font); outline: none;
  flex: 1; width: 100%; min-width: 0; color: #1e293b; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 2px center !important;
  appearance: none; -webkit-appearance: none;
}
.hero-search-field > select option { color: #1e293b; background: #fff; }
.hero-search-box select {
  padding: 10px 36px 10px 14px; border: 1.5px solid transparent;
  background: var(--clr-bg); border-radius: var(--r-md); font-size: 14px;
  font-family: var(--font); color: var(--clr-text-2); outline: none;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color var(--t-base); cursor: pointer;
}
.hero-search-box select:focus { border-color: var(--clr-primary); background-color: #fff; }
.hero-search-box .btn { flex-shrink: 0; padding: 11px 24px; border-radius: var(--r-md); font-size: 15px; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-tags span { font-size: 13px; color: rgba(255,255,255,.6); }
.hero-tag {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.85);
  padding: 5px 14px; border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.2); font-size: 13px;
  transition: all var(--t-base); backdrop-filter: blur(4px);
}
.hero-tag:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-2px); text-decoration: none; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--clr-white); border-bottom: 1px solid var(--clr-border); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center; padding: 28px 20px;
  border-right: 1px solid var(--clr-border); position: relative;
  transition: background var(--t-base);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--clr-bg); }
.stat-number {
  display: block; font-size: 40px; font-weight: 800;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.1; margin-bottom: 4px; letter-spacing: -1px;
}
.stat-label { font-size: 13px; color: var(--clr-muted); font-weight: 500; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.bg-gray { background: var(--clr-bg); }
.bg-dark { background: #0F172A; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.section-header p { color: var(--clr-muted); font-size: 17px; max-width: 520px; margin: 0 auto 20px; line-height: 1.7; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--clr-primary-light); color: var(--clr-primary);
  padding: 5px 14px; border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px;
}

/* ============================================================
   BRANCHES GRID
   ============================================================ */
.branches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.branch-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 22px 16px; background: var(--clr-white);
  border-radius: var(--r-lg); border: 1.5px solid var(--clr-border);
  text-align: center; transition: all var(--t-slow); text-decoration: none; color: var(--clr-text);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.branch-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--branch-color, var(--clr-primary)); opacity: 0; transition: opacity var(--t-base);
}
.branch-card:hover {
  border-color: var(--branch-color, var(--clr-primary));
  box-shadow: var(--shadow-card-hover); transform: translateY(-5px);
  background: color-mix(in srgb, var(--branch-color, #4F46E5) 6%, white);
  text-decoration: none;
}
.branch-card:hover::before { opacity: 1; }
.branch-icon { font-size: 32px; margin-bottom: 10px; transition: transform var(--t-base); }
.branch-card:hover .branch-icon { transform: scale(1.15); }
.branch-name { font-size: 13px; font-weight: 700; color: var(--clr-text); margin-bottom: 4px; }
.branch-count { font-size: 11px; color: var(--clr-light); font-weight: 500; }

/* ============================================================
   TEACHER CARDS (Grid)
   ============================================================ */
.teachers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); gap: 22px; }
.teacher-card {
  background: var(--clr-white); border-radius: var(--r-xl);
  border: 1px solid var(--clr-border); overflow: hidden;
  transition: all var(--t-slow); position: relative;
  box-shadow: var(--shadow-sm);
}
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(79,70,229,.2); }
.verified-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: linear-gradient(135deg, #059669, #10B981); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-full);
  display: flex; align-items: center; gap: 4px; box-shadow: 0 2px 6px rgba(5,150,105,.3);
}
.teacher-card-top {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 20px 18px; text-align: center; text-decoration: none; color: var(--clr-text);
  background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-white) 100%);
}
.teacher-card-top:hover { text-decoration: none; }
.teacher-avatar {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--clr-white); box-shadow: 0 0 0 3px var(--clr-primary-light);
  margin-bottom: 14px; transition: transform var(--t-base);
}
.teacher-card:hover .teacher-avatar { transform: scale(1.05); }
.teacher-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--clr-text); }
.teacher-branch { font-size: 13px; color: var(--clr-muted); margin-bottom: 10px; line-height: 1.4; }
.teacher-rating { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--clr-text-2); }
.teacher-card-footer {
  padding: 14px 18px 18px; border-top: 1px solid var(--clr-border); background: var(--clr-white);
}
.teacher-meta { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--clr-muted); margin-bottom: 12px; }
.teacher-price-row { display: flex; align-items: center; justify-content: space-between; }
.teacher-price small { display: block; font-size: 11px; color: var(--clr-light); margin-bottom: 1px; }
.teacher-price strong { font-size: 20px; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   STARS
   ============================================================ */
.stars { display: inline-flex; gap: 1px; }
.star.full { color: #F59E0B; }
.star.half { color: #F59E0B; opacity: .7; }
.star.empty { color: #D1D5DB; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 44px; left: calc(16.66% + 20px); right: calc(16.66% + 20px);
  height: 2px; background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  opacity: .2; pointer-events: none;
}
.step-card {
  text-align: center; padding: 32px 24px;
  background: var(--clr-white); border-radius: var(--r-xl);
  border: 1px solid var(--clr-border); position: relative;
  box-shadow: var(--shadow-sm); transition: all var(--t-slow);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(79,70,229,.2); }
.step-num-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-primary); color: #fff; font-size: 15px; font-weight: 800;
  margin: 0 auto 16px; box-shadow: 0 4px 12px rgba(79,70,229,.35);
}
.step-icon { font-size: 44px; margin-bottom: 16px; }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--clr-muted); font-size: 14px; line-height: 1.7; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { position: relative; overflow: hidden; padding: 90px 0; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: var(--grad-primary); }
.cta-section::after { content: ''; position: absolute; top: -50%; right: -10%; width: 60%; height: 200%; background: rgba(255,255,255,.03); border-radius: 50%; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-text { color: #fff; }
.cta-text h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.5px; }
.cta-text p { opacity: .85; font-size: 17px; margin-bottom: 22px; line-height: 1.7; }
.cta-benefits { margin-bottom: 30px; }
.cta-benefits li { padding: 7px 0; font-size: 15px; display: flex; align-items: center; gap: 8px; opacity: .9; }
.cta-image { display: flex; justify-content: center; }
.cta-card-preview {
  background: rgba(255,255,255,.12); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-xl); padding: 24px; display: flex; gap: 16px;
  box-shadow: var(--shadow-xl); max-width: 280px; color: #fff;
}
.preview-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(255,255,255,.1)); flex-shrink: 0; border: 2px solid rgba(255,255,255,.3); }
.preview-lines { flex: 1; }
.preview-line { height: 10px; background: rgba(255,255,255,.2); border-radius: var(--r-full); margin-bottom: 8px; }
.preview-line.w80 { width: 80%; }
.preview-line.w60 { width: 60%; }
.preview-stars { color: #FCD34D; font-size: 18px; margin: 10px 0 6px; letter-spacing: 2px; }
.preview-price { font-size: 22px; font-weight: 800; }

/* ============================================================
   REVIEWS GRID
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.review-card {
  background: var(--clr-white); border-radius: var(--r-xl);
  border: 1px solid var(--clr-border); padding: 24px;
  box-shadow: var(--shadow-sm); transition: all var(--t-slow);
  position: relative;
}
.review-card::before { content: '"'; position: absolute; top: 16px; right: 20px; font-size: 60px; line-height: 1; color: var(--clr-border); font-family: Georgia, serif; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.review-stars { font-size: 18px; margin-bottom: 12px; display: flex; gap: 2px; }
.review-text { color: var(--clr-muted); font-size: 14px; line-height: 1.75; margin-bottom: 16px; font-style: italic; position: relative; z-index: 1; }
.review-footer { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--clr-border); }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-footer strong { display: block; font-size: 14px; color: var(--clr-text); }
.review-footer small { font-size: 12px; color: var(--clr-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0B1120; color: #8892A4; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo {
  font-size: 22px; font-weight: 800; display: block; margin-bottom: 14px;
  background: linear-gradient(135deg, #A5B4FC, #67E8F9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 18px; color: #8892A4; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.06); color: #8892A4; font-size: 16px;
  transition: all var(--t-base); border: 1px solid rgba(255,255,255,.08);
}
.footer-social a:hover { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); transform: translateY(-2px); }
.footer-col h4 { color: #E2E8F0; font-size: 13px; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .08em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #8892A4; font-size: 14px; transition: all var(--t-base); }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0; margin-top: 56px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.footer-bottom p { color: #64748B; }
.footer-bottom a { color: #8892A4; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--clr-bg) 0%, #EEF2FF 100%);
  border-bottom: 1px solid var(--clr-border); padding: 52px 0 44px;
  position: relative; overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(79,70,229,.08) 0%, transparent 70%); border-radius: 50%; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.page-hero p { color: var(--clr-muted); font-size: 16px; }

/* ============================================================
   LISTING LAYOUT
   ============================================================ */
.listing-layout { display: grid; grid-template-columns: 272px 1fr; gap: 28px; align-items: start; }
.filter-sidebar { position: sticky; top: 80px; }
.filter-card {
  background: var(--clr-white); border: 1px solid var(--clr-border);
  border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-sm);
}
.filter-title { font-size: 15px; font-weight: 700; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--clr-border); display: flex; align-items: center; gap: 8px; }
.filter-group { margin-bottom: 20px; }
.filter-group label { display: block; font-size: 12px; font-weight: 700; color: var(--clr-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.filter-group select, .filter-group input { width: 100%; padding: 9px 12px; border: 1.5px solid var(--clr-border); border-radius: var(--r-sm); font-size: 13px; font-family: var(--font); outline: none; transition: border-color var(--t-base); background: var(--clr-bg); }
.filter-group select:focus, .filter-group input:focus { border-color: var(--clr-primary); background: #fff; box-shadow: 0 0 0 3px rgba(79,70,229,.08); }
.checkbox-list { display: flex; flex-direction: column; gap: 6px; }
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.results-count { font-size: 14px; color: var(--clr-muted); }
.results-count strong { color: var(--clr-text); font-weight: 700; }
.results-sort select { padding: 8px 32px 8px 12px; border: 1.5px solid var(--clr-border); border-radius: var(--r-sm); font-size: 13px; font-family: var(--font); background: var(--clr-white); outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }

/* Teacher List Card */
.teachers-list { display: flex; flex-direction: column; gap: 14px; }
.teacher-list-card {
  background: var(--clr-white); border: 1.5px solid var(--clr-border);
  border-radius: var(--r-xl); padding: 18px 20px;
  display: flex; align-items: center; gap: 18px;
  transition: all var(--t-slow); box-shadow: var(--shadow-sm);
}
.teacher-list-card:hover { border-color: rgba(79,70,229,.3); box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.teacher-list-avatar { position: relative; flex-shrink: 0; }
.teacher-list-avatar img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 3px var(--clr-primary-light); }
.mini-badge { position: absolute; bottom: 0; right: 0; background: linear-gradient(135deg, #059669, #10B981); color: #fff; font-size: 10px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; border: 2px solid #fff; box-shadow: 0 2px 4px rgba(5,150,105,.3); }
.teacher-list-info { flex: 1; min-width: 0; }
.teacher-list-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.teacher-list-info h3 { font-size: 16px; font-weight: 700; }
.teacher-list-info h3 a { color: var(--clr-text); transition: color var(--t-fast); }
.teacher-list-info h3 a:hover { color: var(--clr-primary); text-decoration: none; }
.teacher-subjects-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.subject-tag {
  background: var(--clr-primary-light); color: var(--clr-primary);
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: var(--r-full);
  white-space: nowrap;
}
.teacher-list-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--clr-muted); margin-top: 6px; }
.meta-sep { color: var(--clr-border-2); font-size: 10px; }
.teacher-list-price { flex-shrink: 0; text-align: right; }
.price-tag { font-size: 18px; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.teacher-list-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 64px 20px; }
.empty-icon { font-size: 60px; margin-bottom: 16px; display: block; opacity: .7; }
.empty-state h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--clr-muted); margin-bottom: 22px; font-size: 15px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 8px;
  border: 1.5px solid var(--clr-border); border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--clr-text-2);
  transition: all var(--t-base); background: var(--clr-white);
}
.page-link:hover { border-color: var(--clr-primary); color: var(--clr-primary); background: var(--clr-primary-light); text-decoration: none; }
.page-link.active { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(79,70,229,.35); }

/* ============================================================
   TEACHER PROFILE PAGE
   ============================================================ */
.profile-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.profile-main { display: flex; flex-direction: column; gap: 22px; }
.profile-section {
  background: var(--clr-white); border: 1px solid var(--clr-border);
  border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-sm);
}
.profile-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.profile-header-card { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-sm); }
.profile-header-top { display: flex; gap: 24px; margin-bottom: 20px; }
.profile-big-avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 4px var(--clr-primary-light), var(--shadow-md); flex-shrink: 0; }
.profile-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.profile-name-row h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.verified-chip { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: #065F46; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--r-full); border: 1px solid #A7F3D0; display: flex; align-items: center; gap: 4px; }
.profile-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.rating-num { font-size: 20px; font-weight: 800; color: var(--clr-text); }
.rating-cnt { font-size: 13px; color: var(--clr-muted); }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.profile-badge { background: var(--clr-bg); border: 1px solid var(--clr-border); padding: 5px 14px; border-radius: var(--r-full); font-size: 12px; color: var(--clr-muted); font-weight: 500; }
.profile-subjects { display: flex; flex-wrap: wrap; gap: 6px; }
.subject-chip { padding: 5px 14px; border-radius: var(--r-full); font-size: 12px; font-weight: 700; border: 1.5px solid; transition: all var(--t-base); }
.subject-chip:hover { opacity: .8; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--clr-border); padding-top: 18px; }
.profile-bio { font-size: 15px; color: var(--clr-muted); line-height: 1.8; }
.subjects-table { display: flex; flex-direction: column; gap: 12px; }
.subject-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--clr-bg); border-radius: var(--r-lg); border: 1px solid var(--clr-border); transition: all var(--t-base); }
.subject-row:hover { border-color: rgba(79,70,229,.2); background: var(--clr-primary-light); }
.subject-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; display: block; }
.subject-level { font-size: 12px; color: var(--clr-muted); display: block; }
.subject-desc { font-size: 13px; color: var(--clr-muted); margin-top: 4px; }
.subject-pricing { text-align: right; flex-shrink: 0; }
.subject-price { font-size: 22px; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.subject-duration { font-size: 12px; color: var(--clr-light); }
.listings-list { display: flex; flex-direction: column; gap: 14px; }
.listing-card { border: 1.5px solid var(--clr-border); border-radius: var(--r-lg); padding: 18px; transition: all var(--t-base); }
.listing-card:hover { border-color: rgba(79,70,229,.25); box-shadow: var(--shadow-md); }
.listing-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 12px; }
.listing-header h3 { font-size: 16px; font-weight: 700; }
.listing-price { font-size: 17px; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; flex-shrink: 0; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.listing-desc { font-size: 14px; color: var(--clr-muted); line-height: 1.7; }
.reviews-list { display: flex; flex-direction: column; gap: 18px; }
.review-item { padding-bottom: 18px; border-bottom: 1px solid var(--clr-border); }
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-avatar-sm { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.review-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-date { font-size: 12px; color: var(--clr-light); }
.review-comment { font-size: 14px; color: var(--clr-muted); line-height: 1.75; }

/* Booking sidebar */
.profile-sidebar { }
.sticky-card {
  position: sticky; top: 80px;
  display: flex; flex-direction: column; gap: 16px;
}
/* Fiyat kartı + rezervasyon kartları arasındaki eski margin'ı sıfırla */
.sticky-card .booking-price-card { margin-bottom: 0; }
.sticky-card .profile-phone-card { margin-top: 0 !important; }
.booking-card { background: var(--clr-white); border: 1.5px solid var(--clr-border); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-md); }
.booking-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.booking-message { text-align: center; padding: 16px; color: var(--clr-muted); font-size: 14px; line-height: 1.7; }
.sidebar-card { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-lg); padding: 16px; margin-top: 14px; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page { min-height: 100vh; background: linear-gradient(135deg, #EEF2FF 0%, #F3E8FF 50%, #E0F2FE 100%); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card {
  background: var(--clr-white); border: 1px solid var(--clr-border);
  border-radius: var(--r-xl); padding: 40px; width: 100%; max-width: 440px;
  box-shadow: var(--shadow-xl);
}
.auth-card-wide { max-width: 700px; }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-logo { display: inline-block; margin-bottom: 20px; }
.auth-logo-text { font-size: 24px; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.auth-header h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.5px; }
.auth-header p { color: var(--clr-muted); font-size: 15px; }
.auth-divider { text-align: center; margin: 20px 0; position: relative; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--clr-border); }
.auth-divider span { position: relative; background: var(--clr-white); padding: 0 14px; font-size: 12px; color: var(--clr-light); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.auth-footer { text-align: center; font-size: 14px; color: var(--clr-muted); margin-top: 22px; }
.auth-footer a { font-weight: 600; color: var(--clr-primary); }
.auth-footer a:hover { text-decoration: underline; }

/* Role Selector */
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.role-option {
  border: 2px solid var(--clr-border); border-radius: var(--r-lg); padding: 18px 14px;
  cursor: pointer; transition: all var(--t-slow); display: flex; flex-direction: column;
  align-items: center; gap: 6px; text-align: center; background: var(--clr-bg);
}
.role-option:hover { border-color: var(--clr-primary); background: var(--clr-primary-light); transform: translateY(-2px); }
.role-option.active { border-color: var(--clr-primary); background: var(--clr-primary-light); box-shadow: 0 0 0 4px rgba(79,70,229,.1); }
.role-icon { font-size: 34px; margin-bottom: 2px; }
.role-title { font-size: 14px; font-weight: 700; color: var(--clr-text); }
.role-desc { font-size: 12px; color: var(--clr-muted); }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 66px); }
.dashboard-sidebar {
  background: var(--clr-white); border-right: 1px solid var(--clr-border);
  padding: 0; position: sticky; top: 66px; height: calc(100vh - 66px);
  overflow-y: auto; flex-shrink: 0;
}
.sidebar-user { display: flex; align-items: center; gap: 12px; padding: 20px 18px; border-bottom: 1px solid var(--clr-border); }
.sidebar-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--clr-primary-light); }
.sidebar-user strong { display: block; font-size: 14px; font-weight: 700; }
.sidebar-role { font-size: 12px; color: var(--clr-light); background: var(--clr-bg); padding: 2px 8px; border-radius: var(--r-full); font-weight: 500; display: inline-block; margin-top: 2px; }
.sidebar-nav { padding: 12px 10px; }
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 13px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--clr-muted); font-weight: 500;
  transition: all var(--t-base); margin-bottom: 2px; white-space: nowrap;
}
.sidebar-link:hover, .sidebar-link.active { color: var(--clr-primary); background: var(--clr-primary-light); font-weight: 600; text-decoration: none; }
.sidebar-link.text-danger { color: var(--clr-danger) !important; }
.sidebar-link.text-danger:hover { background: #FEE2E2; color: var(--clr-danger) !important; }
.sidebar-divider { border: none; border-top: 1px solid var(--clr-border); margin: 10px 4px; }
.dashboard-content { padding: 28px; background: var(--clr-bg); min-height: 100%; }
.dashboard-header { margin-bottom: 28px; }
.dashboard-header h1 { font-size: 26px; font-weight: 800; margin-bottom: 5px; letter-spacing: -0.5px; }
.dashboard-header p { color: var(--clr-muted); font-size: 14px; }
.dashboard-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.dashboard-header-text h1 { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.dashboard-section { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-xl); padding: 22px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.section-head h2 { font-size: 16px; font-weight: 700; }

/* Stats Cards */
.stats-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--clr-white); border: 1px solid var(--clr-border);
  border-radius: var(--r-xl); padding: 20px 22px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-sm); transition: all var(--t-slow);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-icon { font-size: 28px; width: 52px; height: 52px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-blue .stat-icon { background: #EEF2FF; }
.stat-yellow .stat-icon { background: #FEF3C7; }
.stat-green .stat-icon { background: #D1FAE5; }
.stat-purple .stat-icon { background: #F3E8FF; }
.stat-pink .stat-icon { background: #FCE7F3; }
.stat-value { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--clr-muted); margin-top: 3px; font-weight: 500; }

/* Quick Links */
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-link-card {
  background: var(--clr-white); border: 1.5px solid var(--clr-border);
  border-radius: var(--r-xl); padding: 22px 16px; text-align: center;
  transition: all var(--t-slow); text-decoration: none; color: var(--clr-text);
  box-shadow: var(--shadow-sm);
}
.quick-link-card:hover { border-color: var(--clr-primary); background: var(--clr-primary-light); transform: translateY(-4px); box-shadow: var(--shadow-card-hover); text-decoration: none; }
.ql-icon { display: block; font-size: 30px; margin-bottom: 10px; }
.quick-link-card span:last-child { font-size: 13px; font-weight: 600; color: var(--clr-text-2); }

/* Status */
.status-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.status-tab { padding: 7px 16px; border-radius: var(--r-full); font-size: 13px; font-weight: 500; color: var(--clr-muted); border: 1.5px solid var(--clr-border); background: var(--clr-white); transition: all var(--t-base); }
.status-tab.active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(79,70,229,.3); }
.status-tab:hover:not(.active) { border-color: var(--clr-primary); color: var(--clr-primary); text-decoration: none; }
.status-badge { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-full); display: inline-flex; align-items: center; gap: 4px; }
.status-active { background: #D1FAE5; color: #065F46; }
.status-pending { background: #FEF3C7; color: #92400E; }
.status-inactive { background: #F1F5F9; color: #64748B; }
.status-accepted { background: #D1FAE5; color: #065F46; }
.status-rejected { background: #FEE2E2; color: #991B1B; }
.status-completed { background: #DBEAFE; color: #1E40AF; }
.status-cancelled { background: #F1F5F9; color: #64748B; }

/* Data Table */
.table-responsive { overflow-x: auto; border-radius: var(--r-md); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { background: var(--clr-bg); font-size: 11px; font-weight: 700; color: var(--clr-muted); text-transform: uppercase; letter-spacing: .06em; padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--clr-border); white-space: nowrap; }
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--clr-border); vertical-align: middle; }
.data-table tbody tr { transition: background var(--t-fast); }
.data-table tbody tr:hover td { background: var(--clr-bg); }
.data-table tbody tr:last-child td { border-bottom: none; }
.table-user { display: flex; align-items: center; gap: 10px; }
.table-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* Booking Cards */
.booking-cards { display: flex; flex-direction: column; gap: 14px; }
.booking-card-item { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-xl); padding: 18px; box-shadow: var(--shadow-sm); transition: box-shadow var(--t-base); }
.booking-card-item:hover { box-shadow: var(--shadow-md); }
.booking-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.booking-card-details { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--clr-muted); margin-bottom: 14px; padding: 12px; background: var(--clr-bg); border-radius: var(--r-sm); }
.booking-card-details div strong { color: var(--clr-text-2); }
.booking-card-actions { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--clr-border); padding-top: 14px; }

/* Listings Manage */
.listings-manage { display: flex; flex-direction: column; gap: 14px; }
.listing-manage-card { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-xl); padding: 18px 20px; display: flex; align-items: center; gap: 20px; box-shadow: var(--shadow-sm); transition: all var(--t-base); }
.listing-manage-card:hover { border-color: rgba(79,70,229,.2); box-shadow: var(--shadow-md); }
.listing-manage-info { flex: 1; min-width: 0; }
.listing-manage-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.listing-manage-title-row h3 { font-size: 15px; font-weight: 700; }
.listing-manage-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.listing-manage-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Subjects Manage */
.subjects-manage-list { display: flex; flex-direction: column; gap: 10px; }
.subject-manage-card { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-lg); padding: 14px 18px; display: flex; align-items: center; gap: 16px; transition: all var(--t-base); }
.subject-manage-card:hover { border-color: rgba(79,70,229,.2); box-shadow: var(--shadow-sm); }
.subject-manage-info { flex: 1; }
.subject-manage-price { text-align: right; flex-shrink: 0; }

/* Avatar Upload */
.avatar-upload { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.avatar-preview { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--clr-primary-light), var(--shadow-sm); }
.avatar-upload-btn { background: var(--clr-bg); border: 1.5px dashed var(--clr-border-2); padding: 9px 18px; border-radius: var(--r-sm); font-size: 13px; cursor: pointer; color: var(--clr-muted); transition: all var(--t-base); font-weight: 500; }
.avatar-upload-btn:hover { border-color: var(--clr-primary); color: var(--clr-primary); background: var(--clr-primary-light); }

/* Notifications */
.notifications-list { display: flex; flex-direction: column; gap: 8px; }
.notification-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-md); background: var(--clr-bg); border: 1px solid var(--clr-border); }
.notification-item.unread { background: var(--clr-primary-light); border-color: rgba(79,70,229,.2); }
.notif-text strong { display: block; font-size: 14px; margin-bottom: 2px; }
.notif-text p { font-size: 13px; color: var(--clr-muted); }
.notif-time { font-size: 11px; color: var(--clr-light); flex-shrink: 0; margin-left: 12px; white-space: nowrap; }

/* ============================================================
   MESSAGES
   ============================================================ */
.conversations-list { display: flex; flex-direction: column; gap: 6px; }
.conversation-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-xl); background: var(--clr-white); border: 1.5px solid var(--clr-border); transition: all var(--t-base); }
.conversation-item:hover { border-color: rgba(79,70,229,.25); box-shadow: var(--shadow-md); transform: translateX(4px); text-decoration: none; }
.conversation-item.unread { background: var(--clr-primary-light); border-color: rgba(79,70,229,.2); }
.conv-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.conv-info { flex: 1; min-width: 0; }
.conv-name { font-weight: 700; font-size: 15px; color: var(--clr-text); }
.conv-preview { font-size: 13px; color: var(--clr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.conv-time { font-size: 11px; color: var(--clr-light); }
.unread-count { background: var(--grad-primary); color: #fff; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: var(--r-full); display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.chat-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--clr-border); }
.chat-with { display: flex; align-items: center; gap: 12px; }
.chat-messages { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--r-xl); padding: 20px; min-height: 320px; max-height: 520px; overflow-y: auto; margin-bottom: 16px; display: flex; flex-direction: column; gap: 14px; }
.chat-message { display: flex; gap: 10px; align-items: flex-end; }
.chat-message.sent { flex-direction: row-reverse; }
.chat-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-bubble { border-radius: 16px; padding: 11px 16px; max-width: 62%; font-size: 14px; line-height: 1.6; }
.chat-message.received .chat-bubble { background: var(--clr-white); border: 1px solid var(--clr-border); border-bottom-left-radius: 4px; }
.chat-message.sent .chat-bubble { background: var(--grad-primary); color: #fff; border-bottom-right-radius: 4px; box-shadow: 0 4px 12px rgba(79,70,229,.3); }
.chat-time { font-size: 11px; opacity: .6; display: block; margin-top: 4px; }
.chat-form { display: flex; gap: 10px; }
.chat-form textarea { flex: 1; padding: 12px 16px; border: 1.5px solid var(--clr-border); border-radius: var(--r-lg); font-size: 14px; font-family: var(--font); resize: none; outline: none; background: var(--clr-white); transition: border-color var(--t-base); }
.chat-form textarea:focus { border-color: var(--clr-primary); box-shadow: 0 0 0 4px rgba(79,70,229,.08); }

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.6); backdrop-filter: blur(4px); }
.modal-card { position: relative; background: var(--clr-white); border-radius: var(--r-xl); padding: 32px; width: 100%; max-width: 500px; z-index: 1; box-shadow: var(--shadow-xl); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-rating input { display: none; }
.star-rating label { font-size: 38px; color: #D1D5DB; cursor: pointer; transition: color var(--t-fast); }
.star-rating label:hover, .star-rating label:hover ~ label, .star-rating input:checked ~ label { color: #F59E0B; }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-body { background: var(--clr-bg); }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: #0B1120; color: #8892A4; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.admin-brand { padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
.admin-brand a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.admin-brand-icon { font-size: 22px; }
.admin-brand-text { font-size: 16px; font-weight: 800; background: linear-gradient(135deg, #A5B4FC, #67E8F9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.admin-nav { padding: 14px 10px; flex: 1; }
.admin-nav-group { margin-bottom: 22px; }
.nav-group-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #3D4A5C; padding: 0 10px; display: block; margin-bottom: 6px; }
.admin-nav-link { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: var(--r-sm); font-size: 13px; color: #8892A4; transition: all var(--t-base); margin-bottom: 2px; font-weight: 500; }
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(79,70,229,.15); color: #A5B4FC; text-decoration: none; }
.admin-nav-link.active { color: #A5B4FC; font-weight: 700; }
.nav-badge { background: var(--clr-danger); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-full); margin-left: auto; }
.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar { background: var(--clr-white); border-bottom: 1px solid var(--clr-border); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--clr-primary-light); }
.admin-user { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.sidebar-toggle { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--clr-muted); padding: 6px; border-radius: var(--r-sm); transition: all var(--t-fast); }
.sidebar-toggle:hover { background: var(--clr-bg); color: var(--clr-primary); }
.admin-content { padding: 24px; flex: 1; }
.page-title { margin-bottom: 24px; }
.page-title h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.page-title span { font-size: 13px; color: var(--clr-muted); }
.page-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.page-title-row h1 { font-size: 24px; font-weight: 800; }
.admin-card { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-xl); padding: 22px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.admin-card-head h3 { font-size: 16px; font-weight: 700; }
.admin-card-filters { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--clr-border); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-bar input, .filter-bar select { padding: 9px 13px; border: 1.5px solid var(--clr-border); border-radius: var(--r-sm); font-size: 13px; font-family: var(--font); outline: none; background: var(--clr-bg); transition: border-color var(--t-base); }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--clr-primary); background: #fff; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 16px; margin-bottom: 26px; }
.admin-stat-card { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-xl); padding: 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm); transition: all var(--t-slow); }
.admin-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ast-icon { width: 46px; height: 46px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.ast-num { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }
.ast-label { font-size: 12px; color: var(--clr-muted); margin-top: 2px; font-weight: 500; }
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-full); }
.role-teacher { background: #DBEAFE; color: #1E40AF; }
.role-student { background: #D1FAE5; color: #065F46; }
.role-admin { background: #F3E8FF; color: #6B21A8; }
.count-badge { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--r-full); font-size: 14px; font-weight: 600; padding: 3px 12px; color: var(--clr-muted); margin-left: 8px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.text-danger { color: var(--clr-danger) !important; }
.text-muted { color: var(--clr-muted) !important; }

/* Static pages */
.static-page-content { font-size: 16px; line-height: 1.85; color: var(--clr-muted); }
.static-page-content h2 { color: var(--clr-text); font-size: 24px; margin: 36px 0 14px; }
.static-page-content h3 { color: var(--clr-text); font-size: 18px; margin: 24px 0 10px; }
.static-page-content p { margin-bottom: 18px; }
.static-page-content ul { margin: 0 0 18px 20px; list-style: disc; }
.static-page-content li { margin-bottom: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar .sticky-card { position: static; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-image { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .admin-two-col, .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu-mobile {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--clr-white); border-bottom: 1px solid var(--clr-border);
    padding: 12px; box-shadow: var(--shadow-lg); z-index: 200; flex-direction: column;
  }
  .nav-menu-mobile.open { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .branches-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}

@media (max-width: 640px) {
  .teachers-grid { grid-template-columns: 1fr 1fr; }
  .teacher-list-card { flex-wrap: wrap; }
  .teacher-list-actions { width: 100%; justify-content: flex-end; }
  .hero-search-box { flex-direction: column; }
  .hero-search-field { min-width: 100%; }
  .hero-search-box select { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .role-selector { grid-template-columns: 1fr 1fr; }
  .profile-header-top { flex-direction: column; align-items: center; text-align: center; }
  .profile-badges { justify-content: center; }
  .profile-actions { justify-content: center; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { width: 200px; }
}

@media (max-width: 480px) {
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: 1fr; }
  .stats-cards { grid-template-columns: 1fr 1fr; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .profile-name-row h1 { font-size: 20px; }
  .auth-card { padding: 24px; }
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-hero {
  background: linear-gradient(135deg, #EEF2FF 0%, #F3E8FF 60%, #E0F2FE 100%);
  border-bottom: 1px solid var(--clr-border);
  padding: 40px 0 32px;
}
.search-hero-inner { display: flex; flex-direction: column; gap: 18px; }
.search-hero-text h1 { font-size: clamp(22px, 4vw, 34px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
.search-hero-text p { color: var(--clr-muted); font-size: 15px; }
.search-highlight { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.search-bar-form { width: 100%; }
.search-bar {
  display: flex; gap: 8px; background: var(--clr-white);
  border: 1.5px solid var(--clr-border); border-radius: var(--r-lg);
  padding: 6px; box-shadow: var(--shadow-md); flex-wrap: wrap;
}
.search-bar-field {
  display: flex; align-items: center; gap: 9px;
  flex: 1; min-width: 160px; padding: 9px 14px;
  background: var(--clr-bg); border-radius: var(--r-sm);
  border: 1.5px solid transparent; transition: all var(--t-base);
}
.search-bar-field:focus-within { border-color: var(--clr-primary); background: #fff; }
.search-bar-field svg { color: var(--clr-light); flex-shrink: 0; }
.search-bar-field input {
  border: none; background: transparent; font-size: 14px; width: 100%;
  outline: none; font-family: var(--font); color: var(--clr-text);
}
/* Şehir select — search-bar-field içinde */
.search-bar-field > select {
  border: none; background: transparent; font-size: 14px; width: 100%;
  outline: none; font-family: var(--font); color: #1e293b; cursor: pointer;
  padding: 0; padding-right: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
  appearance: none; -webkit-appearance: none;
}
.search-bar-field > select option { color: #1e293b; background: #fff; }
.search-bar-city { max-width: 200px; }
.search-bar-btn { flex-shrink: 0; border-radius: var(--r-sm); }
.search-page-body { padding-top: 28px; padding-bottom: 64px; }

.filter-branch-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: var(--r-sm); font-size: 13px;
  color: var(--clr-text-2); text-decoration: none; transition: all var(--t-base);
}
.filter-branch-link:hover { background: var(--clr-primary-light); color: var(--clr-primary); text-decoration: none; }
.filter-branch-link.active { background: var(--clr-primary-light); color: var(--clr-primary); font-weight: 600; }
.count-chip { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--r-full); font-size: 11px; padding: 2px 8px; color: var(--clr-muted); font-weight: 600; }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; }
.active-filters-label { color: var(--clr-muted); font-weight: 600; }
.active-filter-tag { background: var(--clr-primary-light); color: var(--clr-primary); padding: 4px 12px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; border: 1px solid rgba(79,70,229,.2); }
.clear-all-link { color: var(--clr-danger); font-size: 12px; font-weight: 600; }
.clear-all-link:hover { text-decoration: underline; }
.results-branch-link { color: var(--clr-primary); font-weight: 600; }
.teacher-list-name { font-size: 16px; font-weight: 700; }
.teacher-list-name a { color: var(--clr-text); }
.teacher-list-name a:hover { color: var(--clr-primary); text-decoration: none; }
.verified-inline { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: linear-gradient(135deg, #059669, #10B981); color: #fff; border-radius: 50%; font-size: 10px; font-weight: 700; margin-left: 5px; vertical-align: middle; }
.meta-rating { display: inline-flex; align-items: center; gap: 4px; }

/* ============================================================
   TEACHER PROFILE PAGE v2
   ============================================================ */

/* Hero */
.profile-hero { position: relative; overflow: hidden; padding: 0; background: #fff; border-bottom: 1px solid var(--clr-border); }
.profile-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0F0C29 0%, #302B63 50%, #1a1a3e 100%);
  height: 200px;
}
.profile-hero-inner { position: relative; padding: 32px 0 0; }
.profile-hero-card {
  display: flex; gap: 24px; background: var(--clr-white);
  border: 1px solid var(--clr-border); border-radius: var(--r-xl);
  padding: 28px; box-shadow: var(--shadow-xl); margin-bottom: 0;
  position: relative; z-index: 1;
}
.profile-hero-left { flex-shrink: 0; }
.profile-avatar-wrap { position: relative; }
.profile-hero-avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; display: block; border: 4px solid #fff; box-shadow: 0 0 0 4px var(--clr-primary-light), var(--shadow-md); }
.profile-verified-dot {
  position: absolute; bottom: 4px; right: 4px;
  width: 26px; height: 26px; border-radius: 50%; border: 3px solid #fff;
  background: linear-gradient(135deg, #059669, #10B981); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; box-shadow: 0 2px 6px rgba(5,150,105,.4);
}
.profile-hero-info { flex: 1; min-width: 0; }
.profile-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.profile-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.profile-vtag { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: #065F46; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: var(--r-full); border: 1px solid #A7F3D0; }
.profile-branch-chip { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--r-full); border: 1.5px solid; }
.profile-hero-name { font-size: clamp(22px, 4vw, 30px); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.profile-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13px; color: var(--clr-muted); margin-bottom: 10px; }
.profile-hero-meta svg { vertical-align: middle; }
.profile-hero-meta span { display: flex; align-items: center; gap: 5px; }
.profile-hero-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.profile-hero-rating strong { font-size: 16px; font-weight: 800; color: var(--clr-text); }
.profile-hero-price { text-align: right; flex-shrink: 0; padding: 12px 16px; background: var(--clr-primary-light); border-radius: var(--r-lg); border: 1.5px solid rgba(79,70,229,.15); }
.profile-price-from { font-size: 11px; color: var(--clr-primary); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.profile-price-num { font-size: 26px; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.profile-price-per { font-size: 12px; color: var(--clr-muted); }
.profile-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Stats Row */
.profile-stats-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--clr-border);
  background: var(--clr-white);
}
.profile-stat { padding: 18px 14px; text-align: center; border-right: 1px solid var(--clr-border); transition: background var(--t-fast); }
.profile-stat:last-child { border-right: none; }
.profile-stat:hover { background: var(--clr-bg); }
.profile-stat-num { font-size: 24px; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 4px; }
.profile-stat-label { font-size: 12px; font-weight: 600; color: var(--clr-text-2); }
.profile-stat-sub { font-size: 11px; color: var(--clr-light); }

/* Page Body */
.profile-page-body { padding-top: 28px; padding-bottom: 64px; }
.profile-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }

/* Tabs */
.profile-tabs {
  display: flex; gap: 2px; flex-wrap: wrap;
  background: var(--clr-bg); border: 1px solid var(--clr-border);
  border-radius: var(--r-lg); padding: 5px; margin-bottom: 6px;
}
.profile-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; color: var(--clr-muted);
  background: none; border: none; cursor: pointer; transition: all var(--t-base);
  font-family: var(--font); white-space: nowrap;
}
.profile-tab:hover { color: var(--clr-primary); background: rgba(79,70,229,.06); }
.profile-tab.active { background: var(--clr-white); color: var(--clr-primary); box-shadow: var(--shadow-sm); border: 1px solid var(--clr-border); }
.tab-count { background: var(--clr-primary); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: var(--r-full); min-width: 18px; text-align: center; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Sections */
.profile-section { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-xl); padding: 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.profile-section-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--clr-border); color: var(--clr-text); }
.profile-bio-text { font-size: 15px; color: var(--clr-muted); line-height: 1.85; white-space: pre-wrap; }

/* Info Grid */
.profile-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-info-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; background: var(--clr-bg); border-radius: var(--r-md); border: 1px solid var(--clr-border); }
.pii-icon { font-size: 20px; flex-shrink: 0; }
.pii-label { font-size: 11px; font-weight: 700; color: var(--clr-light); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.pii-value { font-size: 14px; font-weight: 600; color: var(--clr-text-2); }

/* Course Cards */
.courses-grid { display: flex; flex-direction: column; gap: 14px; }
.course-card {
  border: 1.5px solid var(--clr-border); border-radius: var(--r-xl);
  padding: 18px 20px; transition: all var(--t-slow);
  position: relative; overflow: hidden; background: var(--clr-white);
}
.course-card::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--branch-color, var(--clr-primary)); border-radius: 4px 0 0 4px; }
.course-card:hover { border-color: color-mix(in srgb, var(--branch-color, #4F46E5) 40%, transparent); box-shadow: var(--shadow-md); transform: translateX(4px); }
.course-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.course-icon { width: 46px; height: 46px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.course-info { flex: 1; min-width: 0; }
.course-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.course-level { font-size: 12px; color: var(--clr-muted); background: var(--clr-bg); padding: 2px 10px; border-radius: var(--r-full); display: inline-block; font-weight: 500; }
.course-pricing { text-align: right; flex-shrink: 0; }
.course-price { font-size: 22px; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.course-duration { font-size: 11px; color: var(--clr-light); }
.course-desc { font-size: 13px; color: var(--clr-muted); line-height: 1.6; margin-bottom: 10px; }
.course-book-btn { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--clr-primary); background: none; border: none; cursor: pointer; padding: 0; transition: gap var(--t-base); }
.course-book-btn:hover { text-decoration: underline; }

/* Teacher profile — public videos */
.profile-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.profile-video-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--clr-white);
  transition: box-shadow var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.profile-video-card:hover {
  border-color: color-mix(in srgb, var(--clr-primary) 35%, var(--clr-border));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.profile-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}
.profile-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-video-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255,255,255,.35);
}
.profile-video-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  letter-spacing: 0.03em;
}
.profile-video-body { padding: 12px 14px 14px; }
.profile-video-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  color: var(--clr-text);
}
.profile-video-meta {
  font-size: 12px;
  color: var(--clr-muted);
  line-height: 1.4;
}
.profile-videos-empty h3 { margin-top: 8px; margin-bottom: 8px; font-size: 17px; }

.booking-price-card--listing {
  border: 1.5px solid color-mix(in srgb, var(--clr-primary) 35%, var(--clr-border));
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.08), transparent 55%);
}
.booking-price-card--listing .bpc-from {
  color: var(--clr-primary);
  font-weight: 700;
}

.booking-total-estimate {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--clr-border);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), transparent 60%);
}
.booking-total-estimate-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.booking-total-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-2);
}
.booking-total-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--clr-success);
  letter-spacing: -0.02em;
}
.booking-total-hint {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--clr-muted);
}

.booking-date-warn {
  color: var(--clr-danger);
  font-size: 13px;
  font-weight: 600;
}

.teacher-schedule-table {
  min-width: 640px;
}
.teacher-schedule-table td,
.teacher-schedule-table th {
  font-size: 13px;
  white-space: nowrap;
}

/* Listing cards (in profile) */
.listing-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.listing-price-wrap { text-align: right; flex-shrink: 0; }

/* Rating Summary */
.rating-summary { display: flex; gap: 32px; padding: 22px; background: var(--clr-bg); border-radius: var(--r-lg); border: 1px solid var(--clr-border); margin-bottom: 8px; }
.rating-big-num { text-align: center; flex-shrink: 0; }
.rating-score { font-size: 56px; font-weight: 800; line-height: 1; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -2px; }
.rating-stars-big { margin: 8px 0 6px; font-size: 20px; }
.rating-total { font-size: 12px; color: var(--clr-muted); }
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; }
.rating-bar-label { font-size: 13px; font-weight: 600; color: var(--clr-muted); width: 28px; text-align: right; flex-shrink: 0; }
.rating-bar-track { flex: 1; height: 8px; background: var(--clr-border); border-radius: var(--r-full); overflow: hidden; }
.rating-bar-fill { height: 100%; background: linear-gradient(90deg, #F59E0B, #FCD34D); border-radius: var(--r-full); transition: width .8s ease; }
.rating-bar-pct { font-size: 12px; color: var(--clr-muted); width: 20px; flex-shrink: 0; }

/* Review Item Card */
.review-item-card { padding: 18px; border: 1px solid var(--clr-border); border-radius: var(--r-lg); background: var(--clr-white); margin-bottom: 12px; transition: all var(--t-base); }
.review-item-card:hover { box-shadow: var(--shadow-md); border-color: rgba(79,70,229,.15); }
.ric-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ric-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 2px var(--clr-primary-light); }
.ric-meta strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.ric-rating-row { display: flex; align-items: center; gap: 8px; }
.ric-date { font-size: 12px; color: var(--clr-light); }
.ric-comment { font-size: 14px; color: var(--clr-muted); line-height: 1.75; font-style: italic; }

/* Booking Sidebar Cards */
.booking-price-card { background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary)); border-radius: var(--r-xl); padding: 18px 20px; margin-bottom: 14px; color: #fff; }
.bpc-price { display: flex; align-items: baseline; gap: 6px; }
.bpc-from { font-size: 11px; opacity: .8; font-weight: 600; }
.bpc-num { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.bpc-per { font-size: 12px; opacity: .8; }
.bpc-range { font-size: 12px; opacity: .75; margin-top: 4px; }
.booking-note-text { font-size: 12px; color: var(--clr-light); text-align: center; margin-top: 10px; line-height: 1.5; }
.booking-self-msg { text-align: center; padding: 16px 0; color: var(--clr-muted); font-size: 14px; }
.booking-guest-msg { text-align: center; padding: 8px 0; }
.booking-guest-msg h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.booking-guest-msg p { font-size: 13px; color: var(--clr-muted); line-height: 1.6; }
.hint-inline { font-size: 11px; color: var(--clr-light); font-weight: 400; }

/* Share Card */
.share-card { background: var(--clr-white); border: 1px solid var(--clr-border); border-radius: var(--r-lg); padding: 14px 16px; margin-top: 12px; }
.share-title { font-size: 12px; font-weight: 700; color: var(--clr-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.share-buttons { display: flex; gap: 8px; }
.share-btn {
  flex: 1; height: 36px; border-radius: var(--r-sm); border: 1.5px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: all var(--t-base); background: var(--clr-bg); color: var(--clr-muted);
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); text-decoration: none; }
.share-fb:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-tw:hover { background: #0f1419; color: #fff; border-color: #0f1419; }
.share-wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share-copy:hover { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); }

/* Trust Card */
.trust-card { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: var(--r-lg); padding: 14px 16px; margin-top: 12px; }
.trust-item { font-size: 13px; color: var(--clr-muted); padding: 5px 0; border-bottom: 1px solid var(--clr-border); }
.trust-item:last-child { border-bottom: none; }

/* ============================================================
   RESPONSIVE — NEW ADDITIONS
   ============================================================ */
@media (max-width: 900px) {
  .search-bar-city { max-width: 100%; }
  .profile-hero-card { flex-wrap: wrap; }
  .profile-stats-row { grid-template-columns: repeat(3, 1fr); }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar .sticky-card { position: static; }
  .profile-info-grid { grid-template-columns: 1fr; }
  .rating-summary { flex-direction: column; gap: 18px; align-items: center; }
  .profile-hero-top { flex-direction: column; }
  .profile-hero-price { text-align: left; }
}
@media (max-width: 640px) {
  .profile-stats-row { grid-template-columns: repeat(2, 1fr); }
  .profile-stat:nth-child(5) { display: none; }
  .search-bar { flex-direction: column; }
  .search-bar-city { max-width: 100%; }
}

/* ============================================================
   TRUST FEATURES SECTION
   ============================================================ */
.trust-section { background: var(--clr-bg); }
.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-feature-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.trust-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--t-base);
}
.trust-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(79,70,229,.15); }
.trust-feature-card:hover::before { opacity: 1; }
.tf-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.trust-feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--clr-text); }
.trust-feature-card p { font-size: 14px; color: var(--clr-muted); line-height: 1.7; margin: 0; }

/* ============================================================
   STUDENT CTA SECTION
   ============================================================ */
.student-cta-section {
  background: linear-gradient(135deg, var(--clr-primary-light) 0%, #F3E8FF 100%);
  padding: 72px 0;
}
.student-cta-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}
.student-cta-left h2 { font-size: 38px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.student-cta-left p { font-size: 16px; color: var(--clr-muted); line-height: 1.7; margin-bottom: 24px; }
.scta-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.scta-benefit { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--clr-text-2); }
.scta-check { width: 20px; height: 20px; background: var(--clr-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.scta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* Card Stack */
.student-cta-right { display: flex; align-items: center; justify-content: center; }
.scta-card-stack { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 340px; }
.scta-mini-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  animation: floatIn .6s ease calc(var(--card-delay, 0s)) both;
}
.scta-mini-card img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.scta-mini-info { flex: 1; min-width: 0; }
.scta-mini-info strong { display: block; font-size: 14px; font-weight: 700; }
.scta-mini-info small { font-size: 12px; color: var(--clr-muted); }
.scta-mini-rating { font-size: 13px; font-weight: 700; color: var(--clr-warning); flex-shrink: 0; }
.scta-more-badge {
  background: var(--grad-primary);
  color: #fff;
  border-radius: var(--r-full);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-primary);
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Step link */
.step-link { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--clr-primary); margin-top: 10px; text-decoration: none; transition: gap var(--t-base); }
.step-link:hover { text-decoration: underline; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar { background: var(--clr-bg); border-bottom: 1px solid var(--clr-border); padding: 10px 0; }
.breadcrumb ol { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--clr-muted); }
.breadcrumb li::after { content: '/'; color: var(--clr-light); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb li a { color: var(--clr-primary); text-decoration: none; font-weight: 500; }
.breadcrumb li a:hover { text-decoration: underline; }
.breadcrumb li:last-child { color: var(--clr-text); font-weight: 600; }
/* Page hero breadcrumb (on colored backgrounds) */
.page-hero .breadcrumb li { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb li a { color: rgba(255,255,255,.9); }
.page-hero .breadcrumb li::after { color: rgba(255,255,255,.4); }
.page-hero .breadcrumb li:last-child { color: #fff; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { background: var(--clr-bg); }
.faq-grid { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--clr-border); border-radius: var(--r-xl); overflow: hidden; background: var(--clr-white); margin-bottom: 36px; }
.faq-item { border-bottom: 1px solid var(--clr-border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 15px; font-weight: 600; color: var(--clr-text); transition: all var(--t-base);
}
.faq-question:hover { background: var(--clr-bg); color: var(--clr-primary); }
.faq-question[aria-expanded="true"] { color: var(--clr-primary); background: var(--clr-primary-light); }
.faq-arrow { flex-shrink: 0; transition: transform .3s ease; color: var(--clr-muted); }
.faq-question[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); color: var(--clr-primary); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}
.faq-answer.open { max-height: 200px; padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; color: var(--clr-muted); line-height: 1.75; margin: 0; }
.faq-cta { display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap; }
.faq-cta p { font-size: 15px; color: var(--clr-muted); margin: 0; }

/* ============================================================
   INTERNAL LINKS / BRANCH LINK SECTION (SEO)
   ============================================================ */
.branch-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.branch-link-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  text-decoration: none; color: var(--clr-text);
  font-size: 13px; font-weight: 500;
  transition: all var(--t-base);
}
.branch-link-item:hover { border-color: var(--clr-primary); color: var(--clr-primary); box-shadow: var(--shadow-sm); text-decoration: none; }
.bli-icon { font-size: 18px; flex-shrink: 0; }
.bli-name { flex: 1; font-weight: 600; }
.bli-count { font-size: 11px; color: var(--clr-muted); background: var(--clr-bg); padding: 2px 7px; border-radius: var(--r-full); flex-shrink: 0; }

/* ============================================================
   SIDEBAR TEACHER CTA (Search page)
   ============================================================ */
.sidebar-teacher-cta {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  border-radius: var(--r-xl);
  padding: 24px 20px;
  text-align: center;
  color: #fff;
}
.stc-icon { font-size: 40px; margin-bottom: 12px; display: block; }
.sidebar-teacher-cta h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.sidebar-teacher-cta p { font-size: 13px; opacity: .85; line-height: 1.6; margin-bottom: 16px; }
.sidebar-teacher-cta .btn-primary {
  background: #fff; color: var(--clr-primary); border: none;
  font-weight: 700; transition: all var(--t-base);
}
.sidebar-teacher-cta .btn-primary:hover { background: var(--clr-primary-light); }
.stc-stats { display: flex; justify-content: center; gap: 14px; margin-top: 12px; font-size: 12px; opacity: .75; }

/* ============================================================
   FLOATING CTA BUTTON
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 900;
  transition: opacity .3s, transform .3s;
}
.floating-cta.hidden { opacity: 0; pointer-events: none; transform: translateY(16px); }
.fcta-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-full);
  text-decoration: none; font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: all var(--t-base);
  white-space: nowrap;
}
.fcta-btn:hover { transform: translateY(-2px); text-decoration: none; }
.fcta-teacher { background: var(--grad-primary); color: #fff; }
.fcta-teacher:hover { color: #fff; }
.fcta-student { background: #fff; color: var(--clr-primary); border: 2px solid var(--clr-primary); }
.fcta-student:hover { background: var(--clr-primary); color: #fff; }
.fcta-icon { font-size: 18px; }
.fcta-close {
  position: absolute; top: -8px; right: -8px;
  width: 22px; height: 22px;
  background: var(--clr-text); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ============================================================
   NAV MESSAGE ICON + BADGE
   ============================================================ */
.nav-msg-icon {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  color: var(--clr-muted);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  transition: all var(--t-fast);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-msg-icon:hover { background: var(--clr-primary-light); color: var(--clr-primary); text-decoration: none; }
.nav-msg-badge {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  background: var(--clr-danger);
  color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(220,38,38,.3);
  animation: badgePop .3s ease;
}
@keyframes badgePop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
/* Inline badge (dropdown menus) */
a .nav-msg-badge {
  position: static;
  margin-left: 6px;
  border: none;
  vertical-align: middle;
}

/* Nav link special */
.nav-link-teacher {
  background: var(--grad-primary);
  color: #fff !important;
  border-radius: var(--r-full);
  padding: 6px 16px !important;
  font-weight: 700;
}
.nav-link-teacher:hover { opacity: .9; }

/* ============================================================
   RESPONSIVE — NEW SECTIONS
   ============================================================ */
@media (max-width: 1100px) {
  .trust-features-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-links-grid { grid-template-columns: repeat(3, 1fr); }
  .student-cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .student-cta-right { display: none; }
}
@media (max-width: 900px) {
  .trust-features-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-links-grid { grid-template-columns: repeat(2, 1fr); }
  .scta-benefits { grid-template-columns: 1fr; }
  .floating-cta { bottom: 16px; right: 16px; }
}
@media (max-width: 640px) {
  .trust-features-grid { grid-template-columns: 1fr; }
  .branch-links-grid { grid-template-columns: repeat(2, 1fr); }
  .student-cta-left h2 { font-size: 28px; }
  .scta-actions { flex-direction: column; }
  .floating-cta { flex-direction: row; bottom: 14px; right: 14px; left: 14px; }
  .fcta-btn { flex: 1; justify-content: center; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
hr.divider { border: none; border-top: 1px solid var(--clr-border); margin: 24px 0; }
code { font-family: var(--font-mono); background: var(--clr-bg); padding: 2px 6px; border-radius: var(--r-xs); font-size: .9em; color: var(--clr-primary); border: 1px solid var(--clr-border); }

/* ============================================================
   QUIZ / ONLINE SINAV TESTLERİ
   ============================================================ */
.quiz-hero {
  background: var(--grad-primary-soft);
  border-bottom: 1px solid var(--clr-border);
  padding: 48px 0 40px;
}
.quiz-hero-inner { max-width: 800px; }
.quiz-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--clr-primary-dark);
  background: #fff;
  padding: 6px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--clr-border);
  margin-bottom: 16px;
}
.quiz-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.15;
}
.quiz-lead { font-size: 17px; color: var(--clr-text-2); margin-bottom: 16px; line-height: 1.65; }
.quiz-disclaimer {
  font-size: 13px;
  color: var(--clr-muted);
  line-height: 1.55;
  padding: 14px 16px;
  background: rgba(255,255,255,.7);
  border-radius: var(--r-md);
  border: 1px solid var(--clr-border);
}
.quiz-disclaimer a { font-weight: 600; }
.quiz-disclaimer--sm { margin-top: 16px; padding: 10px 12px; font-size: 12px; }

.quiz-official-panel {
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  border-top: 1px solid #bbf7d0;
  border-bottom: 1px solid #bbf7d0;
  padding: 36px 0;
}
.quiz-official-panel-inner { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.quiz-official-title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 800;
  color: #14532d;
  margin-bottom: 12px;
}
.quiz-official-lead {
  font-size: 15px;
  line-height: 1.65;
  color: #166534;
  margin-bottom: 22px;
}
.quiz-official-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.quiz-official-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #86efac;
  border-radius: var(--r-md);
  color: inherit;
  text-decoration: none;
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.quiz-official-link:hover {
  border-color: #22c55e;
  box-shadow: var(--shadow-sm);
}
.quiz-official-org {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #15803d;
}
.quiz-official-label { font-size: 15px; font-weight: 700; color: var(--clr-text); }
.quiz-official-hint { font-size: 13px; color: var(--clr-muted); line-height: 1.45; }

.quiz-grid-section { padding: 48px 0 56px; background: var(--clr-bg); }
.quiz-section-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.quiz-section-sub { color: var(--clr-muted); margin-bottom: 28px; font-size: 15px; }

.quiz-category-block {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
}
.quiz-category-block:last-of-type { margin-bottom: 8px; }
.quiz-category-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 10px;
}
.quiz-category-header h2 { font-size: 20px; font-weight: 800; margin: 0; line-height: 1.3; }
.quiz-category-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.quiz-category-link:hover { color: var(--clr-primary); }
.quiz-category-desc { color: var(--clr-muted); font-size: 14px; margin: 0 0 18px; line-height: 1.55; max-width: 900px; }
.quiz-category-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-primary);
  text-decoration: none;
}
.quiz-category-more:hover { text-decoration: underline; }

.quiz-with-sidebar {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
}

.quiz-cat-sidebar {
  position: sticky;
  top: 88px;
}

.quiz-cat-sidebar-inner {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: 18px 14px;
  box-shadow: var(--shadow-sm);
}

.quiz-cat-sidebar-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-muted);
  margin: 0 0 12px 10px;
}

.quiz-cat-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quiz-cat-sidebar-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--clr-text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  border: 1px solid transparent;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}

.quiz-cat-sidebar-link:hover {
  background: #eef2ff;
  color: var(--clr-primary);
}

.quiz-cat-sidebar-link.is-active {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #3730a3;
  border-color: #c7d2fe;
  box-shadow: 0 1px 0 rgba(67, 56, 202, 0.06);
}

.quiz-cat-sidebar-link--all {
  font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--clr-border);
  border-radius: 0;
}

.quiz-cat-sidebar-link--all:hover {
  border-radius: var(--r-md);
  border-bottom-color: transparent;
}

.quiz-cat-sidebar-ico {
  font-size: 20px;
  line-height: 1.2;
  flex-shrink: 0;
}

.quiz-cat-sidebar-txt { flex: 1; min-width: 0; }

.quiz-category-layout {
  padding: 28px 0 56px;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.quiz-section-title--in-main {
  margin-top: 8px;
  margin-bottom: 18px;
}

.quiz-category-intro-note {
  margin-top: 0;
}

@media (max-width: 960px) {
  .quiz-with-sidebar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .quiz-cat-sidebar {
    position: static;
    top: auto;
  }

  .quiz-cat-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .quiz-cat-sidebar-link {
    flex: 1 1 calc(50% - 4px);
    min-width: 140px;
    padding: 10px 12px;
  }

  .quiz-cat-sidebar-link--all {
    flex: 1 1 100%;
    margin-bottom: 4px;
    padding-bottom: 10px;
  }
}

.quiz-exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.quiz-exam-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  color: inherit;
}
.quiz-exam-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-primary-mid);
}
.quiz-exam-icon { font-size: 28px; line-height: 1; margin-bottom: 10px; }
.quiz-exam-short {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-primary);
  margin-bottom: 6px;
}
.quiz-exam-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  flex: 1;
}
.quiz-exam-meta { font-size: 13px; color: var(--clr-muted); margin-bottom: 14px; }
.quiz-exam-cta { font-size: 14px; font-weight: 700; color: var(--clr-primary); }

.quiz-seo-block { padding: 40px 0 56px; }
.quiz-benefits { margin-top: 16px; padding-left: 20px; color: var(--clr-text-2); }
.quiz-benefits li { margin-bottom: 10px; }

.quiz-page-head { padding: 28px 0 40px; background: var(--clr-bg); border-bottom: 1px solid var(--clr-border); }
.quiz-breadcrumb { font-size: 13px; color: var(--clr-muted); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quiz-breadcrumb a { color: var(--clr-primary); font-weight: 500; }
.quiz-exam-head { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.quiz-exam-icon--lg { font-size: 52px; line-height: 1; }
.quiz-exam-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.quiz-exam-intro { color: var(--clr-text-2); margin-bottom: 16px; line-height: 1.65; max-width: 720px; }
.quiz-exam-facts { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; color: var(--clr-text-2); }
.quiz-exam-facts li { padding: 8px 14px; background: var(--clr-white); border-radius: var(--r-full); border: 1px solid var(--clr-border); }
.quiz-start-form { margin-bottom: 8px; }

.quiz-take-wrap { background: var(--clr-bg); min-height: 60vh; }
.quiz-timer-bar {
  position: sticky;
  top: 66px;
  z-index: 850;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(49,46,129,.35);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.quiz-timer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 20px;
  min-height: 56px;
}
.quiz-timer-title { display: flex; flex-direction: column; gap: 2px; }
.quiz-timer-title strong { font-size: 15px; letter-spacing: -0.02em; }
.quiz-timer-label { font-size: 11px; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.quiz-timer-digits {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .06em;
  min-width: 88px;
  text-align: center;
  background: rgba(0,0,0,.2);
  padding: 6px 14px;
  border-radius: var(--r-md);
}
.quiz-timer-progress {
  flex: 1;
  min-width: 120px;
  height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: var(--r-full);
  overflow: hidden;
}
.quiz-timer-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #34d399, #a7f3d0);
  border-radius: var(--r-full);
  transition: width .25s linear;
}
.quiz-take-body { padding: 28px 20px 64px; }
.quiz-form { max-width: 800px; margin: 0 auto; }
.quiz-question-card {
  border: 0;
  margin: 0 0 20px;
  padding: 24px 22px;
  background: var(--clr-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}
.quiz-q-num {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--clr-primary);
  padding: 0 0 10px;
}
.quiz-q-text { font-size: 16px; font-weight: 600; color: var(--clr-text); margin-bottom: 18px; line-height: 1.55; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 2px solid var(--clr-border);
  cursor: pointer;
  transition: border-color var(--t-base), background var(--t-base);
}
.quiz-option:hover { border-color: var(--clr-primary-mid); background: var(--clr-primary-light); }
.quiz-option input { margin-top: 3px; accent-color: var(--clr-primary); }
.quiz-option-key {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: var(--clr-bg-2);
  border-radius: var(--r-sm);
  color: var(--clr-text-2);
}
.quiz-option input:checked + .quiz-option-key {
  background: var(--clr-primary);
  color: #fff;
}
.quiz-option-text { font-size: 14px; line-height: 1.5; color: var(--clr-text-2); }
.quiz-submit-row { text-align: center; padding: 24px 0 8px; }

.quiz-result-hero { padding: 32px 0 24px; background: var(--grad-primary-soft); border-bottom: 1px solid var(--clr-border); }
.quiz-result-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 768px) {
  .quiz-result-grid { grid-template-columns: 1fr; }
}
.quiz-score-ring {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto;
}
.quiz-score-ring svg { width: 160px; height: 160px; transform: rotate(-90deg); }
.quiz-ring-bg { stroke: var(--clr-border); }
.quiz-ring-fg {
  stroke: var(--clr-primary);
  stroke-linecap: round;
  transition: stroke-dashoffset .6s ease;
}
.quiz-score-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.quiz-score-num { font-size: 36px; font-weight: 800; color: var(--clr-primary-dark); line-height: 1; }
.quiz-score-label { font-size: 12px; color: var(--clr-muted); margin-top: 4px; }
.quiz-result-summary h1 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.quiz-alert {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  margin-bottom: 16px;
}
.quiz-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
}
.quiz-stats div {
  background: var(--clr-white);
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--clr-border);
}
.quiz-stats dt { font-size: 12px; color: var(--clr-muted); text-transform: uppercase; letter-spacing: .04em; }
.quiz-stats dd { font-size: 22px; font-weight: 800; color: var(--clr-text); margin-top: 4px; }
.quiz-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

.quiz-mail-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.quiz-mail-card h2 { font-size: 17px; margin-bottom: 8px; }
.quiz-mail-card p { font-size: 14px; color: var(--clr-muted); margin-bottom: 14px; }
.quiz-mail-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.quiz-mail-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 14px;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  font-size: 15px;
}

.quiz-review { padding: 40px 0 64px; background: var(--clr-bg); }
.quiz-review-item {
  background: var(--clr-white);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin-bottom: 16px;
  border: 1px solid var(--clr-border);
}
.quiz-review-item.is-correct { border-left: 4px solid var(--clr-success); }
.quiz-review-item.is-wrong { border-left: 4px solid var(--clr-danger); }
.quiz-review-item.is-empty { border-left: 4px solid var(--clr-muted); }
.quiz-review-item h3 { font-size: 13px; color: var(--clr-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.quiz-review-options { list-style: none; margin: 12px 0 0; padding: 0; }
.quiz-review-options li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.45;
}
.quiz-review-options li.is-answer { background: #ecfdf5; color: #065f46; font-weight: 600; }
.quiz-review-options li.is-yours-wrong { background: #fef2f2; color: #991b1b; }
.quiz-mark { margin-left: auto; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--clr-success); }
.quiz-mark--bad { color: var(--clr-danger); }

@media (max-width: 640px) {
  .quiz-timer-inner { flex-direction: column; align-items: stretch; }
  .quiz-timer-digits { align-self: center; }
}

/* —— Profil genişletmeleri (misafir iletişim, etiketler, tablolar) —— */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.profile-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--clr-border, #e5e7eb);
  border-radius: var(--r-md, 8px);
  overflow: hidden;
}
.profile-data-table th,
.profile-data-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--clr-border, #e5e7eb);
}
.profile-data-table th { background: #f8fafc; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: #64748b; }
.profile-tag-sections > div { margin-bottom: 16px; }
.profile-tag-sections strong { display: block; font-size: 13px; margin-bottom: 6px; color: #334155; }
.profile-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-soft-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 13px;
  border: 1px solid #e2e8f0;
}
.profile-link-list, .profile-ref-list { margin: 0; padding-left: 1.1rem; }
.profile-link-list li { margin: 6px 0; }
.profile-ref-list li { margin: 12px 0; }
.profile-ref-title { color: #64748b; font-size: 14px; margin-left: 6px; }
.profile-ref-inst { font-size: 13px; color: #64748b; margin-top: 2px; }
/* ── Onaylı Üyelik Kutusu ─────────────────────────────────── */
.profile-verified-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1.5px solid #6ee7b7;
  border-left: 4px solid #10b981;
  border-radius: var(--r-lg, 12px);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}
.profile-verified-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 50%, rgba(16,185,129,.08) 0%, transparent 60%);
  pointer-events: none;
}
.pvb-icon-wrap {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(16,185,129,.35);
}
.pvb-icon {
  width: 22px; height: 22px;
  stroke: #fff;
}
.pvb-content { flex: 1; min-width: 0; }
.pvb-title {
  font-size: 14px; font-weight: 700;
  color: #065f46; margin: 0 0 3px;
  letter-spacing: .01em;
}
.pvb-desc {
  font-size: 12.5px; color: #047857;
  margin: 0; line-height: 1.45;
}
.pvb-badge {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: #10b981;
  color: #fff; font-size: 14px; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(16,185,129,.4);
}
.profile-guest-lead-card .profile-guest-hint { font-size: 13px; color: #64748b; margin: 0 0 12px; line-height: 1.45; }
.profile-guest-form .form-group { margin-bottom: 10px; }
.profile-guest-form label { font-size: 12px; display: block; margin-bottom: 4px; color: #475569; }
.profile-guest-form input, .profile-guest-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
}
/* Telefon kartı */
.profile-phone-card { margin-top: 16px !important; }
.profile-phone-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--clr-muted);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 12px;
}
.profile-phone-header svg { color: var(--clr-primary); flex-shrink: 0; }
.profile-phone-mask {
  font-size: 22px; font-weight: 800; letter-spacing: .06em;
  color: var(--clr-text); margin: 0 0 14px;
  font-variant-numeric: tabular-nums;
}
.profile-phone-full {
  display: block; font-size: 22px; font-weight: 800;
  color: var(--clr-primary); text-decoration: none;
  letter-spacing: .04em; margin-bottom: 6px;
}
.profile-phone-full:hover { text-decoration: underline; }
.profile-phone-note { font-size: 12px; color: var(--clr-success); margin: 4px 0 0; }
.profile-phone-cap-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--clr-muted); margin-bottom: 8px;
}
.profile-phone-cap-row {
  display: flex; gap: 8px; align-items: center;
}
.profile-phone-cap-row input {
  flex: 1; padding: 9px 12px;
  border: 1.5px solid var(--clr-border); border-radius: var(--r-sm);
  font-size: 15px; font-family: var(--font); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.profile-phone-cap-row input:focus {
  border-color: var(--clr-primary); box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}
.profile-phone-reveal-form { margin-top: 0; }
.profile-report-wrap {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-md, 8px);
  background: #fafafa;
}
.profile-report-wrap summary { cursor: pointer; font-weight: 600; font-size: 14px; color: #64748b; }
.profile-report-form { margin-top: 12px; }
.profile-report-form .form-group { margin-bottom: 10px; }
.profile-report-form label { font-size: 12px; display: block; margin-bottom: 4px; }
.profile-report-form input, .profile-report-form select, .profile-report-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
}
.course-exp-years { font-size: 11px; color: #64748b; margin-top: 4px; font-weight: 500; }
.checkbox-grid { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 6px; }
.checkbox-grid .checkbox-inline { font-size: 14px; display: flex; align-items: center; gap: 6px; cursor: pointer; }

/* —— Repeater (dinamik satır ekle / sil) —— */
.repeater-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }

.repeater-col-header {
  display: grid; gap: 12px; padding: 0 14px 6px;
  font-size: 11px; font-weight: 700; color: var(--clr-muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.repeater-col-header.edu-row  { grid-template-columns: 2fr 2fr 2fr 1fr 28px; }
.repeater-col-header.ref-row  { grid-template-columns: 1fr 1fr 1fr 28px; }
.repeater-col-header.link-row { grid-template-columns: 1fr 2fr 28px; }

.repeater-row {
  display: grid; gap: 12px; padding: 11px 14px;
  background: #fafbfc;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-sm);
  align-items: center;
  transition: box-shadow .15s, border-color .15s, background .15s;
}
.repeater-row:focus-within {
  border-color: var(--clr-primary-mid);
  box-shadow: 0 0 0 3px rgba(79,70,229,.07);
  background: #fff;
}
.repeater-row.edu-row  { grid-template-columns: 2fr 2fr 2fr 1fr 28px; }
.repeater-row.ref-row  { grid-template-columns: 1fr 1fr 1fr 28px; }
.repeater-row.link-row { grid-template-columns: 1fr 2fr 28px; }

@keyframes rowPop {
  from { opacity: 0; transform: translateY(-8px); background: #ecfdf5; border-color: #a7f3d0; }
  to   { opacity: 1; transform: translateY(0);   background: #fafbfc; border-color: var(--clr-border); }
}
.repeater-row--new { animation: rowPop .32s ease forwards; }

@keyframes rowFade { to { opacity: 0; transform: translateX(10px); } }
.repeater-row--removing { animation: rowFade .2s ease forwards; pointer-events: none; overflow: hidden; }

.repeater-input {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid var(--clr-border); border-radius: var(--r-sm);
  font-size: 14px; font-family: var(--font); color: var(--clr-text);
  background: #fff; outline: none; box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.repeater-input:focus { border-color: var(--clr-primary); box-shadow: 0 0 0 3px rgba(79,70,229,.1); }
.repeater-input::placeholder { color: var(--clr-light); }

.repeater-remove {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid #fca5a5; background: #fef2f2;
  color: #dc2626; font-size: 14px; font-weight: 700;
  cursor: pointer; display: grid; place-items: center;
  flex-shrink: 0; transition: all .15s; padding: 0; line-height: 1;
}
.repeater-remove:hover { background: #dc2626; color: #fff; border-color: #dc2626; }

.repeater-add-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 6px; padding: 9px 18px;
  border: 1.5px dashed var(--clr-primary); border-radius: var(--r-sm);
  background: var(--clr-primary-light); color: var(--clr-primary);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .15s;
}
.repeater-add-btn svg { flex-shrink: 0; }
.repeater-add-btn:hover { background: var(--clr-primary); color: #fff; border-style: solid; }

@media (max-width: 640px) {
  .repeater-col-header { display: none; }
  .repeater-row.edu-row  { grid-template-columns: 1fr 1fr; }
  .repeater-row.ref-row,
  .repeater-row.link-row { grid-template-columns: 1fr; }
  .repeater-remove { grid-column: 1 / -1; width: 100%; border-radius: var(--r-sm); height: 34px; }
}
