body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #ff9a9e, #fad0c4, #fbc2eb, #a6c1ee);
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 90%;
  width: 320px;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.highlight {
  font-size: 1.2rem;
  font-weight: bold;
  color: #495057;
  margin-bottom: 20px;
}

#progress-container {
  position: relative;
  width: 100%;
  height: 30px;
  background: linear-gradient(to right, #fad0c4 50%, #fbc2eb 50%);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 5px; /* Less white space below progress bar */
}

#progress-bar {
  position: absolute;
  height: 100%;
  background: rgba(64, 64, 64, 0.5); /* Subtle dark fill */
  width: 0%;
  transition: width 0.1s linear;
}

#time-markers {
  display: flex;
  justify-content: space-between;
  margin-top: 15px; /* More space below times */
}

#time-markers div {
  text-align: center;
}

#time-markers span {
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.time-label {
  font-size: 0.8rem;
  color: #777;
  margin-top: 5px;
}

#output p {
  font-size: 0.9rem;
  color: #555;
  margin: 5px 0;
}

.loading-text {
  font-size: 0.9rem;
  color: #666;
  display: none; /* Hidden by default */
}

#reset {
  margin-top: 20px;
  background: #f8f9fa;
  color: #333;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  user-select: none; /* Prevents text selection */
}

#reset:hover {
  background: #e9ecef;
}

#reset:active {
  background: #dee2e6;
  color: #495057;
}

/* Toast Styles */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #4caf50;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.9rem;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
  animation: fadeOut 3s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
