:root {
--brand-50: #eef7ff;
--brand-500: #2b91ff;
--brand-600: #0b6ffa;
--brand-700: #0559e6;
--surface: #f6f7f9;
--ink: #0f172a;
--sidebar-bg: #0b1120;
--radius-card: 1rem;
--shadow-card: 0 1px 2px rgba(16,24,40,0.04), 0 1px 3px rgba(16,24,40,0.03);
--shadow-card-hover: 0 12px 24px -8px rgba(16,24,40,0.12), 0 4px 10px -4px rgba(16,24,40,0.06);
}
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', system-ui, sans-serif; font-feature-settings: 'cv11', 'ss01'; }
::selection { background: rgba(43,145,255,0.22); }
.sidebar-item { position: relative; margin: 1px 4px; border-radius: 0.625rem !important; color: #8b96a8; font-weight: 500; transition: background 0.16s ease, color 0.16s ease; }
.sidebar-item:hover { background: rgba(148,163,184,0.09); color: #e2e8f0; }
.sidebar-item:hover i { transform: scale(1.06); }
.sidebar-item i { transition: transform 0.16s ease; }
.sidebar-item.active { background: linear-gradient(135deg, rgba(43,145,255,0.18) 0%, rgba(43,145,255,0.05) 100%); color: #fff; box-shadow: inset 0 0 0 1px rgba(96,165,250,0.16); }
.sidebar-item.active i { color: #60a5fa !important; }
.sidebar-item.active::before { content: ''; position: absolute; left: -4px; top: 50%; transform: translateY(-50%); width: 3px; height: 55%; background: linear-gradient(180deg, #60a5fa, #2b91ff); border-radius: 3px; box-shadow: 0 0 10px rgba(96,165,250,0.7); }
.sidebar-section { font-size: 0.62rem; letter-spacing: 0.12em; color: #566175; }
.glass-panel { background: #fff; border: 1px solid #edeff3; border-radius: var(--radius-card); box-shadow: var(--shadow-card); transition: box-shadow 0.25s, border-color 0.25s; }
.glass-panel:hover { box-shadow: var(--shadow-card-hover); border-color: #e2e8f0; }
.sidebar-scroll::-webkit-scrollbar { width: 4px; }
.sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }
.sidebar-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }
main::-webkit-scrollbar { width: 10px; height: 10px; }
main::-webkit-scrollbar-track { background: transparent; }
main::-webkit-scrollbar-thumb { background: #d5dae2; border-radius: 10px; border: 2px solid var(--surface); }
main::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
.sidebar-overlay { background: rgba(11,17,32,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.sidebar-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-sidebar { transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.mobile-sidebar.active { transform: translateX(0); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.97) translateY(-8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.animate-fade-in { animation: fadeInUp 0.35s ease-out; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
.data-table tbody tr { transition: background 0.12s ease; }
.data-table tbody tr:hover { background: #f6f8fb; }
.data-table thead th { font-weight: 600; }
.fa-tscroll { overflow: auto; max-height: calc(100vh - 250px); }
#mainScroll table thead[data-fa-sticky] { position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(15,23,42,0.08); }
#mainScroll th.fa-sortable { cursor: pointer; user-select: none; -webkit-user-select: none; white-space: nowrap; }
#mainScroll th.fa-sortable:hover { color: #0b6ffa; }
.fa-sort-ic { margin-left: 0.4em; font-size: 0.85em; opacity: 0.35; transition: opacity 0.12s ease; }
#mainScroll th.fa-sortable:hover .fa-sort-ic { opacity: 0.7; }
.user-menu { position: relative; }
.user-menu-dropdown { display: none; position: absolute; right: 0; top: 100%; margin-top: 0.5rem; min-width: 220px; z-index: 50; transform-origin: top right; animation: scaleIn 0.16s cubic-bezier(0.4, 0, 0.2, 1); }
.user-menu.open .user-menu-dropdown { display: block; }
.user-menu.open .chevron { transform: rotate(180deg); }
.chevron { transition: transform 0.2s ease; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, #2b91ff, #8b5cf6); z-index: 100; transition: width 0.1s linear; }
.bg-pattern { background-color: var(--surface); background-image: radial-gradient(circle at 1px 1px, rgba(15,23,42,0.035) 1px, transparent 0); background-size: 24px 24px; }
.btn-primary { background: linear-gradient(135deg, #2b91ff 0%, #0559e6 100%); color: #fff; box-shadow: 0 4px 12px -2px rgba(11,111,250,0.35); transition: all 0.2s; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -4px rgba(11,111,250,0.45); }
.btn-primary:active { transform: translateY(0); }
*:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; border-radius: 6px; }
.pulse-dot { position: relative; }
.pulse-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0.5; animation: pulse-ring 1.6s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(0.8); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
.cmdk-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(11,17,32,0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.18s ease; }
.cmdk-overlay.open { opacity: 1; pointer-events: auto; }
.cmdk-dialog { position: fixed; left: 50%; top: 14vh; transform: translateX(-50%); z-index: 95; width: min(560px, calc(100vw - 2rem)); display: none; }
.cmdk-dialog.open { display: block; animation: scaleIn 0.18s cubic-bezier(0.4, 0, 0.2, 1); }
.cmdk-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.85rem; border-radius: 0.625rem; cursor: pointer; color: #334155; font-size: 0.85rem; }
.cmdk-item.selected { background: linear-gradient(135deg, rgba(43,145,255,0.10), rgba(43,145,255,0.04)); color: #0b6ffa; }
.cmdk-item.selected .cmdk-go { opacity: 1; }
.cmdk-go { opacity: 0; transition: opacity 0.1s; }
kbd.kbd { font-family: inherit; font-size: 0.62rem; font-weight: 600; color: #64748b; background: #f1f5f9; border: 1px solid #e2e8f0; border-bottom-width: 2px; border-radius: 0.375rem; padding: 0.1rem 0.4rem; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
html, body { margin: 0; padding: 0; }
body {
display: flex; flex-direction: column;
height: 100vh; height: 100dvh;
overflow: hidden; background: var(--surface); color: var(--ink);
}
#demoSerit { flex: 0 0 auto; min-height: 40px; background: linear-gradient(90deg, #4338ca, #7c3aed); color: #fff; }
#kabukGovde { flex: 1 1 auto; display: flex; min-height: 0; overflow: hidden; }
#sidebar { flex: 0 0 270px; width: 270px; background: linear-gradient(180deg,#0e1729 0%,#0b1120 55%,#090e1a 100%); }
#kabukAna { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
#kabukAna > header { flex: 0 0 auto; min-height: 56px; background: #fff; border-bottom: 1px solid #e5e7eb; }
#mainScroll { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; }
html.tw-bekle #demoSerit,
html.tw-bekle #kabukGovde { visibility: hidden; }
@media (max-width: 767px) {
#sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; }
}
@media (max-width: 640px) {
#demoSerit .serit-uzun { display: none; }
}
@media (min-width: 641px) {
#demoSerit .serit-kisa { display: none; }
}
.kaydir-ipucu { display: none; }
@media (max-width: 767px) {
.kaydir-ipucu { display: inline-flex; }
}
.isi-sar { overflow-x: auto; }
.isi-sar > table { min-width: 640px; }
.demo-fab {
position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 60;
display: inline-flex; align-items: center; gap: .5rem;
background: linear-gradient(135deg, #2b91ff, #0559e6); color: #fff;
padding: .7rem 1.1rem; border-radius: 999px; font-size: .82rem; font-weight: 650;
box-shadow: 0 10px 26px -8px rgba(11,111,250,.6); text-decoration: none;
transition: transform .2s, box-shadow .2s;
}
.demo-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(11,111,250,.7); }
@media (max-width: 767px) { .demo-fab { left: .75rem; bottom: .75rem; padding: .65rem .9rem; font-size: .78rem; } }
