/* ==========================================================================
   BLOQUE DERECHO (Botón EN VIVO)
   ========================================================================== */
.nav-right {
    display: flex;
    align-items: center;
}

/* Contenedor relativo que une el botón con su menú */
.live-container {
    position: relative;
    display: inline-block;
}

/* Botón principal EN VIVO */
.btn-live {
    background-color: #0066ff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre íconos internos y texto */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Ajustes para los íconos internos */
.icon-live {
    font-size: 14px;
}

.icon-arrow {
    font-size: 12px;
    margin-left: 4px;
}

/* ==========================================================================
   MENÚ DESPLEGABLE INTERACTIVO (Corregido y Limpio)
   ========================================================================== */
.live-dropdown {
    display: none;                 /* 1. Oculto por defecto (se activa con Flexbox en el hover) */
    position: absolute;
    top: 100%;                     /* 2. Pegado al botón para evitar la zona muerta */
    right: 0;
    background-color: #1d4bb2;     /* Tu color azul oscuro */
    min-width: 160px;
    padding: 4px 0;
    padding-top: 10px;             /* 3. Reemplaza el top:102%; sirve como puente invisible */
    border-radius: 8px;
    border: 1px solid #d9d9d91a;
    z-index: 50000000;
    flex-direction: column;
    
    /* SE ELIMINÓ: pointer-events: none (Evitaba los clics) */
    /* SE ELIMINÓ: opacity: 0 (No es necesaria si usamos display: none/flex) */
}

/* Enlaces del menú desplegable */
.live-dropdown a {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: -.02em;
    width: 100%;
    padding: 9px 18px;
    text-align: right;
    font-family: Arial, sans-serif;
    font-weight: 400;
    color: #ffffff;                /* Cambiado var(--common-white) por #ffffff por seguridad */
    margin: 0;
    white-space: nowrap;
    text-decoration: none;         /* Quita el subrayado común de los enlaces */
    transition: color .2s, background-color .2s;
    border-bottom: 1px solid #d9d9d91a; /* Línea divisoria sutil */
}

/* Elimina la línea divisoria en el último elemento */
.live-dropdown a:last-of-type {
    border-bottom: none;
}

/* Bordes redondeados y sombras a las opciones */
.live-dropdown a:first-of-type { 
    border-top-left-radius: 6px; 
    border-top-right-radius: 6px; 
}
.live-dropdown a:last-of-type { 
    border-bottom-left-radius: 6px; 
    border-bottom-right-radius: 6px; 
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15); 
}

/* Hover individual en las opciones del menú */
.live-dropdown a:hover {
    background-color: #f5f5f5;
    color: #0066ff;                /* Cambia a azul claro al pasar el mouse */
}

/* ==========================================================================
   ACCIONES HOVER
   ========================================================================== */
.live-container:hover .btn-live {
    background-color: #0052cc;     /* El botón se oscurece al pasar el mouse */
}

/* Muestra el menú como FLEXBOX al pasar el cursor */
.live-container:hover .live-dropdown,
.live-dropdown:hover {
    display: flex;                 /* Cambia de 'none' a 'flex' manteniendo tu orden de columna */
}