/* ═══════════════════════════════════════════════════════════
   ServoPos — PRO TEMA  v2
   body.pro           → pro aktif
   body.pro.pro-dark  → koyu
   body.pro.pro-cream → krem
═══════════════════════════════════════════════════════════ */

/* ── RENK DEĞİŞKENLERİ — DARK ── */
body.pro {
  --bg:            #080D1A;
  --card:          #111827;
  --card-2:        #1E293B;
  --border:        rgba(255,255,255,.07);
  --border-active: rgba(249,115,22,.5);
  --text:          #F1F5F9;
  --text-2:        #CBD5E1;
  --text-muted:    #64748B;
  --primary-light: rgba(249,115,22,.12);
  --green-light:   rgba(34,197,94,.12);
  --red-light:     rgba(239,68,68,.12);
  --yellow-light:  rgba(234,179,8,.12);
  --blue-light:    rgba(59,130,246,.12);
  --purple-light:  rgba(139,92,246,.12);
  --radius:        18px;
  --radius-sm:     12px;
  --radius-xs:     8px;
  --shadow-xs:     0 1px 4px rgba(0,0,0,.4);
  --shadow:        0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:     0 12px 48px rgba(0,0,0,.6);
  --shadow-xl:     0 24px 80px rgba(0,0,0,.7);
  --sidebar:       #050A14;
  --sidebar2:      #0D1525;
  --sidebar3:      #1E293B;
  --glow-o: rgba(249,115,22,.25);
  --glow-g: rgba(34,197,94,.2);
  --glow-r: rgba(239,68,68,.2);
  --glow-b: rgba(59,130,246,.2);
}

/* ── RENK DEĞİŞKENLERİ — CREAM ── */
body.pro.pro-cream {
  --bg:            #F0EDEA;
  --card:          #FAFAF9;
  --card-2:        #EDEBE8;
  --border:        rgba(140,120,100,.14);
  --border-active: rgba(249,115,22,.6);
  --text:          #1A1614;
  --text-2:        #3A3330;
  --text-muted:    #8A8480;
  --primary-light: rgba(249,115,22,.09);
  --green-light:   rgba(34,197,94,.09);
  --red-light:     rgba(239,68,68,.09);
  --yellow-light:  rgba(234,179,8,.09);
  --blue-light:    rgba(59,130,246,.09);
  --purple-light:  rgba(139,92,246,.09);
  --shadow-xs:     0 1px 4px rgba(80,60,40,.07);
  --shadow:        0 4px 24px rgba(80,60,40,.09);
  --shadow-lg:     0 12px 48px rgba(80,60,40,.13);
  --shadow-xl:     0 24px 80px rgba(80,60,40,.16);
  --sidebar:       #161210;
  --sidebar2:      #252018;
  --sidebar3:      #342C22;
  --glow-o: rgba(249,115,22,.15);
  --glow-g: rgba(34,197,94,.12);
  --glow-r: rgba(239,68,68,.12);
  --glow-b: rgba(59,130,246,.12);
}

/* ═══════════════════════════════════════════════════════════
   ARKA PLAN
═══════════════════════════════════════════════════════════ */
body.pro { background: var(--bg); transition: background .4s, color .3s; }

/* Grid desen — sadece dark */
body.pro:not(.pro-cream)::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* Ambient glow blob */
body.pro:not(.pro-cream)::after {
  content: '';
  position: fixed; width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.05) 0%, transparent 65%);
  top: -250px; right: -200px;
  pointer-events: none; z-index: 0;
}

body.pro #app, body.pro #login-screen { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════════
   SAYFA GEÇİŞ ANİMASYONU
═══════════════════════════════════════════════════════════ */
body.pro .page { animation: proPageIn .35s cubic-bezier(.4,0,.2,1) both; }

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

/* ═══════════════════════════════════════════════════════════
   SİDEBAR
═══════════════════════════════════════════════════════════ */
body.pro .sidebar {
  background: var(--sidebar);
  border-right: 1px solid rgba(255,255,255,.05);
  box-shadow: 4px 0 40px rgba(0,0,0,.4);
}

body.pro .sidebar-brand {
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 18px 16px;
}

body.pro .brand-icon {
  box-shadow: 0 4px 16px rgba(249,115,22,.4);
}

body.pro .nav-section-title {
  color: rgba(255,255,255,.2);
  font-size: 10px; letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 14px 18px 5px;
}

body.pro .nav-item {
  margin: 2px 8px;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}

body.pro .nav-item:hover {
  background: rgba(255,255,255,.05);
  transform: translateX(3px);
}

body.pro .nav-item.active {
  background: linear-gradient(90deg, rgba(249,115,22,.18), rgba(249,115,22,.06));
  border-left: 3px solid var(--primary);
  box-shadow: inset 0 0 30px rgba(249,115,22,.06);
}

body.pro .nav-item.active .nav-label { color: #FB923C; font-weight: 700; }
body.pro .nav-item.active .nav-icon  { filter: drop-shadow(0 0 6px rgba(249,115,22,.5)); }

/* Sidebar alt kısım */
body.pro .sidebar-footer { border-top: 1px solid rgba(255,255,255,.05); }

/* ═══════════════════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════════════════ */
body.pro #topbar {
  background: rgba(8,13,26,.85);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}

body.pro.pro-cream #topbar {
  background: rgba(251,247,242,.9);
  border-bottom: 1px solid rgba(160,120,70,.12);
  box-shadow: 0 2px 24px rgba(100,60,10,.08);
}

body.pro .topbar-time { color: var(--primary); text-shadow: 0 0 20px rgba(249,115,22,.4); }

body.pro .topbar-badge {
  background: var(--primary-light);
  border: 1px solid rgba(249,115,22,.3);
  color: #FB923C;
  border-radius: 20px;
}

body.pro .topbar-toggle {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  transition: all .2s;
}

body.pro .topbar-toggle:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(249,115,22,.3);
}

/* ═══════════════════════════════════════════════════════════
   BUTONLAR
═══════════════════════════════════════════════════════════ */
body.pro .btn {
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}

body.pro .btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.08), transparent);
  pointer-events: none;
}

body.pro .btn-primary {
  background: var(--primary);
  box-shadow: 0 4px 16px var(--glow-o);
}

body.pro .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--glow-o);
  filter: brightness(1.05);
}

body.pro .btn-primary:active { transform: scale(.97); }

body.pro .btn-secondary {
  background: var(--card-2);
  border: 1px solid var(--border);
}

body.pro .btn-secondary:hover {
  border-color: rgba(249,115,22,.4);
  background: rgba(249,115,22,.08);
}

body.pro .btn-danger  { box-shadow: 0 4px 16px var(--glow-r); }
body.pro .btn-success { box-shadow: 0 4px 16px var(--glow-g); }
body.pro .btn-info    { box-shadow: 0 4px 16px var(--glow-b); }

body.pro .btn-danger:hover,
body.pro .btn-success:hover,
body.pro .btn-info:hover { transform: translateY(-1px); filter: brightness(1.08); }

/* ═══════════════════════════════════════════════════════════
   FİLTRE PİLLERI
═══════════════════════════════════════════════════════════ */
body.pro .filter-pill {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 20px;
  transition: all .2s;
}

body.pro .filter-pill:hover {
  background: rgba(249,115,22,.08);
  border-color: rgba(249,115,22,.3);
  color: #FB923C;
}

body.pro .filter-pill.active {
  background: rgba(249,115,22,.18);
  border-color: rgba(249,115,22,.5);
  color: #FB923C;
  box-shadow: 0 0 16px rgba(249,115,22,.15);
}

body.pro.pro-cream .filter-pill { background: rgba(0,0,0,.04); }
body.pro.pro-cream .filter-pill.active { background: rgba(249,115,22,.12); }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD — STAT KARTLAR
═══════════════════════════════════════════════════════════ */
body.pro .stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all .25s ease;
  animation: proFadeUp .4s ease both;
}

body.pro .stat-card:nth-child(1) { animation-delay: .04s; }
body.pro .stat-card:nth-child(2) { animation-delay: .08s; }
body.pro .stat-card:nth-child(3) { animation-delay: .12s; }
body.pro .stat-card:nth-child(4) { animation-delay: .16s; }

body.pro .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,.3);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(249,115,22,.08);
}

body.pro .stat-card.orange {
  border-left: 3px solid var(--primary);
  background: linear-gradient(135deg, var(--card), rgba(249,115,22,.04));
}
body.pro .stat-card.green {
  border-left: 3px solid var(--green);
  background: linear-gradient(135deg, var(--card), rgba(34,197,94,.04));
}
body.pro .stat-card.blue {
  border-left: 3px solid var(--blue);
  background: linear-gradient(135deg, var(--card), rgba(59,130,246,.04));
}
body.pro .stat-card.purple {
  border-left: 3px solid var(--purple);
  background: linear-gradient(135deg, var(--card), rgba(139,92,246,.04));
}

body.pro .stat-card::before {
  width: 120px; height: 120px;
  top: -30px; right: -30px;
  opacity: .06;
  border-radius: 50%;
}

body.pro .stat-icon {
  border-radius: var(--radius-sm);
  width: 52px; height: 52px;
}

body.pro .stat-card.orange .stat-icon { background: rgba(249,115,22,.15); box-shadow: 0 4px 12px rgba(249,115,22,.2); }
body.pro .stat-card.green  .stat-icon { background: rgba(34,197,94,.15);  box-shadow: 0 4px 12px rgba(34,197,94,.2); }
body.pro .stat-card.blue   .stat-icon { background: rgba(59,130,246,.15); box-shadow: 0 4px 12px rgba(59,130,246,.2); }
body.pro .stat-card.purple .stat-icon { background: rgba(139,92,246,.15); box-shadow: 0 4px 12px rgba(139,92,246,.2); }

body.pro .stat-value { font-size: 30px; font-weight: 900; letter-spacing: -1px; }
body.pro .stat-card.orange .stat-value { color: #FB923C; }
body.pro .stat-card.green  .stat-value { color: #4ADE80; }
body.pro .stat-card.blue   .stat-value { color: #60A5FA; }
body.pro .stat-card.purple .stat-value { color: #A78BFA; }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD — LİSTE KARTLARI
═══════════════════════════════════════════════════════════ */
body.pro .card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
  animation: proFadeUp .4s ease both;
}

body.pro .card-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 22px;
}

body.pro .card-header h3 { font-size: 15px; font-weight: 800; }

body.pro .dash-list-item {
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .15s;
}

body.pro .dash-list-item:hover {
  background: rgba(249,115,22,.05);
}

/* ═══════════════════════════════════════════════════════════
   MASA KARTLARI — ANA TASARIM
═══════════════════════════════════════════════════════════ */
body.pro .tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

body.pro .table-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  animation: proFadeUp .35s ease both;
}

/* Stagger — her kart biraz gecikimli gelsin */
body.pro .table-card:nth-child(1)  { animation-delay: .03s; }
body.pro .table-card:nth-child(2)  { animation-delay: .06s; }
body.pro .table-card:nth-child(3)  { animation-delay: .09s; }
body.pro .table-card:nth-child(4)  { animation-delay: .12s; }
body.pro .table-card:nth-child(5)  { animation-delay: .15s; }
body.pro .table-card:nth-child(6)  { animation-delay: .18s; }
body.pro .table-card:nth-child(7)  { animation-delay: .21s; }
body.pro .table-card:nth-child(8)  { animation-delay: .24s; }
body.pro .table-card:nth-child(9)  { animation-delay: .27s; }
body.pro .table-card:nth-child(10) { animation-delay: .30s; }
body.pro .table-card:nth-child(n+11) { animation-delay: .33s; }

/* Kart içi glow overlay */
body.pro .table-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,.02));
  pointer-events: none;
}

body.pro .table-card::after { display: none; }

/* Hover */
body.pro .table-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

/* BOŞSA */
body.pro .table-card.empty {
  border-color: rgba(255,255,255,.07);
  background: var(--card);
  opacity: .65;
}
body.pro .table-card.empty:hover {
  opacity: 1;
  border-color: rgba(34,197,94,.4);
  box-shadow: var(--shadow), 0 0 30px var(--glow-g);
}

/* DOLUYSA */
body.pro .table-card.occupied {
  border-color: rgba(249,115,22,.4);
  background: linear-gradient(145deg, var(--card), rgba(249,115,22,.06));
  box-shadow: 0 0 0 1px rgba(249,115,22,.1), var(--shadow);
}
body.pro .table-card.occupied:hover {
  border-color: rgba(249,115,22,.7);
  box-shadow: var(--shadow-lg), 0 0 40px var(--glow-o);
}

/* HESAP İSTEDİ */
body.pro .table-card.bill {
  border-color: rgba(59,130,246,.45);
  background: linear-gradient(145deg, var(--card), rgba(59,130,246,.06));
  box-shadow: 0 0 0 1px rgba(59,130,246,.1), var(--shadow);
}
body.pro .table-card.bill:hover {
  border-color: rgba(59,130,246,.7);
  box-shadow: var(--shadow-lg), 0 0 40px var(--glow-b);
}

/* REZERVE */
body.pro .table-card.reserved {
  border-color: rgba(234,179,8,.4);
  background: linear-gradient(145deg, var(--card), rgba(234,179,8,.06));
}

/* Pulse dot — pro versiyonu */
body.pro .table-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  position: absolute; top: 12px; right: 12px;
  background: var(--primary);
  animation: proPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--primary);
}

body.pro .table-card.bill .table-pulse {
  background: #60A5FA;
  box-shadow: 0 0 8px #60A5FA;
  animation-duration: 1.4s;
}

@keyframes proPulse {
  0%, 100% { transform: scale(1);   opacity: 1;  box-shadow: 0 0 6px currentColor; }
  50%       { transform: scale(1.5); opacity: .7; box-shadow: 0 0 14px currentColor; }
}

/* Options butonu */
body.pro .table-options-btn {
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all .15s;
}
body.pro .table-options-btn:hover { background: rgba(255,255,255,.15); }

/* Toplam tutar */
body.pro .table-card-total {
  font-size: 18px; font-weight: 900;
  color: #4ADE80;
  text-shadow: 0 0 16px rgba(34,197,94,.3);
  margin-top: 8px;
}

/* İsim & kapasite */
body.pro .table-card-name { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
body.pro .table-card-cap  { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
body.pro .table-card-icon { font-size: 36px; margin-bottom: 8px; }

/* Badge */
body.pro .badge-empty    { background: rgba(34,197,94,.12);  color: #4ADE80; border: 1px solid rgba(34,197,94,.2); }
body.pro .badge-occupied { background: rgba(249,115,22,.12); color: #FB923C; border: 1px solid rgba(249,115,22,.2); }
body.pro .badge-bill     { background: rgba(59,130,246,.12); color: #60A5FA; border: 1px solid rgba(59,130,246,.2); }
body.pro .badge-reserved { background: rgba(234,179,8,.12);  color: #FCD34D; border: 1px solid rgba(234,179,8,.2); }
body.pro .badge-pending  { background: rgba(234,179,8,.12);  color: #FCD34D; border: 1px solid rgba(234,179,8,.2); }
body.pro .badge-preparing{ background: rgba(249,115,22,.12); color: #FB923C; border: 1px solid rgba(249,115,22,.2); }
body.pro .badge-ready    { background: rgba(34,197,94,.12);  color: #4ADE80; border: 1px solid rgba(34,197,94,.2); }

/* Cream — masa kartları */
body.pro.pro-cream .table-card.empty    { background: #FDFAF6; border-color: rgba(34,197,94,.25); }
body.pro.pro-cream .table-card.occupied { background: linear-gradient(145deg, #FBF7F2, rgba(249,115,22,.05)); border-color: rgba(249,115,22,.35); }
body.pro.pro-cream .table-card.bill     { background: linear-gradient(145deg, #FBF7F2, rgba(59,130,246,.05));  border-color: rgba(59,130,246,.3); }

/* ═══════════════════════════════════════════════════════════
   MUTFAK EKRANı (KITCHEN)
═══════════════════════════════════════════════════════════ */
body.pro .kitchen-ticket {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all .2s ease;
  animation: proFadeUp .35s ease both;
  overflow: hidden;
}

body.pro .kitchen-ticket:nth-child(1) { animation-delay: .05s; }
body.pro .kitchen-ticket:nth-child(2) { animation-delay: .10s; }
body.pro .kitchen-ticket:nth-child(3) { animation-delay: .15s; }
body.pro .kitchen-ticket:nth-child(4) { animation-delay: .20s; }
body.pro .kitchen-ticket:nth-child(n+5) { animation-delay: .25s; }

body.pro .kitchen-ticket:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Yeni sipariş — turuncu */
body.pro .kitchen-ticket.status-new {
  border-color: rgba(249,115,22,.4);
  border-left: 4px solid var(--primary);
  background: linear-gradient(135deg, var(--card), rgba(249,115,22,.04));
  box-shadow: var(--shadow), 0 0 30px rgba(249,115,22,.1);
  animation: proFadeUp .35s ease both, proTicketNew 3s ease-in-out infinite;
}

@keyframes proTicketNew {
  0%, 100% { box-shadow: var(--shadow), 0 0 20px rgba(249,115,22,.1); }
  50%       { box-shadow: var(--shadow), 0 0 40px rgba(249,115,22,.2); }
}

/* Hazırlanıyor — sarı */
body.pro .kitchen-ticket.status-preparing {
  border-color: rgba(234,179,8,.4);
  border-left: 4px solid var(--yellow);
  background: linear-gradient(135deg, var(--card), rgba(234,179,8,.04));
}

/* Hazır — yeşil */
body.pro .kitchen-ticket.status-ready {
  border-color: rgba(34,197,94,.4);
  border-left: 4px solid var(--green);
  background: linear-gradient(135deg, var(--card), rgba(34,197,94,.05));
  box-shadow: var(--shadow), 0 0 30px rgba(34,197,94,.12);
}

body.pro .kitchen-ticket-header {
  background: rgba(0,0,0,.2);
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
}

body.pro.pro-cream .kitchen-ticket-header { background: var(--card-2); }

/* Hazırlandı butonu */
body.pro .btn-ready {
  border-radius: var(--radius-sm);
  font-weight: 800;
  transition: all .2s;
  background: var(--green);
  box-shadow: 0 4px 16px var(--glow-g);
}
body.pro .btn-ready:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--glow-g);
  filter: brightness(1.08);
}

/* ═══════════════════════════════════════════════════════════
   KÂR ANALİZİ
═══════════════════════════════════════════════════════════ */
body.pro .profit-bar {
  height: 10px;
  border-radius: 5px;
  background: var(--card-2);
  overflow: hidden;
}

body.pro .profit-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* ═══════════════════════════════════════════════════════════
   SİPARİŞ PANELİ / MODAL
═══════════════════════════════════════════════════════════ */
body.pro .modal-overlay {
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.pro .modal-box {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(249,115,22,.08);
  animation: proModalIn .3s cubic-bezier(.34,1.4,.64,1) both;
}

body.pro.pro-cream .modal-box {
  border: 1px solid rgba(160,120,70,.15);
  box-shadow: var(--shadow-xl);
}

@keyframes proModalIn {
  from { opacity: 0; transform: scale(.9) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

body.pro .modal-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}

body.pro .modal-body { }

/* ═══════════════════════════════════════════════════════════
   FORM ELEMANLARı
═══════════════════════════════════════════════════════════ */
body.pro .form-input,
body.pro input:not([type=checkbox]):not([type=radio]),
body.pro select,
body.pro textarea {
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: all .2s;
}

body.pro.pro-cream .form-input,
body.pro.pro-cream input:not([type=checkbox]):not([type=radio]),
body.pro.pro-cream select,
body.pro.pro-cream textarea {
  background: rgba(0,0,0,.03);
  border-color: rgba(160,120,70,.2);
}

body.pro .form-input:focus,
body.pro input:focus,
body.pro select:focus,
body.pro textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
  outline: none;
  background: rgba(249,115,22,.04);
}

/* ═══════════════════════════════════════════════════════════
   TABLE / LİSTE
═══════════════════════════════════════════════════════════ */
body.pro table { border-collapse: separate; border-spacing: 0; }

body.pro thead th {
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .8px; color: var(--text-muted);
  font-weight: 700; padding: 12px 14px;
}

body.pro tbody tr { transition: background .15s; }
body.pro tbody tr:hover td { background: rgba(249,115,22,.04); }
body.pro tbody td { border-bottom: 1px solid rgba(255,255,255,.04); }

/* ═══════════════════════════════════════════════════════════
   SECTION TABS
═══════════════════════════════════════════════════════════ */
body.pro .section-tabs {
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

body.pro .section-tab {
  color: var(--text-muted);
  transition: all .2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

body.pro .section-tab:hover { color: var(--primary); }
body.pro .section-tab.active {
  color: #FB923C;
  border-bottom-color: var(--primary);
  text-shadow: 0 0 16px rgba(249,115,22,.3);
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════════ */
body.pro ::-webkit-scrollbar-track { background: transparent; }
body.pro ::-webkit-scrollbar-thumb {
  background: rgba(249,115,22,.2);
  border-radius: 8px;
}
body.pro ::-webkit-scrollbar-thumb:hover { background: rgba(249,115,22,.4); }

/* ═══════════════════════════════════════════════════════════
   TOAST — PRO
═══════════════════════════════════════════════════════════ */
body.pro .toast {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

/* ═══════════════════════════════════════════════════════════
   AYARLAR — TAB SİSTEMİ (HER TEMA)
═══════════════════════════════════════════════════════════ */
.settings-tab {
  padding: 10px 18px;
  font-size: 14px; font-weight: 600;
  background: none; border: none;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
}
.settings-tab:hover { color: var(--primary); }
.settings-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--primary-light);
}

/* ═══════════════════════════════════════════════════════════
   AYARLAR — TEMA SEÇİCİ
═══════════════════════════════════════════════════════════ */
.theme-option {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all .2s ease;
  text-align: center;
  background: var(--card);
}

.theme-option:hover {
  border-color: rgba(249,115,22,.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.theme-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 1px rgba(249,115,22,.3), 0 0 20px rgba(249,115,22,.1);
}

.theme-option-preview {
  width: 100%; height: 56px;
  border-radius: 8px; margin-bottom: 10px;
  overflow: hidden; display: flex;
  border: 1px solid rgba(255,255,255,.08);
}

.theme-option-name { font-size: 13px; font-weight: 800; margin-bottom: 3px; }
.theme-option-desc { font-size: 11px; color: var(--text-muted); }

/* Preview küçük görseller */
.preview-basic-light .p-sidebar { width:28%; background:#0F172A; }
.preview-basic-light .p-main   { flex:1; background:#F1F5F9; }
.preview-basic-dark  .p-sidebar { width:28%; background:#060C18; }
.preview-basic-dark  .p-main   { flex:1; background:#0F172A; }
.preview-pro-dark    .p-sidebar { width:28%; background:#050A14; }
.preview-pro-dark    .p-main   { flex:1; background:#080D1A; display:flex; align-items:center; justify-content:center; gap:4px; padding:6px; }
.preview-pro-dark    .p-card   { flex:1; height:65%; background:#111827; border-radius:5px; border:1px solid rgba(249,115,22,.35); }
.preview-pro-cream   .p-sidebar { width:28%; background:#180E04; }
.preview-pro-cream   .p-main   { flex:1; background:#F2EBE0; display:flex; align-items:center; justify-content:center; gap:4px; padding:6px; }
.preview-pro-cream   .p-card   { flex:1; height:65%; background:#FBF7F2; border-radius:5px; border:1px solid rgba(249,115,22,.3); }

/* ═══════════════════════════════════════════════════════════
   YARDIMCI ANİMASYONLAR
═══════════════════════════════════════════════════════════ */
@keyframes proFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes proFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes proSlideRight {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Uygulama başlangıcında sidebar nav item'ları sırayla gir */
body.pro .nav-item:nth-child(1)  { animation: proSlideRight .3s ease .05s both; }
body.pro .nav-item:nth-child(2)  { animation: proSlideRight .3s ease .08s both; }
body.pro .nav-item:nth-child(3)  { animation: proSlideRight .3s ease .11s both; }
body.pro .nav-item:nth-child(4)  { animation: proSlideRight .3s ease .14s both; }
body.pro .nav-item:nth-child(5)  { animation: proSlideRight .3s ease .17s both; }
body.pro .nav-item:nth-child(6)  { animation: proSlideRight .3s ease .20s both; }
body.pro .nav-item:nth-child(7)  { animation: proSlideRight .3s ease .23s both; }
body.pro .nav-item:nth-child(8)  { animation: proSlideRight .3s ease .26s both; }
body.pro .nav-item:nth-child(9)  { animation: proSlideRight .3s ease .29s both; }
body.pro .nav-item:nth-child(n+10){ animation: proSlideRight .3s ease .32s both; }
