/* xmlviewer.css — page-specific extras for the Etterna XML Viewer
   Loads after style4.css and uses its CSS variables (--bg, --accent, etc). */

main {
  max-width: 1000px;
}

#fileInput {
  background-color: #0a0a12;
  border: 1px solid var(--accent);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

#fileInput:hover,
#fileInput:focus {
  background: var(--accent);
  color: var(--bg);
  outline: none;
}

#fileInput::file-selector-button {
  background: var(--bg);
  color: var(--accent);
  border: 1px solid var(--accent);
  font-family: inherit;
  padding: 0.4rem 0.8rem;
  margin-right: 0.75rem;
  cursor: pointer;
}

#output {
  margin-top: 2rem;
}

.section {
  border: 1px solid var(--accent);
  background: #0a0a12;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.section h2 {
  margin-top: 0;
}

.section p {
  margin: 0.4rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

th,
td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px dotted var(--muted-dim);
}

thead th {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-weight: normal;
}

tbody tr:hover {
  background: rgba(255, 122, 24, 0.08);
}

strong {
  color: var(--accent);
}