:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-input: #334155;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Login Page */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

.login-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
}

.login-box h1 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.login-box .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

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

.sidebar {
  width: 260px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
}

.sidebar-header {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.sidebar-header h2 {
  font-size: 1.125rem;
  color: var(--primary-light);
}

.sidebar-header small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  border-left: 3px solid transparent;
  font-size: 0.875rem;
}

.nav-item:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text);
}

.nav-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border-left-color: var(--primary);
}

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.user-info .name {
  font-size: 0.875rem;
  font-weight: 500;
}

.user-info .role {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-content {
  flex: 1;
  margin-left: 260px;
  padding: 2rem;
  min-width: 0;
}

/* Mobile header & sidebar */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  z-index: 150;
  align-items: center;
  padding: 0 1rem;
  gap: 0.75rem;
}

.mobile-header h2 {
  font-size: 1rem;
  color: var(--primary-light);
}

.hamburger-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.sidebar-overlay.active { display: block; }

/* Page header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.page-header h1 {
  font-size: 1.5rem;
}

/* Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}

.stat-card .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.stat-card .value {
  font-size: 2rem;
  font-weight: 700;
}

.stat-card.success .value { color: var(--success); }
.stat-card.warning .value { color: var(--warning); }
.stat-card.danger .value { color: var(--danger); }
.stat-card.info .value { color: var(--info); }

/* Tables */
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.table-header h3 {
  font-size: 1rem;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.5rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  white-space: nowrap;
  vertical-align: middle;
}

td {
  white-space: nowrap;
}

th {
  background: rgba(0, 0, 0, 0.2);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.sortable-th {
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
}
.sortable-th:hover {
  color: var(--text-primary);
}
.sortable-th.sort-active {
  color: var(--primary);
}
.sort-icon {
  font-size: 0.65rem;
  opacity: 0.5;
}
.sort-active .sort-icon {
  opacity: 1;
}

.url-truncate {
  display: inline-block;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

tr:hover {
  background: rgba(99, 102, 241, 0.05);
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.badge-active { background: rgba(34, 197, 94, 0.15); color: var(--success); }
.badge-mismatch { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.badge-unreachable { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.badge-no-meta { background: rgba(59, 130, 246, 0.15); color: var(--info); }
.badge-unchecked { background: rgba(148, 163, 184, 0.15); color: var(--text-muted); }
.badge-disabled { background: rgba(100, 116, 139, 0.15); color: #64748b; }

.badge-role {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-super_admin { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.badge-admin { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.badge-staff { background: rgba(59, 130, 246, 0.15); color: var(--info); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  background: var(--bg-input);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { background: var(--border); }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #dc2626; }

.btn-success { background: var(--success); color: white; }
.btn-warning { background: var(--warning); color: #000; }

.btn-sm {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
}

.btn-icon {
  padding: 0.4rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
}

.btn-icon:hover { background: var(--bg-input); color: var(--text); }

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.6rem 0.875rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--primary);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-header h3 { font-size: 1.125rem; }

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
}

/* Checker */
.checker-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.checker-progress {
  width: 100%;
  height: 6px;
  background: var(--bg-input);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.checker-progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.3s;
  width: 0%;
}

.domain-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.domain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}

.domain-card:hover { border-color: var(--primary); }

.domain-card .domain-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.domain-card .domain-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
  margin-bottom: 0.75rem;
}

.domain-card .domain-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.domain-card .domain-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

/* Copy button */
.copy-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.7rem;
  transition: all 0.2s;
}

.copy-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.copy-btn.copied { background: var(--success); color: white; border-color: var(--success); }

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  max-width: 350px;
}

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

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.dapa-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid #1e3a5f;
  border-top-color: #60a5fa;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Search */
.search-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-bar input {
  flex: 1;
  min-width: 200px;
}

.search-bar-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.search-bar-filters select,
.search-bar-filters input[type="date"] {
  flex: 1;
  min-width: 120px;
  max-width: 160px;
}

/* Upload monitor filter bar */
.um-filter-bar {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.um-filter-item {
  flex: 1;
  min-width: 140px;
}

.um-filter-item .form-control {
  width: 100%;
}

/* Misc */
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.8rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }

.tld-chart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.tld-item {
  background: var(--bg-input);
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tld-item .count {
  font-weight: 700;
  color: var(--primary-light);
}

/* Screenshot warning overlay */
.screenshot-warning {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(239, 68, 68, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 2rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.pagination button {
  padding: 0.4rem 0.8rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  font-size: 0.8rem;
}

.pagination button.active {
  background: var(--primary);
  border-color: var(--primary);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Domain group separator */
.domain-group-header td {
  background: rgba(99, 102, 241, 0.1);
  font-weight: 600;
  color: var(--primary-light);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
}

/* Token display */
.token-display {
  font-family: 'Courier New', monospace;
  background: var(--bg);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  word-break: break-all;
  border: 1px solid var(--border);
  margin-top: 0.5rem;
}

.meta-tag-code {
  font-family: 'Courier New', monospace;
  background: var(--bg);
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  word-break: break-all;
  color: var(--success);
  margin-top: 0.5rem;
}

/* Countdown */
.countdown {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.countdown .time {
  font-weight: 600;
  color: var(--primary-light);
}

/* Mobile domain card list */
.domain-mobile-list {
  display: none;
}

.domain-mobile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.domain-mobile-card .dmc-url {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  word-break: break-all;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.domain-mobile-card .dmc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.domain-mobile-card .dmc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}

.domain-mobile-card .dmc-row:last-of-type {
  border-bottom: none;
}

.domain-mobile-card .dmc-label {
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.domain-mobile-card .dmc-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .main-content {
    padding: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .url-truncate {
    max-width: 160px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Show mobile header, overlay */
  .mobile-header { display: flex; }
  .sidebar-overlay.active { display: block; }

  /* Sidebar as slide-in drawer */
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar.open {
    transform: translateX(0);
  }

  /* Main content full width */
  .main-content {
    margin-left: 0;
    padding: 1rem;
    padding-top: calc(56px + 1rem);
  }

  /* Page header - stack */
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .page-header h1 {
    font-size: 1.2rem;
  }

  /* Stats grid - 2 columns */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .stat-card {
    padding: 0.75rem;
  }
  .stat-card .value {
    font-size: 1.4rem;
  }
  .stat-card .label {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
  }

  /* Search bar - vertical stack */
  .search-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  .search-bar input {
    width: 100%;
    min-width: unset;
  }
  .search-bar select {
    width: 100%;
    min-width: unset;
  }

  /* Search bar filters - 2 column grid */
  .search-bar-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }
  .search-bar-filters select {
    width: 100%;
    min-width: unset;
    font-size: 0.8rem;
  }

  /* Upload monitor filter */
  .um-filter-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  .um-filter-item {
    width: 100%;
    min-width: unset;
  }

  /* Domain page: hide table, show cards */
  .domain-table-desktop {
    display: none !important;
  }
  .domain-mobile-list {
    display: block;
  }

  /* All other tables: ensure horizontal scroll */
  .table-responsive table {
    min-width: 600px;
  }

  /* Smaller table cells */
  th, td {
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
  }
  th {
    font-size: 0.6rem;
  }

  .table-header {
    padding: 0.75rem 1rem;
  }
  .table-header h3 {
    font-size: 0.9rem;
  }

  /* Badges smaller */
  .badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
  }

  /* Buttons compact */
  .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
  .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }

  /* Checker page */
  .checker-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
  }

  .domain-cards {
    grid-template-columns: 1fr;
  }

  /* TLD chart items */
  .tld-chart {
    gap: 0.5rem;
  }
  .tld-item {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }

  /* Modal */
  .modal {
    max-width: 100%;
    margin: 0.5rem;
    border-radius: 10px;
  }
  .modal-header {
    padding: 1rem;
  }
  .modal-header h3 {
    font-size: 1rem;
  }
  .modal-body {
    padding: 1rem;
  }
  .modal-footer {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }

  /* Toast */
  .toast-container {
    top: calc(56px + 0.5rem);
    right: 0.5rem;
    left: 0.5rem;
  }
  .toast {
    max-width: 100%;
  }

  /* Pagination */
  .pagination {
    gap: 0.3rem;
  }
  .pagination button {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }

  /* Bulk bar */
  #domainBulkBar {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: stretch !important;
  }
  #domainBulkBar .btn {
    width: 100%;
    justify-content: center;
  }

  /* Login box */
  .login-box {
    padding: 1.5rem;
  }

  /* Countdown text */
  .countdown {
    font-size: 0.8rem;
  }
}

/* Small phone */
@media (max-width: 400px) {
  .main-content {
    padding: 0.5rem;
    padding-top: calc(56px + 0.5rem);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .stat-card {
    padding: 0.6rem;
  }
  .stat-card .value {
    font-size: 1.2rem;
  }

  .page-header h1 {
    font-size: 1.1rem;
  }

  .domain-mobile-card {
    padding: 0.75rem;
  }
  .domain-mobile-card .dmc-url {
    font-size: 0.78rem;
  }
  .domain-mobile-card .dmc-row {
    font-size: 0.75rem;
  }

  .search-bar-filters {
    grid-template-columns: 1fr;
  }

  .table-container {
    border-radius: 8px;
  }
}
