/* Yönetim paneli */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --primary: #184634;
  --accent: #2f6b53;
  --ball: #d9e021;
  --bg: #f0f4f1;
  --surface: #ffffff;
  --text: #182420;
  --muted: #5d6b64;
  --line: #dfe7e1;
  --danger: #9a3f2e;
  --radius: 12px;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }

.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }

/* Sidebar */
.admin-side { background: var(--primary); color: rgba(255,255,255,.85); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.admin-side .brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; padding: 6px 10px 16px; font-size: .98rem; }
.admin-side .brand img { height: 38px; width: 38px; border-radius: 9px; background: #fff; object-fit: contain; }
.admin-nav-search { width: 100%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.09); color: #fff; border-radius: 8px; padding: 8px 10px; outline: none; margin: 0 0 6px; }
.admin-nav-search::placeholder { color: rgba(255,255,255,.62); }
.admin-side .group-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; opacity: .55; padding: 12px 12px 4px; }
.admin-side a.nav-item { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.85); padding: 8px 12px; border-radius: 8px; font-size: .92rem; }
.admin-side a.nav-item .ti { width: 18px; min-width: 18px; font-size: 1.08rem; margin-right: 9px; text-align: center; opacity: .9; }
.admin-side a.nav-item .nav-text { flex: 1; }
.admin-side a.nav-item:hover { background: rgba(255,255,255,.09); }
.admin-side a.nav-item.active { background: var(--ball); color: var(--primary); font-weight: 700; }
.admin-side .count { background: rgba(255,255,255,.18); border-radius: 999px; font-size: .72rem; padding: 1px 8px; }
.admin-side a.nav-item.active .count { background: var(--primary); color: #fff; }

/* Main */
.admin-main { padding: 24px 28px 60px; min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.35rem; color: var(--primary); margin: 0; }
.admin-top .who { font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.panel h2 { margin: 0 0 14px; font-size: 1.05rem; color: var(--primary); }
.panel .desc { color: var(--muted); font-size: .9rem; margin: -8px 0 16px; }

.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat-tile .num { font-size: 1.55rem; font-weight: 700; color: var(--primary); }
.stat-tile .lbl { font-size: .8rem; color: var(--muted); }
.stat-tile.warn { border-color: #efd48b; background: #fdf9ec; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--surface); }
table.data th { text-align: left; padding: 9px 12px; background: #eef3ef; color: var(--primary); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }

/* Forms */
.form-grid { display: grid; gap: 13px; }
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-row { display: grid; gap: 5px; }
.form-row label { font-weight: 600; font-size: .85rem; color: var(--primary); }
.form-row .help { font-size: .78rem; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=time],
input[type=number], input[type=tel], input[type=color], select, textarea {
  width: 100%; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px;
  font-size: .92rem; font-family: var(--font); background: #fff; color: var(--text);
}
input[type=color] { padding: 3px; height: 38px; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); border-color: var(--accent); }
textarea { min-height: 96px; resize: vertical; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfb; }
.switch-row .info b { display: block; font-size: .92rem; color: var(--primary); }
.switch-row .info span { font-size: .8rem; color: var(--muted); }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: #cdd8d0; border-radius: 999px; transition: .18s; cursor: pointer; }
.switch .track::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: .18s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { left: 23px; }

/* Buttons */
.btn { display: inline-block; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: .89rem; border: none; cursor: pointer; font-family: var(--font); text-decoration: none !important; transition: .13s; }
.btn-green { background: var(--accent); color: #fff; }
.btn-green:hover { background: var(--primary); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: #fdf0ed; color: var(--danger); border: 1px solid #f2d5cd; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 5px 11px; font-size: .8rem; border-radius: 7px; }

/* Badges, flash */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.badge-green { background: #e3f2e9; color: var(--primary); }
.badge-yellow { background: #fdf6d8; color: #8a6d00; }
.badge-red { background: #fdeae5; color: var(--danger); }
.badge-gray { background: #eef1ef; color: var(--muted); }
.badge-blue { background: #e3f0fa; color: #1c5d8f; }
.flash { padding: 11px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; font-size: .92rem; }
.flash-success { background: #e3f2e9; color: var(--primary); border: 1px solid #c3e2cf; }
.flash-error { background: #fdeae5; color: var(--danger); border: 1px solid #f2d5cd; }
.flash-warning { background: #fdf6d8; color: #8a6d00; border: 1px solid #efe2a8; }

/* Settings nav pills */
.settings-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.settings-tabs a { padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--text); }
.settings-tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.settings-tabs a:hover { border-color: var(--accent); text-decoration: none; }

.muted { color: var(--muted); }
.small { font-size: .84rem; }
.flex { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mb-2{margin-bottom:16px}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

details.editor { border: 1px solid var(--line); border-radius: 10px; background: #fbfdfb; margin-bottom: 10px; }
details.editor summary { cursor: pointer; padding: 11px 14px; font-weight: 600; color: var(--primary); font-size: .92rem; }
details.editor .inner { padding: 4px 14px 16px; }

@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { flex-direction: row; overflow-x: auto; position: sticky; top: 0; z-index: 40; align-items: center; }
  .admin-side .brand { padding: 6px 10px; }
  .admin-side .group-label { display: none; }
  .admin-side a.nav-item { white-space: nowrap; }
  .form-grid.cols-2, .form-grid.cols-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Slot board (admin kort tahtası — site.css ile uyumlu) */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; padding: 14px; }
.slot { border: 1px solid var(--line); border-radius: 9px; padding: 8px 6px; text-align: center; font-size: .84rem; font-weight: 600; background: #f2f7f3; color: var(--primary); }
.slot .price { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.slot.free { background: #e8f5ec; color: var(--primary); border-color: #c3e2cf; }
.slot.busy { background: #fdeae5; color: var(--danger); border-color: #f2d5cd; }
.slot.pending { background: #fdf6d8; color: #8a6d00; border-color: #efe2a8; }
.slot.lesson { background: #e3f0fa; color: #1c5d8f; border-color: #c8e0f2; }
.slot.hold { background: #eee8f5; color: #5a4a7a; border-color: #d8cfe8; }
.slot.maintenance { background: #fff0e0; color: #a65c00; border-color: #f5dcc0; }
.slot.completed { background: #d4edda; color: #155724; border-color: #b8dfc4; }
.slot.past { background: #f0f0f0; color: #888; border-color: #ddd; opacity: .55; }
.slot.weather-medium { box-shadow: inset 0 0 0 2px #e6a817; }
.slot.weather-high { box-shadow: inset 0 0 0 2px #c0392b; }
.weather-flag { font-size: .65rem; }
.slot-legend { display: flex; flex-wrap: wrap; gap: 12px 18px; font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.slot-legend__item { display: inline-flex; align-items: center; gap: 6px; }
.slot-legend .swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(0,0,0,.08); }
.slot-legend .swatch.free { background: #e8f5ec; }
.slot-legend .swatch.busy { background: #fdeae5; }
.slot-legend .swatch.pending { background: #fdf6d8; }
.slot-legend .swatch.lesson { background: #e3f0fa; }
.slot-legend .swatch.hold { background: #eee8f5; }
.slot-legend .swatch.maintenance { background: #fff0e0; }
.slot-legend .swatch.past { background: #f0f0f0; }
.slot-matrix-wrap { overflow-x: auto; }
.slot-matrix { width: 100%; border-collapse: separate; border-spacing: 4px; min-width: 480px; }
.slot-matrix th { font-size: .78rem; color: var(--primary); padding: 6px 4px; text-align: center; font-weight: 700; }
.slot-matrix__time-col { width: 52px; font-size: .78rem; color: var(--muted); text-align: right; padding-right: 8px; }
.slot-matrix .slot.cell { min-width: 72px; font-size: .72rem; padding: 6px 4px; }
.court-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.court-card__head { background: var(--primary); color: #fff; padding: 13px 18px; display: flex; justify-content: space-between; align-items: center; }
.court-card__head h3 { margin: 0; font-size: 1.05rem; color: #fff; }

/* === THEME SYSTEM (10 COLORS) === */

/* 2. Dark Mode */
body.theme-dark {
  --primary: #1e1e1e;
  --accent: #4ade80;
  --ball: #22c55e;
  --bg: #121212;
  --surface: #1e1e1e;
  --text: #e0e0e0;
  --muted: #9e9e9e;
  --line: #333333;
  --danger: #ef4444;
}

/* 3. Ocean Blue */
body.theme-ocean {
  --primary: #0f172a;
  --accent: #3b82f6;
  --ball: #60a5fa;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --danger: #ef4444;
}

/* 4. Forest Green */
body.theme-forest {
  --primary: #064e3b;
  --accent: #10b981;
  --ball: #34d399;
  --bg: #ecfdf5;
  --surface: #ffffff;
  --text: #064e3b;
  --muted: #059669;
  --line: #d1fae5;
  --danger: #ef4444;
}

/* 5. Sunset Orange */
body.theme-sunset {
  --primary: #7c2d12;
  --accent: #f97316;
  --ball: #fb923c;
  --bg: #fff7ed;
  --surface: #ffffff;
  --text: #431407;
  --muted: #9a3412;
  --line: #ffedd5;
  --danger: #dc2626;
}

/* 6. Royal Purple */
body.theme-royal {
  --primary: #4c1d95;
  --accent: #8b5cf6;
  --ball: #a78bfa;
  --bg: #f5f3ff;
  --surface: #ffffff;
  --text: #2e1065;
  --muted: #6d28d9;
  --line: #ede9fe;
  --danger: #e11d48;
}

/* 7. Rose Gold */
body.theme-rose {
  --primary: #831843;
  --accent: #f43f5e;
  --ball: #fb7185;
  --bg: #fff1f2;
  --surface: #ffffff;
  --text: #4c0519;
  --muted: #9f1239;
  --line: #ffe4e6;
  --danger: #dc2626;
}

/* 8. Midnight */
body.theme-midnight {
  --primary: #020617;
  --accent: #6366f1;
  --ball: #818cf8;
  --bg: #0f172a;
  --surface: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: #334155;
  --danger: #f43f5e;
}

/* 9. Slate Grey */
body.theme-slate {
  --primary: #334155;
  --accent: #64748b;
  --ball: #94a3b8;
  --bg: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --danger: #ef4444;
}

/* 10. Neon Contrast */
body.theme-neon {
  --primary: #000000;
  --accent: #ccff00;
  --ball: #39ff14;
  --bg: #111111;
  --surface: #000000;
  --text: #ffffff;
  --muted: #aaaaaa;
  --line: #444444;
  --danger: #ff0055;
}

/* Additional fix for Neon & Dark text colors on dark backgrounds */
body.theme-neon .btn-green { color: #000; font-weight: bold; }
body.theme-dark .admin-side .brand img, body.theme-midnight .admin-side .brand img, body.theme-neon .admin-side .brand img { background: transparent; }
body.theme-dark table.data th, body.theme-midnight table.data th, body.theme-neon table.data th { background: rgba(255,255,255,0.05); }


/* === LAYOUT SYSTEM (10 MODES) === */

/* 2. Collapsed */
body.layout-collapsed .admin-shell { grid-template-columns: 75px 1fr; }
body.layout-collapsed .admin-side span, body.layout-collapsed .admin-side .count { display: none; }
body.layout-collapsed .admin-nav-search { display: none; }
body.layout-collapsed .admin-side .group-label { opacity: 0; padding: 5px 0; height: 10px; overflow: hidden; }
body.layout-collapsed .admin-side a.nav-item { justify-content: center; padding: 12px 0; }
body.layout-collapsed .admin-side a.nav-item::before { content: none; }
body.layout-collapsed .admin-side a.nav-item .ti { margin-right: 0; }
body.layout-collapsed .admin-side .brand img { width: 36px; height: 36px; margin: 0 auto; }

/* 3. Top Navigation */
body.layout-top-nav .admin-shell { display: block; }
body.layout-top-nav .admin-side { flex-direction: row; flex-wrap: wrap; padding: 10px 20px; align-items: center; gap: 8px; }
body.layout-top-nav .admin-side .group-label { display: none; }
body.layout-top-nav .admin-side a.nav-item { padding: 6px 12px; }
body.layout-top-nav .admin-side .brand { padding: 0; margin-right: 20px; }

/* 4. Boxed */
body.layout-boxed { background: #dcdcdc; }
body.layout-boxed .admin-shell { max-width: 1300px; margin: 2vh auto; background: var(--bg); box-shadow: 0 15px 40px rgba(0,0,0,0.15); border-radius: var(--radius); overflow: hidden; min-height: 96vh; }

/* 5. Compact */
body.layout-compact { font-size: 13px; line-height: 1.4; }
body.layout-compact .admin-main { padding: 15px; }
body.layout-compact .panel { padding: 12px; margin-bottom: 12px; }
body.layout-compact table.data th, body.layout-compact table.data td { padding: 4px 8px; font-size: 0.8rem; }
body.layout-compact .btn { padding: 5px 10px; font-size: 0.8rem; }
body.layout-compact .admin-side a.nav-item { padding: 4px 10px; font-size: 0.85rem; }

/* 6. Spacious */





/* 7. Right Sidebar */
body.layout-right-sidebar .admin-shell { grid-template-columns: 1fr 240px; }
body.layout-right-sidebar .admin-side { order: 2; }
body.layout-right-sidebar .admin-main { order: 1; }

/* 8. Rounded */
body.layout-rounded { --radius: 24px; }
body.layout-rounded .admin-side a.nav-item { border-radius: 20px; }
body.layout-rounded .btn { border-radius: 20px; }
body.layout-rounded input, body.layout-rounded select, body.layout-rounded textarea { border-radius: 20px; }
body.layout-rounded .badge { border-radius: 20px; }

/* 9. Sharp */
body.layout-sharp { --radius: 0px; }
body.layout-sharp .admin-side a.nav-item { border-radius: 0; }
body.layout-sharp .btn { border-radius: 0; }
body.layout-sharp input, body.layout-sharp select, body.layout-sharp textarea { border-radius: 0; }
body.layout-sharp .badge { border-radius: 0; }
body.layout-sharp .admin-side .brand img { border-radius: 0; }

/* 10. Floating Sidebar */
body.layout-floating .admin-shell { display: block; position: relative; }
body.layout-floating .admin-side { position: fixed; top: 20px; left: 20px; bottom: 20px; width: 240px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.25); z-index: 100; opacity: 0.95; backdrop-filter: blur(10px); }
body.layout-floating .admin-main { padding-left: 280px; }

/* 11. Bento Grid (Apple Stili) */
body.layout-bento { background: #f2f2f7; }
body.layout-bento .admin-shell { padding: 20px; gap: 20px; }
body.layout-bento .admin-side { border-radius: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
body.layout-bento .panel { border-radius: 24px; border: none; box-shadow: 0 4px 20px rgba(0,0,0,0.05); padding: 24px; }
body.layout-bento .stat-tile { border-radius: 20px; border: none; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
body.layout-bento .admin-main { padding: 0; }
body.layout-bento .admin-top { padding: 10px 20px; background: rgba(255,255,255,0.8); backdrop-filter: blur(20px); border-radius: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); margin-bottom: 20px; }
body.theme-dark.layout-bento { background: #000; }
body.theme-dark.layout-bento .admin-side, body.theme-dark.layout-bento .panel, body.theme-dark.layout-bento .stat-tile { background: #1c1c1e; box-shadow: none; }
body.theme-dark.layout-bento .admin-top { background: rgba(28,28,30,0.8); }

/* 12. Glassmorphism */
body.layout-glass { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 20%, transparent) 0%, color-mix(in srgb, var(--accent) 20%, transparent) 100%); background-attachment: fixed; }
body.layout-glass .admin-side { background: rgba(255,255,255,0.1); backdrop-filter: blur(16px); border-right: 1px solid rgba(255,255,255,0.2); }
body.layout-glass .panel, body.layout-glass .stat-tile { background: rgba(255,255,255,0.6); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.4); box-shadow: 0 8px 32px rgba(0,0,0,0.05); }
body.theme-dark.layout-glass .admin-side { background: rgba(0,0,0,0.4); border-right: 1px solid rgba(255,255,255,0.05); }
body.theme-dark.layout-glass .panel, body.theme-dark.layout-glass .stat-tile { background: rgba(30,30,30,0.4); border: 1px solid rgba(255,255,255,0.05); }
body.theme-dark.layout-glass table.data { background: transparent; }

/* 13. Neumorphism */
body.layout-neumorphism { background: #e0e5ec; --radius: 20px; }
body.layout-neumorphism .admin-side { background: #e0e5ec; box-shadow: 9px 9px 16px rgb(163,177,198,0.6), -9px -9px 16px rgba(255,255,255, 0.5); color: #4d4d4d; }
body.layout-neumorphism .admin-side a.nav-item { color: #666; }
body.layout-neumorphism .admin-side a.nav-item.active { box-shadow: inset 6px 6px 10px 0 rgba(163,177,198,0.7), inset -6px -6px 10px 0 rgba(255,255,255,0.8); background: transparent; color: var(--primary); }
body.layout-neumorphism .panel, body.layout-neumorphism .stat-tile, body.layout-neumorphism table.data { background: #e0e5ec; box-shadow: 9px 9px 16px rgb(163,177,198,0.6), -9px -9px 16px rgba(255,255,255, 0.5); border: none; }
body.layout-neumorphism .btn, body.layout-neumorphism input, body.layout-neumorphism select, body.layout-neumorphism textarea { background: #e0e5ec; box-shadow: 6px 6px 10px 0 rgba(163,177,198,0.6), -6px -6px 10px 0 rgba(255,255,255,0.5); border: none; }
body.layout-neumorphism input:focus, body.layout-neumorphism textarea:focus { box-shadow: inset 4px 4px 8px 0 rgba(163,177,198,0.6), inset -4px -4px 8px 0 rgba(255,255,255,0.5); }
body.theme-dark.layout-neumorphism { background: #292d32; }
body.theme-dark.layout-neumorphism .admin-side, body.theme-dark.layout-neumorphism .panel, body.theme-dark.layout-neumorphism .stat-tile, body.theme-dark.layout-neumorphism table.data, body.theme-dark.layout-neumorphism .btn, body.theme-dark.layout-neumorphism input { background: #292d32; box-shadow: 5px 5px 10px #1d1f23, -5px -5px 10px #353b41; }
body.theme-dark.layout-neumorphism .admin-side a.nav-item.active, body.theme-dark.layout-neumorphism input:focus { box-shadow: inset 5px 5px 10px #1d1f23, inset -5px -5px 10px #353b41; }

/* 14. Neubrutalism */
body.layout-neubrutalism { background: #f4f4f0; }
body.layout-neubrutalism * { font-weight: 600; border-radius: 0 !important; }
body.layout-neubrutalism .admin-side { border-right: 4px solid #000; background: var(--primary); }
body.layout-neubrutalism .panel, body.layout-neubrutalism .stat-tile { border: 4px solid #000; box-shadow: 6px 6px 0px #000; margin-bottom: 30px; transition: transform 0.1s; }
body.layout-neubrutalism .panel:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0px #000; }
body.layout-neubrutalism .btn, body.layout-neubrutalism input, body.layout-neubrutalism select, body.layout-neubrutalism textarea { border: 3px solid #000; box-shadow: 4px 4px 0px #000; transition: all 0.1s; }
body.layout-neubrutalism .btn:active { transform: translate(4px, 4px); box-shadow: 0px 0px 0px #000; }
body.theme-dark.layout-neubrutalism { background: #000; color: #fff; }
body.theme-dark.layout-neubrutalism .panel, body.theme-dark.layout-neubrutalism .stat-tile, body.theme-dark.layout-neubrutalism .btn { border-color: #fff; box-shadow: 6px 6px 0px #fff; background: #111; }

/* 15. Fintech (Stripe SaaS Stili) */
body.layout-fintech { background: #f7f9fc; --radius: 8px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body.layout-fintech .admin-shell { max-width: 1200px; margin: 0 auto; box-shadow: 0 50px 100px -20px rgba(50,50,93,0.1), 0 30px 60px -30px rgba(0,0,0,0.15); background: #fff; min-height: 90vh; margin-top: 5vh; border-radius: 12px; overflow: hidden; }
body.layout-fintech .admin-side { background: #f7f9fc; color: #424770; border-right: 1px solid #e3e8ee; padding: 25px 15px; }
body.layout-fintech .admin-side .brand { color: #0a2540; }
body.layout-fintech .admin-side a.nav-item { color: #424770; font-weight: 500; }
body.layout-fintech .admin-side a.nav-item:hover { background: #e3e8ee; }
body.layout-fintech .admin-side a.nav-item.active { background: #fff; color: var(--accent); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
body.layout-fintech .panel, body.layout-fintech .stat-tile { background: #fff; border: 1px solid #e3e8ee; box-shadow: 0 4px 6px rgba(50,50,93,0.05), 0 1px 3px rgba(0,0,0,0.03); }
body.layout-fintech table.data th { background: #f7f9fc; color: #424770; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; font-weight: 600; }
body.layout-fintech .btn { box-shadow: 0 4px 6px rgba(50,50,93,0.11), 0 1px 3px rgba(0,0,0,0.08); font-weight: 600; text-transform: none; }
body.layout-fintech .btn:hover { transform: translateY(-1px); box-shadow: 0 7px 14px rgba(50,50,93,0.1), 0 3px 6px rgba(0,0,0,0.08); }
body.theme-dark.layout-fintech .admin-shell { background: #0a2540; }
body.theme-dark.layout-fintech .admin-side { background: #1a1f36; border-right-color: #3c4257; }
body.theme-dark.layout-fintech .panel, body.theme-dark.layout-fintech .stat-tile, body.theme-dark.layout-fintech table.data th { background: #1a1f36; border-color: #3c4257; color: #a3acb9; }


/* 16. Off-Canvas (Gizli Dev Menü) */
body.layout-offcanvas .admin-side { position: fixed; top: 0; left: -100vw; width: 100vw; height: 100vh; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); transition: left 0.3s ease; padding: 100px; }
body.layout-offcanvas .admin-side:hover, body.layout-offcanvas .admin-side:focus-within { left: 0; }
body.layout-offcanvas .admin-main { margin-left: 0 !important; width: 100%; }
body.layout-offcanvas .admin-top::before { content: '☰ Menü (Hover)'; position: absolute; left: 20px; font-weight: bold; cursor: pointer; z-index: 1001; }
body.theme-dark.layout-offcanvas .admin-side { background: rgba(0,0,0,0.95); }

/* 17. Floating Dock (macOS Alt Menü) */
body.layout-dock { padding-bottom: 80px; }
body.layout-dock .admin-side { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: auto; height: 60px; flex-direction: row; border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 1000; padding: 0 20px; align-items: center; justify-content: center; overflow: visible; border: 1px solid rgba(255,255,255,0.2); }
body.layout-dock .admin-side .brand { display: none; }
body.layout-dock .admin-side a.nav-item { padding: 10px; margin: 0 5px; border-radius: 50%; width: 40px; height: 40px; justify-content: center; }
body.layout-dock .admin-side a.nav-item span { display: none; }
body.layout-dock .admin-main { margin-left: 0; width: 100%; padding: 20px; }

/* 19. Asymmetrical Masonry */
body.layout-masonry .admin-main > .grid, body.layout-masonry .admin-main > .row { display: block; column-count: 2; column-gap: 20px; }
body.layout-masonry .panel, body.layout-masonry .stat-tile { break-inside: avoid; margin-bottom: 20px; }

/* 21. Bottom Edge (Alta Yapışık Menü) */
body.layout-bottom { padding-bottom: 70px; }
body.layout-bottom .admin-side { position: fixed; bottom: 0; left: 0; width: 100%; height: 70px; flex-direction: row; border-top: 1px solid var(--line); border-right: none; z-index: 1000; padding: 0 10px; align-items: center; justify-content: space-around; }
body.layout-bottom .admin-side .brand { display: none; }
body.layout-bottom .admin-side a.nav-item { padding: 10px; flex: 1; text-align: center; justify-content: center; flex-direction: column; font-size: 0.7rem; }
body.layout-bottom .admin-main { margin-left: 0; width: 100%; }

/* 23. Fullscreen Snap */
body.layout-snap { scroll-snap-type: y mandatory; height: 100vh; overflow-y: scroll; }
body.layout-snap .admin-main > div, body.layout-snap .panel { scroll-snap-align: start; height: 100vh; width: 100%; display: flex; flex-direction: column; justify-content: center; margin: 0; border-radius: 0; border-bottom: 1px solid var(--line); }

/* 25. Command Palette Centric */
body.layout-command .admin-side { display: none; }
body.layout-command .admin-main { margin-left: 0; width: 100%; max-width: 800px; margin: 0 auto; padding-top: 100px; }
body.layout-command .admin-top { position: fixed; top: 0; left: 0; width: 100%; height: 80px; justify-content: center; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 1000; }
body.layout-command .admin-top::after { content: 'Ara (Cmd + K)'; position: absolute; width: 400px; padding: 15px 20px; border-radius: 8px; border: 2px solid var(--line); color: var(--muted); text-align: left; }


/* === 18. Dynamic Hero (Değişen Dinamik Zemin) === */
@keyframes dynamicBgAnim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
body.layout-split { background: linear-gradient(-45deg, var(--primary), var(--accent), #23d5ab, #23a6d5); background-size: 400% 400%; animation: dynamicBgAnim 15s ease infinite; color: #fff; }
body.layout-split .admin-side, body.layout-split .admin-top { background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); color: #fff; border-color: rgba(255,255,255,0.1); }
body.layout-split a, body.layout-split h1, body.layout-split h2, body.layout-split h3, body.layout-split h4, body.layout-split h5, body.layout-split h6 { color: #fff !important; }
body.layout-split .panel, body.layout-split .stat-tile { background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.2); color: #fff; }

/* === 22. Magazine (Dergi Stili Büyük Tipografi) === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');
body.layout-horizontal { background: #fdfaf6; color: #1a1a1a; font-family: 'Playfair Display', serif; }
body.layout-horizontal .admin-side { background: transparent; border-right: 2px solid #1a1a1a; }
body.layout-horizontal .brand { font-size: 1.8rem; font-weight: bold; text-transform: uppercase; letter-spacing: 3px; }
body.layout-horizontal h1, body.layout-horizontal h2, body.layout-horizontal h3 { font-family: 'Playfair Display', serif; font-weight: bold; font-size: 2.5rem; letter-spacing: -1px; }
body.layout-horizontal .panel { border: none; border-top: 4px solid #1a1a1a; border-radius: 0; background: transparent; box-shadow: none; padding: 20px 0; margin-bottom: 40px; }


/* === 6. App Shell (Üst ve Yan Sabit, Orta Kayar) === */
body.layout-spacious { overflow: hidden; height: 100vh; display: flex; flex-direction: column; }
body.layout-spacious .admin-top { position: fixed; top: 0; left: 0; width: 100%; height: 70px; z-index: 100; }
body.layout-spacious .admin-shell { display: flex; flex-direction: row; margin-top: 70px; height: calc(100vh - 70px); }
body.layout-spacious .admin-side { position: fixed; top: 70px; left: 0; width: 260px; height: calc(100vh - 70px); }
body.layout-spacious .admin-main { margin-left: 260px; height: calc(100vh - 70px); overflow-y: auto; width: calc(100% - 260px); padding-top: 30px; }

/* === 20. Random Gallery (Rastgele Galeri Arkaplanı) === */
body.layout-dual-sidebar .admin-top, body.layout-dual-sidebar .admin-side { background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); color: #fff; border-color: rgba(255,255,255,0.1); }
body.layout-dual-sidebar a, body.layout-dual-sidebar h1, body.layout-dual-sidebar h2, body.layout-dual-sidebar h3 { color: #fff !important; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
body.layout-dual-sidebar .admin-main { background: rgba(0,0,0,0.4); }
body.layout-dual-sidebar .panel, body.layout-dual-sidebar .stat-tile { background: rgba(255,255,255,0.1); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.2); color: #fff; }

/* === 24. Animated Flow (Hareketli Akışkan Geçişler) === */
@keyframes fluidFadeInUpAdmin {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
body.layout-right .admin-main > * { animation: fluidFadeInUpAdmin 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
body.layout-right .panel, body.layout-right .stat-tile { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
body.layout-right .panel:hover, body.layout-right .stat-tile:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
body.layout-right .nav-item { transition: all 0.3s ease; }
body.layout-right .nav-item:hover { transform: translateX(5px); }
