/* Breathe to Become - Base Styles */

/* These styles complement Tailwind CSS */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Ensure root takes full height */
#root {
  min-height: 100vh;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #FFF7F1;
}

::-webkit-scrollbar-thumb {
  background: #2B8A6E;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #24755D;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid #2B8A6E;
  outline-offset: 2px;
}

/* Smooth transitions for interactive elements */
button, a {
  transition: all 0.2s ease;
}

/* Audio player custom styles */
audio::-webkit-media-controls-panel {
  background-color: #FFF7F1;
}

/* Video player responsive */
video {
  max-width: 100%;
  height: auto;
}

/* Loading animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Breathing animation for UI elements */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-breathe {
  animation: breathe 4s ease-in-out infinite;
}
