/* Breathing circle animation - calming loader for therapy platform */

@keyframes breathe {
  0%, 100% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.app-loading {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 10em;
}

.app-loading p {
  display: block;
  font-size: 1.17em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  font-weight: normal;
}

.loading-breath {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.loading-breath-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e91e8c;
  animation: breathe 4s ease-in-out infinite;
}

.loading-breath-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  margin-left: -28px;
  border-radius: 50%;
  border: 2px solid rgba(233, 30, 140, 0.4);
  animation: ripple 4s ease-out infinite;
}

.loading-breath-ring:nth-child(2) {
  animation-delay: 1.3s;
}

.loading-breath-ring:nth-child(3) {
  animation-delay: 2.6s;
}

.loading-text {
  margin-top: 1.5em;
  color: #888;
  font-size: 0.95em;
  letter-spacing: 0.08em;
  animation: fade-in 1s ease-in;
}
