body {
  background-color: #121212;
  color: #f1f1f1;
  font-family: 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 20px;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

h1, h2 {
  margin-top: 0;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

input, select, button {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  background-color: #1e1e1e;
  color: #f1f1f1;
  border: 1px solid #444;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 14px;
}

input:focus, select:focus {
  border-color: #2c7cff;
  outline: none;
}

button {
  background-color: #2c7cff;
  border: none;
  font-weight: bold;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #1a5fd1;
}

ul {
  list-style: none;
  padding-left: 0;
}

li {
  margin-bottom: 5px;
  padding: 8px;
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 5px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

strong, .progress-bar-fill {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.topbar {
  text-align: right;
  margin-bottom: 20px;
}

.card {
  background-color: #1b1b1b;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  margin-bottom: 30px;
}

.progress-bar {
  background-color: #444;
  border-radius: 6px;
  overflow: hidden;
  margin: 5px 0 10px;
}

.progress-bar-fill {
  background-color: #2c7cff;
  height: 20px;
  width: 0%;
  transition: width 0.3s ease;
  text-align: center;
  line-height: 20px;
  color: white;
  font-size: 12px;
}

@media (max-width: 768px) {
  h1, h2 {
    font-size: 20px;
  }

  input, select, button {
    font-size: 16px;
    padding: 12px;
  }

  .card {
    padding: 16px;
    margin-bottom: 20px;
  }

  .progress-bar-fill {
    font-size: 12px;
  }

  .topbar {
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 500px) {
  body {
    padding: 10px;
  }

  h1 {
    font-size: 18px;
    text-align: center;
  }

  .card {
    margin-bottom: 15px;
  }

  button {
    font-size: 15px;
  }
}
