﻿/* Calm â€” tool-specific styles. Shared styles live in assets/css/. */

.tool-header h1 { color: var(--mod-emocional); }

.btn:not(.btn-secundario):not(.btn-audio) {
  background: var(--mod-emocional);
}

.instruccion { font-size: var(--text-base); }

.centered-row { justify-content: center; }

.dificultad {
  font-size: var(--text-pequeno);
  color: var(--color-text-secundario, #666);
}

/* Breathing: circle that grows and shrinks (4 s per phase).
   Positioned absolutely so expansion doesn't push the text down. */
#circuloRespiracion {
  position: absolute;
  left: 50%;
  /* Centre the circle's vertical midpoint at ~40% from the top so it
     expands upward and stays visually centred — never covers the text. */
  top: 40%;
  transform: translateX(-50%) translateY(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--mod-emocional-suave);
  border: 4px solid var(--mod-emocional);
  transition: transform 4s ease-in-out;
  z-index: 0;
}

#textoRespiracion {
  position: relative;
  z-index: 1;
}

#pantallaSesion {
  position: relative;
  padding-top: 220px;  /* space for the absolute circle */
  padding-bottom: 48px;
}

#pantallaSesion .btn { align-self: center; min-width: 280px; margin-top: 48px; }

.emoji-grande { font-size: 96px; }

#endScreen { padding-top: 48px; }

#endScreen .btn { align-self: center; min-width: 280px; 
#endScreen .transferencia {
  margin: 8px auto 24px;
  font-size: 1.1rem;
  color: var(--color-text-secundario, #555);
  max-width: 480px;
}
}
