/* ========================================
   CORRECCIONES PARA PLAYER Y VISIBILIDAD
   ======================================== */

/* Asegurar que el player tenga fondo sólido y no se vean imágenes detrás */
.player.is-static {
    background-color: var(--color-background, #1a1a1a) !important;
    position: relative !important;
    z-index: 10 !important;
}

.player-wrapper {
    background-color: var(--color-background, #1a1a1a) !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Evitar que la imagen de fondo del player sea visible */
.player-cover {
    opacity: 0.1 !important;
    z-index: 0 !important;
}

/* Asegurar que el contenido del player esté encima */
.player-left,
.player-right {
    position: relative !important;
    z-index: 20 !important;
}

/* ========================================
   MEJORAR VISIBILIDAD DEL TEXTO
   ======================================== */

/* Hacer el texto de descripción más visible */
.player-title,
.song-now,
.station-desc {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 600 !important;
}

/* Mejorar contraste del texto secundario */
.player-station-desc,
.player-desc {
    color: #e0e0e0 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
}

/* Si hay texto rojo sobre fondo rojo, cambiarlo a blanco */
.player-wrapper [style*="color: red"],
.player-wrapper [style*="color:#ff"],
.player-right *[style*="color"] {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Asegurar que "no description" se vea bien */
.player-content *:contains("no description"),
.player-right *:contains("no description") {
    color: #cccccc !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}

/* Mejorar el botón DIRECTO */
.badge,
[class*="badge"],
.player-desc .badge {
    background-color: #ff0000 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    text-shadow: none !important;
}

/* ========================================
   CORREGIR SUPERPOSICIÓN DE ELEMENTOS
   ======================================== */

/* Asegurar que el slider no se superponga con el player */
.section-column-70 {
    position: relative !important;
    z-index: 1 !important;
}

.section-column-30 {
    position: relative !important;
    z-index: 5 !important;
}

/* Evitar que elementos del slider se salgan */
.slider,
.swiper-banner {
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Contener las imágenes del slider */
.slider-slide img,
.swiper-slide img {
    display: block !important;
    max-width: 100% !important;
}

/* ========================================
   ESPACIADO Y SEPARACIÓN
   ======================================== */

/* Agregar separación entre slider y barra de contadores */
.section-columns + .section {
    margin-top: 20px !important;
}

/* Asegurar que la barra de contador tenga su propio espacio */
.action-bar-font {
    clear: both !important;
    display: block !important;
    width: 100% !important;
    margin-top: 0 !important;
}

/* ========================================
   TEMA OSCURO - MEJORAS
   ======================================== */

.dark .player.is-static,
.dark .player-wrapper {
    background-color: #1a1a1a !important;
}

.dark .player-title,
.dark .song-now,
.dark .station-desc {
    color: #ffffff !important;
}

/* ========================================
   TEMA CLARO - MEJORAS
   ======================================== */

.light .player.is-static,
.light .player-wrapper {
    background-color: #ffffff !important;
}

.light .player-title,
.light .song-now,
.light .station-desc {
    color: #1a1a1a !important;
}

.light .player-station-desc,
.light .player-desc {
    color: #333333 !important;
}
