body {
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  background: #1e293b;
  padding: 20px;
  border-radius: 12px;
  width: 360px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Wall Clock */
.clock {
  width: 220px;
  height: 220px;
  border: 8px solid #fff;
  border-radius: 50%;
  margin: 20px auto;
  position: relative;
  background: #0f172a;
}

.hand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(90deg);
  border-radius: 6px;
}

.hour {
  width: 6px;
  height: 50px;
  background: #fff;
}

.minute {
  width: 4px;
  height: 70px;
  background: #3b82f6;
}

.second {
  width: 2px;
  height: 90px;
  background: red;
}

.center {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#digital-time {
  font-size: 20px;
  margin: 10px 0;
}

/* Tabs */
.tabs {
  margin: 15px 0;
  display: flex;
  justify-content: space-around;
}

.tab-btn {
  background: #334155;
  border: none;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.tab-btn.active {
  background: #3b82f6;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Stopwatch */
#sw-display {
  font-size: 32px;
  margin: 10px 0;
}

.buttons button {
  margin: 5px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background: #3b82f6;
  color: #fff;
  cursor: pointer;
}

#sw-laps {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  max-height: 120px;
  overflow-y: auto;
}

#sw-laps li {
  background: #475569;
  margin: 4px 0;
  padding: 6px;
  border-radius: 4px;
}
