/* ShifuApp - Dashboard Style */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1525;
  --bg-card: #151c2e;
  --bg-card-hover: #1a2238;
  --bg-input: #1e273e;
  --border: #232c45;
  --text-primary: #ffffff;
  --text-secondary: #a8b3cf;
  --text-muted: #6b7892;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #06b6d4;
  --purple: #8b5cf6;
  --orange: #f97316;
  --sidebar-width: 260px;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button { font-family: inherit; cursor: pointer; }

/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  z-index: 100; overflow-y: auto;
}
.sidebar-header {
  padding: 18px 18px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo img { height: 32px; }
.logo-text {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, #ffe65b, #f97316);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.logo-version {
  font-size: 9px; padding: 2px 6px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
  border-radius: 4px;
  font-weight: 600;
}
.sidebar-close {
  background: transparent; border: 0; color: var(--text-muted);
  font-size: 22px; display: none;
}

.sidebar-nav { flex: 1; padding: 8px; }
.nav-section { margin-top: 18px; padding: 0 12px 4px; }
.nav-section-title {
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  letter-spacing: 0.5px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; margin-top: 2px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px; font-weight: 500;
  transition: all 0.15s;
}
.nav-item:hover { background: var(--bg-card); color: var(--text-primary); }
.nav-item.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
  color: var(--accent);
  border-left: 3px solid var(--accent);
}
.nav-icon { font-size: 16px; width: 20px; text-align: center; }

.sidebar-footer { padding: 12px; border-top: 1px solid var(--border); }
.user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; background: var(--bg-card);
  border-radius: 10px; margin-bottom: 8px;
}
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logout-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--danger); background: transparent;
  font-size: 13px; font-weight: 500;
}
.logout-btn:hover { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

.sidebar-toggle-mobile {
  display: none; position: fixed; top: 12px; left: 12px; z-index: 101;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); width: 38px; height: 38px;
  border-radius: 8px; font-size: 18px;
}

/* ===== MAIN ===== */
.main-content { margin-left: var(--sidebar-width); min-height: 100vh; padding: 24px; }
.main-content-full { min-height: 100vh; padding: 24px; }
.container { max-width: 1400px; margin: 0 auto; }

/* ===== FLASH MESSAGES ===== */
.flash-container { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.flash {
  padding: 12px 16px; border-radius: 10px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid;
  animation: slideDown 0.25s ease;
}
.flash-success { background: rgba(16, 185, 129, 0.1); border-color: var(--success); color: #6ee7b7; }
.flash-danger, .flash-error { background: rgba(239, 68, 68, 0.1); border-color: var(--danger); color: #fca5a5; }
.flash-warning { background: rgba(245, 158, 11, 0.1); border-color: var(--warning); color: #fcd34d; }
.flash-info { background: rgba(6, 182, 212, 0.1); border-color: var(--info); color: #67e8f9; }
.flash-close { background: transparent; border: 0; color: inherit; font-size: 18px; opacity: 0.6; }
.flash-close:hover { opacity: 1; }
@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===== PAGE HEADER ===== */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
}
.page-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 26px; font-weight: 700;
}
.page-title .icon { font-size: 28px; }
.page-subtitle { color: var(--text-secondary); margin-top: 4px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== STAT CARDS ===== */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-bottom: 22px;
}
.stat-card {
  position: relative; padding: 20px;
  border-radius: 14px; border: 1px solid var(--border);
  overflow: hidden;
}
.stat-card.blue    { background: linear-gradient(135deg, #1e3a8a40, #1e293b); }
.stat-card.green   { background: linear-gradient(135deg, #14532d40, #1e293b); }
.stat-card.red     { background: linear-gradient(135deg, #7f1d1d40, #1e293b); }
.stat-card.purple  { background: linear-gradient(135deg, #4c1d9540, #1e293b); }
.stat-card.orange  { background: linear-gradient(135deg, #7c2d1240, #1e293b); }
.stat-card.cyan    { background: linear-gradient(135deg, #155e7540, #1e293b); }
.stat-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
  background: rgba(255,255,255,0.1);
}
.stat-value { font-size: 32px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; font-weight: 600; }
.stat-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; margin-bottom: 16px;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 8px;
}
.card-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px; border: 0;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all 0.15s; text-decoration: none;
  background: var(--bg-input); color: var(--text-primary);
}
.btn:hover { background: var(--bg-card-hover); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #059669; color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; color: white; }
.btn-warning { background: var(--warning); color: black; }
.btn-warning:hover { background: #d97706; color: black; }
.btn-info { background: var(--info); color: white; }
.btn-info:hover { background: #0891b2; color: white; }
.btn-secondary { background: var(--bg-input); color: var(--text-primary); }
.btn-outline { background: transparent; border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-lg { padding: 12px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-icon { padding: 8px 10px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--text-secondary); }
.form-label .req { color: var(--danger); }
.form-control, .form-select, textarea.form-control {
  width: 100%; padding: 10px 12px;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-primary); font-size: 13px;
  font-family: inherit; transition: all 0.15s;
}
.form-control:focus, .form-select:focus, textarea.form-control:focus {
  outline: none; border-color: var(--accent); background: var(--bg-card);
}
textarea.form-control { min-height: 90px; resize: vertical; font-family: ui-monospace, monospace; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-check input { cursor: pointer; }

/* ===== TABLES ===== */
.table-wrapper { overflow-x: auto; }
table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
table th {
  text-align: left; padding: 12px 14px;
  background: var(--bg-input); color: var(--text-secondary);
  font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px;
  border-bottom: 1px solid var(--border);
}
table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
table tr:hover td { background: var(--bg-card-hover); }
table tr:last-child td { border-bottom: 0; }

/* ===== BADGES ===== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.badge-active, .badge-not_blocked, .badge-success { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.badge-blocked, .badge-danger { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.badge-pending, .badge-warning { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.badge-error, .badge-unknown { background: rgba(107, 114, 128, 0.2); color: var(--text-muted); }
.badge-admin { background: rgba(255, 230, 91, 0.15); color: #ffe65b; }
.badge-vip { background: rgba(139, 92, 246, 0.15); color: var(--purple); }
.badge-normal { background: rgba(59, 130, 246, 0.15); color: var(--accent); }
.badge-member { background: rgba(107, 114, 128, 0.2); color: var(--text-secondary); }

/* ===== LOGIN PAGE ===== */
.login-wrapper {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: radial-gradient(circle at top, #1e1b4b 0%, var(--bg-primary) 70%);
}
.login-box {
  width: 100%; max-width: 420px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; padding: 32px;
}
.login-logo { text-align: center; margin-bottom: 24px; }
.login-logo img { height: 60px; }
.login-logo h1 {
  font-size: 28px; margin-top: 8px;
  background: linear-gradient(135deg, #ffe65b, #f97316);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.login-logo p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

/* ===== HELPERS ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 12px; }
.text-lg { font-size: 16px; }
.font-bold { font-weight: 700; }
.font-mono { font-family: ui-monospace, monospace; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-full { width: 100%; }
.hidden { display: none; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ===== CHART CONTAINER ===== */
.chart-container { position: relative; height: 280px; }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center; padding: 50px 20px; color: var(--text-muted);
}
.empty-state .icon { font-size: 56px; margin-bottom: 12px; opacity: 0.5; }
.empty-state h3 { font-size: 16px; margin-bottom: 6px; color: var(--text-secondary); }

/* ===== MODAL ===== */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  display: none; align-items: center; justify-content: center; z-index: 200;
  padding: 16px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; width: 100%; max-width: 540px;
  max-height: 90vh; overflow-y: auto;
}
.modal-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-body { padding: 20px; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }
.modal-close { background: transparent; border: 0; color: var(--text-muted); font-size: 22px; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 18px; }
.pagination a, .pagination span {
  padding: 7px 12px; border-radius: 7px;
  background: var(--bg-card); color: var(--text-secondary);
  font-size: 12px; font-weight: 600;
}
.pagination a:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.pagination .current { background: var(--accent); color: white; }
.pagination .disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== FOLDER CARD ===== */
.folder-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.folder-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px; transition: all 0.2s;
}
.folder-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.folder-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.folder-card-name { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.folder-card-stats { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.folder-stat-row { display: flex; justify-content: space-between; font-size: 12px; }
.folder-stat-label { color: var(--text-muted); }
.folder-card-actions { display: flex; gap: 6px; }
.folder-card-actions .btn { flex: 1; }

/* ===== PROGRESS BAR ===== */
.progress {
  width: 100%; height: 6px; background: var(--bg-input);
  border-radius: 999px; overflow: hidden;
}
.progress-bar {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--purple));
  border-radius: 999px;
}

/* ===== TABS ===== */
.tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.tab {
  padding: 9px 16px; background: transparent; border: 0;
  color: var(--text-secondary); font-weight: 600; font-size: 13px;
  border-bottom: 2px solid transparent;
}
.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== CODE BLOCK ===== */
code, pre {
  font-family: ui-monospace, 'SF Mono', 'Monaco', monospace;
  background: var(--bg-input); border-radius: 5px;
}
code { padding: 1px 6px; font-size: 12px; color: #fcd34d; }
pre {
  padding: 14px; border: 1px solid var(--border);
  overflow-x: auto; color: var(--text-primary); font-size: 12px;
  line-height: 1.6;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.25s; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-close { display: block; }
  .sidebar-toggle-mobile { display: flex; align-items: center; justify-content: center; }
  .main-content { margin-left: 0; padding: 16px; padding-top: 60px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 24px; }
  .form-row, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ===== EXTRA UTILITIES (templates v2) ===== */
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-link { color: var(--accent); }
.text-link:hover { color: var(--accent-hover); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-info { color: var(--info); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* ===== LOGIN WRAPPER ===== */
.login-wrapper {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.login-box {
  width: 100%; max-width: 420px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px; box-shadow: 0 10px 50px rgba(0,0,0,0.3);
}
.login-logo { text-align: center; margin-bottom: 24px; }
.login-logo img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 12px; }
.login-logo h1 { font-size: 22px; margin-bottom: 4px; }
.login-tagline { color: var(--text-muted); font-size: 13px; }
.login-form .form-group { margin-bottom: 14px; }
.form-inline { display: flex; align-items: center; gap: 8px; }
.checkbox-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); cursor: pointer; }
.login-footer { text-align: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-muted); }

/* ===== INFO ROW ===== */
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 13px;
}
.info-row:last-child { border-bottom: 0; }
.info-row span { color: var(--text-muted); }

/* ===== INPUT GROUP ===== */
.input-group { display: flex; gap: 8px; }
.input-group .form-control { flex: 1; }

/* ===== ALERTS ===== */
.alert {
  padding: 12px 14px; border-radius: 8px; font-size: 13px;
  border-left: 3px solid var(--info); background: rgba(6, 182, 212, 0.08);
  color: var(--text-primary); margin-bottom: 10px;
}
.alert-info { border-color: var(--info); background: rgba(6, 182, 212, 0.08); }
.alert-success { border-color: var(--success); background: rgba(16, 185, 129, 0.08); }
.alert-warning { border-color: var(--warning); background: rgba(245, 158, 11, 0.08); }
.alert-danger { border-color: var(--danger); background: rgba(239, 68, 68, 0.08); }

/* ===== FILTER BAR ===== */
.filter-bar {
  display: grid; grid-template-columns: 2fr 1fr 1fr auto auto;
  gap: 10px; align-items: end;
}
.filter-bar .form-group { margin: 0; }

/* ===== BTN GROUP ===== */
.btn-group { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
.page-info { color: var(--text-muted); font-size: 13px; }

/* ===== USAGE BAR ===== */
.usage-bar { display: flex; flex-direction: column; gap: 8px; }
.usage-label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

/* ===== FOLDER CARD EXTRAS ===== */
.folder-card-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.folder-icon { font-size: 22px; }
.folder-name-wrap { flex: 1; min-width: 0; }
.folder-name { font-size: 15px; margin: 0; }
.folder-card-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.folder-stat {
  display: flex; justify-content: space-between; font-size: 13px;
}
.folder-stat span { color: var(--text-muted); }
.folder-card-footer {
  padding: 12px 16px; border-top: 1px solid var(--border);
  display: flex; gap: 6px;
}
.folder-card-footer .btn { flex: 1; }
.folder-card-footer .btn-danger { flex: 0; }

/* ===== DOMAIN SEQUENCE LIST ===== */
.domain-sequence { display: flex; flex-direction: column; gap: 6px; }
.sequence-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: var(--bg-input); border-radius: 6px;
  font-size: 13px;
}
.sequence-num {
  color: var(--text-muted); font-weight: 700; min-width: 30px;
}
.sequence-domain { flex: 1; }

/* ===== SHORTLINK LIST ===== */
.shortlink-list { display: flex; flex-direction: column; gap: 8px; }
.shortlink-item {
  padding: 10px 12px; background: var(--bg-input); border-radius: 6px;
  display: flex; flex-direction: column; gap: 3px;
}
.shortlink-url { color: var(--accent); font-weight: 600; font-size: 13px; }

/* ===== API STATUS ===== */
.api-status {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}

/* ===== QUICK CHECK ===== */
.quick-check-footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}

/* ===== STEP LIST (Telegram setup) ===== */
.step-list { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--success); color: white; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.step-content { flex: 1; }
.step-content h4 { margin: 0 0 4px 0; font-size: 14px; }

/* ===== NOTIF FEATURES ===== */
.notif-feature { text-align: center; padding: 14px; }
.notif-icon { font-size: 36px; margin-bottom: 10px; }
.notif-feature h4 { font-size: 14px; margin-bottom: 6px; }
.notif-feature p { font-size: 12px; }

/* ===== EMPTY STATE MINI ===== */
.empty-state-mini { padding: 18px; text-align: center; }

/* ===== ERROR PAGE ===== */
.error-page {
  min-height: 70vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
}
.error-code {
  font-size: 96px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  padding: 12px 18px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; font-size: 13px;
  opacity: 0; transform: translateY(10px); transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { border-left: 3px solid var(--success); }
.toast-danger, .toast-error { border-left: 3px solid var(--danger); }

/* ===== GUIDE LIST ===== */
.guide-list { padding-left: 22px; margin: 8px 0; }
.guide-list li { margin-bottom: 6px; font-size: 13px; line-height: 1.55; }
.guide-list.small li { font-size: 12px; margin-bottom: 4px; }

/* ===== PAGE SUBTITLE ===== */
.page-subtitle { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.logo-version {
  font-size: 11px; padding: 1px 6px; background: var(--warning); color: black;
  border-radius: 4px; margin-left: 4px; font-weight: 700;
}

/* ===== MODAL LG ===== */
.modal-lg { max-width: 620px; }

@media (max-width: 768px) {
  .filter-bar { grid-template-columns: 1fr; }
  .quick-check-footer { flex-direction: column; align-items: stretch; }
  .toast { right: 12px; left: 12px; bottom: 12px; }
}
