/* WHITOO TEMA — gecici renk duzeltmesi (tam yeniden tasarima kadar).
   Amac: soluk gri/morumsu zeminler ve turkuaz vurgular yerine marka paleti:
   derin notr siyah, net beyaz yazi, kararli kirmizi (#ef3357).
   Bu dosya chat_room.html'de EN SONDA yuklenir.

   Not: eski CSS'te ayni renk degiskenleri bircok bilesende yeniden tanimlaniyor;
   hepsini tek seferde yakalamak icin degiskenler * uzerinde !important ile ezilir. */

* {
  /* vurgu: turkuaz/camgobegi -> marka kirmizisi */
  --woo-teal: #ef3357 !important;
  --woo-cyan: #ff4d6d !important;
  --ltx-cyan: #ff4d6d !important;
  --ltx-teal: #ef3357 !important;
  --lt-cyan: #ff4d6d !important;
  --dm-cyan: #ff4d6d !important;
  --rp-cyan: #ff4d6d !important;
  --woo-red: #ef3357 !important;
  --whitoo-red: #ef3357 !important;
  --whitoo-red-2: #ff4d6d !important;

  /* zeminler: lacivert/mor yerine notr derin siyah */
  --woo-bg: #0b0b0e !important;
  --woo-rail: #070709 !important;
  --ltx-bg: #0b0b0e !important;
  --ltx-panel: #141417 !important;
  --ltx-panel-2: #1a1a1e !important;
  --lt-ink: #0b0b0e !important;
  --rp-ink: #0b0b0e !important;

  /* yazilar: daha net */
  --woo-text: #ffffff !important;
  --ltx-text: #ffffff !important;
  --lt-text: #f6f5f7 !important;
  --woo-muted: #bdb7bb !important;
  --woo-soft: #e4e1e3 !important;
  --ltx-muted: #bdb7bb !important;
  --lt-muted: #bdb7bb !important;
}

html.dark body,
html.dark .main-tab-pane,
html.dark .chat-container {
  background-color: #0c0c0f !important;
  color: #f2f1f3 !important;
}
html.dark .room-bar {
  background-color: #070709 !important;
  border-color: rgba(255, 255, 255, .08) !important;
}
html.dark .channel-bar {
  background-color: #121215 !important;
  border-color: rgba(255, 255, 255, .08) !important;
}
html.dark .woo-room-hero-card {
  background-color: #17171b !important;
  border-color: rgba(255, 255, 255, .10) !important;
}

/* Kanal listesi: okunur, secili kanal belirgin */
html.dark .channel-item,
html.dark .channel-item a {
  color: #e8e6e9 !important;
}
html.dark .channel-item:hover {
  background-color: rgba(255, 255, 255, .06) !important;
  color: #ffffff !important;
}
html.dark .channel-item.active {
  background-color: rgba(239, 51, 87, .20) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Sol sunucu seridi: secili sunucu kirmizi hatla */
html.dark .room-list-item.active .chatroom-item {
  box-shadow: 0 0 0 2px #ef3357 !important;
}

/* Birincil dugmeler: kararli kirmizi */
html.dark .btn-primary {
  background-color: #ef3357 !important;
  border-color: #ef3357 !important;
  color: #fff !important;
}
html.dark .btn-primary:hover { background-color: #ff4d6d !important; border-color: #ff4d6d !important; }

/* Ince cizgiler biraz daha gorunur */
html.dark hr,
html.dark .border,
html.dark .border-bottom,
html.dark .border-top { border-color: rgba(255, 255, 255, .10) !important; }

/* Yazilar %20 buyudugu icin kanal sutunu da genisledi (240 -> 266px). */
@media (min-width: 768px) {
  .sidebar-wrapper:has(> .channel-bar) {
    width: 266px !important; min-width: 266px !important; max-width: 266px !important; flex: 0 0 266px !important;
  }
  .sidebar-wrapper > .channel-bar { width: 100% !important; min-width: 0 !important; max-width: none !important; }
}

/* Ikon fontunun alt kumesinde X (kapat) cizimi yok; sitedeki tum kapat
   dugmeleri bos gorunuyordu. Yazi karakteriyle ciziliyor. */
.ti-x::before {
  content: "\00d7" !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 1.45em;
  font-weight: 400;
  line-height: .8;
}
