.hidden {
    display: none !important;
}

.song-item {
    text-align: center;
    position: relative;
    display: inline-block;
}

.song-item-enable {
    cursor: pointer;
}

.song-item:hover p {
    font-weight: bold;
}

.song-item img {
    display: block;
    width: 100%;
    height: auto;
    /*
    border-radius: 10px;
    */
}

.song-item p {
    background-color: #EBD661;
    border-radius: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #202020;
}

.song-item .overlay-message {
    display: none; /* oculto por defecto */
}

.song-item.song-item-disable .overlay-message {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* blanco con 90% opacidad */
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    color: #333;
    z-index: 10;
    pointer-events: none; /* opcional: evita que interfiera con clics */
    border: 1px dashed #000;
}

.song-title-band {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 0.5em 1em;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 15;
}

#player {
    position: relative;
    width: 100vw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-black);
    overflow: hidden;
}

#image-sequence {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#image-sequence img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#overlay {
    z-index: 5;
    position: absolute;
    bottom: 20px;
    /*left: 20px;
    right: 20px;*/
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

/*
#lyrics-display {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}
*/

#lyrics-container {
    width: 100%;
    max-height: 200px; /* Limita la altura máxima */
    overflow-y: hidden; /* Evita scroll manual */
    background-color: #202020;
    color: #FFF;
    padding: 15px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    border-radius: 6px;
    text-align: center;
}

#lyrics-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.current-line {
    font-size: 24px; /* Tamaño más grande para la línea actual */
    font-weight: bold;
    color: #FFFFFF; /* Color destacado */
    transition: all 0.3s ease;
}

.other-line {
    font-size: 16px; /* Tamaño más pequeño para las líneas no actuales */
    color: #E5E5E5;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.control-btn {
    color: #EBD661;
    font-size: 2rem;
    cursor: pointer;
}

.player-header {
    z-index: 5;
    position: absolute;
    padding-left: 20px;
    padding-right: 20px;
    top: 20px;
    width: 100%;
}

#song-title {
    color: #EBD661;
    text-align: left;
    border-radius: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

#close-button {
    z-index: 5;
    position: absolute;
    top: 30px;
    right: 30px;
    background-color: #EBD661;
    border: none;
    color: #202020;
    font-size: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#change-text {
    z-index: 5;
    position: absolute;
    top: 30px;
    right: 100px;
    background-color: #EBD661;
    border: none;
    color: #202020;
    font-size: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#close-button:hover {
    background-color: #C5C5C5;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #player {
        height: 100vh;
        flex-direction: column; /* Ajusta la disposición del contenido si es necesario */
    }

    #lyrics-display {
        font-size: 1rem; /* Reduce el tamaño de fuente si es necesario */
    }

    .controls {
        gap: 10px; /* Reduce el espacio entre controles */
    }
}

#player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}


#progress-container {
    width: 100%;
    height: 12px;
    background-color: #202020; /* Fondo del contenedor */
    position: relative;
    border-radius: 6px;
    margin: 10px 0;
    cursor: pointer;
}

#progress-bar {
    height: 100%;
    background-color: #EBD661; /* Color del progreso */
    width: 0%; /* Se actualiza automáticamente */
    transition: width 0.1s linear;
}

#progress-container:hover #progress-bar {
    background-color: #F2F2F2; /* Cambio de color al pasar el ratón */
}

#song-played-progress {
    background-color: #202020 !important;
}

#song-played-progress[value]::-webkit-progress-bar {
    background: #202020; }
#song-played-progress[value]::-webkit-progress-value {
    background: #EBD661; }
#song-played-progress[value]::-moz-progress-bar {
    background: #EBD661; }

#time-info {
    font-size: 14px;
    color: #EBD661;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

#time-info span {
    font-weight: bold;
}

h2 {
    font-size: calc(1.225rem + .8vw);
}

.messageLogin {
    font-size: 105%;
    text-align: center;
}