@font-face {
  font-family: 'Russo';
  src: url('webfont.eot'); /* IE9 Compat Modes */
  src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('webfont.woff2') format('woff2'), /* Super Modern Browsers */
       url('webfont.woff') format('woff'), /* Pretty Modern Browsers */
       url('webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}

body {
  font-family:'Russo','Helvetica Neue','Helvetica','Open Sans','Arial';
  font-weight: 100;
  font-size: 1em;
  background-color: #121212 !important;
  color: #f0f0f0;
}

.container {
  margin-top: 15px;
}

#sticky-player {
  background-color: #1e1e1e;
  border-radius: 1rem;
  padding: 1rem;
}
/* Estilo unificado para el contenedor de la onda */
.waveform-container {
  max-width: 50%;
  /* height: 128px; */
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
}

.waveform-container canvas {
  display: block;
  /* max-width: 100%; */
}

#waveform {
  /* width: 100%; */
  max-width: 90%;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
  /* margin: auto; */
  user-select: none;
}

@media (max-width: 576px) {
  #waveform {
    height: 80px;
  }
}

.controls button {
  min-width: 180px;
}

#lista-sesiones .list-group-item {
  background-color: #2a2a2a;
  color: #f0f0f0;
  border: none;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

#lista-sesiones .list-group-item:hover {
  background-color: #3a3a3a;
}

#tiempo {
  color: var(--bs-light) !important; /* texto claro en fondo oscuro */
}
.controls #tiempo {
  min-width: 110px; /* Para que el texto no cambie de ancho al cambiar el tiempo */
}

#titulo {
  margin-bottom: .5rem;
}

#sticky-player {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 20;
}
