:root {
  color-scheme: light dark;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0b1724;
  color: #f1f5f9;
}

body {
  margin: 0;
  padding: 0;
}

header {
  padding: 2rem;
  background: linear-gradient(135deg, #0b1724, #1e3a8a);
  text-align: center;
}

h1 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

button {
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background-color: #38bdf8;
  color: #0b1724;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.35);
}

main {
  padding: 2rem;
}

.status-message {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(148, 163, 184, 0.15);
  color: #e2e8f0;
  font-weight: 500;
}

.status-message[data-tone='error'] {
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
}

.status-message[data-tone='success'] {
  background: rgba(52, 211, 153, 0.2);
  color: #bbf7d0;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.45);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1200px;
}

th,
td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 2px solid rgba(148, 163, 184, 0.2);
}

td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.95rem;
  white-space: pre-line;
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  font-style: italic;
  color: rgba(226, 232, 240, 0.85);
}

tr:nth-child(even) {
  background: rgba(30, 41, 59, 0.5);
}

tr:hover {
  background: rgba(56, 189, 248, 0.1);
}

tr.overlap {
  background: rgba(248, 113, 113, 0.16);
  border-left: 4px solid #f97316;
}

tr.overlap:hover {
  background: rgba(248, 113, 113, 0.26);
}

@media (max-width: 768px) {
  header,
  main {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  button {
    width: 100%;
  }
}
