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

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", sans-serif;
  background: #002d45;
  color: #ffffff;
}

.container {
  text-align: center;
  width: 90%;
  max-width: 400px;
}

h1 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 600;
}

.time-display {
  font-size: 40px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

button {
  background: #4a90e2;
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
  background: #357abd;
}

button:active {
  transform: scale(0.95);
}

/* Laps Section */
.laps {
  margin-top: 10px;
  text-align: left;
}

.laps h2 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #cbd5e1;
  text-align: center;
}

#lapList {
  list-style: none;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}

#lapList li {
  background: rgba(255, 255, 255, 0.08);
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
}