/* === Begin merged styles: Part A === */
/* Base colors and layout */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #008080, #001F4D);
  color: #eee;
  min-height: 100vh;
}

.app-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem 2rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #004466;
}

.logo {
  width: 220px;
  height: auto;
}

nav {
  margin-bottom: 1rem;
  text-align: center;
}

nav a,
.tab-button {
  color: #a0d6d6;
  font-weight: 600;
  text-decoration: none;
  margin: 0 10px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.tab-button:hover,
.tab-button.active {
  background-color: #00aabb;
  color: #001F4D;
  font-weight: 700;
}

.status {
  margin-top: 0.5rem;
  font-style: italic;
  color: #88e0ff;
}

.hidden {
  display: none !important;
}

button {
  background-color: #00aabb;
  border: none;
  color: #001F4D;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  margin: 6px 0;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #007f8f;
  color: #d0f0ff;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="file"],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #004466;
  background-color: #00334d;
  color: #cceeff;
  font-size: 1rem;
  resize: vertical;
}

textarea {
  min-height: 100px;
}

main h2,
section h2 {
  margin-top: 1.6rem;
  font-weight: 800;
  color: #00e5ff;
}

#table-container {
  overflow-x: auto;
  max-height: 300px;
  margin-top: 1rem;
  background-color: #002f4d;
  border-radius: 8px;
  padding: 10px;
}

table {
  border-collapse: collapse;
  width: 100%;
  color: #cceeff;
  font-size: 0.9rem;
}

table th,
table td {
  border: 1px solid #004466;
  padding: 8px;
  text-align: left;
}

table th {
  background-color: #005577;
  font-weight: 700;
}

#map-container {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
}

pre#json-output {
  background-color: #001f33;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: pre-wrap;
  color: #88ccff;
  max-height: 300px;
  overflow-y: auto;
}

#download-section button {
  margin-right: 12px;
  margin-top: 10px;
}

#seed-uploader-section {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Download EXE & DMG styles */
.app-download {
  display: inline-block;
  margin: 0.5em;
  padding: 0.75em 1.5em;
  background-color: #111827;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.app-download:hover {
  background-color: #1f2937;
}

/* Responsive */
@media screen and (max-width: 640px) {
  .app-container {
    padding: 1rem;
  }

  nav a,
  .tab-button {
    margin: 0 5px;
    font-size: 0.9rem;
  }
}

/* === End Part A === */

/* === Begin merged styles: Part B (overrides) === */
/* Colors and gradients */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #008080, #001F4D);
  color: #eee;
  min-height: 100vh;
}

.app-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem 2rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #004466;
}

.logo {
  width: 220px;
  height: auto;
}

nav {
  margin-bottom: 1rem;
  text-align: center;
}

nav a {
  color: #a0d6d6;
  font-weight: 600;
  text-decoration: none;
  margin: 0 10px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

nav a:hover,
nav a.active-tab {
  background-color: #00aabb;
  color: #001F4D;
  font-weight: 700;
}

.status {
  margin-top: 0.5rem;
  font-style: italic;
  color: #88e0ff;
}

.hidden {
  display: none !important;
}

button {
  background-color: #00aabb;
  border: none;
  color: #001F4D;
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  margin: 6px 0;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #007f8f;
  color: #d0f0ff;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="file"],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #004466;
  background-color: #00334d;
  color: #cceeff;
  font-size: 1rem;
  resize: vertical;
}

textarea {
  min-height: 100px;
}

main h2,
section h2 {
  margin-top: 1.6rem;
  font-weight: 800;
  color: #00e5ff;
}

#table-container {
  overflow-x: auto;
  max-height: 300px;
  margin-top: 1rem;
  background-color: #002f4d;
  border-radius: 8px;
  padding: 10px;
}

table {
  border-collapse: collapse;
  width: 100%;
  color: #cceeff;
  font-size: 0.9rem;
}

table th,
table td {
  border: 1px solid #004466;
  padding: 8px;
  text-align: left;
}

table th {
  background-color: #005577;
  font-weight: 700;
}

#map-container {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
}

pre#json-output {
  background-color: #001f33;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: pre-wrap;
  color: #88ccff;
  max-height: 300px;
  overflow-y: auto;
}

#download-section button {
  margin-right: 12px;
  margin-top: 10px;
}

#seed-uploader-section {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media screen and (max-width: 640px) {
  .app-container {
    padding: 1rem;
  }

  nav a {
    margin: 0 5px;
    font-size: 0.9rem;
  }
}

/* === End Part B === */
