/**
 * MenuFlexPOS - Yeni Nesil Tasarım Sistemi & Modern CSS Motoru
 * Dosya: server-lisans/assets/css/portal.css
 * 2026 SaaS Glassmorphism, Micro-Interactions, Responsive Grids & Design Tokens
 */

/* ==========================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ========================================================================== */
:root {
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Modern Gündüz / Aydınlık Mod Arka Plan Tonları */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-strong: rgba(255, 255, 255, 0.95);

  /* Vurgular & Renk Geçişleri */
  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --primary-400: #818cf8;
  --primary-500: #4f46e5;
  --primary-600: #4338ca;
  --primary-glow: rgba(79, 70, 229, 0.2);

  --cyan-400: #38bdf8;
  --cyan-500: #0284c7;
  --cyan-glow: rgba(2, 132, 199, 0.2);

  --emerald-400: #34d399;
  --emerald-500: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.2);

  --rose-400: #fb7185;
  --rose-500: #e11d48;
  --rose-glow: rgba(225, 29, 72, 0.2);

  --amber-400: #fbbf24;
  --amber-500: #d97706;

  /* Modern Okunaklı Metin Renkleri */
  --text-white: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Kenarlık & Gölgeler */
  --border-glass: #e2e8f0;
  --border-glass-bright: #cbd5e1;
  --border-active: #4f46e5;
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
  --shadow-neon-primary: 0 4px 20px -2px var(--primary-glow);
  --shadow-neon-cyan: 0 4px 20px -2px var(--cyan-glow);
  --shadow-neon-emerald: 0 4px 20px -2px var(--emerald-glow);

  /* Yuvarlaklık & Geçiş */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. TEMEL SIFIRLAMA & BODY STİLLERİ
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(at 15% 15%, rgba(99, 102, 241, 0.04) 0px, transparent 50%),
    radial-gradient(at 85% 10%, rgba(6, 182, 212, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(139, 92, 246, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
}

::selection {
  background: var(--primary-500);
  color: #ffffff;
}

/* ==========================================================================
   3. MODERN ÖZEL KAYDIRMA ÇUBUĞU (SCROLLBAR)
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(12, 18, 34, 0.5);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
  background-clip: content-box;
}

/* ==========================================================================
   4. GLASSMORPHISM VE KART SİSTEMİ
   ========================================================================== */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}

.glass-panel-hover:hover {
  border-color: var(--border-glass-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.glass-header {
  background: rgba(12, 18, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

/* Kart Vurgusu & Gradyan Çerçeveler */
.card-featured {
  position: relative;
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 0 35px -5px rgba(99, 102, 241, 0.28), var(--shadow-lg) !important;
  background: linear-gradient(145deg, rgba(20, 27, 52, 0.85), rgba(15, 23, 42, 0.95)) !important;
}

.card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #06b6d4, #10b981);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ==========================================================================
   5. MODERN SATIN ALMA PAKET KARTLARI (PRICING TIERS)
   ========================================================================== */
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(99, 102, 241, 0.2);
}

.package-card .price-tag {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 30%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.package-card .feature-list {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.package-card .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.package-card .feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   6. GELİŞMİŞ BUTON SİSTEMİ (BUTTONS & MICRO-INTERACTIONS)
   ========================================================================== */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  user-select: none;
}

.btn-modern:active {
  transform: scale(0.97);
}

/* Birincil Buton (Primary Glow) */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: #ffffff;
  box-shadow: var(--shadow-neon-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -4px rgba(99, 102, 241, 0.5);
  color: #ffffff;
}

/* İkincil Buton (Secondary Glass) */
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass-bright);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Yeşil Başarı Butonu */
.btn-success {
  background: linear-gradient(135deg, var(--emerald-500), #059669);
  color: #ffffff;
  box-shadow: var(--shadow-neon-emerald);
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -4px rgba(16, 185, 129, 0.5);
}

/* Tehlike Butonu */
.btn-danger {
  background: rgba(244, 63, 94, 0.12);
  color: var(--rose-400);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.btn-danger:hover {
  background: var(--rose-500);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-rose);
}

/* ==========================================================================
   7. GİRİŞ ALANLARI VE FORMLAR (INPUTS & CONTROLS)
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.input-modern {
  width: 100%;
  background: rgba(6, 9, 19, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-white);
  outline: none;
  transition: all var(--transition-fast);
}

.input-modern:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  background: rgba(10, 15, 30, 0.95);
}

.input-modern::placeholder {
  color: var(--text-subtle);
  font-weight: 400;
}

/* ==========================================================================
   8. DURUM ROZETLERİ (BADGES & PILLS)
   ========================================================================== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.badge-active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  border-color: rgba(16, 185, 129, 0.25);
}

.badge-expired {
  background: rgba(244, 63, 94, 0.12);
  color: var(--rose-400);
  border-color: rgba(244, 63, 94, 0.25);
}

.badge-pending {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-400);
  border-color: rgba(245, 158, 11, 0.25);
}

.badge-popular {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

/* ==========================================================================
   9. ANİMASYONLAR & CANLI ETKİLER
   ========================================================================== */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.animate-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

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

.animate-slide-up {
  animation: slideUpFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Parlayan İkon Kutuları */
.icon-box-neon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   10. MODAL VE POPUP SİSTEMİ
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content-glass {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.15);
  max-width: 550px;
  width: 100%;
  overflow: hidden;
  animation: slideUpFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   11. TABLOLAR (RESPONSIVE MODERN TABLES)
   ========================================================================== */
.table-glass {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
}

.table-glass th {
  background: rgba(12, 18, 34, 0.6);
  color: var(--text-muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.table-glass td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-main);
  transition: background var(--transition-fast);
}

.table-glass tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   12. MOBİL VE DUYARLI DÜZEN (RESPONSIVE)
   ========================================================================== */
@media (max-width: 768px) {
  .package-card {
    padding: 1.25rem;
  }
  .package-card .price-tag {
    font-size: 1.85rem;
  }
  .btn-modern {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   13. MODERN NAVBAR & MENÜ BUTONLARI (HOVER / ACTIVE TRANSITIONS)
   ========================================================================== */
.admin-navbar {
  background: rgba(10, 15, 29, 0.94);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.7);
}

.admin-nav-container {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  padding: 0.35rem 0.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-pill {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.55rem !important;
  padding: 0.55rem 0.95rem;
  border-radius: 0.9rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap !important;
  user-select: none;
  position: relative;
  text-decoration: none;
}

.nav-pill img,
.nav-pill .nav-icon {
  display: inline-block !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.nav-pill span {
  display: inline-block !important;
  white-space: nowrap !important;
}

/* ÜZERİNE GELİNDİĞİNDE (HOVER) RENK DEĞİŞİMİ */
.nav-pill:hover {
  color: #38bdf8 !important;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(99, 102, 241, 0.25) 100%) !important;
  border-color: rgba(56, 189, 248, 0.65) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px -2px rgba(56, 189, 248, 0.4), inset 0 0 10px rgba(56, 189, 248, 0.15) !important;
}

.nav-pill:hover .nav-icon {
  filter: brightness(0) saturate(100%) invert(67%) sepia(85%) saturate(718%) hue-rotate(164deg) brightness(101%) contrast(98%) !important;
}

/* TIKLANDIĞINDA / AKTİF OLDUĞUNDA (ACTIVE) RENK DEĞİŞİMİ */
.nav-pill:active {
  transform: translateY(0px) scale(0.96) !important;
}

.nav-pill.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 50%, #06b6d4 100%) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 10px 28px -2px rgba(79, 70, 229, 0.7), 0 0 22px rgba(6, 182, 212, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
}

.nav-pill.active .nav-icon {
  filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(255, 255, 255, 0.8)) !important;
}
  box-shadow: 0 10px 25px -2px rgba(79, 70, 229, 0.6), 0 0 20px rgba(6, 182, 212, 0.45) !important;
  transform: translateY(-1px);
}

.nav-pill.active .nav-icon {
  filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(255, 255, 255, 0.8)) !important;
}

.nav-counter {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  line-height: 1;
}

.nav-pill:not(.active) .nav-counter {
  background: rgba(30, 41, 59, 0.85);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-pill:hover:not(.active) .nav-counter {
  background: rgba(56, 189, 248, 0.25);
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.4);
}

/* YAN MENÜ (SIDEBAR) UYUMLU NAV-PILL DÜZENİ */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.sidebar-nav .nav-pill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}
.sidebar-nav .nav-pill .nav-counter {
  margin-left: auto;
}

/* ==========================================================================
   14. WORD BENZERİ ZENGİN METİN EDİTÖRÜ (RICH WYSIWYG TOOLBAR)
   ========================================================================== */
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  background: #1e293b;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem 0.85rem 0 0;
  border: 1px solid #475569;
  border-bottom: 1px solid #334155;
}

.editor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  background: #334155;
  color: #f1f5f9;
  border: 1px solid #475569;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.editor-btn:hover {
  background: #475569;
  color: #38bdf8;
  border-color: #38bdf8;
}

.editor-btn:active {
  transform: scale(0.95);
}

/* YAZI TİPİ, BOYUT, BİÇİM VE SMS MENÜLERİ - GRİ RENKLİ, PARLAK VE NET YAZILI */
.editor-select,
.editor-toolbar select,
select.editor-select,
.sms-select {
  background-color: #334155 !important; /* Görünür ve okunaklı Slate-700 Gri */
  color: #ffffff !important;            /* Parlak beyaz yazı */
  border: 1px solid #64748b !important;
  border-radius: 0.5rem;
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  -webkit-appearance: menulist !important;
  appearance: menulist !important;
}

.editor-select:focus,
.editor-toolbar select:focus,
select.editor-select:focus,
.sms-select:focus {
  background-color: #1e293b !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
}

/* DROPDOWN LİSTESİNDE KUTUCUK VE YAZILARIN TAM GÖRÜNÜRLÜĞÜ */
select,
.editor-select,
.editor-toolbar select,
select.editor-select,
.sms-select,
.input-modern select {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border-color: #475569 !important;
}

select option,
.editor-select option,
.editor-toolbar select option,
select.editor-select option,
.sms-select option,
.input-modern select option {
  background-color: #0f172a !important; /* Çok net koyu zemin */
  color: #f8fafc !important;            /* Parlak beyaz metin */
  padding: 10px 14px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

select option:hover,
select option:checked {
  background-color: #3b82f6 !important;
  color: #ffffff !important;
}

.editor-content-area {
  min-height: 220px;
  background: rgba(6, 9, 19, 0.85);
  border: 1px solid var(--border-glass-bright);
  border-top: none;
  border-radius: 0 0 0.85rem 0.85rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ffffff;
  outline: none;
  overflow-y: auto;
}

.editor-content-area:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Önizleme Telefon ve E-posta Mockup */
.mockup-phone {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border: 8px solid rgba(30, 41, 59, 0.9);
  border-radius: 36px;
  background: #090d16;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.15);
  overflow: hidden;
}

.mockup-sms-bubble {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #ffffff;
  border-radius: 18px 18px 4px 18px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  word-break: break-word;
}

/* Profil Avatarı Yuvarlak Resim */
.avatar-glow {
  position: relative;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
  object-fit: cover;
}

/* ==========================================================================
   15. CANLI DESTEK SOL ALT WIDGET & POPUP
   ========================================================================== */
.support-floating-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.35rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #06b6d4 0%, #4f46e5 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px -4px rgba(6, 182, 212, 0.45), 0 0 20px rgba(99, 102, 241, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.support-floating-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px -4px rgba(6, 182, 212, 0.6), 0 0 25px rgba(99, 102, 241, 0.45);
}

.support-floating-btn:active {
  transform: scale(0.97);
}

.support-chat-popup {
  position: fixed;
  bottom: 5.5rem;
  left: 1.5rem;
  width: 390px;
  max-width: calc(100vw - 3rem);
  height: 520px;
  max-height: calc(100vh - 7rem);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.2), 0 0 25px rgba(99, 102, 241, 0.1);
  overflow: hidden;
  animation: slideUpFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   15. GRUPLU DROPDOWN MENÜ & MOBİL ARAYÜZ (ACCORDION & DRAWER)
   ========================================================================== */

.menu-dropdown-container {
  position: relative;
}

.menu-dropdown-content {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 215px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid #e2e8f0;
  border-radius: 1.1rem;
  padding: 0.5rem;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.12), 0 0 20px rgba(99, 102, 241, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.97);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  pointer-events: none;
}

.menu-dropdown-container:hover .menu-dropdown-content,
.menu-dropdown-container:focus-within .menu-dropdown-content,
.menu-dropdown-container.open .menu-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.menu-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.menu-dropdown-item:hover {
  background: #f1f5f9;
  color: #4f46e5;
  transform: translateX(3px);
}

.menu-dropdown-item.active {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.mobile-nav-drawer {
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow: hidden;
}

.mobile-nav-drawer.collapsed {
  max-height: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}

.mobile-nav-drawer:not(.collapsed) {
  max-height: 90vh !important;
  opacity: 1 !important;
  pointer-events: auto;
}


