/* =========================================================================
   CappaAdmin — Ortak Tema Stilleri
   Tüm sayfalar bu dosyadan çeker (theme/theme.php üzerinden include edilir).
   Renk/gölge/spacing token'ları theme/theme.php içindeki tailwind.config'tedir.
   ========================================================================= */

body { font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    font-size: 18px;
}

/* Excel tablosunda hafif dikey ayraçlar */
.excel-table th:not(:last-child),
.excel-table td:not(:last-child) { border-right: 1px solid #e9e2d6; }

/* Hamburger (üç çizgi → X) */
.hamburger-line {
    display: block; width: 22px; height: 2px; border-radius: 9999px;
    background: currentColor; transition: transform .3s ease, opacity .3s ease;
}
.menu-open #menu-toggle .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open #menu-toggle .hamburger-line:nth-child(2) { opacity: 0; }
.menu-open #menu-toggle .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Liste görünüm geçişi (mobil/tablet): Kart <-> Excel tablosu
   Masaüstünde (lg+) her zaman tablo gösterilir. */
#list-section .view-table { display: none; }
#list-section .view-cards { display: block; }
#list-section.show-table .view-table { display: block; }
#list-section.show-table .view-cards { display: none; }
@media (min-width: 1024px) {
    #list-section .view-table { display: block !important; }
    #list-section .view-cards { display: none !important; }
}

/* App hissi veren ince kaydırma çubukları */
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: #d8cfbe; border-radius: 9999px; }
::-webkit-scrollbar-track { background: transparent; }

/* Hareket hassasiyeti olan kullanıcılar için animasyonları sakinleştir */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
