body {
  margin: 0;
  font-family: sans-serif;
  background-color: #121212;
  color: rgb(200, 200, 200);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #1e1e1e;
}

header a {
  font-weight: bold;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

nav a, button {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
  font-size: 1rem;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  text-align: center;
  scroll-behavior: auto;
}
#prompt {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 8px;
  min-height: 100px;
  text-align: justify;
  font-size: 20px;
  max-height: 250px;
  overflow-y: auto;
  line-height: 1.7;
}

select, button {
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  background: #2c2c2c;
  color: white;
}
textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  background: #2c2c2c;
  color: white;
  font-size: 18px;
}
#inputBox {
  width: 100%;
  height: 100px;
}
.hidden {
  display: none;
}

#progressBar {
  background: #333;
  height: 3px;
  border-radius: 5px;
  margin: 10px 0;
  overflow: hidden;
}

#progress {
  height: 100%;
  background: #4caf50;
  width: 100%;
  border-radius: 5px;
}

#highlightedText span.correct {
  color: #4caf50;
}

#highlightedText span.incorrect {
  color: red;
}

body.light-theme {
  background-color: #ffffff;
  color: #000000;
}

body.light-theme header {
  background-color: #4b4b4b;
  border-bottom: 1px solid #ccc;
}

body.light-theme select,
body.light-theme button,
body.light-theme textarea {
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
}

body.light-theme #prompt {
  background-color: #f9f9f9;
}
#statusLine{
  display: flex; 
  justify-content: space-between; 
  align-items: center;
}

#timer {
  text-align: left;
}

#wmpLive {
  text-align: right;
}