/* breathe.css – Breathing exercise styles */

#breathe-activity {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.breathing-container {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 40px 40px 40px;
  text-align: center;
  position: relative;
  background: transparent;
  color: white;
}

.breathing-circle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 450px;
  margin: 20px 0 24px 0;
  min-height: 380px;
}

.breathing-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: none;
  justify-content: center;
  align-items: center;
  position: relative;
}

.circle-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.breathing-text {
  font-size: 26px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
  margin-bottom: 5px;
  white-space: nowrap;
}

.breathing-count {
  font-size: 36px;
  font-weight: 300;
  opacity: 0.8;
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}

.breathing-text-paused {
  font-size: 18px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 1px;
  opacity: 0.7;
  font-style: italic;
  margin-top: 5px;
}

.cycle-counter {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  margin-top: 8px;
  opacity: 0.9;
  font-variant-numeric: tabular-nums;
  color: white;
  flex-shrink: 0;
}

/* Breathing animations – 6s inhale, 6s exhale */
.breathing-circle.inhale {
  animation: breatheIn 6s ease-in-out forwards;
}

.breathing-circle.exhale {
  animation: breatheOut 6s ease-in-out forwards;
}

@keyframes breatheIn {
  0% { transform: scale(1); }
  100% { transform: scale(1.4); }
}

@keyframes breatheOut {
  0% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.instructions {
  font-size: 52px;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  line-height: 1.2;
  padding: 0 20px;
  text-align: center;
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
}

.completion-message {
  text-align: center;
  margin: 30px 0;
  animation: fadeIn 0.5s ease-in;
}

.completion-message h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 15px;
  opacity: 0.95;
  color: white;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.controls-bottom-right {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.control-button-small {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 70px;
}

.control-button-small:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.control-button-small:active {
  transform: translateY(0);
}
