/* =========================================================
   TGIF Network – Public Net Calendar
   ======================================================= */

/* ---------- Layout ---------- */

#system-status {
    width: 50%;
}

.MainWrapper.Banner {
    text-align: center;
}

/* ---------- Cards ---------- */

.card {
    background-color: #282828;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.25rem;
}

.calendar-header {
    cursor: pointer;
}

.calendar-header.today {
    background: #243b4a;
    color: #9fc9ff;
}

.calendar-body {
    display: none;
}

.calendar-body.active {
    display: block;
    background-color: #000;
}

/* ---------- Net rows ---------- */

.net-name {
    font-size: 18px;
    font-weight: 600;
}

.live-row {
    background: rgba(220, 53, 69, 0.08);
    border-left: 4px solid #dc3545;
    padding-left: 10px;
}

.text-muted {
    color: #28a745 !important;
}

/* ---------- Badges ---------- */

.badge-success {
    background-color: #b71515;
}

.badge-secondary {
    background-color: #6c757d;
}

.badge-info {
    background-color: #086cfb;
}

.badge-danger {
    background-color: #c82333;
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
}

/* ---------- Time line ---------- */

.net-time {
    display: block;
    font-weight: 600;
    margin-top: 4px;
}

/* =========================================================
   MOBILE OVERRIDES (≤ 768px)
   ======================================================= */

@media (max-width: 768px) {

    #system-status,
    .container,
    .MainWrapper {
        width: 100% !important;
        max-width: 94% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .card {
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .calendar-header {
        font-size: 15px;
        padding: 10px;
    }

    .calendar-body {
        padding: 10px;
    }

    .net-name {
        font-size: 16px;
        line-height: 1.3;
    }

    .text-muted {
        font-size: 14px;
        line-height: 1.35;
    }

    table.net-table thead {
        display: none;
    }

    table.net-table,
    table.net-table tbody,
    table.net-table tr {
        display: block;
        width: 100%;
    }

    table.net-table tr {
        background: #1e2b36;
        border-radius: 10px;
        padding: 10px;
        margin-bottom: 10px;
    }

    table.net-table td {
        display: block;
        padding: 4px 0;
        border: none;
        font-size: 14px;
    }

    .floating-label-field {
        height: 44px;
        font-size: 15px;
    }

    .tgif-net-actions {
        display: flex;
        gap: 10px;
    }

    .tgif-net-actions button {
        flex: 1;
        font-size: 16px;
    }
.badge-live {
    background-color: #dc3545;
    animation: pulseLive 1.2s infinite;
}

@keyframes pulseLive {
    0%   { box-shadow: 0 0 0 0 rgba(220,53,69,0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(220,53,69,0); }
    100% { box-shadow: 0 0 0 0 rgba(220,53,69,0); }
}

}
