body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  overflow-x: hidden;
}

.container {
  max-width: 99vw;
  width: 99vw;
  margin: 16px auto;
  padding: 20px;
  background: #1e293b;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  overflow-x: auto;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1800px;
    width: 98vw;
  }
}

h1 {
  margin-top: 0;
  color: #facc15;
  font-size: 28px;
}

textarea#raw-input {
  width: 100%;
  height: 220px;
  background: #0f172a;
  border: 1px solid #475569;
  color: #f8fafc;
  padding: 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 14px;
  margin-bottom: 16px;
  resize: vertical;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: flex-start;
}

button {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  background: #2563eb;
}

#process-info {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 12px;
}

#result-table-container {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid #334155;
  border-radius: 6px;
  background: #0f172a;
  padding: 10px;
  max-width: 100%;
  white-space: normal;
}

#result-table-container table {
  min-width: 1200px;
  width: 100%;
  table-layout: auto;
  display: block;
  overflow-x: auto;
  max-width: 100%;
}

table {
  border-collapse: collapse;
  font-size: 13px;
  color: #f1f5f9;
}

table th, table td {
  padding: 8px;
  border: 1px solid #334155;
  text-align: left;
  word-break: break-word;
  white-space: normal;
}

th {
  background: #1e293b;
  color: #93c5fd;
}

td {
  background: #0f172a;
}
