body { 
   	  font: 12px "Myriad Pro", "Lucida Grande", sans-serif; 
   	  text-align: center; 
   }
   #container {
      padding: 20px 0 0 0;
      border-top: 3px dashed #CCC;
   }
   #container p {
    font-size: 13px;
    line-height: 0.3em;
    font-style: italic;
   }
   #container a { 
     color: #FFF;
	  text-decoration: none;
	  font-size: 12px;
	  padding: 3px 10px;
     border-radius: 8px;
     background-color: #f45300;
     letter-spacing: 1px;
     font-weight: bold;
	  margin: 0px 15px;
   }
   #container a:hover { 
     background-color: #B41D05;
	  box-shadow: 0px 0px 4px #808080;
   }
   .flowplayer { 
     width: 80%;
     max-width: 1300px;
   }
   #hlsjsvod {
     background-image: url(ade_s04-e05_sujet-it.jpg);
     background-color: #fff;
     margin: 40px 0;
   }
   .hlsjs-supported {
     font-weight: bold;
   }
   .player-container { 
     position: relative; 
     margin: 20px 0; 
   }
   .status { 
     font-weight: bold; 
     padding: 10px; 
     border-radius: 5px; 
     margin: 10px 0; 
   }
   .buttons { 
     display: flex; 
     gap: 15px; 
     margin: 20px 0; 
     flex-wrap: wrap;
  /* ✅ CENTRE LES BOUTONS */
     justify-content: center;
   }
   .btn-480 { 
     background: linear-gradient(135deg, #b1beb7 0%, #b1beb7 100%); 
     color: white;
   }     
   .btn-720 { 
     background: linear-gradient(135deg, #84998e 0%, #84998e 100%); 
     color: white; 
   }
   .btn-1080 { 
     background: linear-gradient(135deg, #678174 0%, #678174 100%); 
     color: white; 
   }
   .btn-mxf { 
     background: linear-gradient(135deg, #4b5e54 0%, #4b5e54 100%); 
     color: white; 
   }
   .btn-mxf-vi {
     background: linear-gradient(135deg, #344a3d 0%, #263b30 100%);
     color: white;
   }
   .btn-480:hover { 
     transform: translateY(-2px); 
     box-shadow: 0 8px 25px rgba(106,110,129,0.4); 
   }
   .btn-720:hover { 
     transform: translateY(-2px); 
     box-shadow: 0 8px 25px rgba(106,110,129,0.4); 
   }
   .btn-1080:hover { 
     transform: translateY(-2px); 
     box-shadow: 0 8px 25px rgba(106,110,129,0.4); 
   }
   .btn-mxf:hover { 
     transform: translateY(-2px); 
     box-shadow: 0 8px 25px rgba(106,110,129,0.4); 
   }
   .btn-mxf-vi:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 25px rgba(38, 59, 48, 0.4);
   }
   
    .quality-selector {
      display: flex;
      gap: 10px;
      margin: 15px 0;
      justify-content: center;
    }
    .quality-btn {
      padding: 8px 16px;
      border: 2px solid #ddd;
      background: white;
      border-radius: 20px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.2s;
    }
    .quality-btn.active, .quality-btn:hover {
      border-color: #E74C3C;
      background: #E74C3C;
      color: white;
    }
    .btn-modern {
      padding: 12px 24px;
      border: none;
      border-radius: 25px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    .quality-btn.disabled {
      opacity: 0.4;
      cursor: not-allowed;
    } 
    .quality-toggle {
      display: flex;
      align-items: center;
      gap: 12px;
      justify-content: center;
      margin: 20px 0;
      font-size: 14px;
      font-weight: 500;
    }
    .toggle-switch {
      position: relative;
      width: 60px;
      height: 32px;
      background: #ddd;
      border-radius: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .toggle-switch.active {
      background: linear-gradient(135deg, #E74C3C, #C0392B);
    }
    .toggle-knob {
      position: absolute;
      top: 2px;
      left: 2px;
      width: 28px;
      height: 28px;
      background: white;
      border-radius: 50%;
      transition: all 0.3s ease;
    }
    .toggle-switch.active .toggle-knob {
      transform: translateX(28px);
    }
    .separator {
      height: 1px;
      background: linear-gradient(90deg, transparent, #666, transparent);
      margin: 30px 0;
    }
    /* ✅ FIX iOS Safari boutons */
.btn-modern,
.toggle-switch {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  background-clip: padding-box;
  position: relative;
  z-index: 1;
}

.btn-modern {
  min-height: 48px;  /* Hauteur mini iOS */
  line-height: 1.4;  /* Texte centré */
}

/* Force affichage toggle iOS */
.toggle-switch {
  display: inline-block !important;
  vertical-align: middle;
}

/* Flex iOS safe */
.buttons {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.quality-toggle {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}


