/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
  /* Light mode colors */
  --color-bg: #f8f6ff;
  --color-bg-gradient: linear-gradient(180deg, #ffffff 0%, #f0eeff 50%, #e8e4ff 100%);
  --color-surface: rgba(255, 255, 255, 0.9);
  --color-surface-hover: rgba(255, 255, 255, 1);
  --color-text: #1a1a2e;
  --color-text-muted: #6b6b8a;
  --color-text-dim: #9999b3;
  --color-accent: #a78bfa;
  --color-accent-light: #c4b5fd;
  --color-accent-dark: #7c3aed;
  --color-border: rgba(167, 139, 250, 0.2);
  
  /* Mandala colors - soft lavender/violet palette */
  --petal-color: rgba(167, 139, 250, 0.35);
  --petal-color-active: rgba(139, 92, 246, 0.45);
  
  /* Animation variables (controlled by JS) */
  --breath-scale: 1.0;
  --breath-opacity: 0.35;
  --breath-rotation: 0deg;
  --bg-scale: 1;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Dark mode colors */
[data-theme="dark"] {
  --color-bg: #0f172a;
  --color-bg-gradient: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  --color-surface: rgba(30, 41, 59, 0.8);
  --color-surface-hover: rgba(30, 41, 59, 1);
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  --color-accent: #8b5cf6;
  --color-accent-light: #a78bfa;
  --color-accent-dark: #7c3aed;
  --color-border: rgba(139, 92, 246, 0.2);
  
  --petal-color: rgba(139, 92, 246, 0.2);
  --petal-color-active: rgba(139, 92, 246, 0.4);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  background-image: var(--color-bg-gradient);
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  line-height: 1.5;
  position: fixed;
  inset: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ========================================
   App Layout
   ======================================== */
.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  padding: var(--space-md);
  padding-top: env(safe-area-inset-top, var(--space-md));
  padding-bottom: env(safe-area-inset-bottom, var(--space-md));
  overflow-y: auto;
}

/* ========================================
   Header
   ======================================== */
.header-top-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  width: 100%;
}

.brand-banner {
  display: flex;
  justify-content: center;
  padding: var(--space-md) 0 var(--space-sm);
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  flex-shrink: 0;
}

.header-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.back-btn,
.settings-btn,
.theme-toggle-btn,
.fullscreen-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.back-btn:hover,
.settings-btn:hover,
.theme-toggle-btn:hover,
.fullscreen-btn:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.settings-btn:active,
.theme-toggle-btn:active,
.fullscreen-btn:active {
  transform: scale(0.95);
}

/* Theme & Fullscreen Icon Visibility */
[data-theme="dark"] .sun-icon {
  display: none;
}
[data-theme="dark"] .moon-icon {
  display: block !important;
}
[data-theme="light"] .moon-icon {
  display: none !important;
}
[data-theme="light"] .sun-icon {
  display: block !important;
}

body.fullscreen .maximize-icon {
  display: none !important;
}
body.fullscreen .minimize-icon {
  display: block !important;
}
body:not(.fullscreen) .minimize-icon {
  display: none !important;
}
body:not(.fullscreen) .maximize-icon {
  display: block !important;
}

/* ========================================
   Mode Selector
   ======================================== */
.mode-selector {
  display: flex;
  gap: var(--space-sm);
  width: 100%;
  max-width: 600px;
  padding: var(--space-sm);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 0 auto var(--space-lg);
  flex-shrink: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mode-selector::-webkit-scrollbar {
  display: none;
}

.mode-btn {
  flex: 1;
  min-width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mode-btn:hover {
  background: rgba(167, 139, 250, 0.1);
}

.mode-btn.active {
  background: var(--color-accent);
  color: white;
  box-shadow: var(--shadow-md);
}

.mode-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.mode-name {
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ========================================
   Breathing Container
   ======================================== */
.breath-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

/* ========================================
   Mandala - Flower of Life Animation
   ======================================== */
.mandala {
  position: relative;
  width: 476px;
  height: 476px;
  transform: scale(var(--breath-scale)) rotate(var(--breath-rotation));
  will-change: transform;
}

.petal {
  position: absolute;
  width: 238px;
  height: 238px;
  border-radius: 50%;
  background: var(--petal-color);
  opacity: var(--breath-opacity);
  will-change: opacity, transform;
}

/* Center petal */
.petal-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Surrounding petals - positioned in a hexagonal pattern (70% bigger: 70 * 1.7 = 119) */
.petal-1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(0, -119px);
}

.petal-2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(103px, -59.5px);
}

.petal-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(103px, 59.5px);
}

.petal-4 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(0, 119px);
}

.petal-5 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(-103px, 59.5px);
}

.petal-6 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(-103px, -59.5px);
}

/* Reflection Text in Middle */
.reflection-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  text-shadow: 0 0 30px var(--color-bg);
}

.reflection-text.visible {
  opacity: 1;
}

[data-reflections="false"] .reflection-text {
  display: none;
}

/* Active state - more vibrant */
.mandala.active .petal {
  background: var(--petal-color-active);
}

/* Breathing animation states - smooth transitions between all phases */
.mandala.inhaling,
.mandala.holding,
.mandala.exhaling {
  /* All animation handled by JS for smooth continuous motion */
}

/* ========================================
   Phase Label
   ======================================== */
.phase-label {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: var(--space-lg);
}

.phase-text {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  transition: opacity var(--transition-normal);
}

.phase-counter {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  min-height: 1.25rem;
}

/* ========================================
   Controls
   ======================================== */
.controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  flex-shrink: 0;
}

.page-options {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: 0 auto;
  padding: var(--space-lg) 0 var(--space-xl);
}

.page-options-group {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
}

/* Page Footer */
.page-footer {
  width: 100%;
  max-width: 800px;
  margin: var(--space-2xl) auto 0;
  padding: var(--space-xl) var(--space-lg);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.footer-copy p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.footer-divider {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-xl) auto;
  width: 100px;
}

.footer-essay {
  text-align: left;
  max-width: 650px;
  margin: 0 auto var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.essay-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.footer-essay p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links p {
  font-size: 0.8125rem;
  color: var(--color-text-dim);
}

.footer-links a {
  font-weight: 500;
  color: var(--color-accent-dark);
}

/* Duration Selector */
.duration-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.duration-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.duration-control {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-surface);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.duration-adjust {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.duration-adjust:hover {
  background: rgba(167, 139, 250, 0.1);
  color: var(--color-accent-dark);
}

.duration-adjust:active {
  transform: scale(0.9);
}

.duration-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  min-width: 60px;
  text-align: center;
}

/* Start Button */
.start-btn {
  width: 100%;
  max-width: 280px;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-accent);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.4);
  transition: all var(--transition-fast);
}

.start-btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(167, 139, 250, 0.5);
}

.start-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 15px rgba(167, 139, 250, 0.4);
}

.start-btn.running {
  background: #ef4444;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.start-btn.running:hover {
  background: #dc2626;
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.5);
}

/* ========================================
   Settings Panel
   ======================================== */
.settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 100;
}

.settings-overlay.active {
  opacity: 1;
  visibility: visible;
}

.settings-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--color-bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-lg);
  padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0));
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}

.settings-overlay.active .settings-panel {
  transform: translateY(0);
}

.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.settings-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.settings-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.settings-copy p {
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--color-text);
}

.settings-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.settings-close:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.settings-section {
  margin-bottom: var(--space-xl);
}

.settings-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* Sound Grid */
.sound-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.sound-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-sm);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.sound-btn:hover {
  background: rgba(167, 139, 250, 0.1);
}

.sound-btn.active {
  background: var(--color-accent);
  color: white;
}

.sound-btn .sound-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.sound-btn .sound-name {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  color: var(--color-text-muted);
}

.volume-slider {
  flex: 1;
  height: 4px;
  background: rgba(167, 139, 250, 0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(167, 139, 250, 0.4);
  transition: transform var(--transition-fast);
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(167, 139, 250, 0.4);
}

/* Toggle Options */
.toggle-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}

.toggle-option:last-child {
  border-bottom: none;
}

.toggle-option span:first-child {
  font-size: 0.9375rem;
  color: var(--color-text);
}

.toggle-option input {
  display: none;
}

.toggle-switch {
  width: 48px;
  height: 28px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  position: relative;
  transition: background var(--transition-fast);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.toggle-option input:checked + .toggle-switch {
  background: var(--color-accent);
}

.toggle-option input:checked + .toggle-switch::after {
  transform: translateX(20px);
}

/* Settings Footer */
.settings-footer {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.settings-footer p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.settings-footer p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Completion Overlay
   ======================================== */
.completion-overlay {
  position: fixed;
  inset: 0;
  background: rgba(248, 246, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 200;
}

.completion-overlay.active {
  opacity: 1;
  visibility: visible;
}

.completion-content {
  text-align: center;
  padding: var(--space-2xl);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.completion-overlay.active .completion-content {
  transform: scale(1);
}

.completion-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  animation: celebratePulse 1s ease-in-out infinite;
}

@keyframes celebratePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.completion-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.completion-message {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.completion-btn {
  padding: var(--space-md) var(--space-2xl);
  background: var(--color-accent);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.4);
  transition: all var(--transition-fast);
}

.completion-btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* ========================================
   Running State - Hide Controls
   ======================================== */
.app.running .mode-selector,
.app.running .duration-selector {
  opacity: 0.3;
  pointer-events: none;
}

.app.running .header-title {
  opacity: 0.5;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 500px) {
  .mandala {
    width: 340px;
    height: 340px;
  }
  
  .petal {
    width: 170px;
    height: 170px;
  }
  
  .petal-1 { transform: translate(-50%, -50%) translate(0, -85px); }
  .petal-2 { transform: translate(-50%, -50%) translate(73.6px, -42.5px); }
  .petal-3 { transform: translate(-50%, -50%) translate(73.6px, 42.5px); }
  .petal-4 { transform: translate(-50%, -50%) translate(0, 85px); }
  .petal-5 { transform: translate(-50%, -50%) translate(-73.6px, 42.5px); }
  .petal-6 { transform: translate(-50%, -50%) translate(-73.6px, -42.5px); }
}

@media (max-width: 380px) {
  .mandala {
    width: 280px;
    height: 280px;
  }
  
  .petal {
    width: 140px;
    height: 140px;
  }
  
  .petal-1 { transform: translate(-50%, -50%) translate(0, -70px); }
  .petal-2 { transform: translate(-50%, -50%) translate(60.6px, -35px); }
  .petal-3 { transform: translate(-50%, -50%) translate(60.6px, 35px); }
  .petal-4 { transform: translate(-50%, -50%) translate(0, 70px); }
  .petal-5 { transform: translate(-50%, -50%) translate(-60.6px, 35px); }
  .petal-6 { transform: translate(-50%, -50%) translate(-60.6px, -35px); }
  
  .mode-btn {
    min-width: 60px;
    padding: var(--space-xs) var(--space-sm);
  }
  
  .mode-icon {
    font-size: 1rem;
  }
  
  .mode-name {
    font-size: 0.625rem;
  }
}

@media (min-height: 900px) {
  .mandala {
    width: 520px;
    height: 520px;
  }
  
  .petal {
    width: 260px;
    height: 260px;
  }
  
  .petal-1 { transform: translate(-50%, -50%) translate(0, -130px); }
  .petal-2 { transform: translate(-50%, -50%) translate(112.6px, -65px); }
  .petal-3 { transform: translate(-50%, -50%) translate(112.6px, 65px); }
  .petal-4 { transform: translate(-50%, -50%) translate(0, 130px); }
  .petal-5 { transform: translate(-50%, -50%) translate(-112.6px, 65px); }
  .petal-6 { transform: translate(-50%, -50%) translate(-112.6px, -65px); }
}

/* ========================================
   Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .mandala {
    transition: none;
  }
  
  .petal {
    transition: none;
  }
}

/* Focus styles */
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========================================
   Utility Classes
   ======================================== */
.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
