/* iOS-Style Image Backgrounds */

/* NOTE: Background images are now handled by global-theme.css using body::before pseudo-element */
/* This prevents conflicts with other background properties and allows for better layering */

/* Theme-specific backgrounds - kept for backward compatibility but deprecated */
/* Use global-theme.css instead for new implementations */

/* Video background should not interfere with gradient backgrounds */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  opacity: 0.3; /* Make video subtle */
  z-index: -1; /* Keep below gradient background */
  pointer-events: none; /* Allow clicks to pass through */
}

.video-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5; /* Additional opacity for video itself */
}

/* Subtle gradient animation */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
}

/* Glass effects that work with all backgrounds */
.glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glass-overlay {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
}

.glass-input {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255, 255, 255, 0.3);
}

/* Dark theme adjustments */
.glass-dark {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.theme-dark .glass {
  background: rgba(30, 41, 59, 0.95);
}

.theme-dark .glass-overlay {
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.theme-dark 

.theme-dark .glass-input {
  background: rgba(255, 255, 255, 0.1);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
}

/* Colorful theme adjustments */
.theme-colorful .glass-overlay {
  background: rgba(255, 255, 255, 0.2);
  border: 0.5px solid rgba(255, 255, 255, 0.3);
}

.theme-colorful 

.theme-colorful .glass-input {
  background: rgba(255, 255, 255, 0.3);
  border: 0.5px solid rgba(255, 255, 255, 0.4);
}