:root {
  --bg: #111;
  --fg: #eee;
  --accent: #66b2ff;
  --bg-alt: #1a1a1a;
  --border: #444;
  --border-light: #555;
  --hover: #2a2a2a;
  --header-bg: #222;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Courier New', Courier, monospace;
  margin: 20px;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

input, textarea, select {
  background-color: var(--bg-alt);
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 6px;
  width: 100%;
  margin: 6px 0;
  box-sizing: border-box;
}

button {
  background-color: var(--bg-alt);
  color: var(--fg);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  margin: 4px 2px;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover {
  background-color: var(--hover);
}

form {
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-alt);
  margin-top: 20px;
}
th, td {
  border: 1px solid var(--border);
  padding: 8px;
  text-align: left;
}
th {
  background-color: var(--header-bg);
  color: #ddd;
}
tbody tr:hover {
  background-color: var(--hover);
}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: var(--bg-alt);
  padding: 20px;
  border: 1px solid var(--border-light);
  color: var(--fg);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}

label {
  display: block;
  margin-top: 10px;
}

input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

#edit-city-list > div,
#create-city-list > div {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

#edit-city-list input,
#create-city-list input {
  flex: 1;
  margin: 0;
}