/* ============================================================
   POSIT SYSTEM - Diseño Institucional SALME
   Instituto Jalisciense de Salud Mental y Adicciones
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  --salme-dark:    #0d1b2a;
  --salme-navy:    #1b2f4a;
  --salme-teal:    #1a7a6e;
  --salme-teal-lt: #22a895;
  --salme-accent:  #f0a500;
  --salme-danger:  #e05252;
  --salme-ok:      #27ae60;
  --salme-warn:    #e67e22;
  --salme-bg:      #f0f4f8;
  --salme-white:   #ffffff;
  --salme-gray:    #8895a7;
  --salme-border:  #dde3ea;
  --card-shadow:   0 2px 12px rgba(13,27,42,.1);
  --card-hover:    0 6px 24px rgba(13,27,42,.16);
  --radius:        12px;
  --radius-sm:     8px;
  --font-main:     'Nunito', sans-serif;
  --font-body:     'Inter', sans-serif;
  --transition:    all .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--salme-bg);
  color: var(--salme-dark);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
}

/* ── Typography ─────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-main); font-weight: 700; }
.text-muted { color: var(--salme-gray); }
.text-danger { color: var(--salme-danger); }
.text-success { color: var(--salme-ok); }
.text-warn { color: var(--salme-warn); }

/* ── Layout ─────────────────────────────────────── */
.app-wrapper { display: flex; min-height: 100vh; }

.sidebar {
  width: 260px;
  background: var(--salme-dark);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  transition: var(--transition);
}

.sidebar-logo {
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-logo .brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--salme-teal), var(--salme-teal-lt));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 8px;
}

.sidebar-logo h2 {
  color: #fff;
  font-size: 18px;
  letter-spacing: .5px;
}

.sidebar-logo small {
  color: rgba(255,255,255,.45);
  font-size: 11px;
  font-family: var(--font-body);
}

.sidebar-section { padding: 8px 0; }
.sidebar-section-label {
  color: rgba(255,255,255,.3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 20px 6px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-left-color: var(--salme-teal-lt);
}

.sidebar-nav a .nav-icon { font-size: 18px; width: 22px; text-align: center; }

.sidebar-footer {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.sidebar-footer .user-info {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

.user-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--salme-teal), var(--salme-accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 14px;
  font-family: var(--font-main);
}

.main-content {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  background: var(--salme-white);
  border-bottom: 1px solid var(--salme-border);
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}

.topbar-title { font-family: var(--font-main); font-weight: 700; font-size: 17px; color: var(--salme-dark); }
.topbar-sub { font-size: 12px; color: var(--salme-gray); margin-top: 1px; }

.topbar-actions { display: flex; align-items: center; gap: 12px; }

.page-content { padding: 28px; flex: 1; }

/* ── Cards ──────────────────────────────────────── */
.card {
  background: var(--salme-white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--salme-border);
}

.card-header {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--salme-border);
  display: flex; align-items: center; justify-content: space-between;
}

.card-header h3 {
  font-size: 15px;
  font-family: var(--font-main);
  display: flex; align-items: center; gap: 8px;
}

.card-body { padding: 22px; }

/* ── KPI Cards ──────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-bottom: 24px; }

.kpi-card {
  background: var(--salme-white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--salme-border);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition);
  cursor: default;
}

.kpi-card:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }

.kpi-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.kpi-card .kpi-value { font-family: var(--font-main); font-size: 28px; font-weight: 800; line-height: 1; }
.kpi-card .kpi-label { font-size: 12px; color: var(--salme-gray); margin-top: 2px; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary { background: var(--salme-teal); color: #fff; }
.btn-primary:hover { background: var(--salme-teal-lt); color: #fff; }
.btn-success { background: var(--salme-ok); color: #fff; }
.btn-success:hover { background: #219a52; color: #fff; }
.btn-warning { background: var(--salme-warn); color: #fff; }
.btn-warning:hover { background: #d35400; color: #fff; }
.btn-danger { background: var(--salme-danger); color: #fff; }
.btn-danger:hover { background: #c0392b; color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--salme-teal); color: var(--salme-teal); }
.btn-outline:hover { background: var(--salme-teal); color: #fff; }
.btn-light { background: var(--salme-bg); color: var(--salme-dark); border: 1px solid var(--salme-border); }
.btn-light:hover { background: #e2e8f0; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Forms ───────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--salme-dark);
}
.form-label .req { color: var(--salme-danger); margin-left: 2px; }

.form-control, .form-select {
  width: 100%;
  padding: 9px 13px;
  border: 1.5px solid var(--salme-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--salme-white);
  color: var(--salme-dark);
  transition: var(--transition);
  outline: none;
}

.form-control:focus, .form-select:focus {
  border-color: var(--salme-teal);
  box-shadow: 0 0 0 3px rgba(26,122,110,.12);
}

.form-control.error, .form-select.error {
  border-color: var(--salme-danger);
}

/* ── Table ───────────────────────────────────────── */
.table-responsive { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  background: var(--salme-dark);
  color: #fff;
  padding: 11px 14px;
  text-align: left;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  position: sticky; top: 0;
  white-space: nowrap;
}
.data-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--salme-border);
  vertical-align: middle;
}
.data-table tr:hover td { background: rgba(26,122,110,.04); }
.data-table tr.en-riesgo td { background: rgba(224,82,82,.06); }
.data-table .cell-riesgo { background: rgba(224,82,82,.18) !important; font-weight: 700; color: var(--salme-danger); }
.data-table .cell-normal { color: var(--salme-ok); }

/* ── Badges & Pills ─────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-main);
}
.badge-danger { background: rgba(224,82,82,.15); color: var(--salme-danger); }
.badge-success { background: rgba(39,174,96,.15); color: var(--salme-ok); }
.badge-warn { background: rgba(230,126,34,.15); color: var(--salme-warn); }
.badge-info { background: rgba(52,152,219,.15); color: #2980b9; }

/* ── Survey / Cuestionario ──────────────────────── */
.survey-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}

.survey-header {
  background: linear-gradient(135deg, var(--salme-dark) 0%, var(--salme-navy) 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: #fff;
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.survey-header::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: rgba(26,122,110,.25);
  border-radius: 50%;
}

.survey-header::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -30px;
  width: 120px; height: 120px;
  background: rgba(240,165,0,.15);
  border-radius: 50%;
}

.survey-header h1 { font-size: 36px; letter-spacing: 4px; margin-bottom: 4px; }
.survey-header p { color: rgba(255,255,255,.7); font-size: 15px; }

/* Progress bar */
.progress-container { margin-bottom: 24px; }
.progress-info { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.progress-bar-wrapper { background: #dde3ea; border-radius: 20px; height: 8px; overflow: hidden; }
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--salme-teal), var(--salme-teal-lt));
  border-radius: 20px;
  transition: width .4s ease;
}

/* Question card */
.question-card {
  background: var(--salme-white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--salme-border);
  padding: 28px 32px;
  animation: slideIn .3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.question-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--salme-teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-main);
}

.question-text {
  font-size: 19px;
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--salme-dark);
  line-height: 1.5;
  margin-bottom: 28px;
}

.answer-buttons { display: flex; gap: 14px; }

.answer-btn {
  flex: 1;
  padding: 16px;
  border-radius: var(--radius);
  border: 2.5px solid var(--salme-border);
  background: var(--salme-white);
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 16px;
  transition: var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}

.answer-btn .answer-icon { font-size: 28px; }
.answer-btn.si-btn:hover, .answer-btn.si-btn.selected {
  border-color: var(--salme-ok);
  background: rgba(39,174,96,.08);
  color: var(--salme-ok);
}
.answer-btn.no-btn:hover, .answer-btn.no-btn.selected {
  border-color: var(--salme-danger);
  background: rgba(224,82,82,.08);
  color: var(--salme-danger);
}

.question-nav { display: flex; justify-content: space-between; margin-top: 24px; align-items: center; }

/* Results */
.results-header {
  background: linear-gradient(135deg, var(--salme-dark), var(--salme-navy));
  border-radius: var(--radius);
  padding: 32px;
  color: #fff;
  margin-bottom: 24px;
}

.score-circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-main);
}

.score-circle .val { font-size: 32px; font-weight: 800; line-height: 1; }
.score-circle .lbl { font-size: 11px; opacity: .7; }

.area-result {
  background: var(--salme-white);
  border-radius: var(--radius);
  border: 1px solid var(--salme-border);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition);
}

.area-result.en-riesgo {
  border-color: rgba(224,82,82,.4);
  background: rgba(224,82,82,.04);
}

.area-icon-box {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

/* ── Login page ─────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, var(--salme-dark) 0%, var(--salme-navy) 60%, #1a4a3a 100%);
}

.login-box {
  margin: auto;
  width: 100%;
  max-width: 420px;
  padding: 24px;
}

.login-card {
  background: var(--salme-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.login-logo {
  text-align: center;
  margin-bottom: 28px;
}

.login-logo .logo-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--salme-teal), var(--salme-teal-lt));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(26,122,110,.35);
}

.login-logo h1 { font-size: 28px; color: var(--salme-dark); }
.login-logo p { font-size: 12px; color: var(--salme-gray); max-width: 240px; margin: 4px auto 0; text-align: center; }

/* ── Alert ───────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-main);
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.alert-danger  { background: rgba(224,82,82,.12); color: var(--salme-danger); border: 1px solid rgba(224,82,82,.3); }
.alert-success { background: rgba(39,174,96,.12); color: var(--salme-ok);     border: 1px solid rgba(39,174,96,.3); }
.alert-warn    { background: rgba(230,126,34,.12); color: var(--salme-warn);  border: 1px solid rgba(230,126,34,.3); }

/* ── Grid helpers ───────────────────────────────── */
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.col { flex: 1; min-width: 0; }
.col-auto { flex: 0 0 auto; }
.col-2 { flex: 0 0 calc(50% - 10px); }
.col-3 { flex: 0 0 calc(33.333% - 14px); }
.col-4 { flex: 0 0 calc(25% - 15px); }
.mb-4 { margin-bottom: 24px; }
.mb-2 { margin-bottom: 12px; }
.mt-4 { margin-top: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 10px; }
.gap-3 { gap: 16px; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-bold { font-weight: 700; font-family: var(--font-main); }

/* ── Filters bar ─────────────────────────────────── */
.filter-bar {
  background: var(--salme-white);
  border-radius: var(--radius);
  border: 1px solid var(--salme-border);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 20px;
}

/* ── Notifications / red-flags list ─────────────── */
.flag-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(224,82,82,.14);
  color: var(--salme-danger);
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-main);
}

/* ── Chart area ──────────────────────────────────── */
.chart-container { position: relative; }

/* ══════════════════════════════════════════════════
   RESPONSIVE — Móvil completo
   ══════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ─────────────────────────── */
@media (max-width: 1024px) {
  .sidebar { width: 220px; }
  .main-content { margin-left: 220px; }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Móvil (≤ 768px) ───────────────────────────── */
@media (max-width: 768px) {

  /* Sidebar — oculto por defecto, overlay al abrir */
  .sidebar {
    width: 280px;
    transform: translateX(-280px);
    transition: transform .25s ease;
    z-index: 300;
  }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }

  /* Topbar */
  .topbar { padding: 0 12px; height: 54px; }
  .topbar-title { font-size: 15px; }
  .topbar-sub { display: none; }
  .topbar-actions .btn span { display: none; } /* Ocultar texto del botón Nueva Encuesta */
  .topbar-actions .btn::before { content: '＋'; }

  /* Page content */
  .page-content { padding: 12px; }

  /* ── Grid helpers ─── */
  .row { flex-direction: column; gap: 12px; }
  .col, .col-2, .col-3, .col-4, .col-auto { flex: 0 0 100% !important; width: 100%; }
  [style*="flex:0 0"] { flex: 0 0 100% !important; width: 100% !important; }

  /* ── KPI Grid ─── */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }
  .kpi-card { padding: 14px 12px; gap: 10px; }
  .kpi-icon { width: 38px; height: 38px; font-size: 18px; }
  .kpi-card .kpi-value { font-size: 22px; }
  .kpi-card .kpi-label { font-size: 11px; }

  /* ── Cards ─── */
  .card-header { padding: 12px 16px 10px; flex-wrap: wrap; gap: 6px; }
  .card-body { padding: 14px; }
  .card-header h3 { font-size: 14px; }

  /* ── Filter bar ─── */
  .filter-bar {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
  .filter-bar > div { width: 100%; }
  .filter-bar .form-control,
  .filter-bar .form-select { width: 100% !important; }
  .filter-bar [style*="width"] { width: 100% !important; }

  /* ── Tablas — scroll horizontal ─── */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table { min-width: 700px; }
  .data-table th,
  .data-table td { padding: 7px 10px; font-size: 12px; white-space: nowrap; }

  /* ── Encuesta pública ─── */
  .survey-wrapper { padding: 10px; max-width: 100%; }
  .survey-header, .survey-hero { padding: 20px 16px; }
  .survey-header h1, .survey-hero h1 { font-size: 28px; }
  .question-card { padding: 20px 16px; }
  .question-text { font-size: 17px; margin-bottom: 20px; }
  .answer-buttons { gap: 10px; }
  .answer-btn { padding: 14px 10px; font-size: 15px; }
  .answer-btn .answer-icon { font-size: 24px; }
  .question-nav { flex-wrap: wrap; gap: 8px; }

  /* Encuesta form rows — apilar */
  .survey-main .row,
  .encuesta-form .row { flex-direction: column; }

  /* ── Header institucional ─── */
  .inst-logos-bar { padding: 8px 10px; min-height: 44px; }
  .inst-logos-bar .logos-center img { height: 24px; }
  .inst-logos-bar .admin-lock { width: 26px; height: 26px; font-size: 12px; }
  .inst-logos-bar .logos-spacer { width: 26px; }

  /* ── Aviso card en encuesta ─── */
  .aviso-card { flex-direction: column; padding: 14px; gap: 8px; }
  .aviso-card .aviso-icon { font-size: 22px; }

  /* ── Footer institucional ─── */
  .inst-footer-bar { flex-direction: column; padding: 12px 16px; gap: 8px; }
  .footer-right { flex-wrap: wrap; gap: 4px; }
  .footer-copy { font-size: 10px; }

  /* ── Módulo informes ─── */
  .informes-grid { grid-template-columns: 1fr !important; }

  /* ── Dashboard charts ─── */
  .chart-container { height: 200px !important; }

  /* ── Sidebar footer ─── */
  .sidebar-footer { padding: 12px 16px; }

  /* ── Login ─── */
  .login-card { padding: 28px 20px; }
  .login-box { padding: 16px; }

  /* ── Detalle encuesta ─── */
  .area-result { flex-wrap: wrap; }
  .results-header { padding: 20px 16px; }
  .score-circle { width: 80px; height: 80px; }
  .score-circle .val { font-size: 26px; }

  /* ── Botones en toolbar ─── */
  .d-flex.justify-between { flex-wrap: wrap; gap: 8px; }
  .d-flex.gap-2 { flex-wrap: wrap; }

  /* ── Tabla encuestas — columnas opcionales ocultas en móvil ─── */
  .col-hide-mobile { display: none !important; }

  /* ── Progress bar encuesta ─── */
  .progress-info { font-size: 12px; }

  /* ── Gracias page ─── */
  .gracias-card { padding: 32px 20px; }
  .gracias-card h1 { font-size: 22px; }
  .check-ring, .check-circle { width: 70px; height: 70px; font-size: 30px; }
}

/* ── Móvil pequeño (≤ 420px) ───────────────────── */
@media (max-width: 420px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-card .kpi-value { font-size: 28px; }
  .answer-buttons { flex-direction: column; }
  .answer-btn { padding: 16px; }
  .topbar-actions { gap: 6px; }
  .question-text { font-size: 16px; }
  .data-table th, .data-table td { font-size: 11px; padding: 6px 8px; }
  .badge { font-size: 10px; padding: 2px 6px; }
  .btn-sm { padding: 4px 8px; font-size: 11px; }
}

/* ── Utility ──────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.search-input-wrapper { position: relative; }
.search-input-wrapper .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--salme-gray); }
.search-input-wrapper .form-control { padding-left: 36px; }

.no-data {
  text-align: center;
  padding: 48px 20px;
  color: var(--salme-gray);
}
.no-data .no-data-icon { font-size: 48px; margin-bottom: 12px; }
.no-data p { font-size: 15px; }

/* Hamburger mobile */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-size: 22px;
  color: var(--salme-dark);
}
@media (max-width: 768px) { .hamburger { display: block; } }

/* Sidebar overlay */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 199;
}
.sidebar-overlay.active { display: block; }

/* Print */
@media print {
  .sidebar, .topbar, .btn, .filter-bar, .no-print { display: none !important; }
  .main-content { margin-left: 0; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}
