/* =========================================================
📺 VIEW: CAMARAS
========================================================== */
.view {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #000;
    z-index: 10;
}

.camera-stage {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    transition: opacity .6s ease-in-out;
}

.camera-stage.is-active {
    opacity: 1;
    z-index: 20;
}

.camera-stage.fade-out {
    opacity: 0;
}

.camera-stage video,
.camera-stage iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    display: block;
    background: #000;
    filter: brightness(0.75) contrast(1.15) saturate(1.2);
}

.camera-label {
    position: absolute;
    left: 90px;
    top: 10px;
    z-index: 100;
    padding: 8px 14px;
    background: linear-gradient(90deg, #38154b, #2f012c);
    
    /*border-radius: 0 0 0 0;*/
    opacity: 0.9;
    color: #fff;
    font-size: 15px;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff2d2d;
    box-shadow: 0 0 0 rgba(255, 45, 45, .7);
    animation: pulseLive 1.4s infinite;
}

@keyframes pulseLive {
    0% { box-shadow: 0 0 0 0 rgba(255,45,45,.7); }
    70% { box-shadow: 0 0 0 8px rgba(255,45,45,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,45,45,0); }
}
/* =========================================================
🗺️ ICONO MAPA ARGENTINA
========================================================== */
.camera-map {
    position: absolute;

    /* debajo del camera-label */
    top: 10px;
    left: 10px;

    width: 80px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        90deg,
        rgba(56, 21, 75, 0.75),
        rgba(47, 1, 44, 0.75)
    );
    
    border-left: 6px solid var(--codelis-logoL-rgb);
    border-radius: 12px 0 12px 12px;

    color: #fff;
    overflow: hidden;

    z-index: 100;
    opacity: 0.9;
    pointer-events: none;
}

.camera-map img {
    display: block;
    width: 65px;
    height: auto;
    max-height: 135px;
    object-fit: contain;
    
}

/* =========================================================
⏭️ "SIGUIENTE CAMARA" (ROTACIÓN DE CONTENIDO)  
========================================================== */

.camera-next {
    position: absolute;

    /* debajo del label, al lado del mapa */
    top: 43px;
    left: 90px;

    min-width: 260px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    background: linear-gradient(
        90deg,
        rgba(56, 21, 75, 0.75),
        rgba(47, 1, 44, 0.75)
    );

    padding: 0 10px;
    /*border-radius: 0 12px 12px 0;*/

    color: #fff;
    overflow: hidden;

    z-index: 100;
    opacity: 0.9;
    pointer-events: none;
}
.next-label {
    display: flex;
    align-items: center;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gris-extra-claro-rgb);
}

.next-name {
    margin-left: 4px;
    font-weight: bold;
    font-size: 12px;
    color: var(--blanco);
    white-space: nowrap;
}

.next-timer {
    margin-left: 4px;
    font-size: 12px;
    font-weight: bold;
    color: var(--warning-rgb);
    transition: all 0.3s ease;
}
.next-timer {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* estado alerta */
.next-timer.alert {
    margin-left: 4px;
    color: var(--danger-rgb);
    transform: scale(1.15);
}