.div-container-desplegables-group-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}
.div-container-desplegables-buttons {
  justify-content: center;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.div-container {
  border-radius: 0.4rem;
  margin-bottom: 10px;
  padding-bottom: 1rem;
  width: 100%;
}
@media only screen and (min-width: 700px) {
  .div-container {
    width: min(96vw, 1600px);
    margin-left: auto;
    margin-right: auto;
  }
}
.div-container-selector-group-items {
  background-color: var(--bs-gray-200);
  width: 100%;
  border-bottom-left-radius: 0.4rem;
  border-bottom-right-radius: 0.4rem;
}
.selector-items-card-grid-column {
  display: grid;
  gap: 1rem;
  grid-template-columns: 2fr;
}
.panel-footer-2 {
  padding: 0.2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3d85c6cc 100%);
  color: white;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.selector-items-card-flex-column {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0;
  scrollbar-width: none;
  box-sizing: border-box;
  /* Habilita el snap para centrar items al desplazarse */
  scroll-snap-type: x proximity;
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
  /* Hace que el movimiento de la rueda no sea brusco */
}
.selector-items-card-flex-column-semana {
  background-color: var(--bs-gray-200);
  border-bottom-right-radius: 0.2rem;
  border-bottom-left-radius: 0.2rem;
  padding: 0.5rem;
}
.selector-items-card-flex-column:active {
  cursor: grabbing;
}
.selector-items-card-flex-column::before,
.selector-items-card-flex-column::after {
  content: "";
  flex: 0 0 0;
  height: 0;
  pointer-events: none;
}
.selector-items-card-flex-column::-webkit-scrollbar {
  display: none;
}
.card-selector {
  place-items: center;
  scroll-snap-align: start;
  border-radius: 0.5rem;
  background: #fff;
  width: min-content;
  overflow: hidden;
  cursor: pointer;
}
.card-selector span {
  text-wrap: nowrap;
}
/* --- Card de vídeo (|V|): compartida entre pantallaHall y
   pantallaBiblioteca --------------------------------------------- */
.card-video-entreno {
  padding: 0;
  width: clamp(180px, 70vw, 260px);
}
@media only screen and (min-width: 700px) {
  .card-video-entreno {
    width: clamp(240px, 18vw, 320px);
  }
}
.card-video-entreno-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  margin: 0;
}
.card-video-entreno-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-video-entreno-body {
  width: 100%;
  padding: 0.35rem;
}
.card-video-entreno-titulo {
  display: block;
  margin-bottom: 0.35rem;
}
#pantalla-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  place-content: center;
  height: 100%;
}
#pantalla-loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
}
.pantalla-loading-hidden {
  visibility: hidden;
}
.texto-ajustable {
  white-space: normal;
  overflow-wrap: break-word;
  min-width: 0;
}
.div-text-title-value-disenho {
  max-width: 100%;
  text-align: center;
  margin-left: 0.25rem;
}
.div-text-title-value-disenho button {
  margin-top: 2rem;
}
.modal-youtube-modal-content {
  width: fit-content !important;
}
.modal-youtube-marcas {
  width: 100%;
}
.modal-youtube-marca-tiempo {
  color: var(--color-primary);
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
}
.modal-youtube-marca-tiempo:hover,
.modal-youtube-marca-tiempo:focus {
  text-decoration: underline;
}
.panel-header {
  padding: 0.2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3d85c6cc 100%);
  color: white;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.panel-footer {
  padding: 0.2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3d85c6cc 100%);
  color: white;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.panel-informativo-header {
  padding: 0.2rem;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
