/* ============================================
   TosiHobi ERP - Admin Panel Custom Styles
   ============================================ */

/* ─── Sidebar: Smaller Navigation Font ─── */
.fi-sidebar-item-label,
.fi-sidebar-item-button span {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
}

/* Sidebar item buttons — compact vertical padding */
.fi-sidebar-item-button {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}

/* Sidebar nav list — tighter gap */
.fi-sidebar-nav ul, .fi-sidebar-nav > div, .fi-sidebar-nav > nav {
    gap: 0 !important;
}

/* Sidebar group — minimal top spacing */
.fi-sidebar-group {
    margin-top: 0.5rem !important;
    padding-top: 0 !important;
}
.fi-sidebar-group:first-child {
    margin-top: 0 !important;
}

/* Sidebar group label — tiny caps, compact */
.fi-sidebar-group-label,
nav [class*="sidebar-group"] > span,
nav [class*="sidebar-group"] > p {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.2rem !important;
    margin-bottom: 0.1rem !important;
}

/* Sidebar icons — slightly smaller to match font */
.fi-sidebar-item-icon {
    width: 1rem !important;
    height: 1rem !important;
}

/* ─── Active sidebar item: bolder highlight ─── */
.fi-sidebar-item-active .fi-sidebar-item-button {
    font-weight: 700 !important;
}

/* ─── Sidebar Group Color Differentiation ─── */
/* 1: Şirket Yönetimi — indigo */
.fi-sidebar-group:nth-child(1) .fi-sidebar-group-label,
.fi-sidebar-group:nth-child(1) > [class*="label"] {
    color: #6366f1 !important;
    border-bottom: 1px solid rgba(99,102,241,0.2);
    padding-bottom: 2px;
    margin-bottom: 2px;
}
.fi-sidebar-group:nth-child(1) .fi-sidebar-item-active .fi-sidebar-item-button {
    background-color: rgba(99,102,241,0.08) !important;
    border-left: 2px solid #6366f1 !important;
}

/* 2: Ürün Yönetimi — emerald */
.fi-sidebar-group:nth-child(2) .fi-sidebar-group-label,
.fi-sidebar-group:nth-child(2) > [class*="label"] {
    color: #059669 !important;
    border-bottom: 1px solid rgba(5,150,105,0.2);
    padding-bottom: 2px;
    margin-bottom: 2px;
}
.fi-sidebar-group:nth-child(2) .fi-sidebar-item-active .fi-sidebar-item-button {
    background-color: rgba(5,150,105,0.08) !important;
    border-left: 2px solid #059669 !important;
}

/* 3: Müşteriler & Tedarikçiler — violet */
.fi-sidebar-group:nth-child(3) .fi-sidebar-group-label,
.fi-sidebar-group:nth-child(3) > [class*="label"] {
    color: #7c3aed !important;
    border-bottom: 1px solid rgba(124,58,237,0.2);
    padding-bottom: 2px;
    margin-bottom: 2px;
}
.fi-sidebar-group:nth-child(3) .fi-sidebar-item-active .fi-sidebar-item-button {
    background-color: rgba(124,58,237,0.08) !important;
    border-left: 2px solid #7c3aed !important;
}

/* 4: Satış — amber */
.fi-sidebar-group:nth-child(4) .fi-sidebar-group-label,
.fi-sidebar-group:nth-child(4) > [class*="label"] {
    color: #b45309 !important;
    border-bottom: 1px solid rgba(180,83,9,0.2);
    padding-bottom: 2px;
    margin-bottom: 2px;
}
.fi-sidebar-group:nth-child(4) .fi-sidebar-item-active .fi-sidebar-item-button {
    background-color: rgba(180,83,9,0.08) !important;
    border-left: 2px solid #b45309 !important;
}

/* 5: Finans — sky */
.fi-sidebar-group:nth-child(5) .fi-sidebar-group-label,
.fi-sidebar-group:nth-child(5) > [class*="label"] {
    color: #0369a1 !important;
    border-bottom: 1px solid rgba(3,105,161,0.2);
    padding-bottom: 2px;
    margin-bottom: 2px;
}
.fi-sidebar-group:nth-child(5) .fi-sidebar-item-active .fi-sidebar-item-button {
    background-color: rgba(3,105,161,0.08) !important;
    border-left: 2px solid #0369a1 !important;
}

/* 6: Sistem — rose */
.fi-sidebar-group:nth-child(6) .fi-sidebar-group-label,
.fi-sidebar-group:nth-child(6) > [class*="label"] {
    color: #be123c !important;
    border-bottom: 1px solid rgba(190,18,60,0.2);
    padding-bottom: 2px;
    margin-bottom: 2px;
}
.fi-sidebar-group:nth-child(6) .fi-sidebar-item-active .fi-sidebar-item-button {
    background-color: rgba(190,18,60,0.08) !important;
    border-left: 2px solid #be123c !important;
}


/* ─── Notifications: softer appearance ─── */
/* Filament v5 notification container sits fixed top-right.
   We move it to bottom-right and reduce visual weight. */

[x-cloak] { display: none !important; }

/* Notification toast improvements */
.fi-notifications {
    --fi-notification-icon-size: 1.1rem;
}

/* Form sections – subtle depth on hover */
.fi-section {
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

/* Table row hover – very subtle */
.fi-ta-row:hover > td {
    background-color: rgba(99, 102, 241, 0.025) !important;
}

/* Badge improvements – slightly bolder */
.fi-badge {
    font-weight: 500 !important;
    letter-spacing: 0.01em;
}

/* Button improvements – micro-interaction */
.fi-btn {
    transition: all 0.15s ease !important;
}
.fi-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.fi-btn:active {
    transform: translateY(0);
}

/* Form inputs – subtle focus ring improvement */
.fi-input:focus,
.fi-select-input:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

/* Sidebar navigation – cleaner active state */
.fi-sidebar-item-active {
    border-left: 3px solid;
    border-left-color: var(--primary-500, #6366f1);
}

/* Stat overview cards – slight lift */
.fi-wi-stats-overview-stat {
    transition: box-shadow 0.2s ease;
}
.fi-wi-stats-overview-stat:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

/* Page header – cleaner separator */
.fi-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* Repeater rows – visual separation */
.fi-fo-repeater-item {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 0.5rem !important;
    transition: border-color 0.15s ease;
}
.fi-fo-repeater-item:hover {
    border-color: rgba(99, 102, 241, 0.2) !important;
}

/* Success notification – brand green */
.fi-notification[data-type="success"] {
    border-left: 3px solid #10b981;
}
/* Warning notification */
.fi-notification[data-type="warning"] {
    border-left: 3px solid #f59e0b;
}
/* Danger notification */
.fi-notification[data-type="danger"] {
    border-left: 3px solid #ef4444;
}
/* Info notification */
.fi-notification[data-type="info"] {
    border-left: 3px solid #3b82f6;
}

/* Sıkı satır aralığı — tüm admin tabloları */
.fi-ta-table td,
.fi-ta-table th {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}
.fi-ta-table .fi-ta-text {
    line-height: 1.2 !important;
}

/* Sıkı tablolar — Ürünler & Siparişler: dar hücre, kısa satır */
.fi-resource-products .fi-ta-table td,
.fi-resource-products .fi-ta-table th,
.fi-resource-orders .fi-ta-table td,
.fi-resource-orders .fi-ta-table th {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fi-resource-products .fi-ta-table .fi-ta-text,
.fi-resource-orders .fi-ta-table .fi-ta-text {
    line-height: 1.1 !important;
    font-size: 0.75rem !important;
}
.fi-resource-orders .fi-ta-table select {
    font-size: 0.75rem !important;
    padding-top: 0.15rem !important;
    padding-bottom: 0.15rem !important;
}

/* ═══ MAT SİYAH KOYU TEMA (2026-07-22) ═════════════════════════════════════
   Koyu temada zemini mat siyaha, yüzeyleri hafif füme tona çeker.           */
.dark body,
.dark .fi-body,
.dark .fi-main-ctn {
    background-color: #0a0a0a !important;
}
.dark .fi-sidebar,
.dark .fi-topbar,
.dark .fi-topbar nav {
    background-color: #111112 !important;
}
.dark .fi-sidebar {
    border-right: 1px solid #1e1e20 !important;
}
.dark .fi-section,
.dark .fi-wi-widget > div,
.dark .fi-ta-ctn {
    background-color: #141416 !important;
    --tw-ring-color: #232326 !important;
}
.dark .fi-modal-window,
.dark .fi-dropdown-panel {
    background-color: #17171a !important;
}

/* ═══ SOL MENÜ KAYDIRMA (2026-07-22) ═══════════════════════════════════════
   Ok'lu kalın scrollbar gizlenir; fare menünün üstündeyken ince, yuvarlak
   bir şerit belirir. Kaydırma yumuşak (smooth) çalışır.                     */
.fi-sidebar-nav {
    scroll-behavior: smooth;
    scrollbar-width: none;              /* Firefox: gizli */
}
.fi-sidebar-nav:hover {
    scrollbar-width: thin;
    scrollbar-color: rgba(120,120,130,.45) transparent;
}
.fi-sidebar-nav::-webkit-scrollbar { width: 0; }
.fi-sidebar-nav:hover::-webkit-scrollbar { width: 5px; }
.fi-sidebar-nav::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.fi-sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.fi-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(120,120,130,.45);
    border-radius: 99px;
}
.fi-sidebar-nav::-webkit-scrollbar-thumb:hover { background: rgba(150,150,160,.65); }

/* ══════════════════════════════════════════════════════════════════════
   ALIM FİŞİ SATIRLARI — kompakt, numaralı, tek şerit
   ══════════════════════════════════════════════════════════════════════
   Varsayılan repeater her kalemi büyük bir kart olarak çiziyor: silme
   düğmesi ayrı bir satır kaplıyor, alanlar geniş kutulara yayılıyor.
   5 kalemlik bir fişte ekran uzayıp gidiyor ve kaçıncı satırda olduğunuz
   kayboluyor. Aşağısı sadece bu ekranı (.alim-satirlari) sıkıştırır,
   paneldeki diğer repeater'lara dokunmaz.
   ────────────────────────────────────────────────────────────────────── */

.alim-satirlari { counter-reset: alimSatir; }

.alim-satirlari .fi-fo-repeater-item {
    counter-increment: alimSatir;
    position: relative;
    padding-inline-start: 30px;   /* sol tarafta numaraya yer aç */
}

/* Satır numarası — solda küçük rozet */
.alim-satirlari .fi-fo-repeater-item::before {
    content: counter(alimSatir);
    position: absolute;
    inset-inline-start: 8px;
    top: 14px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(120,120,130,.20);
    color: inherit;
    font-size: 10px;
    font-weight: 700;
    opacity: .75;
    pointer-events: none;
}

/* İç boşlukları kıs */
.alim-satirlari .fi-fo-repeater-item-content { padding: 10px 12px; }
.alim-satirlari .fi-fo-repeater-item-header  { padding: 4px 12px 0; min-height: 0; }

/* Silme düğmesi kendi satırını kaplamasın — sağ üst köşeye otursun */
.alim-satirlari .fi-fo-repeater-item-header {
    position: absolute;
    inset-inline-end: 6px;
    top: 6px;
    z-index: 2;
    background: transparent;
    border: 0;
}
.alim-satirlari .fi-fo-repeater-item-header-label { display: none; }

/* Alan etiketleri ve girdileri küçült — satır tek şeride sığsın */
.alim-satirlari .fi-fo-field-wrp-label { font-size: 11px; margin-bottom: 2px; }
.alim-satirlari .fi-fo-field-wrp-hint,
.alim-satirlari .fi-fo-field-wrp-helper-text { font-size: 10px; }
.alim-satirlari .fi-input,
.alim-satirlari .fi-select-input { padding-block: 5px; font-size: 13px; }
.alim-satirlari .fi-fo-field-wrp { row-gap: 2px; }

/* Sütun aralıklarını daralt */
.alim-satirlari .fi-fo-repeater-item-content > .fi-sc-grid,
.alim-satirlari .fi-fo-repeater-item-content .fi-grid { gap: 8px; }

/* Satırlar arası boşluk */
.alim-satirlari > .fi-fo-repeater-items { gap: 6px; }

/* Geniş ekranda alanlar alt alta düşmesin */
@media (min-width: 1024px) {
    .alim-satirlari .fi-fo-repeater-item-content .fi-grid { grid-auto-flow: row; }
}

/* ══════════════════════════════════════════════════════════════════
   SİPARİŞ LİSTESİ — yoğun satır + sol kanal şeridi
   Sınıflar OrderResource::table() içindeki recordClasses()'tan gelir.
   ══════════════════════════════════════════════════════════════════ */

/* Kanal renkleri: satırın sol kenarındaki şerit */
.sip-kanal-trendyol    { --sip-serit: #f27a1a; }
.sip-kanal-hepsiburada { --sip-serit: #e24b4a; }
.sip-kanal-amazon      { --sip-serit: #378add; }
.sip-kanal-etsy        { --sip-serit: #639922; }
.sip-kanal-site        { --sip-serit: #8d8d86; }

.fi-ta-row.siparis-satiri > td:first-child { position: relative; }

.fi-ta-row.siparis-satiri > td:first-child::before {
    content: '';
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 3px;
    background: var(--sip-serit, transparent);
}

/* Satır yüksekliği: varsayılan 1rem alt/üst dolgu tabloyu şişiriyordu */
.fi-ta-row.siparis-satiri .fi-ta-text,
.fi-ta-row.siparis-satiri .fi-ta-image,
.fi-ta-row.siparis-satiri .fi-ta-actions {
    padding-block: 6px;
}

.fi-ta-row.siparis-satiri .fi-ta-text { padding-inline: 10px; }

/* Rozetler satırı yükseltmesin */
.fi-ta-row.siparis-satiri .fi-badge {
    padding-block: 1px;
    padding-inline: 7px;
    font-size: 11px;
    line-height: 1.45;
}

/* Rakamlar alt alta hizalı okunsun (tutar sütunu) */
.fi-ta-row.siparis-satiri .fi-ta-text-item { font-variant-numeric: tabular-nums; }

/* Üzerine gelinen satır belli olsun — tıklanacak yeri aramayalım */
.fi-ta-row.siparis-satiri:hover > td { background-color: rgb(0 0 0 / 0.03); }
.dark .fi-ta-row.siparis-satiri:hover > td { background-color: rgb(255 255 255 / 0.03); }

/* Başlık satırı da sıkışsın — yalnızca sipariş listesinde */
.fi-resource-orders .fi-ta-header-cell { padding-block: 7px; font-size: 11px; }

/* ══════════════════════════════════════════════════════════════════
   ÜRÜN GÖRSELLERİ — ızgara düzeni + vitrin rozeti

   Görseller yan yana küçük kareler hâlinde durur. İlk kare vitrine
   çıkan görseldir, rozetle ve çerçeveyle işaretlenir; sürükleyip başa
   alınan görsel vitrin olur.
   ══════════════════════════════════════════════════════════════════ */

.urun-gorsel-alani .filepond--root {
    margin-bottom: 0;
}

/* Boş alan ince bir şerit olsun, ekranın yarısını kaplamasın */
.urun-gorsel-alani .filepond--drop-label {
    min-height: 38px;
    font-size: 12px;
}

.urun-gorsel-alani .filepond--panel-root {
    background: transparent;
    border: 1px dashed rgb(148 163 184 / .45);
    border-radius: 8px;
}

/* Kareler yan yana — dar tutuldu, bölme ekranı yemesin */
.urun-gorsel-alani .filepond--item {
    width: calc(12.5% - 6px);
    margin: 3px;
}

@media (max-width: 1600px) {
    .urun-gorsel-alani .filepond--item { width: calc(16.666% - 6px); }
}

@media (max-width: 1280px) {
    .urun-gorsel-alani .filepond--item { width: calc(20% - 6px); }
}

@media (max-width: 900px) {
    .urun-gorsel-alani .filepond--item { width: calc(25% - 6px); }
}

@media (max-width: 640px) {
    .urun-gorsel-alani .filepond--item { width: calc(33.333% - 6px); }
}

/*
 * DOSYA ADI VE DURUM YAZISI KARENİN ALTINDA.
 * Varsayılan yerleşimde ikisi de görselin üstüne biniyor, vitrin rozetiyle
 * çakışıyor ve görseli kapatıyordu. Alta sabit bir şeride indirildi.
 */
.urun-gorsel-alani .filepond--file {
    padding: 5px;
    font-size: 10.5px;
}

.urun-gorsel-alani .filepond--file-info {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 20px;
    margin: 0;
    max-width: none;
}

.urun-gorsel-alani .filepond--file-status {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 4px;
    margin: 0;
    text-align: left;
    align-items: flex-start;
}

.urun-gorsel-alani .filepond--file-info-main,
.urun-gorsel-alani .filepond--file-info-sub,
.urun-gorsel-alani .filepond--file-status-main,
.urun-gorsel-alani .filepond--file-status-sub {
    font-size: 9.5px;
    line-height: 1.25;
    opacity: .9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Yazıların oturduğu şerit — görselin üstünde okunur kalsın */
.urun-gorsel-alani .filepond--file::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38px;
    background: linear-gradient(to top, rgb(0 0 0 / .72), transparent);
    pointer-events: none;
    border-radius: 0 0 6px 6px;
}

/* İptal/sil düğmesi sağ üstte kalsın, yazılarla çakışmasın */
.urun-gorsel-alani .filepond--file-action-button {
    top: 6px;
    right: 6px;
}

/*
 * VİTRİN ROZETİ YOK — BİLEREK.
 *
 * FilePond ızgara düzeninde kutuları DOM'da yeniden sıralamıyor, yerlerini
 * CSS transform ile değiştiriyor. Bu yüzden ":first-of-type" görsel olarak
 * baştaki kutu DEĞİL; rozet sürükledikten sonra yanlış kutuda kalıyordu.
 *
 * Vitrin görseli artık alanın hemen üstünde, kayıtlı sıradan okunarak
 * gösteriliyor (bkz. ProductResource → vitrin_onizleme). Orası tek doğru
 * kaynak: neyi gösteriyorsa kaydedilen o.
 */

/* ── Vitrin görseli seçici ─────────────────────────────────────────── */

.vitrin-secici-baslik {
    font-size: 11.5px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.vitrin-secici-izgara {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vitrin-kare {
    position: relative;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgb(148 163 184 / .12);
    cursor: pointer;
    overflow: hidden;
    transition: border-color .15s, transform .12s;
}

.vitrin-kare img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vitrin-kare:hover {
    border-color: rgb(99 102 241 / .5);
    transform: translateY(-1px);
}

/* SEÇİLİ — çevresi renklenir */
.vitrin-kare.secili {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgb(99 102 241 / .25);
}

.vitrin-etiket {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1px 0;
    background: #4338ca;
    color: #fff;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
}

.vitrin-secici-bos {
    font-size: 11.5px;
    color: #9ca3af;
    margin: 4px 0 0;
}

/* Sürüklenen kare belli olsun */
.urun-gorsel-alani .filepond--item.filepond--item-grabbed {
    opacity: .65;
}

/* ══════════════════════════════════════════════════════════════════
   DURUM ÇUBUĞU — panelin altında sabit
   Sol: sürekli bilinmesi gereken durum · Sağ: bekleyen iş sayaçları
   ══════════════════════════════════════════════════════════════════ */

.erp-durum-cubugu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 30px;
    padding: 0 12px;
    background: rgb(9 9 11 / .97);
    border-top: 1px solid rgb(148 163 184 / .18);
    backdrop-filter: blur(6px);
    font-size: 11.5px;
    color: #9ca3af;
    user-select: none;
}

.dc-sol, .dc-sag {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.dc-sol { overflow: hidden; }

.dc-oge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    text-decoration: none;
    color: inherit;
}

.dc-oge strong { color: #e5e7eb; font-weight: 600; }

a.dc-oge:hover { color: #e5e7eb; }

.dc-ayrac {
    width: 1px;
    height: 12px;
    background: rgb(148 163 184 / .25);
    flex-shrink: 0;
}

/* Seçili şirket — yanında canlı nokta */
.dc-marka { color: #c7d2fe; font-weight: 600; }

.dc-nokta {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 6px rgb(34 197 94 / .8);
    margin-right: 5px;
}

/* TCMB kurları — giriş ekranındaki piyasa kutusundan taşındı */
.dc-kur { color: #86efac; }
.dc-kur strong { color: #bbf7d0; font-weight: 700; }

.dc-uyari  { color: #fbbf24; }
.dc-uyari strong  { color: #fcd34d; }
.dc-tehlike { color: #f87171; }
.dc-tehlike strong { color: #fca5a5; }
.dc-sessiz { color: #6b7280; }

/* ── Sayaçlar: simge + sayı, metin yok ── */
.dc-sayac {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    border: 1px solid transparent;
    transition: transform .12s, filter .12s;
}

.dc-sayac:hover { transform: translateY(-1px); filter: brightness(1.15); }

.dc-sayac svg { width: 13px; height: 13px; flex-shrink: 0; }

.dc-sayac-siparis {
    background: rgb(99 102 241 / .18);
    border-color: rgb(99 102 241 / .45);
    color: #a5b4fc;
}

.dc-sayac-musteri {
    background: rgb(6 182 212 / .16);
    border-color: rgb(6 182 212 / .4);
    color: #67e8f9;
}

.dc-sayac-destek {
    background: rgb(239 68 68 / .16);
    border-color: rgb(239 68 68 / .45);
    color: #fca5a5;
}

.dc-sayac-mesaj {
    background: rgb(245 158 11 / .16);
    border-color: rgb(245 158 11 / .42);
    color: #fcd34d;
}

.dc-kapat {
    background: none;
    border: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}

.dc-kapat:hover { color: #e5e7eb; }

/* Çubuk içeriğin üstünü kapatmasın */
.fi-main, .fi-page, .fi-body { padding-bottom: 34px; }

/* Dar ekranda sol taraf kısalır, sayaçlar hep görünür kalır */
@media (max-width: 900px) {
    .dc-sol .dc-ayrac:nth-of-type(n+3),
    .dc-sol .dc-oge:nth-of-type(n+4) { display: none; }
}
