/* SXEI Portal - Student Experience Index of India */
/* Core Design System */

:root {
  --primary: #1a237e;
  --primary-light: #3949ab;
  --primary-dark: #0d1257;
  --accent: #ff6f00;
  --accent-light: #ffa040;
  --success: #00897b;
  --warning: #f9a825;
  --danger: #c62828;
  --info: #0277bd;
  --bg: #f0f2f8;
  --bg-dark: #0a0e27;
  --surface: #ffffff;
  --surface-2: #f7f8fc;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(26,35,126,0.10);
  --shadow-lg: 0 8px 40px rgba(26,35,126,0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  --gradient-primary: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #1565c0 100%);
  --gradient-accent: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
  --gradient-success: linear-gradient(135deg, #00897b 0%, #00acc1 100%);
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* Typography */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* Navigation */
.navbar {
  background: var(--gradient-primary);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(255,255,255,0.3);
}

.brand-text h2 { font-size: 1.1rem; color: white; margin: 0; }
.brand-text span { font-size: 0.72rem; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,0.18);
  color: white;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  cursor: pointer;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.card-body { padding: 1.5rem; }
.card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); background: var(--surface-2); }

/* Metric Cards */
.metric-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.metric-card.primary::before { background: var(--gradient-primary); }
.metric-card.accent::before { background: var(--gradient-accent); }
.metric-card.success::before { background: var(--gradient-success); }
.metric-card.warning::before { background: linear-gradient(135deg, #f9a825, #fbc02d); }

.metric-value {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.5rem 0;
}

.metric-label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.metric-change { font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 4px; margin-top: 0.5rem; }
.metric-change.up { color: var(--success); }
.metric-change.down { color: var(--danger); }
.metric-icon { font-size: 2rem; opacity: 0.15; position: absolute; right: 1.25rem; top: 1.25rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(26,35,126,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,35,126,0.4); }

.btn-accent {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(255,111,0,0.3);
}
.btn-accent:hover { transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-success { background: var(--gradient-success); color: white; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary { background: #e8eaf6; color: var(--primary); }
.badge-success { background: #e0f2f1; color: var(--success); }
.badge-warning { background: #fff8e1; color: #e65100; }
.badge-danger { background: #fce4ec; color: var(--danger); }
.badge-info { background: #e1f5fe; color: var(--info); }

/* Progress Bars */
.progress {
  background: #e2e8f0;
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 100px;
  background: var(--gradient-primary);
  transition: width 1s ease;
}

.progress-bar.success { background: var(--gradient-success); }
.progress-bar.warning { background: linear-gradient(135deg, #f9a825, #fbc02d); }
.progress-bar.danger { background: linear-gradient(135deg, #c62828, #e53935); }

/* Score Ring */
.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
}

.score-ring svg {
  transform: rotate(-90deg);
}

.score-ring .ring-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Tables */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th {
  background: var(--surface-2);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border);
}

td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--surface-2); }

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface);
  transition: var(--transition);
  font-family: var(--font);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* Likert Scale */
.likert-scale {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.likert-btn {
  flex: 1;
  min-width: 60px;
  padding: 10px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  font-size: 0.85rem;
  font-weight: 500;
}

.likert-btn:hover { border-color: var(--primary); color: var(--primary); background: #f0f2ff; }
.likert-btn.selected { border-color: var(--primary); background: var(--primary); color: white; }
.likert-btn.selected-1 { border-color: #c62828; background: #c62828; color: white; }
.likert-btn.selected-2 { border-color: #ef6c00; background: #ef6c00; color: white; }
.likert-btn.selected-3 { border-color: #9D6205; background: #f9a825; color: white; }
.likert-btn.selected-4 { border-color: #43a047; background: #43a047; color: white; }
.likert-btn.selected-5 { border-color: #00897b; background: #00897b; color: white; }

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.alert-info { background: #e1f5fe; border-left: 4px solid var(--info); color: #01579b; }
.alert-success { background: #e0f2f1; border-left: 4px solid var(--success); color: #004d40; }
.alert-warning { background: #fff8e1; border-left: 4px solid var(--warning); color: #e65100; }
.alert-danger { background: #fce4ec; border-left: 4px solid var(--danger); color: #880e4f; }

/* Heatmap */
.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.heatmap-cell {
  padding: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.heatmap-cell.excellent { background: #e0f2f1; border-left: 4px solid #00897b; }
.heatmap-cell.good { background: #e8f5e9; border-left: 4px solid #43a047; }
.heatmap-cell.average { background: #fff8e1; border-left: 4px solid #f9a825; }
.heatmap-cell.poor { background: #fff3e0; border-left: 4px solid #ef6c00; }
.heatmap-cell.critical { background: #fce4ec; border-left: 4px solid #c62828; }

/* Layout */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.page-header { padding: 2rem 0 1.5rem; }
.page-title { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.page-subtitle { color: var(--text-muted); margin-top: 4px; font-size: 0.95rem; }

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

@media (max-width: 1200px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .navbar { padding: 0 1rem; }
  .container { padding: 0 1rem; }
  .navbar-nav { display: none; }
}

/* Sidebar Layout */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 68px);
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}

.sidebar-section { padding: 0 1rem 1rem; }
.sidebar-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; padding: 0 0.75rem; margin-bottom: 4px; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.sidebar-link:hover { background: var(--surface-2); color: var(--text); }
.sidebar-link.active { background: #eef0ff; color: var(--primary); font-weight: 600; }
.sidebar-link .icon { width: 18px; text-align: center; }

.main-content { padding: 2rem; overflow-x: hidden; }

/* Survey specific */
.survey-progress {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.survey-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.survey-step.active .step-num { background: var(--primary); color: white; }
.survey-step.done .step-num { background: var(--success); color: white; }
.survey-step.active { color: var(--primary); font-weight: 600; }

.question-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
}

.question-num { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.question-text { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 1.25rem; line-height: 1.5; }
.question-sub { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 1rem; }

.scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* AI Insight Cards */
.ai-insight {
  background: linear-gradient(135deg, #1a237e08 0%, #3949ab08 100%);
  border: 1px solid #c5cae9;
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-primary);
  color: white;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

/* India Map placeholder */
.india-map-container {
  background: linear-gradient(135deg, #e8eaf6 0%, #e3f2fd 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

/* Rankings */
.rank-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.rank-item:last-child { border-bottom: none; }

.rank-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.rank-1 { background: #ffd700; color: #7b4f00; }
.rank-2 { background: #c0c0c0; color: #424242; }
.rank-3 { background: #cd7f32; color: white; }
.rank-other { background: var(--surface-2); color: var(--text-muted); }

/* Filters bar */
.filters-bar {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.filter-group label { font-weight: 600; color: var(--text-muted); white-space: nowrap; }

/* Action tracker */
.action-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.action-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.status-pending { background: var(--warning); }
.status-inprogress { background: var(--info); }
.status-done { background: var(--success); }
.status-overdue { background: var(--danger); }

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c5cae9; border-radius: 100px; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s;
}

.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* Tooltip */
[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 100;
}

/* Hero */
.hero {
  background: var(--gradient-primary);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; position: relative; }
.hero p { font-size: 1.1rem; opacity: 0.85; max-width: 700px; margin: 0 auto 2rem; position: relative; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* Feature cards on landing */
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* Stats section */
.stats-bar {
  background: white;
  padding: 2.5rem 2rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1a1a2e;
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  animation: slideIn 0.3s ease;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--info); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Accreditation specific */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.criteria-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--border);
  position: relative;
}

.criteria-score {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Print styles */
@media print {
  .navbar, .sidebar, .filters-bar, .btn { display: none !important; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .main-content { padding: 0; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}
