/* Styles supplémentaires pour l'application Vue.js */

/* Animation pour les participants */
.participant-container {
  transition: all 0.3s ease;
}

.participant-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Styles pour les vidéos */
video {
  border-radius: 0.5rem;
}

/* Animation de chargement */
.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Styles pour les boutons désactivés */
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Styles pour les messages d'état */
.status-message {
  transition: all 0.3s ease;
}

.status-message.success {
  color: #10B981;
}

.status-message.error {
  color: #EF4444;
}

.status-message.warning {
  color: #F59E0B;
}

/* Styles pour les participants */
.participants-grid {
  scrollbar-width: thin;
  scrollbar-color: #CBD5E0 #F7FAFC;
}

.participants-grid::-webkit-scrollbar {
  width: 6px;
}

.participants-grid::-webkit-scrollbar-track {
  background: #F7FAFC;
  border-radius: 3px;
}

.participants-grid::-webkit-scrollbar-thumb {
  background: #CBD5E0;
  border-radius: 3px;
}

.participants-grid::-webkit-scrollbar-thumb:hover {
  background: #A0AEC0;
}

/* Styles personnalisés pour Muziplay */

/* Variables CSS pour la thématique musicale */
:root {
  --music-primary: #1e40af;
  --music-secondary: #3b82f6;
  --music-accent: #f59e0b;
  --music-text: #1f2937;
  --music-light: #f8fafc;
}

/* Fond principal avec motif musical subtil */
body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(30, 64, 175, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
  position: relative;
}

/* Éléments décoratifs musicaux */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e2e8f0' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

/* Header avec motif musical */
.app-header {
  background: linear-gradient(135deg, var(--music-primary) 0%, var(--music-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.app-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20h10v10H20zM70 20h10v10H70zM20 70h10v10H20zM70 70h10v10H70z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Cartes avec effet musical */
.music-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.music-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.music-card:hover::before {
  left: 100%;
}

.music-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Icônes musicales décoratives */
.music-icon {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
}

.music-icon.note-1 {
  top: 10%;
  left: 5%;
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}

.music-icon.note-2 {
  top: 20%;
  right: 10%;
  font-size: 1.5rem;
  animation: float 8s ease-in-out infinite reverse;
}

.music-icon.note-3 {
  bottom: 15%;
  left: 15%;
  font-size: 1.8rem;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* Boutons avec style musical */
.music-btn {
  background: linear-gradient(135deg, var(--music-primary) 0%, var(--music-secondary) 100%);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.music-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.music-btn:hover::before {
  left: 100%;
}

.music-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px rgba(30, 64, 175, 0.3);
}

/* Sidebar avec thématique musicale */
.sidebar-music {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-right: 1px solid rgba(59, 130, 246, 0.1);
}

.sidebar-music::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e2e8f0' fill-opacity='0.1'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Footer avec motif musical */
.footer-music {
  background: linear-gradient(135deg, var(--music-primary) 0%, #1e3a8a 100%);
  position: relative;
  overflow: hidden;
}

.footer-music::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20h10v10H20zM50 20h10v10H50zM20 50h10v10H20zM50 50h10v10H50z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Animations pour les éléments musicaux */
@keyframes musicPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.music-pulse {
  animation: musicPulse 2s ease-in-out infinite;
}

/* Effet de particules musicales */
.music-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.music-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--music-accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Responsive design pour la thématique musicale */
@media (max-width: 768px) {
  .music-icon {
    display: none;
  }
  
  .music-card {
    backdrop-filter: none;
  }
}

/* Effet de brillance sur les cartes */
.music-shine {
  position: relative;
  overflow: hidden;
}

.music-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.music-shine:hover::after {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}
