/* Same as previous, no change needed for layout */
body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f4f4f4;
  margin: 0;
}

.container {
  position: relative;
  text-align: center;
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  max-width: 400px;
  width: 90%;
}

h1 {
  margin-bottom: 20px;
}

.timer {
  font-size: 60px;
  margin-bottom: 10px;
  font-weight: bold;
}

#totalTimeDisplay {
  font-size: 16px;
  color: #555;
}

.input-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

input[type=number] {
  width: 70px;
  padding: 8px;
  margin: 5px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #0056b3;
}

.hidden {
  display: none;
}

.message {
  font-size: 24px;
  color: red;
  margin-top: 20px;
}

#exitButton {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #dc3545;
}

#exitButton:hover {
  background-color: #c82333;
}