.stopwatch-tool {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
}

.stopwatch-container {
  background: white;
  padding: 5vh;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  width: 100%;
  max-width: 1400px;
  transition: transform 0.3s ease;
}

.stopwatch-display {
  font-size: min(20vw, 180px);
  font-weight: 600;
  margin: 0.2em 0;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text);
  letter-spacing: 4px;
  transition: color 0.3s ease;
  line-height: 1;
}

.milliseconds {
  font-size: 0.5em;
  color: var(--color-text-light);
}

.stopwatch-controls {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
}

.control-btn {
  padding: min(3vh, 16px) min(4vw, 32px);
  font-size: min(3vw, 20px);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  min-width: min(15vw, 120px);
}

.start-btn {
  background: var(--color-primary);
  color: white;
}

.start-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.stop-btn {
  background: #ff5252;
  color: white;
}

.stop-btn:hover {
  background: #ff1744;
  transform: translateY(-2px);
}

.reset-btn, .lap-btn {
  background: var(--color-background);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.reset-btn:hover, .lap-btn:hover {
  background: var(--color-background-dark);
  transform: translateY(-2px);
}

.reset-btn:disabled, .lap-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--color-background);
  transform: none;
}

.laps-container {
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.laps-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text);
}

.laps-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.lap-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-mono);
}

.lap-item:last-child {
  border-bottom: none;
}

.lap-number {
  font-weight: 600;
}

.lap-time {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .stopwatch-controls {
    flex-direction: column;
    align-items: center;
  }
  
  .control-btn {
    width: 100%;
  }
}
