/*
Theme Name: La Radio de Oberá 89.9
Theme URI: https://laradio899.com.ar
Author: ERG
Author URI: https://erg.ar
Description: Diario oficial de La Radio LRH 713 89.9 - Modo dark por defecto
License: GPL v2 or later
Text Domain: laradio899.com.ar
*/

/* Estilos base para el tema */
:root {
    --primary-color: #eab308;
}
.text-xl{line-height:1.4rem!important}
/* Modo dark por defecto */
html {
    background-color: #000;
}

body {
    background-color: #000;
    color: #f9fafb;
}

/* Clases de utilidad para el color primario */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Estilos para el reproductor */
#persistent-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    border: none;
    z-index: 999;
}

/* Video flotante */
#floating-video-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 400px;
    z-index: 998;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (max-width: 640px) {
    #floating-video-container {
        width: 300px;
        bottom: 80px;
        right: 10px;
    }
}

/* Botón TV flotante */
#tv-button {
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 997;
    background: var(--primary-color);
    color: black;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

#tv-button:hover {
    transform: scale(1.05);
    background: #fbbf24;
}

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    background-color: #20ba5c;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    font-size: 32px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajustes para móvil */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px;
        right: 15px;
    }
    
    .whatsapp-float a {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
}

/* Ajustes para la barra de admin */
body.logged-in #persistent-player {
    bottom: 32px;
}

body.logged-in #radio-player-container {
    bottom: 52px;
}

body.logged-in #tv-button,
body.logged-in #floating-video-container {
    bottom: 152px;
}

@media (max-width: 782px) {
    body.logged-in #persistent-player {
        bottom: 46px;
    }
    
    body.logged-in #radio-player-container {
        bottom: 66px;
    }
    
    body.logged-in #tv-button,
    body.logged-in #floating-video-container {
        bottom: 166px;
    }
}

/* Badge para categorías */
.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background-color: #eab308;
    color: black;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Transiciones suaves */
a, button {
    transition: all 0.2s ease;
}

/* Scroll infinito para programación */
.programacion-scroll {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #1f2937;
}

.programacion-scroll::-webkit-scrollbar {
    width: 8px;
}

.programacion-scroll::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 4px;
}

.programacion-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.programacion-scroll::-webkit-scrollbar-thumb:hover {
    background: #fbbf24;
}