/* =============================================
   LuxTool — /games/breath-timer/breath-timer.css
   Tool-specific styles unique to this tool. Site chrome and
   every shared building block used on this page come from
   /style.css, which this page also loads.
   ============================================= */

/* ── BREATH TIMER ── */
#bt-circle {
  transition: transform 1s ease, box-shadow 1s ease, border-color 1s ease;
}

/* ── BREATH TIMER ENHANCEMENTS ── */
.bt-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.bt-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.bt-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(148, 163, 184, .3);
  transition: .2s;
  border-radius: 20px;
}

.bt-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: var(--text);
  transition: .2s;
  border-radius: 50%;
}

.bt-switch input:checked+.bt-slider {
  background-color: var(--gold);
}

.bt-switch input:checked+.bt-slider:before {
  transform: translateX(20px);
}

#bt-progress-timeline {
  display: flex;
  gap: .25rem;
  margin-bottom: .5rem;
}

.bt-cycle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, .2);
  transition: all .3s ease;
}

.bt-cycle-dot.active {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(251, 191, 36, .5);
}

.bt-cycle-dot.completed {
  background: #22c55e;
}

#bt-tool-page.bt-focus-mode {
  background: var(--bg);
}

#bt-tool-page.bt-focus-mode .tool-head,
#bt-tool-page.bt-focus-mode #bt-preset-section,
#bt-tool-page.bt-focus-mode #bt-controls,
#bt-tool-page.bt-focus-mode #bt-done-msg,
#bt-tool-page.bt-focus-mode #bt-consistency-section {
  display: none !important;
}

#bt-tool-page.bt-focus-mode #bt-circle-wrap {
  margin: 2rem 0;
}

#bt-tool-page.bt-focus-mode #bt-panel {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 480px) {
  #bt-circle {
    width: 140px !important;
    height: 140px !important;
  }
}
