/* ═══════════════════════════════════════════════
   ALLSFLY — TAM KAPSAMLI AÇIK TEMA (FIXED)
   ═══════════════════════════════════════════════ */

html[data-theme="light"] {
  /* Temel Değişkenler */
  --y:   #0070F3;     /* Ana Mavi */
  --y2:  #0058C7;
  --ac:  #E11D48;     /* Aksiyon Kırmızısı */
  --ac2: #BE123C;
  --bk:  #F0F4F8;     /* Sayfa Arkaplan */
  --d1:  #FFFFFF;     /* Saf Beyaz Kartlar */
  --d2:  #F8FAFC;     /* Hafif Gri Alanlar */
  --d3:  #E2E8F0;
  --bd:  #CBD5E1;     /* Kenarlıklar */
  --wh:  #0F172A;     /* ANA METİN (Koyu Lacivert/Siyah) */
  --gr:  #475569;     /* Gri Metin */
  --gn:  #059669;
  --wa:  #25D366;
  
  /* JS Inline Stiller İçin Aliaslar */
  --gold:  #0070F3;
  --gold2: #0058C7;
  --ink:   #FFFFFF;
  --ink2:  #F8FAFC;
  --ink3:  #E2E8F0;
  --line:  #CBD5E1;
  --white: #0F172A;
  --muted: #64748B;
  --soft:  #94A3B8;
  --red:   #E11D48;
}

/* ── Sayfa Geneli ── */
html[data-theme="light"] body { background: var(--bk); color: var(--wh); }

/* ── Header ── */
html[data-theme="light"] .az-hdr { background: #0070F3; border-bottom: none; box-shadow: 0 2px 12px rgba(0,112,243,0.2); }
html[data-theme="light"] .az-hdr-logo, 
html[data-theme="light"] .az-hdr-logo i { color: #ffffff !important; }
html[data-theme="light"] .az-hdr-badge { background: rgba(255,255,255,0.2); color: #ffffff; border-color: rgba(255,255,255,0.3); }
html[data-theme="light"] .az-theme-toggle { background: rgba(255,255,255,0.2); color: #ffffff; border: none; }

/* ── Uçuş Kartları (Kritik Düzeltme Bölgesi) ── */
html[data-theme="light"] .az-fc { 
  background: #ffffff !important; 
  border-color: #E2E8F0 !important; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* JS'den gelen tüm beyaz yazıları koyuya çekiyoruz */
html[data-theme="light"] .az-fc *,
html[data-theme="light"] .az-tm, 
html[data-theme="light"] .az-cd,
html[data-theme="light"] .az-fc span { 
  color: #0F172A !important; 
}

/* Fiyat ve Alt Panel Alanı */
html[data-theme="light"] .az-fc > div:last-child {
  background: #F1F5F9 !important; /* Koyu yerine çok açık gri */
  border-top: 1px solid #E2E8F0;
}

/* Fiyatın kendisi */
html[data-theme="light"] .az-price { 
  color: #0070F3 !important; 
}

/* Alt kısımdaki gri detaylar (valiz kg, satıcı vs.) */
html[data-theme="light"] .az-agt,
html[data-theme="light"] .az-fc .az-gr { 
  color: #64748B !important; 
}

/* Aktarma Rozetleri */
html[data-theme="light"] .az-sb.dir { background: rgba(5,150,105,0.1) !important; color: #059669 !important; }
html[data-theme="light"] .az-sb.con { background: rgba(225,29,72,0.1) !important; color: #E11D48 !important; }

/* ── Arama ve Form Elemanları ── */
html[data-theme="light"] .az-sc { background: #ffffff; border: 1px solid #BFDBFE; }
html[data-theme="light"] .az-tbtn { background: transparent; border-color: #E2E8F0; color: #64748B; }
html[data-theme="light"] .az-tbtn.on { background: rgba(0,112,243,0.06); border-color: #0070F3; color: #0070F3; }
html[data-theme="light"] .az-ports, 
html[data-theme="light"] .az-dbox, 
html[data-theme="light"] .az-pbox { background: #F8FAFC; border-color: #E2E8F0; }
html[data-theme="light"] .az-plbl, 
html[data-theme="light"] .az-dlbl, 
html[data-theme="light"] .az-plbl2 { color: #0070F3; }
html[data-theme="light"] .az-pval, 
html[data-theme="light"] .az-pvl, 
html[data-theme="light"] input[type="date"] { color: #0F172A !important; }
html[data-theme="light"] .az-swap { background: #ffffff; border-color: #BFDBFE; color: #0070F3; }

/* ── Sonuç Navigasyonu (Tarihler) ── */
html[data-theme="light"] .az-dnav { background: #ffffff; border-bottom-color: #E2E8F0; }
html[data-theme="light"] .az-dnbtn { color: #64748B; }
html[data-theme="light"] .az-dnbtn.ac { color: #0070F3; background: rgba(0,112,243,0.05); border-bottom-color: #0070F3; }

/* ── Alt Bar (Arama/WhatsApp) ── */
html[data-theme="light"] .az-cbar { background: rgba(255,255,255,0.98); border-top: 1px solid #E2E8F0; box-shadow: 0 -4px 12px rgba(0,0,0,0.05); }
html[data-theme="light"] .cbl { color: #64748B; }
html[data-theme="light"] .cbn { color: #0070F3; }

/* ── Modallar (Airport/Sheet) ── */
html[data-theme="light"] #az-apmodal { background: #ffffff; }
html[data-theme="light"] .az-sht { background: #ffffff; border-color: #E2E8F0; }
html[data-theme="light"] .az-shdl { background: #CBD5E1; }
html[data-theme="light"] .az-shttl { color: #0F172A; }
html[data-theme="light"] .az-shx { background: #F1F5F9; color: #475569; }

/* ── Blog ve Diğer Kartlar ── */
html[data-theme="light"] .az-blog-card, 
html[data-theme="light"] .az-wcard { background: #ffffff; border-color: #E2E8F0; }
html[data-theme="light"] .az-blog-title { color: #0F172A; }
html[data-theme="light"] .az-wi { background: #EFF6FF; color: #0070F3; }
