body {
    background: #8D3E29;
    color: #fff;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 0; /* était 20px */
    margin: 0;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

button:hover {
    background: #e65c00;
}

#showName, #trackInfo, #listenerCount {
    margin-top: 10px;
    font-size: 1.2em;
    text-align: center;
    max-width: 512px;
    overflow-wrap: break-word;
}

#currentCover {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.7);
    transition: transform 0.3s ease;
    cursor: pointer;
}

#currentCover.zoomed {
    transform: scale(2);
    z-index: 1000;
    position: relative;
}

#currentShowInfo {
    max-width: 512px;
    text-align: center;
    margin-top: 40px;
    color: #ddd;
}

#currentShowInfo strong {
    display: block;
    margin-bottom: 6px;
}

#showDesc {
    font-weight: normal;
    color: #aaa;
    margin-top: 4px;
}

#nextShowInfo {
    display: none;
    max-width: 512px;
    text-align: center;
    margin-top: 20px;
    color: #bbb;
}

#nextShowInfo strong {
    display: block;
    margin-bottom: 6px;
}

#nextShowDesc {
    font-weight: normal;
    color: #999;
    margin-top: 4px;
}

#listenerCount,
#trackInfo,
#currentShowInfo,
#nextShowInfo,
#comment-section {
    margin-bottom: 20px;
    margin-top: 40px;
	background: #1e1e1e;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 15px 0;
    color: #aaa;
    font-size: 0.9em;
}

footer a {
    color: #ff6600;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

#iframe-container1 {
    margin-bottom: 40px;
    width: 100%;
	  min-width: 1000px; /* ou plus selon ta grille */
    border-radius: 8px;
    overflow: hidden;
}

#emissions-container {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    overflow: hidden;
	background: #1e1e1e;
}

#iframe-container2 {
    margin-bottom: 40px;
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
}

/* Style iframe for seamless integration */
#historiqueIframe {
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #1e1e1e;
    color: #fff;
}

#iframe-container3 {
    margin-bottom: 40px;
    width: 100%;
    max-width: 650px;
    border-radius: 8px;
    overflow: hidden;
}

#iframe-container4 {
    margin-bottom: 40px;
    width: 100%;
    max-width: 650px;
	border: none;
    border-radius: 8px;
    overflow: hidden;
	background: #1e1e1e;
}

#boiteIframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
    background: #1e1e1e;
    color: #fff;
}

/* Nouveau container iframe proposer.php */
#iframe-container-proposer {
    margin-bottom: 40px;
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.7);
    background: #1e1e1e;
}

#iframe-proposer {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

#iframe-logo {
  width: 100%;
  max-width: 100%;
  overflow-x: auto; /* pour autoriser le débordement si besoin */
  display: flex;
  justify-content: center; /* pour centrer le logo */
}
#logoIframe {
  width: 500px; /* un peu plus large que le logo pour laisser de la marge */
  height: 500px; /* ajuste en fonction de ton besoin */
  border: none;
  background: #8D3E29;
}

#ticker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #191919;
  color: white;
  font-size: 20px;
  font-family: 'Arial', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  z-index: 9999;
  display: flex;
  align-items: center;
}

#tickerTextField {
  display: inline-block;
  padding-left: 100%;
  animation: tickerScroll linear infinite;
}

/* Animation */
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Couleurs */
.red { color: red; }
.orange { color: orange; }
.yellow { color: yellow; }
.green { color: #00ff00; }
.blue { color: #00bfff; }
.purple { color: violet; }

/* Conteneur principal */
#main-columns {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1600px;
  margin: 60px auto 20px auto;
  gap: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Colonnes */
#column1, #column2, #column3 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Largeurs sur desktop */


    #column1 {
      flex: 0 0 500px; /* taille fixe pour logo/emissions */
    }

    #column2 {
      flex: 0 0 400px; /* colonne boîtes + commentaires un peu plus étroite */
    }

    #column3 {
      flex: 1; /* colonne historique prend le reste, plus large */
    }

/* Iframes */
#iframe-logo iframe,
#lecteurIframe,
#historiqueIframe,
#emissions-iframe,
#boiteIframe,
#iframe-proposer,
#iframe-container1 iframe {
  width: 100%;
  border-radius: 8px;
  border: none;
}

/* Responsive - mobile */
@media screen and (max-width: 768px) {
  #main-columns {
    flex-direction: column;
    gap: 20px;
    margin: 10px;
  }

  #column1, #column2, #column3 {
    width: 100%;
  }

    #column1 {
    margin-top: 80px; /* ajuste la valeur selon ce que tu veux */
  }

  /* Changer l’ordre d’affichage */
  #column1 { order: 1; } /* logo */
  #column3 { order: 2; } /* contenu colonne 3 */
  #column2 { order: 3; } /* lecteur.php + historique */
}

