/* FxCanlı — WhalesRadar Yönetim paneli tema katmanı (Bootstrap 5.3 üzerine). */

/* ---------- Montserrat (yerel; latin + latin-ext → Türkçe karakterler) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("vendor/fonts/montserrat-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("vendor/fonts/montserrat-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("vendor/fonts/montserrat-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("vendor/fonts/montserrat-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("vendor/fonts/montserrat-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("vendor/fonts/montserrat-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("vendor/fonts/montserrat-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("vendor/fonts/montserrat-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Wordmark için 800 italik */
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 800; font-display: swap;
  src: url("vendor/fonts/montserrat-latin-ext-800-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 800; font-display: swap;
  src: url("vendor/fonts/montserrat-latin-800-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Marka belirteçleri ---------- */
:root {
  --fx-sari: #FFCE00;
  --fx-sari-koyu: #E6B800;
  --fx-sari-acik: #FFF4C2;
  --fx-seftali: #E79575;
  --fx-gradyan: linear-gradient(160deg, #FFCE00 0%, #E79575 100%);
  --fx-antrasit: #484A4E;
  --fx-antrasit-koyu: #36383B;
  --fx-zemin: #F7F8F9;
  --fx-kart: #FFFFFF;
  --fx-metin: #000000;
  --fx-metin-2: #666666;
  --fx-metin-3: #444444;
  --fx-metin-4: #808080;
  --fx-cizgi: #E6E8EB;
  --fx-tehlike: #E82C0C;
  --fx-tehlike-koyu: #C22209;
  --fx-basari: #1E9E5A;
  --fx-yaricap: 0.75rem;
  --fx-yaricap-kucuk: 0.5rem;
  --fx-golge: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 16px rgba(16, 24, 40, 0.06);
  --fx-odak: 0 0 0 0.25rem rgba(255, 206, 0, 0.45);
  --fx-kenar-genislik: 264px;

  /* Bootstrap değişken override'ları */
  --bs-primary: #FFCE00;
  --bs-primary-rgb: 255, 206, 0;
  --bs-primary-text-emphasis: #5C4A00;
  --bs-primary-bg-subtle: #FFF4C2;
  --bs-primary-border-subtle: #FFE680;
  --bs-danger: #E82C0C;
  --bs-danger-rgb: 232, 44, 12;
  --bs-success: #1E9E5A;
  --bs-success-rgb: 30, 158, 90;
  --bs-secondary-color: #666666;
  --bs-body-font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-size: 0.9375rem;
  --bs-body-color: #000000;
  --bs-body-color-rgb: 0, 0, 0;
  --bs-body-bg: #F7F8F9;
  --bs-body-bg-rgb: 247, 248, 249;
  --bs-heading-color: #000000;
  --bs-emphasis-color: #000000;
  --bs-border-color: #E6E8EB;
  --bs-border-radius: 0.5rem;
  --bs-border-radius-lg: 0.75rem;
  --bs-link-color: #484A4E;
  --bs-link-color-rgb: 72, 74, 78;
  --bs-link-hover-color: #000000;
  --bs-link-hover-color-rgb: 0, 0, 0;
  --bs-focus-ring-color: rgba(255, 206, 0, 0.45);
}

body { -webkit-font-smoothing: antialiased; }
a { text-decoration-color: var(--fx-sari); text-underline-offset: 0.2em; }
::selection { background: var(--fx-sari-acik); color: #000; }

:focus-visible { outline: 2px solid var(--fx-antrasit); outline-offset: 2px; }
.btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: var(--fx-odak); outline: none;
}
.form-control:focus, .form-select:focus { border-color: var(--fx-sari-koyu); }

/* ---------- Butonlar ---------- */
.btn { font-weight: 600; border-radius: var(--fx-yaricap-kucuk); }
.btn-primary {
  --bs-btn-color: #000; --bs-btn-bg: #FFCE00; --bs-btn-border-color: #FFCE00;
  --bs-btn-hover-color: #000; --bs-btn-hover-bg: #F2C300; --bs-btn-hover-border-color: #E6B800;
  --bs-btn-active-color: #000; --bs-btn-active-bg: #E6B800; --bs-btn-active-border-color: #D9AE00;
  --bs-btn-disabled-color: #444; --bs-btn-disabled-bg: #FFE680; --bs-btn-disabled-border-color: #FFE680;
  --bs-btn-focus-shadow-rgb: 255, 206, 0;
}
.btn-outline-primary {
  --bs-btn-color: #000; --bs-btn-border-color: #FFCE00;
  --bs-btn-hover-color: #000; --bs-btn-hover-bg: #FFCE00; --bs-btn-hover-border-color: #FFCE00;
  --bs-btn-active-color: #000; --bs-btn-active-bg: #E6B800; --bs-btn-active-border-color: #E6B800;
  --bs-btn-focus-shadow-rgb: 255, 206, 0;
}
.btn-danger {
  --bs-btn-bg: #E82C0C; --bs-btn-border-color: #E82C0C;
  --bs-btn-hover-bg: #C22209; --bs-btn-hover-border-color: #C22209;
  --bs-btn-active-bg: #A91D08; --bs-btn-active-border-color: #A91D08;
  --bs-btn-focus-shadow-rgb: 232, 44, 12;
}
.btn-outline-danger {
  --bs-btn-color: #C22209; --bs-btn-border-color: #E82C0C;
  --bs-btn-hover-bg: #E82C0C; --bs-btn-hover-border-color: #E82C0C;
  --bs-btn-active-bg: #C22209; --bs-btn-active-border-color: #C22209;
}
.btn-dark, .btn-secondary {
  --bs-btn-bg: #484A4E; --bs-btn-border-color: #484A4E;
  --bs-btn-hover-bg: #36383B; --bs-btn-hover-border-color: #36383B;
  --bs-btn-active-bg: #2A2B2E; --bs-btn-active-border-color: #2A2B2E;
}
.btn-outline-secondary {
  --bs-btn-color: #444; --bs-btn-border-color: #CED2D6;
  --bs-btn-hover-color: #000; --bs-btn-hover-bg: #EEF0F2; --bs-btn-hover-border-color: #BFC4C9;
  --bs-btn-active-color: #000; --bs-btn-active-bg: #E4E7EA; --bs-btn-active-border-color: #BFC4C9;
}

/* ---------- Formlar ---------- */
.form-label { font-weight: 600; font-size: 0.875rem; color: var(--fx-metin-3); margin-bottom: 0.375rem; }
.form-text { color: var(--fx-metin-2); }
.form-control, .form-select { border-color: #D5D9DD; border-radius: var(--fx-yaricap-kucuk); }
.form-control::placeholder { color: var(--fx-metin-4); }
.form-check-input:checked {
  background-color: var(--fx-sari); border-color: var(--fx-sari-koyu);
}
.form-check-input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.form-check-input:checked[type="radio"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23000'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:focus { --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23E6B800'/%3e%3c/svg%3e"); }
.form-switch .form-check-input:checked { --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23000'/%3e%3c/svg%3e"); }
.invalid-feedback { color: var(--fx-tehlike-koyu); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--fx-tehlike); }

/* ---------- Kabuk: kenar çubuğu + ana alan ---------- */
.fx-govde { background: var(--fx-zemin); }
.fx-atla {
  position: absolute; top: 0.5rem; left: 0.5rem; z-index: 2000;
  padding: 0.5rem 1rem; background: var(--fx-sari); color: #000; font-weight: 700; border-radius: var(--fx-yaricap-kucuk);
}
.fx-kabuk { display: flex; min-height: 100vh; }
.fx-ana { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

.fx-kenar {
  --bs-offcanvas-width: var(--fx-kenar-genislik);
  --bs-offcanvas-bg: var(--fx-antrasit);
  --bs-offcanvas-color: #E9EAEB;
  color: #E9EAEB;
  display: flex; flex-direction: column;
}
@media (min-width: 992px) {
  .fx-kenar.offcanvas-lg {
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
    width: var(--fx-kenar-genislik); flex: 0 0 var(--fx-kenar-genislik);
    background-color: var(--fx-antrasit) !important;
    display: flex; flex-direction: column;
  }
}
.fx-kenar-ust {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem;
  padding: 1.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fx-marka { display: inline-flex; flex-direction: column; gap: 0.375rem; text-decoration: none; color: inherit; border-radius: var(--fx-yaricap-kucuk); }
.fx-marka:hover { color: inherit; }
.fx-marka-alt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; color: #C4C6C9; }

/* Wordmark: "FX" sarı, eğik antrasit blok içinde; "CANLI" blok dışında */
.fx-wordmark {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: 1.5rem; line-height: 1; letter-spacing: 0.01em;
}
.fx-wordmark-fx {
  display: inline-block; padding: 0.3rem 0.55rem 0.3rem 0.45rem;
  background: var(--fx-antrasit-koyu); transform: skewX(-12deg); border-radius: 3px;
}
.fx-wordmark-fx > span { display: inline-block; transform: skewX(12deg); color: var(--fx-sari); }
.fx-wordmark-canli { color: #FFFFFF; }
/* Açık zemin (giriş kartı): blok antrasit, "CANLI" antrasit */
.fx-wordmark-acik .fx-wordmark-fx { background: var(--fx-antrasit); }
.fx-wordmark-acik .fx-wordmark-canli { color: var(--fx-antrasit); }

.fx-menu { padding: 1rem 0.75rem; }
.fx-menu-alt { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.fx-menu-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.125rem; }
.fx-menu-oge {
  position: relative; display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 0.875rem; border-radius: var(--fx-yaricap-kucuk);
  color: #E9EAEB; text-decoration: none; font-weight: 500; font-size: 0.9375rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.fx-menu-oge .bi { font-size: 1.125rem; width: 1.25rem; text-align: center; color: #C4C6C9; }
.fx-menu-oge:hover { background: rgba(255, 255, 255, 0.07); color: #FFFFFF; }
.fx-menu-oge:hover .bi { color: #FFFFFF; }
.fx-menu-oge:focus-visible { outline: 2px solid var(--fx-sari); outline-offset: 1px; }
.fx-menu-oge.aktif { background: rgba(255, 206, 0, 0.14); color: var(--fx-sari); font-weight: 600; }
.fx-menu-oge.aktif .bi { color: var(--fx-sari); }
.fx-menu-oge.aktif::before {
  content: ""; position: absolute; left: -0.75rem; top: 0.5rem; bottom: 0.5rem;
  width: 4px; border-radius: 0 4px 4px 0; background: var(--fx-sari);
}

/* Üst bar */
.fx-ust-bar {
  position: sticky; top: 0; z-index: 1020;
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  min-height: 4rem; padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--fx-cizgi);
}
.fx-menu-dugme { font-size: 1.5rem; line-height: 1; padding: 0.25rem 0.5rem; color: var(--fx-antrasit); }
.fx-sayfa-basligi { font-size: 1.25rem; font-weight: 700; margin: 0; flex: 1 1 auto; min-width: 0; }
.fx-ust-eylemler { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.fx-ust-eylemler:empty { display: none; }
.fx-kullanici {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.75rem 0.375rem 0.5rem; border-radius: 999px;
  background: var(--fx-zemin); border: 1px solid var(--fx-cizgi);
  color: var(--fx-metin-3); font-weight: 600; font-size: 0.875rem; text-decoration: none;
}
.fx-kullanici .bi { font-size: 1.25rem; color: var(--fx-antrasit); }
.fx-kullanici:hover { background: var(--fx-sari-acik); border-color: var(--fx-sari); color: #000; }
.fx-kullanici-ad { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fx-icerik { flex: 1 1 auto; padding: 1.5rem; }
.fx-icerik:focus { outline: none; }
.fx-alt-bilgi {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  padding: 1rem 1.5rem; font-size: 0.8125rem; color: var(--fx-metin-2);
  border-top: 1px solid var(--fx-cizgi);
}
.fx-surum { font-family: SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: 0.75rem; }

@media (max-width: 575.98px) {
  .fx-ust-bar { padding: 0.625rem 1rem; }
  .fx-icerik { padding: 1rem; }
  .fx-kullanici-ad { display: none; }
}

/* ---------- Bildirimler ---------- */
.fx-bildirimler { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.fx-bildirim { display: flex; align-items: flex-start; gap: 0.625rem; margin: 0; border-radius: var(--fx-yaricap-kucuk); border-width: 0 0 0 4px; }
.fx-bildirim-ikon { font-size: 1.125rem; line-height: 1.35; }
.alert-success { --bs-alert-bg: #E3F5EC; --bs-alert-color: #0F5A33; --bs-alert-border-color: var(--fx-basari); }
.alert-danger  { --bs-alert-bg: #FDE8E4; --bs-alert-color: #8F1A06; --bs-alert-border-color: var(--fx-tehlike); }
.alert-warning { --bs-alert-bg: #FFF4C2; --bs-alert-color: #5C4A00; --bs-alert-border-color: var(--fx-sari); }
.alert-info    { --bs-alert-bg: #EEF0F2; --bs-alert-color: #36383B; --bs-alert-border-color: var(--fx-antrasit); }

/* ---------- Kartlar ---------- */
.card {
  --bs-card-bg: var(--fx-kart);
  --bs-card-border-color: var(--fx-cizgi);
  --bs-card-border-radius: var(--fx-yaricap);
  --bs-card-inner-border-radius: calc(var(--fx-yaricap) - 1px);
  --bs-card-cap-bg: transparent;
  --bs-card-spacer-y: 1.25rem;
  --bs-card-spacer-x: 1.25rem;
  box-shadow: var(--fx-golge);
}
.fx-kart { margin-bottom: 1.5rem; }
.fx-kart-baslik { padding-top: 1rem; padding-bottom: 1rem; }
.fx-kart-baslik-metin { display: flex; align-items: center; gap: 0.625rem; margin: 0; font-size: 1rem; font-weight: 700; }
.fx-kart-ikon {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 0.5rem;
  background: var(--fx-sari-acik); color: var(--fx-antrasit); font-size: 1rem;
}

/* İstatistik kartı */
.fx-istatistik .card-body { display: flex; align-items: center; gap: 1rem; }
.fx-istatistik-ikon {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 0.75rem; background: var(--fx-gradyan); color: #000; font-size: 1.375rem;
}
.fx-istatistik-govde { min-width: 0; }
.fx-istatistik-etiket { font-size: 0.8125rem; font-weight: 600; color: var(--fx-metin-2); }
.fx-istatistik-deger { font-size: 1.625rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; word-break: break-word; }
.fx-istatistik-alt { font-size: 0.8125rem; color: var(--fx-metin-2); margin-top: 0.125rem; }

/* ---------- Rozetler ---------- */
.fx-rozet {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0.625rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; line-height: 1.3; white-space: nowrap;
}
.fx-rozet-nokta { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.fx-rozet-basari  { background: #E3F5EC; color: #146B3D; }
.fx-rozet-basari .fx-rozet-nokta { background: var(--fx-basari); }
.fx-rozet-tehlike { background: #FDE8E4; color: #A91D08; }
.fx-rozet-tehlike .fx-rozet-nokta { background: var(--fx-tehlike); }
.fx-rozet-uyari   { background: #FFF4C2; color: #5C4A00; }
.fx-rozet-uyari .fx-rozet-nokta { background: #E6B800; }
.fx-rozet-notr    { background: #EEF0F2; color: #444444; }
.fx-rozet-notr .fx-rozet-nokta { background: var(--fx-metin-4); }
.badge.text-bg-primary { color: #000 !important; }

/* ---------- Tablolar ---------- */
.table {
  --bs-table-bg: transparent;
  --bs-table-hover-bg: rgba(255, 206, 0, 0.08);
  --bs-table-striped-bg: #FAFBFB;
  --bs-table-border-color: var(--fx-cizgi);
  margin-bottom: 0; vertical-align: middle;
}
.table > thead > tr > th {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--fx-metin-2); background: var(--fx-zemin); border-bottom-width: 1px; white-space: nowrap;
}
.table > :not(caption) > * > * { padding: 0.75rem 1rem; }
.card > .table-responsive:last-child .table > tbody > tr:last-child > * { border-bottom: 0; }
.table-responsive { border-radius: inherit; }
.table .fx-eylemler { text-align: right; white-space: nowrap; }
.table .fx-eylemler .fx-onay-formu { display: inline-block; }

/* ---------- Sekmeler / nav ---------- */
.nav-tabs { --bs-nav-tabs-link-active-border-color: var(--fx-cizgi) var(--fx-cizgi) var(--bs-body-bg); }
.nav-tabs .nav-link, .nav-pills .nav-link { color: var(--fx-metin-3); font-weight: 600; }
.nav-tabs .nav-link.active { box-shadow: inset 0 -3px 0 var(--fx-sari); color: #000; }
.nav-pills { --bs-nav-pills-link-active-bg: var(--fx-sari); --bs-nav-pills-link-active-color: #000; }

/* ---------- Diğer ---------- */
.fx-onay-formu { display: inline-block; margin: 0; }
.fx-bos-durum {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 2.5rem 1rem; text-align: center; color: var(--fx-metin-2);
}
.fx-bos-durum-ikon {
  display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--fx-zemin); color: var(--fx-metin-4); font-size: 1.5rem;
}
.modal-content { border: 0; border-radius: var(--fx-yaricap); box-shadow: 0 12px 40px rgba(16, 24, 40, 0.18); }
.modal-header, .modal-footer { border-color: var(--fx-cizgi); }
.pagination { --bs-pagination-active-bg: var(--fx-sari); --bs-pagination-active-border-color: var(--fx-sari); --bs-pagination-active-color: #000; --bs-pagination-color: var(--fx-antrasit); }
.dropdown-menu { --bs-dropdown-link-active-bg: var(--fx-sari); --bs-dropdown-link-active-color: #000; border-color: var(--fx-cizgi); box-shadow: var(--fx-golge); }
.progress { --bs-progress-bar-bg: var(--fx-sari); }
.text-primary { color: #8A6F00 !important; } /* sarı metin beyazda okunmaz; koyu ton */
code { color: #A91D08; }

/* ---------- Giriş sayfası ---------- */
.fx-giris-govde {
  min-height: 100vh; background: var(--fx-gradyan); background-attachment: fixed;
}
.fx-giris { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem 1rem; }
.fx-giris-kart {
  width: 100%; max-width: 420px; overflow: hidden;
  border: 0; box-shadow: 0 20px 60px rgba(72, 74, 78, 0.25);
}
.fx-giris-kart .card-body { padding: 2rem 2rem 2.25rem; }
.fx-giris-serit { height: 6px; background: var(--fx-antrasit); }
.fx-giris-marka { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 1.75rem; }
.fx-giris-marka .fx-wordmark { font-size: 1.75rem; }
.fx-giris-marka .fx-marka-alt { color: var(--fx-metin-2); font-size: 0.8125rem; }
.fx-giris-baslik { font-size: 1.375rem; font-weight: 700; margin-bottom: 0.375rem; }
.fx-giris-aciklama { color: var(--fx-metin-2); margin-bottom: 1.5rem; }
.fx-sifre-dugme { border-color: #D5D9DD; }
@media (max-width: 400px) { .fx-giris-kart .card-body { padding: 1.5rem 1.25rem 1.75rem; } }

/* Çıkış: POST formu içindeki düğme menü öğesi gibi görünür */
.fx-menu-oge.fx-menu-oge-dugme { background: none; border: 0; width: 100%; text-align: left; font: inherit; }

/* ---------- İki adımlı doğrulama ---------- */
.fx-giris-kart.fx-giris-kart-genis { max-width: 520px; }
.fx-qr svg { max-width: 100%; height: auto; }
.fx-totp-anahtar {
  background: var(--fx-zemin); border: 1px dashed var(--fx-cizgi); border-radius: 0.375rem;
  padding: 0.5rem 0.75rem; letter-spacing: 0.08em; word-break: break-all; user-select: all;
}
.fx-kurtarma-kodlari { columns: 2; column-gap: 2rem; padding-left: 1.5rem; font-size: 1rem; user-select: all; }
.fx-kurtarma-kodlari li { margin-bottom: 0.25rem; }

/* ---------- Satır içi stil yerine sınıflar (CSP: style-src 'self') ---------- */
.fx-pre-sar { white-space: pre-wrap; }
.fx-log-kutu { max-height: 32rem; overflow: auto; }

/* ---------- Site reklamları ---------- */
.fx-banner-onizleme { max-width: 100%; max-height: 64px; height: auto; border: 1px solid #D5D9DD; border-radius: 0.25rem; background: #fff; }
.fx-banner-onizleme-kare { max-height: 96px; }
.fx-banner-form-onizleme { max-width: 100%; height: auto; border: 1px solid #D5D9DD; border-radius: 0.25rem; }
.fx-site-sekmeler .nav-link { color: var(--fx-antrasit); font-weight: 600; }
.fx-site-sekmeler .nav-link.active { border-bottom: 3px solid var(--fx-sari); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
