:root {
  --bg-primary: #06090e;
  --bg-secondary: #0c121e;
  --bg-card: rgba(14, 20, 32, 0.72);
  --bg-card-hover: rgba(20, 28, 44, 0.85);
  --border-glass: rgba(56, 189, 248, 0.12);
  --border-glass-hover: rgba(56, 189, 248, 0.28);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.35);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.35);
  --rose: #ef4444;
  --rose-glow: rgba(239, 68, 68, 0.35);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.14) 0%, rgba(0, 0, 0, 0) 70%);
  top: -100px;
  left: 10%;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.10) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: 5%;
  right: 5%;
}

/* Container */
.app-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Glass Card Baseline */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition);
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.brand-logo {
  filter: drop-shadow(0 0 8px var(--cyan));
}

.brand-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-highlight {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan-glow);
}

.version-badge {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--emerald);
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--emerald); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  color: #ffffff;
  border-color: rgba(6, 182, 212, 0.4);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #0369a1, #0891b2);
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.4);
}

.btn-accent:hover:not(:disabled) {
  background: linear-gradient(135deg, #047857, #059669);
  box-shadow: 0 0 20px var(--emerald-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.6);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(51, 65, 85, 0.8);
  border-color: var(--border-glass-hover);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: var(--cyan);
}

.btn-danger {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  color: #ffffff;
  border-color: rgba(239, 68, 68, 0.4);
}

.btn-glow {
  box-shadow: 0 0 16px var(--cyan-glow);
}

/* Control Panel */
.control-panel {
  position: relative;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.action-buttons-group, .export-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Dropdown */
.dropdown {
  position: relative;
  z-index: 50;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #0f172a;
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
  display: none;
  flex-direction: column;
  padding: 6px;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dropdown-menu.show {
  display: flex;
  animation: dropIn 0.15s ease-out;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(6, 182, 212, 0.12);
  color: #ffffff;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.metric-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.metric-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-glass-hover), transparent);
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.metric-badge {
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
  font-weight: 600;
}

.badge-cyan { background: rgba(6, 182, 212, 0.15); color: var(--cyan); }
.badge-purple { background: rgba(168, 85, 247, 0.15); color: var(--purple); }
.badge-emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: var(--amber); }

.metric-value {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -1px;
  font-family: var(--font-mono);
  color: #ffffff;
}

.text-cyan { color: var(--cyan); }
.text-purple { color: var(--purple); }
.text-emerald { color: var(--emerald); }
.text-amber { color: var(--amber); }

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Progress Section */
.progress-section {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-status-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spinner-small {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(6, 182, 212, 0.25);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.progress-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.progress-percentage {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cyan);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  border-radius: 10px;
  transition: width 0.3s ease;
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  flex: 1;
  min-width: 240px;
}

.search-wrap svg {
  color: var(--text-dim);
}

.search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  width: 100%;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.select-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.custom-select {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 7px 12px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.custom-select:hover, .custom-select:focus {
  border-color: var(--cyan);
}

/* Table Container */
.table-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.table-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.table-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.count-pill {
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  font-family: var(--font-mono);
}

.table-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-green { background: var(--emerald); box-shadow: 0 0 6px var(--emerald); }
.dot-yellow { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.dot-red { background: var(--rose); }

/* Data Table */
.table-responsive {
  overflow-x: auto;
  max-height: 600px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.data-table th {
  position: sticky;
  top: 0;
  background: #0b101c;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-glass);
  z-index: 10;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 0.15s ease;
}

.data-table tbody tr:hover {
  background: rgba(30, 41, 59, 0.35);
}

/* Row elements */
.ip-mono {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.protocol-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.badge-http { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-https { background: rgba(16, 185, 129, 0.15); color: var(--emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-socks4 { background: rgba(245, 158, 11, 0.15); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-socks5 { background: rgba(168, 85, 247, 0.15); color: var(--purple); border: 1px solid rgba(168, 85, 247, 0.3); }

/* IP Type Badges (Datacenter vs Residential) */
.iptype-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.badge-type-dc {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.badge-type-res {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-type-unknown {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-dim);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.status-alive {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-dead {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.status-pending {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-dim);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.latency-meter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.latency-bar-wrap {
  width: 45px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.latency-bar-fill {
  height: 100%;
  border-radius: 4px;
}

.latency-fast { color: var(--emerald); }
.latency-fast .latency-bar-fill { background: var(--emerald); width: 85%; }

.latency-med { color: var(--amber); }
.latency-med .latency-bar-fill { background: var(--amber); width: 55%; }

.latency-slow { color: var(--rose); }
.latency-slow .latency-bar-fill { background: var(--rose); width: 25%; }

.anonymity-tag {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: capitalize;
}

.anonymity-elite { color: #38bdf8; }
.anonymity-anonymous { color: #a78bfa; }
.anonymity-transparent { color: var(--text-dim); }

.source-cell {
  color: var(--text-dim);
  font-size: 0.78rem;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-icon-copy {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.72rem;
  transition: var(--transition);
}

.btn-icon-copy:hover {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  border-color: var(--cyan);
}

/* Empty State */
.empty-row td {
  padding: 60px 20px;
  text-align: center;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 4px;
}

.empty-state h3 {
  font-size: 1.15rem;
  color: #ffffff;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 480px;
}

/* Footer */
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 10px;
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 101;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: #0b111e;
  border: 1px solid var(--border-glass-hover);
  animation: modalScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-glass);
}

.modal-header h2 {
  font-size: 1.15rem;
  color: #ffffff;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: #ffffff;
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-desc code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--cyan);
}

.custom-textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
  resize: vertical;
}

.custom-textarea:focus {
  border-color: var(--cyan);
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.select-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sources list */
.sources-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.source-item-name {
  font-weight: 600;
  color: #ffffff;
}

.source-item-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #0f172a;
  border: 1px solid var(--border-glass-hover);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.25s ease-out;
  pointer-events: auto;
}

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

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

/* Keyframe animations */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spin-icon.active {
  animation: spin 1s linear infinite;
}

/* Responsive queries */
@media (max-width: 768px) {
  .app-container {
    padding: 16px 12px;
  }
  .app-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .control-panel {
    flex-direction: column;
    align-items: stretch;
  }
  .action-buttons-group, .export-group {
    width: 100%;
  }
  .action-buttons-group .btn, .export-group .btn {
    flex: 1;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-controls {
    flex-wrap: wrap;
  }
}
