body {
  margin: 0;
  background-color: #121212;
  font-family: 'Inter', sans-serif;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  background-color: #1e1e1e;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

h1, h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

label {
  display: block;
  margin: 10px 0;
  font-size: 1.1em;
}

select, button {
  width: 100%;
  max-width: 100%;
  font-size: 1rem;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: none;
  box-sizing: border-box;
}

button {
  background-color: #4caf50;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #45a049;
}

#deleteBtn {
  background-color: #f44336;
}

#deleteBtn:hover {
  background-color: #d32f2f;
}

pre {
  margin-top: 20px;
  background-color: #2a2a2a;
  padding: 15px;
  border-radius: 8px;
  color: #ccc;
  font-size: 0.9em;
  overflow-x: auto;
  text-align: left;
  white-space: pre-wrap;
}

#stats {
  margin-top: 30px;
  text-align: left;
}

.progress-section {
  margin-bottom: 16px;
}

.progress-bar {
  width: 100%;
  background-color: #333;
  border-radius: 8px;
  overflow: hidden;
  height: 20px;
  margin: 5px 0;
}

.bar-fill {
  height: 100%;
  background-color: #4caf50;
  width: 0%;
  transition: width 0.5s ease-in-out;
}

#exerciseStats {
  margin-top: 20px;
}

.exercise-count {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #444;
  padding: 5px 0;
}

@media (max-width: 480px) {
  h1, h2 {
    font-size: 1.5em;
  }

  label, select, button {
    font-size: 1rem;
  }

  pre {
    font-size: 0.85em;
  }
}
