
/* BİASDER - Yönetici Paneli Koyu Deniz Teması */

:root {
  color-scheme: dark;
  --bg: #0b1729;
  --surface: #14253c;
  --surface-2: #112640;
  --border: #29415c;
  --text: #edf4ff;
  --muted: #a9bdd4;
  --accent: #1687bb;
}

/* Genel sayfa */
html, body {
  background: #0b1729 !important;
  color: #edf4ff !important;
}

body > header {
  background: #112640 !important;
  border-bottom: 1px solid #29415c !important;
}

main,
.topline,
#workspace {
  color: #edf4ff;
}

h1, h2, h3, h4,
.brand,
.account-heading,
.toolbar {
  color: #edf4ff;
}

.eyebrow,
.muted,
small,
label {
  color: #a9bdd4;
}

/* Menü */
nav.tabs {
  background: #112640 !important;
  border: 1px solid #29415c !important;
  border-radius: 14px !important;
  justify-content: center !important;
}

nav.tabs button,
nav.tabs a {
  background: #284663 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

nav.tabs button.active,
nav.tabs button[aria-selected="true"] {
  background: #1687bb !important;
  color: #ffffff !important;
}

nav.tabs button:hover,
nav.tabs a:hover {
  background: #1687bb !important;
}

/* Kartlar ve paneller */
.panel,
.stat,
.toolbar,
#admin-content,
.message-v2-panel {
  background-color: #14253c !important;
  border-color: #29415c !important;
  color: #edf4ff !important;
}

/* Formlar */
input,
select,
textarea,
.competition-rules-editor {
  background: #0e1d32 !important;
  color: #edf4ff !important;
  border: 1px solid #36536f !important;
  border-radius: 8px;
}

input::placeholder,
textarea::placeholder {
  color: #8fa9c2;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #1687bb;
  outline-offset: 1px;
}

/* Butonlar */
button.primary,
button:not(.secondary):not(.active) {
  background-color: #0879a6;
  color: #ffffff;
}

button.secondary {
  background-color: #284663;
  color: #ffffff;
}

button:hover {
  filter: brightness(1.12);
}

/* Tablolar */
table {
  color: #edf4ff;
}

th {
  color: #acc7e1 !important;
  border-color: #30465e !important;
}

td {
  color: #edf4ff;
  border-color: #30465e !important;
}

tr:hover td {
  background: #1b3551;
}

/* Listeler ve iç kutular */
.table-wrap,
.user-toolbar,
.user-role-quick,
.filters,
.desk-list,
.empty {
  border-color: #29415c !important;
  color: #edf4ff;
}

/* Pencereler */
dialog {
  background: #14253c !important;
  color: #edf4ff !important;
  border: 1px solid #36536f !important;
  border-radius: 14px;
}

/* Bağlantılar */
a {
  color: #6acbf3;
}

a:hover {
  color: #b2e8ff;
}

/* Mobil */
@media (max-width: 700px) {
  nav.tabs {
    justify-content: center !important;
    flex-wrap: wrap;
  }

  .panel {
    border-radius: 12px;
  }
}


/* BİASDER - Koyu tema okunabilirlik düzeltmeleri */

/* Başlıklar */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .panel h2,
body .panel h3,
body #admin-content h2,
body #admin-content h3 {
  color: #edf4ff !important;
}

/* Takım ve kullanıcı tabloları */
body table {
  background: #14253c !important;
  color: #edf4ff !important;
}

body table thead,
body table th {
  background: #203c58 !important;
  color: #edf4ff !important;
}

body table tbody,
body table tbody tr,
body table tbody td {
  background: #14253c !important;
  color: #edf4ff !important;
}

body table tbody tr:hover td {
  background: #203c58 !important;
}

/* Dinamik takım listeleri */
body #admin-content,
body #admin-content p,
body #admin-content span,
body #admin-content strong,
body #admin-content td {
  color: #edf4ff !important;
}

/* Mesajlaşma alanı */
body .message-v2-panel,
body .message-v2-panel p,
body .message-v2-panel span,
body .message-v2-panel strong {
  color: #edf4ff !important;
}

/* Açık renkli mesaj kutularındaki yazılar */
body .message-v2-panel [class*="bubble"],
body .message-v2-panel [class*="message"] {
  color: #12304b;
}

/* Genel açıklamalar */
body .panel > p,
body .panel > div > p {
  color: #a9bdd4;
}

/* Mesajlaşma - açık zemin üzerindeki yazıları düzelt */

body .message-v2-panel [class*="bubble"],
body .message-v2-panel [class*="bubble"] *,
body .message-v2-panel [class*="message"]:not(textarea),
body .message-v2-panel [class*="message"]:not(textarea) * {
  color: #17324d !important;
}

/* Mesaj tarihleri */
body .message-v2-panel time {
  color: #526c85 !important;
}

