/* RIC_BROADCAST_SUPERVISOR_V1 */

#ricBroadcastSupervisor {
    margin-top: 16px;
    border: 1px solid rgba(67, 220, 255, .34);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(6, 27, 43, .96),
            rgba(5, 21, 35, .96)
        );
    box-shadow:
        0 18px 55px rgba(0, 0, 0, .18),
        inset 0 1px 0 rgba(255,255,255,.035);
    overflow: hidden;
    color: #edfaff;
}

#ricBroadcastSupervisor[hidden] {
    display: none !important;
}

.ric-bs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.ric-bs-title {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.ric-bs-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #6c8490;
    box-shadow: 0 0 0 5px rgba(108,132,144,.08);
    flex: 0 0 auto;
}

.ric-bs-heading {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #55e5ff;
}

.ric-bs-state {
    font-size: 12px;
    font-weight: 800;
    text-align: right;
    color: #cfe8f2;
}

.ric-bs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255,255,255,.065);
}

.ric-bs-cell {
    min-width: 0;
    padding: 13px 14px;
    background: rgba(4,24,38,.96);
}

.ric-bs-label {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #7da5b5;
}

.ric-bs-value {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    color: #eefbff;
}

.ric-bs-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 15px 13px;
    font-size: 11px;
    color: #92b4c1;
}

.ric-bs-message {
    min-width: 0;
    line-height: 1.45;
}

.ric-bs-age {
    flex: 0 0 auto;
    white-space: nowrap;
}

#ricBroadcastSupervisor[data-health="healthy"] .ric-bs-dot {
    background: #54f3b1;
    box-shadow: 0 0 14px rgba(84,243,177,.65);
}

#ricBroadcastSupervisor[data-health="buffering"] .ric-bs-dot,
#ricBroadcastSupervisor[data-health="recovering"] .ric-bs-dot {
    background: #ffd36a;
    box-shadow: 0 0 14px rgba(255,211,106,.55);
}

#ricBroadcastSupervisor[data-health="blocked"] .ric-bs-dot,
#ricBroadcastSupervisor[data-health="degraded"] .ric-bs-dot {
    background: #ff9c64;
    box-shadow: 0 0 14px rgba(255,156,100,.55);
}

#ricBroadcastSupervisor[data-health="failed"] .ric-bs-dot {
    background: #ff647c;
    box-shadow: 0 0 14px rgba(255,100,124,.6);
}

#ricBroadcastSupervisor[data-health="prayer"] .ric-bs-dot {
    background: #d5bcff;
    box-shadow: 0 0 14px rgba(213,188,255,.55);
}

@media (max-width: 760px) {
    .ric-bs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ric-bs-head,
    .ric-bs-foot {
        align-items: flex-start;
    }
}

@media (max-width: 430px) {
    .ric-bs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ric-bs-state {
        max-width: 48%;
    }
}
