/* GhostShell.ac panel - minimal stil */
:root {
  --gs-primary: #ff8800;
  --gs-dark: #1b1f24;
  --gs-darker: #11151a;
  --gs-sidebar: #232830;
  --gs-border: #2a3038;
  --gs-text: #d8dde3;
  --gs-muted: #8b95a3;
}

html, body { height: 100%; }
body { background: #f4f6f9; color: #303a44; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

/* Auth */
.auth-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #11151a 0%, #232830 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem;
}
.auth-wrapper { width: 100%; max-width: 420px; }
.auth-card {
  background: #fff; border-radius: 14px; padding: 2.25rem 2rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.auth-brand { text-align: center; margin-bottom: 1.75rem; }
.auth-brand i { font-size: 2.6rem; color: var(--gs-primary); }
.auth-brand h1 { font-size: 1.65rem; font-weight: 700; margin: 0.5rem 0 0; color: #1b1f24; }
.auth-brand h1 span { color: var(--gs-primary); }
.auth-tagline { font-size: 0.85rem; color: var(--gs-muted); margin: 0.25rem 0 0; }

/* App shell */
.app-navbar { height: 56px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); position: sticky; top: 0; z-index: 1030; }
.app-shell { display: flex; min-height: calc(100vh - 56px); }
.app-sidebar {
  width: 240px; background: var(--gs-sidebar); color: var(--gs-text);
  flex-shrink: 0; min-height: calc(100vh - 56px);
}
.sidebar-inner { padding: 1rem 0; }
.sidebar-section { margin-bottom: 1.5rem; }
.sidebar-title {
  padding: 0 1.25rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gs-muted); margin-bottom: 0.5rem;
}
.sidebar-link {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1.25rem; color: var(--gs-text); text-decoration: none;
  border-left: 3px solid transparent; transition: background 0.15s;
}
.sidebar-link:hover { background: rgba(255, 136, 0, 0.08); color: #fff; }
.sidebar-link.active { background: rgba(255, 136, 0, 0.18); border-left-color: var(--gs-primary); color: #fff; }
.sidebar-link i { font-size: 1.05rem; width: 1.5rem; text-align: center; }

.app-main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: #f4f6f9; }
.app-footer { color: #8b95a3; }

/* Stat cards */
.stat-card {
  background: #fff; border-radius: 10px; padding: 1.1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-left: 4px solid #ddd;
}
.stat-icon { font-size: 2rem; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.stat-meta { flex: 1; }
.stat-value { font-size: 1.7rem; font-weight: 700; line-height: 1; }
.stat-label { color: #8b95a3; font-size: 0.85rem; margin-top: 0.25rem; }

.stat-primary { border-color: var(--gs-primary); }
.stat-primary .stat-icon { background: rgba(255,136,0,0.1); color: var(--gs-primary); }
.stat-info { border-color: #2196f3; }
.stat-info .stat-icon { background: rgba(33,150,243,0.1); color: #2196f3; }
.stat-warning { border-color: #ff9800; }
.stat-warning .stat-icon { background: rgba(255,152,0,0.1); color: #ff9800; }
.stat-success { border-color: #4caf50; }
.stat-success .stat-icon { background: rgba(76,175,80,0.1); color: #4caf50; }
.stat-secondary { border-color: #607d8b; }
.stat-secondary .stat-icon { background: rgba(96,125,139,0.1); color: #607d8b; }

/* Cards */
.card { box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.card-header { background: #fff; font-weight: 600; }
.page-header h1 { color: #1b1f24; }

/* Errors */
.error-page .error-code { font-size: 6rem; line-height: 1; }

/* Tables */
.dt-table { width: 100% !important; }
table.dataTable { border-collapse: collapse !important; }
table.dataTable thead th { background: #f8f9fa; font-weight: 600; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 767.98px) {
  .app-sidebar { position: fixed; top: 56px; left: 0; z-index: 1020; height: calc(100vh - 56px); }
  .app-sidebar.collapsing, .app-sidebar.collapse:not(.show) { width: 0; }
}
