* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  text-align: center;
}

h1 {
  margin-bottom: 30px;
  font-size: 2.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.timer {
  font-weight: bold;
  font-family: "Courier New", monospace;
  color: white;
  font-size: 4em;
  margin: 10px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#workout_type {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 25px;
  margin-bottom: 30px;
  font-size: 1.2em;
  font-weight: bold;
  appearance: none;
  cursor: pointer;
  text-align: center;
  color: white;
  border: none;
}

#workout_type option {
  background: #333;
  color: white;
  padding: 10px;
}

#time_input {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 1.1em;
  text-align: center;
  width: 200px;
  cursor: text;
  margin: 10px;
}

#time_input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

button {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin: 0 5px;
  width: 140px;
  text-align: center;
}

.button_container {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 0px;
}

#start_button {
  background: rgba(76, 175, 80, 1);
  border-color: rgba(76, 175, 80, 1);
}

#pause_button {
  background: rgba(255, 152, 0, 1);
  border-color: rgba(255, 152, 0, 1);
}

#reset_button {
  background: rgba(244, 67, 54, 1);
  border-color: rgba(244, 67, 54, 1);
}

#amrap_input {
  font-size: 1.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.hidden {
  display: none;
}

#emom_input {
  font-size: 1.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

#emom_round_length {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 1.1em;
  text-align: center;
  width: 200px;
  cursor: text;
  margin: 10px;
}

#emom_total_rounds {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 1.1em;
  text-align: center;
  width: 200px;
  cursor: text;
  margin: 10px;
}

.round_display {
  font-size: 1.3em;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
  margin: 20px 0 10px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#tabata_input {
  font-size: 1.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

#tabata_detail {
  line-height: 1.5;
}

.short-line {
  width: 50%; /* Example: 50% of its parent container's width */
  height: 5px;
  background-color: white;
  margin-left: auto; /* Centers the line if width is less than 100% */
  margin-right: auto; /* Centers the line if width is less than 100% */
  margin-bottom: 10px;
  margin-top: 10px;
}

.footer {
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 30px;
  font-size: 1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.running {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(76, 175, 80, 1) !important;
  color: rgba(76, 175, 80, 1) !important;
}
