/* ===========================
   Tabs de modo
=========================== */
.mode-tabs {
  display: flex;
  gap: 6px;
  background: var(--surface);
  padding: 5px;
  border-radius: 40px;
  border: 1px solid var(--border);
}

.tab {
  padding: 7px 18px;
  border-radius: 40px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

/* ===========================
   Timer ring
=========================== */
.timer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.timer-ring-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
}

.timer-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--surface);
  stroke-width: 10;
}

.ring-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 565.48;   /* 2π × 90 */
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke var(--transition);
}

.timer-display {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
  color: var(--text);
}

/* ===========================
   Controles
=========================== */
.timer-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
