body {
    font-family: Arial, sans-serif;
    background-color: #9ac12c;
    text-align: center;
    margin: 0;
    padding-bottom: 259px;
}


.navbar a {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.navbar div a {
    margin-right: 15px;
}

        .container {
            margin-top: 55px;
        background-color: #9ac12c;
            position: relative;


        }
        
.logo {
    display: block;
    margin: 0 auto; 
    max-width: 90%; 
}
@media (min-width: 768px) {  
    .logo {  
        width: 570px;  
        height: 293.5px;  
    }  
}  
.logo_2 {
    width: 80%; 
    max-width: 270px; 
    height: auto;
    margin-top: 20px;
}

@media (min-width: 768px) { 
    .logo_2 {
        width: 60%; 
        max-width: 270px;
        margin-top: 25px;
    }
}

@media (min-width: 1024px) { 
    .logo_2 {
        width: 270px; 
        margin-top: 30px;
    }
}
        input {
            width: calc(100% - 20px);
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
        }
        
        @media screen and (min-width: 768px) {
    input {
        padding: 8px; 
    }
}
        .resultados{
            max-width: 100%;
background-color: #9ac12c;
border-radius: 5px;
            margin-top: 14px;
            padding: 10px;
            text-align: left;
            color: white;
        }
        
        .ranking {
            max-width: 100%;
            background: green;
            border-radius: 5px;
            margin-top: 14px;
            padding: 10px;
            text-align: left;
            border-bottom: 3px solid #4f017c;
            color: black;
background-color: #f8436e;

        }
.resultado-item {
    padding: 10px; 
    text-align: left;
    border-bottom: 3px solid #4f017c;
    cursor: pointer;
    color: white;
    background-color: #4f017c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    border-radius: 5px;
    font-size: 12px;
}
        
        .ranking-item {
            padding: 15px;
            text-align: left;
            border-bottom: 3px solid #4f017c;
            cursor: pointer;
            color: white;
            background-color: #218838;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            border-radius: 5px;
            font-size: 12px;
        }
        .boton-votar {
            background-color: #28a745;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            font-size: 12px;
            cursor: pointer;
            transition: 0.3s;
        }
        .boton-votar:hover {
            background-color: #218838;
        }
        .mensaje {
            max-width: 100%;
            background: white;
            border-radius: 5px;
            margin-top: -44px;
            padding: 15px;
            text-align: center;
            font-size: 14px;
            font-weight: bold;
            color: white;
            background-color: #f8436e;
        }
        
        .ranking-votar {
    background-color: #65A7DD; 
}







.bottom-nav .play-section {
  .icon-button, .play-btn {
        outline: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent; 
    }

    .play-btn i {
        transition: transform 0.5s ease-in-out;
    }

    .rotate {
        animation: rotate360 0.6s ease-in-out;
    }

    @keyframes rotate360 {
        0% { transform: rotate(0deg); }
        50% { transform: rotate(180deg); }
        100% { transform: rotate(360deg); }
    }

.play-btn {
    background: linear-gradient(185deg, #65A7DD, #65A7DD);
    color: white;
    font-size: 18px;
    border: none;
    padding: 12px 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
}

.play-btn:hover {
    background: linear-gradient(135deg, #d2b000, #d2b000);
}




#buscador-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}
body {
    font-family: Arial, sans-serif;
    background-color: #9ac12c;
    text-align: center;
    margin: 0;
    padding-bottom: 180px;
}
.navbar {
    width: 100%; 
    margin: 0; 
    background-color: #9ac12c; 
    color: white; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.navbar div a {
    margin-right: 15px;
}

.navbar, .bottom-nav {
    background-image: url('https://www.bolicheradio.com/img/bg.jpg');
    background-size: 100% auto; 
    background-repeat: no-repeat;
}

.navbar {
background-position: 30% calc(100% - -150px);
    
}

.bottom-nav {
background-position: 50% calc(110% - -180px);
}
.loader-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(154, 193, 44, 0.5); 
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
    transition: opacity 1s ease-out;
        }
        

        
        .loader {
            border: 5px solid white;
            border-top: 5px solid #800080;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; visibility: hidden; }
        }
        


         display: flex;
    align-items: center;
    gap: 10px;
}






.loader-container_4 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
            background: #9ac12c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeOut 1s ease-out 1s forwards; 
}
        .loader {
            border: 5px solid white;
            border-top: 5px solid #800080;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; visibility: hidden; }
        }
        





.new-bottom-nav {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #9ac12c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    z-index: 1000;
    overflow: hidden;
    box-sizing: border-box;
    background-image: url('https://bolicheradio.com/img_2/Copia de Copia de Miniatura Youtube Tecnológica Fotográfica Azul y Amarillo (41).png'); 
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center; 
        box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.3);

}



.play-area {
    display: flex;
    align-items: center;
}

.play-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #65A7DD;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.song-info {
    flex-grow: 1;
    margin: 0 10px;
    overflow: hidden;
    text-align: left; 
}

.playing-text {
    font-size: 14px;
    color: #f8436e;
    font-weight: bold;
    margin-bottom: 3px;
}

.song-details {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

#new-song-title {
    font-weight: bold;
    font-size: 14px;
    color: white;
    text-overflow: ellipsis;
    overflow: hidden;
}

.icon-btn {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 10px;
    flex-shrink: 0;
    cursor: pointer;
}

.like {
    background-color: #65A7DD;
    color: white;
}

.dislike {
    background-color: #dc3545;
    color: white;
}


.cover-img {
    width: 90%;
    height: 90%;
    object-fit: contain;  
    display: block;
}

#nombre-cancion {
    font-weight: bold;
    font-size: 14px;
    color: white;
    white-space: nowrap;
    overflow: visible; 
    text-overflow: unset; 
}
#nombre-cancion_2 {
    font-weight: bold;
    font-size: 14px;
    color: white;
    white-space: nowrap;
    overflow: visible; 
    text-overflow: unset; 
}
.loader-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(154, 193, 44, 0.5); 
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            transition: opacity 1s ease-out;
        }

        .loader {
            border: 5px solid white;
            border-top: 5px solid #800080;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; visibility: hidden; }
        }





@keyframes music-beat {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}



    .like-btn i {
        transition: transform 0.3s ease-in-out, color 0.3s;
    }

    .pulse {
        animation: pulse 0.4s ease-in-out;
        color: #d2b000 !important;
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.5); }
        100% { transform: scale(1); }
    }

    .delete-btn i {
        transition: transform 0.3s ease-in-out;
    }

    .shake {
        animation: shake 0.4s ease-in-out;
        color: red !important;
    }

 



.marquee-container {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.marquee {
    display: flex;
    animation: desplazamiento 6s linear infinite;
}

.marquee-content {
    display: flex;
    min-width: 100%;
}

@keyframes desplazamiento {
    from {
        transform: translateX(10%);
    }
    to {
        transform: translateX(-100%);
    }
}

.cover-container {
    position: relative; 
    display: inline-block;
}

@keyframes pulse-border {
    0% {
        box-shadow: 
            0 0 0 3px red, 
            0 40px 70px rgba(0, 0, 0, 0.4), 
            0 15px 30px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 0 0 6px rgba(255, 0, 0, 0.7), 
            0 40px 70px rgba(0, 0, 0, 0.4), 
            0 15px 30px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 
            0 0 0 3px red, 
            0 40px 70px rgba(0, 0, 0, 0.4), 
            0 15px 30px rgba(0, 0, 0, 0.2);
    }
}

.cover-box {
    position: relative; 
    width: 4.0rem;
    height: 4.0rem;
    background-color: #4f017c;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 1rem;
    display: flex; 
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background-color 0.3s ease;
    border: 2px solid white;
}

  @keyframes shake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-5px); }
        50% { transform: translateX(5px); }
        75% { transform: translateX(-5px); }
    }

.cover-box_2 {
    position: relative; 
    width: 4rem;
    height: 4rem;
    background: linear-gradient(45deg, red, orange);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 1rem;
    display: flex; 
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease, 
                filter 0.3s ease, 
                background-color 0.3s ease;
    border: 2px solid white;
    animation: pulse-border 1.5s infinite ease-in-out;
}

.cover-box_3 {
    position: relative; 
    width: 4.0rem;
    height: 4.0rem;
    background-color: #cacaca; 
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 1rem;
    display: flex; 
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background-color 0.3s ease;
    border: 2px solid white;
    animation: pulse-border 1.5s infinite ease-in-out;
}

.cover-box_4 {
    position: relative; 
    width: 4.0rem;
    height: 4.0rem;
    background-color: #373b3b; 
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 1rem;
    display: flex; 
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background-color 0.3s ease;
    border: 2px solid white;
    animation: pulse-border 1.5s infinite ease-in-out;
}

.cover-box_5 {
    position: relative; 
    width: 4.0rem;
    height: 4.0rem;
    background-color: #ef7ef6; 
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 1rem;
    display: flex; 
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background-color 0.3s ease;
    border: 2px solid white;
    animation: pulse-border 1.5s infinite ease-in-out;
}
    
.music-icon {
    
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: #fff;
    opacity: 0.8; 
    animation: music-beat 2s infinite ease-in-out;
}
.music-icon {
    transition: none !important;
}
.cover-box-hidden {
    box-shadow: none !important;
}

#live-indicator {
    display: none;
    position: absolute;
    bottom: -8px; 
    left: 60%;
    transform: translateX(-50%);
    background: red;
    color: white;
    font-size: 9px; 
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    animation: blink 1s infinite alternate;
    z-index: 10;
    white-space: nowrap; 
}
.floating-button {
    position: absolute;
    right: 10px; 
    background: linear-gradient(45deg, #4f017c, #f8436e);
    color: white;
    font-size: 10px;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-transform: uppercase;
    animation: shake 2.5s infinite;
    transition: transform 0.2s, box-shadow 0.3s;
}

.floating-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}
@media (min-width: 1024px) {
    .floating-button {
        font-size: 14px; 
    }
}

.navbar {
    width: 100%;
    height: 60px; 
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; 
    margin: 0;
    background-color: #9ac12c;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url('https://www.bolicheradio.com/img/bg.jpg'); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0% 5%; 
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .navbar {
        background-size: 230%; 

    }
}

.hamburger-menu {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(154, 193, 44, 0.8); 
    border-radius: 0; 
    text-align: center;
}

@media (min-width: 768px) {
    .menu-options {
        display: block;
        position: static;
        background: none;
    }
}

.menu-options a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 5px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
}

.menu-options a:hover {
    color: purple;
}




.hamburger-menu {
    display: none;
}


.menu-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-grow: 1; 
}

.menu-options a {
    color: white;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    padding: 5px;
}

@media (max-width: 768px) {
    .menu-options {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }
    
    .menu-options a {
        font-size: 14px; 
    }
}



.hamburger-menu {
    display: none;
}

@media (max-width: 768px) {
    .menu-options {
        display: none;
    }

    .hamburger-menu {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }

    .menu-options.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #9ac12c;
        text-align: center;
        padding: 10px 0;
    }
}

#menu-options a {
    margin-right: 0 !important;
}






.submenu-programacion {
    display: none;
    position: fixed;
    top: 40px; 
    left: 0;
    width: 100vw;
    height: calc(100vh - 60px); 
    background: #9ac12c; 
    color: white;
    text-align: center;
    z-index: 999; 
    padding-top: 20px;
}

.submenu-programacion a {
    display: block; 
    width: 100%; 
    padding: 15px 0;
    font-size: 24px; 
    font-family: 'Oswald', sans-serif;
    text-decoration: none;
    color: black;
    background: white; 
    border-radius: 0; 
}

.submenu-active {
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

#dias-container {
    display: flex;
    width: 100%; 
    gap: 0px; 
}

#dias-container a {
    flex: 1; 
    text-align: center;
    padding: 12px 0; 
    background: #9ac12c;
    color: #fff; 
    font-weight: bold; 
    text-decoration: none; 
    font-size: 18px; 
    border-left: 1px solid rgba(0, 0, 0, 0.1); 
}
#dias-container a:hover {
    background: #4f017c; 
    color: white; 
    transition: background 0.3s, color 0.3s;
}
#dias-container a:first-child {
    border-left: none;
}

@media (max-width: 768px) {
    #dias-container {
    }

    #dias-container a {
        font-size: 16px; 
    }
}

@media (max-width: 480px) {
    #dias-container {
    }

    #dias-container a {
        font-size: 14px; 
    }
}
#programas-contenedor {
    display: none; 
    width: 100%;
    background: #9ac12c;
    color: black;
    text-align: left;
            overflow-y: auto;
            margin-bottom: 100px;

}
#programas-contenedor p {
    padding: 10px 0; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: white;
}

#programas-contenedor p:last-child {
    border-bottom: none;
}

.submenu-programacion a:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}
#programas-contenedor {
    display: none;
    width: 100%;
    background: #9ac12c;
    color: white;
    text-align: left;
    padding: 10px;
    margin-bottom: 170px; 
}

@media screen and (min-width: 768px) {
    #programas-contenedor {
        margin-bottom: 100px;
    }
}

.programa-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.programa-item .hora {
    font-size: 16px;
    width: 50px;
}

.programa-item .info {
    width: 80%;
}

.programa-item .nombre {
    font-size: 15px;
    font-weight: bold;
}

.programa-item .locutor {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}





.submenu-contacto {
    display: none;
    position: fixed;
    top: 40px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 120px);
    background: rgba(79, 1, 124, 0.95);
    color: white;
    text-align: center;
    z-index: 999;
    padding-top: 20px;
    overflow-y: auto;
    padding-bottom: 120px;
    padding-left: 20px;
    padding-right: 20px; 
    box-sizing: border-box;
}

.submenu-active {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.submenu-contacto form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center; 
}

.submenu-contacto label {
    margin-top: 10px;
    font-weight: bold;
    text-align: center; 
    display: block;
    width: 100%;
}

.submenu-contacto input,
.submenu-contacto textarea {
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}
.submenu-contacto textarea {
    width: 100%;
    resize: none; 
    box-sizing: border-box; 
}
.submenu-contacto button {
    margin-top: 15px;
    padding: 12px;
    background: #f8436e; 
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
}

.submenu-contacto button:hover {
    background: #ff1493; 
}






.dia-activo {
    background: #f8436e !important;
    color: white !important;
    font-weight: bold;
}

.programa-activo {
    background-color: #ffcc00; 
    color: #000; 
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}
.leyenda-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.leyenda-texto {
    font-size: 10px;
    color: yellow;
}

.leyenda-icono {
    display: none;
}

@media (max-width: 768px) {
    .leyenda-texto {
        display: none;
    }
    .leyenda-icono {
        display: inline-block;
        font-size: 14px;
        color: grey;
    }
}

#texto-canciones {
    color: white; 
            font-size: 14px;

}

span.programa-en-vivo {
    font-style: italic;
    font-weight: bold; 
    color: #4f017c; 
}


#mensaje-busqueda {
    background-color: #fff; 
    color: #333;
    font-size: 13px;
    font-family: 'Arial', sans-serif;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    display: none;
    width: 100%; 
    max-width: none;  
    margin-top: 10px;
    position: relative;
    box-sizing: border-box;  
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    width: 90%; 
    max-width: 600px; 
    margin: 10px auto;
}

#mensaje-busqueda::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.programa-en-vivo {
    cursor: pointer;
}
button, 
a {
    -webkit-tap-highlight-color: transparent; 
    outline: none; 
}

.bloqueado {
    pointer-events: none; 
}


.popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
    }

    .popup-contenido {
        background: white;
        padding: 20px;
        border-radius: 5px;
        text-align: center;
    }

    .popup button {
        margin: 10px;
        padding: 10px;
        border: none;
        cursor: pointer;
    }

    #aceptar-voto {
        background: green;
        color: white;
    }

    #cancelar-voto {
        background: red;
        color: white;
    }
#overlay-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#contenedor-popup, #popup-audio, #popup-audio-confirmacion  {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #9ac12c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
    display: none;
    color: #fff;
}

.icono-microfono {
    width: 50px;
    height: 50px;
}

button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#btn-confirmar {
    background-color: #f8436e;
    color: white;
}

#btn-confirmar-final {
    background-color: #f8436e;
    color: white;
}

#btn-cancelar {
    background-color: #f8436e;
    color: white;
}

#btn-grabar {
    background-color: #f8436e;
    color: white;
}

#btn-sin-audio {
    background-color: #6c757d;
    color: white;
}

#btn-sin-audio_2 {
    background-color: #6c757d;
    color: white;
}


#btn-sin-audio {
    display: block;  
    margin: 20px auto; 
    text-align: center; 
}

#btn-aceptar {
    background-color: #f8436e; 
        color: #fff;

}

#btn-reintentar {
    background-color: #f8436e; 
    color: #fff;
}

#grabando-texto {
        display: none;
        color: #4f017c;
        font-size: 14px;
        text-align: center;
        margin-top: 5px;
    }
    
    #icono-reproducir {
        display: none;
        cursor: pointer;
        font-size: 31px;
        color: #f8436e;
    }
    
    #icono-microfono {  
    display: none;
    cursor: pointer;
    font-size: 31px;
    color: #f8436e;
}
    
.circle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-top: 20px;
  background: linear-gradient(145deg, #ff7043, #e64a19);
  border-radius: 50%;
  border: 1px solid white;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.15), 
    inset 0 -2px 4px rgba(255, 255, 255, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}



.circle-icon i {
  color: white;
  font-size: 28px;
}

.grabando-activo {
  animation: pulse-border 1.5s infinite;
}

.grabando-verde {
  background: linear-gradient(145deg, #4caf50, #388e3c) !important;
}

@keyframes pulse-border {
  0% {
    box-shadow: 
      0 0 0 3px red;
  }
  50% {
    box-shadow: 
      0 0 0 6px rgba(255, 0, 0, 0.7);
  }
  100% {
    box-shadow: 
      0 0 0 3px red;
  }
}

#live-indicator_2 {
    display: none;
    position: absolute;
    bottom: -12px; 
    left: 50%;
    transform: translateX(-50%);
    background: red;
    color: white;
    font-size: 9px; 
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    animation: blink 1s infinite alternate;
    z-index: 10;
    white-space: nowrap; 
}

.ondas-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 20px;
    z-index: 2;
    pointer-events: none; 
}

.onda {
    width: 4px;
    height: 100%;
    background: #fff;
    border-radius: 2px;
    animation: wave 1s infinite ease-in-out;
}

.onda:nth-child(1) {
    animation-delay: 0s;
}
.onda:nth-child(2) {
    animation-delay: 0.2s;
}
.onda:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes wave {
    0%, 100% {
        height: 4px;
    }
    50% {
        height: 16px;
    }
}

#popup-aviso {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #9ac12c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
    display: none;
    color: #fff;
    z-index: 9999;
}

#popup-aviso p {
    margin-bottom: 15px;
}

#popup-cerrar {
    background: #f8436e;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
.spinner_3 {
    border: 3px solid #f8436e;
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.circle-icon_2 i {
  color: white;
  font-size: 28px;
}


        .icon-btn {
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            text-decoration: none;
            font-size: 10px;
            flex-shrink: 0;
            cursor: pointer;
        }
        .like {
            background-color: #65A7DD;
            color: white;
        }
        .dislike {
            background-color: #dc3545;
            color: white;
        }
        .like.active {
            background-color: #d2b000;
        }
        .dislike.active {
            background-color: #8B0000;
        }
        .like-btn i, .delete-btn i {
            transition: transform 0.3s ease-in-out, color 0.3s;
        }
        .pulse {
            animation: pulse 0.4s ease-in-out;
            color: #d2b000 !important;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.5); }
            100% { transform: scale(1); }
        }
        .shake {
            animation: shake 0.4s ease-in-out;
            color: red !important;
        }
        @keyframes shake {
            0% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            50% { transform: translateX(5px); }
            75% { transform: translateX(-5px); }
            100% { transform: translateX(0); }
        }
        
        .voted {
    background-color: #d2b000 !important;
    color: white !important;
}

#contenedor-iconos {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
    flex-wrap: wrap;  
}

#contenedor-reproducir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-top: 20px;
    background: linear-gradient(145deg, #f8436e, #d92b5c);
    border-radius: 50%;
    border: 1px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(255, 255, 255, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    left: -10px;
}

#icono-reproducir {
    font-size: 2em;  
    color: white;
}

#icono-microfono {
    font-size: 2em;  
    color: white;
}

@media (max-width: 768px) {
    #contenedor-iconos {
        gap: 5px;
    }

    #contenedor-reproducir {
        width: 60px;
        height: 60px;
    }

    #icono-reproducir {
        font-size: 2em;
    }

    #icono-microfono {
        font-size: 2em;
    }
}