* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1e1e2f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 20px;
}
.container {
  background-color: #2a2a40;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 400px;
  text-align: center;
}
h1 {
  font-size: 2rem;
  margin-bottom: 30px;
}
.timer {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 30px auto;
}
svg circle {
  fill: none;
  stroke-width: 10;
}
.bg {
  stroke: #555;
}
.progress {
  /* stroke: url(#progress-gradient); */
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 1s linear, stroke 0.5s linear;
}
.time {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}
.buttons, .set-time {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}
.start { background-color: green; color: white; }
.pause { background-color: goldenrod; color: white; }
.reset { background-color: darkred; color: white; }
#edit-time-btn {
  justify-content: center;
  background-color: #2962ff;
  color: white;
  margin-bottom: 15px;
}
.set-time {
  align-items: center;
  flex-direction: column;
  background: #393a57;
  padding: 15px;
  border-radius: 12px;
  display: none; /* hidden by default */
  gap: 10px;
  text-align: center;
}
.set-time label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  justify-content: center;
  width: 100%;
}
/* Indent Short and Long under Breaks */
.set-time label.breaks-label {
  margin-left: 15px;
  justify-content: flex-start;
  max-width: 200px;
  margin: 0 auto;
}
.set-time .breaks-header {
  margin-top: 10px;
  color: #aaa;
  font-weight: bold;
  text-align: left;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}
.set-time input {
  width: 60px;
  padding: 5px;
  text-align: center;
  border: none;
  border-radius: 5px;
  background-color: #44475a;
  color: white;
}
.set-time button {
  background-color: #00b8d4;
  width: 100px;
  margin: 10px auto 0 auto;
}