/* Full-screen black background like ETS2 */
html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;

  background: #000 url('/static/images/ets2_background.jpg') no-repeat center center fixed;
  background-size: cover;
  background-position: center center;

  font-family: "Segoe UI", sans-serif;
  color: #f5f5f5;
}

/* Scoreboard-style UI panel */
.container {
  background-color: #000;
  padding: 2rem;
  margin: 2vh 3vw;
  width: 40vw;
  max-height: 95vh;
  border: 2px solid #ffaa00;
  box-shadow: none;
  text-align: left;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Header title */
h1 {
  font-size: 1.8rem;
  color: #ffaa00;
  margin-bottom: 1rem;
  text-align: left;
}

/* Labels and data */
p, label {
  font-size: 1rem;
  margin: 0.3rem 0;
  color: #f5f5f5;
  text-align: left;
}

/* Golden bordered buttons */
button {
  width: 100%;
  padding: 12px;
  margin: 1rem 0;
  background-color: #000;
  color: #ffaa00;
  border: 2px solid #ffaa00;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.2s ease-in-out;
}

button:hover {
  background-color: #ffaa00;
  color: #111;
}

/* Editable config box */
textarea {
  width: 100%;
  height: 250px;
  background: #111;
  color: #f5f5f5;
  border: 1px solid #ffaa00;
  font-family: monospace;
  font-size: 0.95rem;
  padding: 1rem;
  resize: none;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Console link */
a {
  color: #ffaa00;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
}

a:hover {
  color: #ffcc33;
  text-decoration: underline;
}

/* Universal black scrollbars */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #111;
}

*::-webkit-scrollbar-thumb {
  background-color: #000;
  border: 1px solid #333;
  border-radius: 0;
}

/* Firefox scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: #000 #111;
}
