/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(145deg, #1e1e2f, #2c2c3c);
  color: #fff;
}

.container {
  background: #292942;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  text-align: center;
  width: 340px;
}

h1 {
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #00ffc8;
}

.stopwatch-display {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.controls button {
  padding: 0.6rem 1rem;
  margin: 0.3rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#startBtn {
  background-color: #00ffc8;
  color: #000;
}

#pauseBtn {
  background-color: #f0a500;
  color: #000;
}

#lapBtn {
  background-color: #5b5b73;
}

#resetBtn {
  background-color: #ff4c4c;
}

.controls button:hover:enabled {
  opacity: 0.9;
  transform: scale(1.05);
}

.controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.laps {
  margin-top: 1.5rem;
  list-style: none;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 10px;
}

.laps li {
  padding: 0.4rem;
  border-bottom: 1px solid #444;
  font-size: 0.95rem;
}
