/* /Pages/CameraModal.razor.rz.scp.css */
/* ── CameraModal.razor.css ────────────────────────────────────────────── */

.modal-backdrop[b-4o3uhjlhcy] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* Prevent clicks from passing through to elements below */
    pointer-events: auto;
}

.modal-box[b-4o3uhjlhcy] {
    width: 480px;
    max-height: 90vh;
    background: #1E1E2E;
    border: 1px solid #333355;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Ensure modal content is interactive */
    pointer-events: auto;
}

/* ── Title bar ─────────────────────────────────────────────────────── */

.modal-title-bar[b-4o3uhjlhcy] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 16px;
    background: #12121F;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
}

.modal-icon[b-4o3uhjlhcy] { font-size: 16px; }

.modal-title[b-4o3uhjlhcy] {
    font-size: 14px;
    font-weight: 600;
    color: #E0E0FF;
    flex: 1;
}

.modal-x[b-4o3uhjlhcy] {
    background: transparent;
    border: none;
    color: #666688;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s;
}

.modal-x:hover[b-4o3uhjlhcy] { color: #E0E0FF; }

/* ── Body ─────────────────────────────────────────────────────────── */

.modal-body[b-4o3uhjlhcy] {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.error-banner[b-4o3uhjlhcy] {
    background: #2A1010;
    border: 1px solid #FF6B6B33;
    border-radius: 6px;
    padding: 10px 14px;
    color: #FF6B6B;
    font-size: 12px;
    margin-bottom: 8px;
}

.field-label[b-4o3uhjlhcy] {
    font-size: 12px;
    color: #AAAACC;
    margin-top: 12px;
    margin-bottom: 4px;
    display: block;
}

.field-hint[b-4o3uhjlhcy] {
    font-size: 10px;
    color: #555577;
    margin-top: 0;
    margin-bottom: 4px;
}

.field-input[b-4o3uhjlhcy],
.field-select[b-4o3uhjlhcy] {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
    color: #FFFFFF;
    background: #2A2A3E;
    border: 1px solid #333355;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.field-input:focus[b-4o3uhjlhcy],
.field-select:focus[b-4o3uhjlhcy] { border-color: #5C5CFF; }

.field-select option[b-4o3uhjlhcy] { background: #2A2A3E; }

.ip-port-row[b-4o3uhjlhcy] {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.onvif-hint[b-4o3uhjlhcy] {
    font-size: 10px;
    color: #44CC88;
    margin: 4px 0 0 4px;
}

/* ── Toggle ────────────────────────────────────────────────────── */

.toggle-row[b-4o3uhjlhcy] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.toggle[b-4o3uhjlhcy] {
    width: 44px;
    height: 24px;
    background: #333355;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.toggle.on[b-4o3uhjlhcy] { background: #5C5CFF; }

.toggle-knob[b-4o3uhjlhcy] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #666688;
    border-radius: 50%;
    transition: left 0.2s, background 0.2s;
}

.toggle.on .toggle-knob[b-4o3uhjlhcy] {
    left: 23px;
    background: white;
}

/* ── Footer ─────────────────────────────────────────────────────── */

.modal-footer[b-4o3uhjlhcy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 20px;
    background: #12121F;
    border-top: 1px solid #333355;
    border-radius: 0 0 8px 8px;
    flex-shrink: 0;
}

.footer-hint[b-4o3uhjlhcy] {
    font-size: 11px;
    color: #555577;
}

.footer-actions[b-4o3uhjlhcy] {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-cancel[b-4o3uhjlhcy] {
    height: 36px;
    padding: 0 20px;
    font-size: 13px;
    color: #AAAACC;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-cancel:hover[b-4o3uhjlhcy] { color: #E0E0FF; }

.btn-save[b-4o3uhjlhcy] {
    height: 36px;
    padding: 0 20px;
    font-size: 13px;
    color: white;
    background: #5C5CFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save:hover[b-4o3uhjlhcy] { background: #7C7CFF; }
.btn-save:disabled[b-4o3uhjlhcy] { background: #333355; cursor: not-allowed; }
/* /Pages/DeleteConfirmModal.razor.rz.scp.css */
/* ── DeleteConfirmModal.razor.css ─────────────────────────────────────── */

.modal-backdrop[b-vfawbt5u04] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-box[b-vfawbt5u04] {
    width: 480px;
    background: #1E1E2E;
    border: 1px solid #333355;
    border-radius: 8px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Header ─────────────────────────────────────────────────────────── */

.del-header[b-vfawbt5u04] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.del-icon[b-vfawbt5u04] { font-size: 28px; }

.del-title[b-vfawbt5u04] {
    font-size: 18px;
    font-weight: bold;
    color: #FF6B6B;
}

.del-sub[b-vfawbt5u04] {
    font-size: 11px;
    color: #888899;
    margin-top: 2px;
}

/* ── Camera name box ────────────────────────────────────────────────── */

.cam-name-box[b-vfawbt5u04] {
    background: #2A2A3E;
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.cam-label[b-vfawbt5u04] {
    font-size: 12px;
    color: #888899;
}

.cam-value[b-vfawbt5u04] {
    font-size: 12px;
    font-weight: 600;
    color: #E0E0FF;
}

/* ── Warning box ─────────────────────────────────────────────────────── */

.warn-box[b-vfawbt5u04] {
    background: #3B1A1A;
    border: 1px solid #FF6B6B;
    border-radius: 6px;
    padding: 12px 14px;
}

.warn-heading[b-vfawbt5u04] {
    font-size: 12px;
    font-weight: bold;
    color: #FF6B6B;
    margin-bottom: 6px;
}

.warn-body[b-vfawbt5u04] {
    font-size: 11px;
    color: #FFAAAA;
    line-height: 1.5;
}

/* ── OTP ────────────────────────────────────────────────────────────── */

.otp-section[b-vfawbt5u04] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.otp-label[b-vfawbt5u04] {
    font-size: 12px;
    color: #AAAACC;
}

.otp-input[b-vfawbt5u04] {
    height: 48px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 8px;
    color: white;
    background: #2A2A3E;
    border: 1px solid #5C5CFF;
    border-radius: 6px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.otp-input:focus[b-vfawbt5u04] { border-color: #7C7CFF; }

.otp-hint[b-vfawbt5u04] {
    font-size: 11px;
    color: #888899;
    text-align: center;
    min-height: 16px;
}

.otp-hint.red[b-vfawbt5u04] { color: #FF6B6B; }

/* ── Footer buttons ─────────────────────────────────────────────────── */

.del-footer[b-vfawbt5u04] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
}

.btn-cancel[b-vfawbt5u04] {
    height: 40px;
    font-size: 13px;
    color: #AAAACC;
    background: #2A2A3E;
    border: 1px solid #333355;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel:hover[b-vfawbt5u04] { background: #333355; }

.btn-confirm[b-vfawbt5u04] {
    height: 40px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    background: #B71C1C;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-confirm:hover:not(:disabled)[b-vfawbt5u04] { background: #E53935; }
.btn-confirm:disabled[b-vfawbt5u04] { background: #555555; cursor: not-allowed; }
/* /Pages/GroupModal.razor.rz.scp.css */
/* ── GroupModal.razor.css ─────────────────────────────────────────────── */

.modal-backdrop[b-rt0fcmjmqi] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-box[b-rt0fcmjmqi] {
    width: 520px;
    max-height: 92vh;
    background: #1E1E2E;
    border: 1px solid #333355;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header[b-rt0fcmjmqi] {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 52px;
    background: #12121F;
    border-bottom: 1px solid #252540;
    flex-shrink: 0;
}

.modal-title[b-rt0fcmjmqi] {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    color: #E0E0FF;
}

.modal-x[b-rt0fcmjmqi] {
    background: transparent;
    border: none;
    color: #666688;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.modal-x:hover[b-rt0fcmjmqi] { color: #E0E0FF; }

.modal-body[b-rt0fcmjmqi] {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.error-banner[b-rt0fcmjmqi] {
    background: #2A1010;
    border: 1px solid #FF6B6B33;
    border-radius: 6px;
    padding: 10px 14px;
    color: #FF6B6B;
    font-size: 12px;
    margin-bottom: 8px;
}

.field-label[b-rt0fcmjmqi] {
    font-size: 11px;
    color: #888899;
    margin-top: 10px;
    margin-bottom: 4px;
    display: block;
}

.field-input[b-rt0fcmjmqi],
.field-select[b-rt0fcmjmqi],
.field-textarea[b-rt0fcmjmqi] {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    color: white;
    background: #2A2A3E;
    border: 1px solid #333355;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.field-input:focus[b-rt0fcmjmqi],
.field-select:focus[b-rt0fcmjmqi],
.field-textarea:focus[b-rt0fcmjmqi] { border-color: #7C7CFF; }

.field-textarea[b-rt0fcmjmqi] { resize: vertical; height: 56px; font-family: inherit; }
.field-select option[b-rt0fcmjmqi] { background: #2A2A3E; }

.two-col[b-rt0fcmjmqi] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
}

.parent-row[b-rt0fcmjmqi] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.parent-row .field-select[b-rt0fcmjmqi] { flex: 1; }

.btn-clear-parent[b-rt0fcmjmqi] {
    height: 34px;
    padding: 0 10px;
    font-size: 11px;
    color: #AAAACC;
    background: transparent;
    border: 1px solid #333355;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-clear-parent:hover[b-rt0fcmjmqi] { background: #252545; }

.cycle-warn[b-rt0fcmjmqi] {
    background: #3A1010;
    border: 1px solid #7A2020;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 11px;
    color: #EF5350;
    margin-top: 4px;
}

.assign-header[b-rt0fcmjmqi] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 4px;
}

.assign-hint[b-rt0fcmjmqi] {
    font-size: 10px;
    color: #555577;
}

.search-input[b-rt0fcmjmqi] { margin-bottom: 6px; }

.camera-list[b-rt0fcmjmqi] {
    flex: 1;
    min-height: 120px;
    max-height: 200px;
    overflow-y: auto;
    background: #2A2A3E;
    border: 1px solid #333355;
    border-radius: 4px;
}

.cam-row[b-rt0fcmjmqi] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-bottom: 1px solid #222240;
    cursor: pointer;
    transition: background 0.15s;
}

.cam-row:hover[b-rt0fcmjmqi] { background: #252545; }
.cam-row:last-child[b-rt0fcmjmqi] { border-bottom: none; }

.cam-row input[type="checkbox"][b-rt0fcmjmqi] { accent-color: #5C5CFF; flex-shrink: 0; }

.cam-name[b-rt0fcmjmqi] {
    font-size: 12px;
    color: #DDDDFF;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cam-hw[b-rt0fcmjmqi] {
    font-size: 11px;
    color: #555577;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.modal-footer[b-rt0fcmjmqi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 56px;
    background: #12121F;
    border-top: 1px solid #252540;
    flex-shrink: 0;
}

.footer-actions[b-rt0fcmjmqi] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-delete[b-rt0fcmjmqi] {
    height: 36px;
    padding: 0 14px;
    font-size: 12px;
    color: #FF6B6B;
    background: transparent;
    border: 1px solid #FF6B6B;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-delete:hover[b-rt0fcmjmqi] { background: #2A1010; }

.btn-cancel[b-rt0fcmjmqi] {
    height: 36px;
    padding: 0 20px;
    font-size: 13px;
    color: #AAAACC;
    background: transparent;
    border: 1px solid #333355;
    border-radius: 6px;
    cursor: pointer;
}

.btn-cancel:hover[b-rt0fcmjmqi] { background: #252545; }

.btn-save[b-rt0fcmjmqi] {
    height: 36px;
    padding: 0 20px;
    font-size: 13px;
    color: white;
    background: #5C5CFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save:hover[b-rt0fcmjmqi] { background: #7C7CFF; }
.btn-save:disabled[b-rt0fcmjmqi] { background: #333355; cursor: not-allowed; }
/* /Pages/Home.razor.rz.scp.css */
/* ── Home.razor.css ───────────────────────────────────────────────────── */

.home-root[b-wmk9dcew5o] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #1E1E2E;
    font-family: 'Segoe UI', 'SF Pro Display', system-ui, sans-serif;
    color: #E0E0FF;
}

/* ══ TOP BAR ═══════════════════════════════════════════════════════════ */

.top-bar[b-wmk9dcew5o] {
    height: 56px;
    background: #12121F;
    flex-shrink: 0;
}

.top-bar-inner[b-wmk9dcew5o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 16px;
}

.brand-section[b-wmk9dcew5o] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon[b-wmk9dcew5o] {
    font-size: 22px;
}

.brand-text[b-wmk9dcew5o] {
    font-size: 16px;
    font-weight: bold;
    color: #E0E0FF;
}

.user-section[b-wmk9dcew5o] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-name[b-wmk9dcew5o] {
    font-size: 12px;
    color: #AAAACC;
}

.btn-logout[b-wmk9dcew5o] {
    padding: 4px 12px;
    font-size: 12px;
    color: #FF6B6B;
    background: transparent;
    border: 1px solid #FF6B6B;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-logout:hover[b-wmk9dcew5o] {
    background: #FF6B6B;
    color: white;
}

/* ══ TOOLBAR ═══════════════════════════════════════════════════════════ */

.toolbar[b-wmk9dcew5o] {
    height: 60px;
    background: #1A1A2E;
    border-bottom: 1px solid #333355;
    flex-shrink: 0;
}

.toolbar-inner[b-wmk9dcew5o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 16px;
}

.toolbar-left[b-wmk9dcew5o] {
    display: flex;
    gap: 8px;
}

.toolbar-right[b-wmk9dcew5o] {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ── Toolbar Buttons ───────────────────────────────────────────────────── */

.btn-add[b-wmk9dcew5o],
.btn-edit[b-wmk9dcew5o],
.btn-remove[b-wmk9dcew5o],
.btn-nodes[b-wmk9dcew5o],
.btn-refresh[b-wmk9dcew5o] {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add[b-wmk9dcew5o] {
    background: #5C5CFF;
}

.btn-add:hover[b-wmk9dcew5o] {
    background: #7C7CFF;
}

.btn-edit[b-wmk9dcew5o],
.btn-remove[b-wmk9dcew5o] {
    background: #333355;
}

.btn-edit:not(:disabled)[b-wmk9dcew5o] {
    background: #2E7D32;
}

.btn-edit:not(:disabled):hover[b-wmk9dcew5o] {
    background: #43A047;
}

.btn-remove:not(:disabled)[b-wmk9dcew5o] {
    background: #B71C1C;
}

.btn-remove:not(:disabled):hover[b-wmk9dcew5o] {
    background: #E53935;
}

.btn-nodes[b-wmk9dcew5o] {
    background: #006064;
}

.btn-nodes:hover[b-wmk9dcew5o] {
    background: #00838F;
}

.btn-refresh[b-wmk9dcew5o] {
    background: #333355;
}

.btn-refresh:hover[b-wmk9dcew5o] {
    background: #444466;
}

button:disabled[b-wmk9dcew5o] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Search Box ────────────────────────────────────────────────────────── */

.search-box[b-wmk9dcew5o] {
    width: 220px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    color: #E0E0FF;
    background: #2A2A3E;
    border: 1px solid #333355;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.search-box[b-wmk9dcew5o]::placeholder {
    color: #555577;
}

.search-box:focus[b-wmk9dcew5o] {
    border-color: #5C5CFF;
}

/* ══ MAIN CONTENT ══════════════════════════════════════════════════════ */

.main-content[b-wmk9dcew5o] {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* ── SIDEBAR ───────────────────────────────────────────────────────────── */

.sidebar[b-wmk9dcew5o] {
    width: 220px;
    background: #12121F;
    border-right: 1px solid #333355;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header[b-wmk9dcew5o] {
    height: 48px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #252540;
}

.sidebar-title[b-wmk9dcew5o] {
    font-size: 12px;
    font-weight: 600;
    color: #888AAA;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-group[b-wmk9dcew5o] {
    width: 24px;
    height: 24px;
    padding: 0;
    font-size: 16px;
    color: #5C5CFF;
    background: transparent;
    border: 1px solid #5C5CFF;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-group:hover[b-wmk9dcew5o] {
    background: #5C5CFF;
    color: white;
}

.sidebar-items[b-wmk9dcew5o] {
    flex: 1;
    overflow-y: auto;
}

.sidebar-item[b-wmk9dcew5o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-item:hover[b-wmk9dcew5o] {
    background: #1A1A30;
}

.sidebar-item.active[b-wmk9dcew5o] {
    background: #2A2A5A;
    border-left-color: #5C5CFF;
}

.sidebar-item-left[b-wmk9dcew5o] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.sidebar-icon[b-wmk9dcew5o] {
    font-size: 13px;
    flex-shrink: 0;
}

.sidebar-label[b-wmk9dcew5o] {
    font-size: 12px;
    color: #AAAACC;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-item.active .sidebar-label[b-wmk9dcew5o] {
    color: #E0E0FF;
    font-weight: 600;
}

.sidebar-count[b-wmk9dcew5o] {
    font-size: 10px;
    color: #8888BB;
    background: #222244;
    padding: 2px 6px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ── CONTENT PANEL ─────────────────────────────────────────────────────── */

.content-panel[b-wmk9dcew5o] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.group-header[b-wmk9dcew5o] {
    padding: 16px 20px;
    background: #1A1A2E;
    border-bottom: 1px solid #252540;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.group-title[b-wmk9dcew5o] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #E0E0FF;
}

.group-meta[b-wmk9dcew5o] {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: #888AAA;
}

.btn-manage-group[b-wmk9dcew5o] {
    padding: 6px 14px;
    font-size: 12px;
    color: white;
    background: #5C5CFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-manage-group:hover[b-wmk9dcew5o] {
    background: #7C7CFF;
}

/* ── EMPTY STATE ───────────────────────────────────────────────────────── */

.empty-state[b-wmk9dcew5o] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-icon[b-wmk9dcew5o] {
    font-size: 48px;
    opacity: 0.3;
}

.empty-title[b-wmk9dcew5o] {
    font-size: 16px;
    color: #555577;
    margin-top: 8px;
}

.empty-hint[b-wmk9dcew5o] {
    font-size: 12px;
    color: #444466;
    margin-top: 4px;
}

/* ── CAMERA TABLE ──────────────────────────────────────────────────────── */

.camera-table-wrap[b-wmk9dcew5o] {
    flex: 1;
    overflow: auto;
}

.camera-table[b-wmk9dcew5o] {
    width: 100%;
    border-collapse: collapse;
}

.camera-table thead[b-wmk9dcew5o] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #1A1A2E;
}

.camera-table th[b-wmk9dcew5o] {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #888AAA;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #252540;
}

.camera-table tbody tr[b-wmk9dcew5o] {
    border-bottom: 1px solid #252540;
    cursor: pointer;
    transition: background 0.15s;
}

.camera-table tbody tr:hover[b-wmk9dcew5o] {
    background: #252545;
}

.camera-table tbody tr.selected[b-wmk9dcew5o] {
    background: #2A2A5A;
}

.camera-table td[b-wmk9dcew5o] {
    padding: 8px 16px;
    font-size: 12px;
}

.cell-num[b-wmk9dcew5o] {
    color: #666688;
}

.cell-name[b-wmk9dcew5o] {
    color: #E0E0FF;
    font-weight: 600;
}

.cell-channel[b-wmk9dcew5o],
.cell-hardware[b-wmk9dcew5o],
.cell-server[b-wmk9dcew5o],
.cell-desc[b-wmk9dcew5o] {
    color: #AAAACC;
}

.cell-group[b-wmk9dcew5o] {
    color: #7C7CFF;
    font-size: 11px;
}

.cell-status[b-wmk9dcew5o] {
    text-align: center;
}

.status-badge[b-wmk9dcew5o] {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    border-radius: 4px;
}

.status-online[b-wmk9dcew5o] {
    background: #1B5E20;
}

.status-disabled[b-wmk9dcew5o] {
    background: #B71C1C;
}

/* ══ STATUS BAR ════════════════════════════════════════════════════════ */

.status-bar[b-wmk9dcew5o] {
    height: 32px;
    background: #12121F;
    border-top: 1px solid #333355;
    flex-shrink: 0;
}

.status-bar-inner[b-wmk9dcew5o] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 16px;
}

.status-text[b-wmk9dcew5o],
.camera-count[b-wmk9dcew5o] {
    font-size: 11px;
    color: #666688;
}
/* /Pages/Login.razor.rz.scp.css */
/* ── Login.razor.css ─────────────────────────────────────────────────── */

/* Root layout: two-column side by side */
.login-root[b-wjh5evflbm] {
    display: flex;
    height: 100vh;
    width: 100%;
    background: #1E1E2E;
    font-family: 'Segoe UI', 'SF Pro Display', system-ui, sans-serif;
    overflow: hidden;
}

/* ── Brand panel (left) ────────────────────────────────────────────── */
.brand-panel[b-wjh5evflbm] {
    width: 320px;
    flex-shrink: 0;
    background: #12121F;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-inner[b-wjh5evflbm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.brand-icon[b-wjh5evflbm] {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(92, 92, 255, 0.4));
    animation: float-b-wjh5evflbm 4s ease-in-out infinite;
}

@keyframes float-b-wjh5evflbm {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.brand-title[b-wjh5evflbm] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #E0E0FF;
    letter-spacing: -0.02em;
}

.brand-subtitle[b-wjh5evflbm] {
    font-size: 0.9rem;
    color: #8888AA;
    margin-top: 0.25rem;
}

.brand-divider[b-wjh5evflbm] {
    width: 100%;
    height: 1px;
    background: #333355;
    margin: 1.5rem 0;
}

.brand-powered[b-wjh5evflbm] {
    font-size: 0.8rem;
    color: #555577;
}

/* ── Form panel (right) ────────────────────────────────────────────── */
.form-panel[b-wjh5evflbm] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1E1E2E;
}

.form-inner[b-wjh5evflbm] {
    width: 300px;
}

/* Panel slide-in animation */
.panel-anim[b-wjh5evflbm] {
    animation: slideIn-b-wjh5evflbm 0.25s ease-out;
}

@keyframes slideIn-b-wjh5evflbm {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── Typography ────────────────────────────────────────────────────── */
.form-heading[b-wjh5evflbm] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 0.25rem 0;
}

.form-subheading[b-wjh5evflbm] {
    font-size: 0.8rem;
    color: #8888AA;
    margin: 0 0 2rem 0;
}

.otp-hint[b-wjh5evflbm] {
    font-size: 0.8rem;
    color: #8888AA;
    word-break: break-word;
}

.field-label[b-wjh5evflbm] {
    display: block;
    font-size: 0.78rem;
    color: #AAAACC;
    margin-bottom: 0.4rem;
    margin-top: 1rem;
}

/* ── Input fields ──────────────────────────────────────────────────── */
.input-wrap[b-wjh5evflbm] {
    background: #2A2A3E;
    border: 1px solid #333355;
    border-radius: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrap:focus-within[b-wjh5evflbm] {
    border-color: #5C5CFF;
    box-shadow: 0 0 0 3px rgba(92, 92, 255, 0.18);
}

.input-wrap.input-error[b-wjh5evflbm] {
    border-color: #FF6B6B;
}

.field-input[b-wjh5evflbm] {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 0.875rem;
    padding: 0.625rem 0.75rem;
    box-sizing: border-box;
    caret-color: #7C7CFF;
}

.field-input[b-wjh5evflbm]::placeholder {
    color: #555577;
}

/* OTP-specific */
.otp-wrap[b-wjh5evflbm] { margin-bottom: 0.5rem; }

.otp-input[b-wjh5evflbm] {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.35em;
}

/* ── Error message ─────────────────────────────────────────────────── */
.error-msg[b-wjh5evflbm] {
    color: #FF6B6B;
    font-size: 0.75rem;
    margin: 0.4rem 0 0.5rem;
    line-height: 1.4;
}

/* ── Primary button ────────────────────────────────────────────────── */
.btn-primary[b-wjh5evflbm] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 42px;
    margin-top: 1.25rem;
    background: #5C5CFF;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.18s, transform 0.1s;
}

.btn-primary:hover:not(:disabled)[b-wjh5evflbm] {
    background: #7C7CFF;
}

.btn-primary:active:not(:disabled)[b-wjh5evflbm] {
    background: #4040CC;
    transform: scale(0.98);
}

.btn-primary.btn-disabled[b-wjh5evflbm],
.btn-primary:disabled[b-wjh5evflbm] {
    background: #333355;
    cursor: not-allowed;
}

/* ── Back button ───────────────────────────────────────────────────── */
.btn-back[b-wjh5evflbm] {
    display: block;
    margin: 0.9rem auto 0;
    background: transparent;
    border: none;
    color: #8888AA;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.18s;
}

.btn-back:hover:not(:disabled)[b-wjh5evflbm] {
    color: #AAAACC;
}

/* ── Loading spinner ───────────────────────────────────────────────── */
.spinner[b-wjh5evflbm] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-wjh5evflbm 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin-b-wjh5evflbm {
    to { transform: rotate(360deg); }
}

/* ── Responsive: stack on narrow viewports ─────────────────────────── */
@media (max-width: 600px) {
    .login-root[b-wjh5evflbm] { flex-direction: column; }
    .brand-panel[b-wjh5evflbm] { width: 100%; height: auto; padding: 1.5rem 0; }
    .brand-icon[b-wjh5evflbm] { font-size: 2.5rem; }
    .brand-title[b-wjh5evflbm] { font-size: 1.4rem; }
    .brand-divider[b-wjh5evflbm], .brand-powered[b-wjh5evflbm] { display: none; }
    .form-inner[b-wjh5evflbm] { width: 90%; max-width: 340px; }
}
/* /Pages/NodeReportModal.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════════
   NodeReportModal.razor.css
   Layout: NODE NAMES = top columns, DATES = left rows
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Backdrop & Panel ─────────────────────────────────────────────────── */
.report-backdrop[b-99sd6clld5] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.80);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.report-panel[b-99sd6clld5] {
    width: min(98vw, 1500px);
    max-height: 94vh;
    background: #0B0B1A;
    border: 1px solid #1E1E40;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 72px rgba(0,0,0,.85);
}

/* ── Screen Header ───────────────────────────────────────────────────── */
.rpt-header[b-99sd6clld5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #0E0E22;
    border-bottom: 1px solid #1A1A35;
    flex-shrink: 0;
    gap: 12px;
}
.rpt-header-left[b-99sd6clld5]  { display: flex; align-items: center; gap: 14px; }
.rpt-logo[b-99sd6clld5]         { font-size: 26px; }
.rpt-title[b-99sd6clld5]        { font-size: 15px; font-weight: 700; color: #E0E0FF; }
.rpt-sub[b-99sd6clld5]          { font-size: 11px; color: #555577; margin-top: 2px; }
.rpt-header-right[b-99sd6clld5] { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.rpt-period[b-99sd6clld5]       { font-size: 11px; color: #666688; white-space: nowrap; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-rpt-print[b-99sd6clld5] {
    height: 34px; padding: 0 16px; font-size: 12px; font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    border: 1px solid #388E3C; border-radius: 7px;
    cursor: pointer; transition: opacity .2s; white-space: nowrap;
}
.btn-rpt-print:hover[b-99sd6clld5] { opacity: .82; }
.btn-rpt-close[b-99sd6clld5] {
    height: 34px; padding: 0 14px; font-size: 12px; font-weight: 600;
    color: #FF6B6B; background: transparent;
    border: 1px solid #FF6B6B; border-radius: 7px;
    cursor: pointer; transition: background .2s;
}
.btn-rpt-close:hover[b-99sd6clld5] { background: #3A1515; }

/* ── Meta pills ──────────────────────────────────────────────────────── */
.rpt-meta[b-99sd6clld5] {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 8px 20px;
    background: #0A0A14; border-bottom: 1px solid #1A1A35;
    flex-shrink: 0;
}
.meta-pill[b-99sd6clld5] {
    padding: 3px 12px;
    background: #12122A; border: 1px solid #1E1E40; border-radius: 20px;
    font-size: 11px; color: #8888BB;
}
.pill-good[b-99sd6clld5] { border-color: #2E7D32; color: #4CAF50; }
.pill-warn[b-99sd6clld5] { border-color: #E65100; color: #FF8C00; }
.pill-bad[b-99sd6clld5]  { border-color: #B71C1C; color: #EF5350; }

/* ── Scroll ──────────────────────────────────────────────────────────── */
.rpt-scroll[b-99sd6clld5] {
    flex: 1;
    overflow: auto;        /* horizontal + vertical scroll for wide tables */
}

/* ── Table ───────────────────────────────────────────────────────────── */
.rpt-table[b-99sd6clld5] {
    border-collapse: collapse;
    font-size: 11px;
    width: max-content;   /* allows horizontal scroll when many nodes */
    min-width: 100%;
}

/* Sticky header rows + sticky date column */
.rpt-table thead[b-99sd6clld5] {
    position: sticky;
    top: 0;
    z-index: 20;
}
.rpt-table thead tr:first-child[b-99sd6clld5] { background: #0A0A18; }
.rpt-table thead tr.tr-sno-row[b-99sd6clld5]  { background: #0C0C1C; }

/* Sticky left date column */
.th-date-hdr[b-99sd6clld5], .td-date[b-99sd6clld5], .td-totals-label[b-99sd6clld5] {
    position: sticky;
    left: 0;
    z-index: 15;
}
.th-date-hdr[b-99sd6clld5]    { background: #0A0A18 !important; z-index: 25; }
.td-date[b-99sd6clld5]        { background: #0B0B1A; }
.td-totals-label[b-99sd6clld5]{ background: #0E0E22; }

/* Column headers — Node names */
.th-node[b-99sd6clld5] {
    min-width: 100px;
    max-width: 140px;
    padding: 8px 6px;
    text-align: center;
    border: 1px solid #1A1A30;
    vertical-align: bottom;
}
.th-node-empty[b-99sd6clld5] { opacity: .35; }

.node-col-name[b-99sd6clld5] {
    font-size: 10px;
    font-weight: 700;
    color: #4CAF50;
    word-break: break-word;
    white-space: normal;
    line-height: 1.3;
}
.node-col-cams[b-99sd6clld5] {
    font-size: 9px;
    color: #333355;
    margin-top: 3px;
    font-weight: 400;
}

.th-date-hdr[b-99sd6clld5] {
    min-width: 90px;
    padding: 8px 10px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    color: #4CAF50;
    border: 1px solid #1A1A30;
}

.th-daily-avg[b-99sd6clld5] {
    min-width: 70px;
    padding: 8px 6px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #26C6DA;
    border: 1px solid #1A1A30;
    background: #0A0A18;
}

.th-sno[b-99sd6clld5] {
    padding: 4px 6px;
    text-align: center;
    font-size: 9px;
    color: #333355;
    font-weight: 600;
    border: 1px solid #1A1A30;
}

/* Body rows */
.rpt-table tbody tr[b-99sd6clld5] {
    border-bottom: 1px solid #12122A;
    transition: background .1s;
}
.rpt-table tbody tr:nth-child(even)[b-99sd6clld5] { background: #0D0D1E; }
.rpt-table tbody tr:hover[b-99sd6clld5]           { background: #14142E; }

.td-date[b-99sd6clld5] {
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #9090BB;
    border: 1px solid #14142A;
    white-space: nowrap;
}

/* Value cells */
.td-val[b-99sd6clld5] {
    text-align: center;
    padding: 7px 4px;
    font-size: 11px;
    font-family: 'Consolas', 'Courier New', monospace;
    border: 1px solid #12122A;
}
.td-na[b-99sd6clld5]   { color: #1E1E3A; text-align: center; border: 1px solid #12122A; padding: 7px 4px; }

/* Day avg column */
.td-day-avg[b-99sd6clld5] {
    text-align: center;
    padding: 7px 6px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Consolas', monospace;
    border-left: 2px solid #1E1E40;
    border-right: 1px solid #12122A;
    border-top: 1px solid #12122A;
    border-bottom: 1px solid #12122A;
    background: #0D0D20;
}

/* Color classes */
.td-good[b-99sd6clld5] { color: #4CAF50; }
.td-warn[b-99sd6clld5] { color: #FF8C00; }
.td-bad[b-99sd6clld5]  { color: #EF5350; }

/* Totals footer row */
.tr-totals[b-99sd6clld5] {
    background: #0E0E22 !important;
    border-top: 2px solid #2A2A55 !important;
}
.td-totals-label[b-99sd6clld5] {
    padding: 9px 10px;
    font-size: 10px;
    font-weight: 700;
    color: #4CAF50;
    letter-spacing: .5px;
    white-space: nowrap;
    border: 1px solid #1A1A35;
}
.td-total[b-99sd6clld5] {
    text-align: center;
    padding: 9px 4px;
    font-size: 12px;
    font-family: 'Consolas', monospace;
    border: 1px solid #1A1A35;
}
.td-grand-total[b-99sd6clld5] {
    text-align: center;
    padding: 9px 6px;
    font-size: 13px;
    font-family: 'Consolas', monospace;
    border-left: 2px solid #2A2A55;
    border-right: 1px solid #1A1A35;
    border-top: 1px solid #1A1A35;
    border-bottom: 1px solid #1A1A35;
    background: #0A0A16;
}

/* ── Footer bar ──────────────────────────────────────────────────────── */
.rpt-footer[b-99sd6clld5] {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 20px;
    background: #0A0A14; border-top: 1px solid #1A1A35;
    flex-shrink: 0;
}
.rpt-legend[b-99sd6clld5]      { font-size: 11px; color: #333355; }
.leg.good[b-99sd6clld5]        { color: #4CAF50; }
.leg.warn[b-99sd6clld5]        { color: #FF8C00; }
.leg.bad[b-99sd6clld5]         { color: #EF5350; }
.rpt-footer-btns[b-99sd6clld5] { display: flex; gap: 10px; }

/* ═══════════════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════════════ */
.print-only[b-99sd6clld5] { display: none; }

@media print {
    .print-only[b-99sd6clld5] { display: block !important; }
    .no-print[b-99sd6clld5]   { display: none !important; }

    .report-backdrop[b-99sd6clld5] {
        position: static !important;
        background: white !important;
    }
    .report-panel[b-99sd6clld5] {
        width: 100% !important; max-height: none !important;
        border: none !important; border-radius: 0 !important;
        box-shadow: none !important; background: white !important;
    }
    .rpt-scroll[b-99sd6clld5] { overflow: visible !important; }

    /* Sticky resets for print */
    .th-date-hdr[b-99sd6clld5], .td-date[b-99sd6clld5], .td-totals-label[b-99sd6clld5] {
        position: static !important;
    }

    /* Print masthead */
    .print-masthead[b-99sd6clld5] {
        text-align: center;
        padding-bottom: 10px;
        border-bottom: 2px solid #000;
        margin-bottom: 10px;
    }
    .pm-org[b-99sd6clld5]   { font-size: 11px; font-weight: 600; color: #333; letter-spacing: 1px; text-transform: uppercase; }
    .pm-title[b-99sd6clld5] { font-size: 14px; font-weight: 700; color: #000; margin: 4px 0 2px; }
    .pm-period[b-99sd6clld5]{ font-size: 11px; color: #333; }

    /* Table */
    .rpt-table[b-99sd6clld5] {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 7px !important;
    }
    .rpt-table thead tr:first-child[b-99sd6clld5] { background: #e8e8e8 !important; }
    .rpt-table thead tr.tr-sno-row[b-99sd6clld5]  { background: #f0f0f0 !important; }

    .rpt-table th[b-99sd6clld5] {
        background: #e8e8e8 !important;
        color: #000 !important;
        border: 1px solid #999 !important;
        padding: 4px 3px !important;
        font-size: 7px !important;
    }
    .node-col-name[b-99sd6clld5] { color: #000 !important; font-size: 7px !important; }
    .node-col-cams[b-99sd6clld5] { color: #555 !important; font-size: 6px !important; }

    .rpt-table td[b-99sd6clld5] {
        border: 1px solid #ccc !important;
        color: #000 !important;
        padding: 3px 2px !important;
        font-size: 7px !important;
    }

    .td-date[b-99sd6clld5]        { color: #000 !important; background: #f5f5f5 !important; font-weight: 700 !important; }
    .td-good[b-99sd6clld5]        { color: #155a15 !important; font-weight: 700 !important; }
    .td-warn[b-99sd6clld5]        { color: #7a3300 !important; font-weight: 700 !important; }
    .td-bad[b-99sd6clld5]         { color: #8b0000 !important; font-weight: 700 !important; }
    .td-na[b-99sd6clld5]          { color: #bbb !important; }
    .td-day-avg[b-99sd6clld5]     { background: #f0f8ff !important; border-left: 2px solid #999 !important; color: #000 !important; }
    .tr-totals[b-99sd6clld5]      { background: #e0e0e0 !important; border-top: 2px solid #000 !important; }
    .td-totals-label[b-99sd6clld5]{ color: #000 !important; background: #e0e0e0 !important; }
    .td-total[b-99sd6clld5]       { color: #000 !important; font-weight: 700 !important; }
    .td-grand-total[b-99sd6clld5] { background: #d0d0d0 !important; color: #000 !important; font-weight: 700 !important; border-left: 2px solid #000 !important; }

    @page { size: A3 landscape; margin: 8mm; }
}
/* /Pages/Nodes.razor.rz.scp.css */
/* ── Nodes.razor.css ──────────────────────────────────────────────────── */

.nodes-root[b-yvcjs2r1mm] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #0A0A14;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #E0E0FF;
}

/* ══ TOP BAR ════════════════════════════════════════════════════════════ */

.top-bar[b-yvcjs2r1mm] {
    height: 58px;
    background: linear-gradient(90deg, #0C0C1E 0%, #0E0E22 100%);
    border-bottom: 1px solid #1E1E40;
    flex-shrink: 0;
}

.top-bar-inner[b-yvcjs2r1mm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.brand-section[b-yvcjs2r1mm] {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ── Router icon box ── */
.brand-icon-box[b-yvcjs2r1mm] {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0D2B55 0%, #1565C0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 2px 12px rgba(25, 118, 210, 0.4);
}

.router-icon[b-yvcjs2r1mm] {
    width: 100%;
    height: 100%;
}

.brand-title[b-yvcjs2r1mm] {
    font-size: 13px;
    font-weight: 700;
    color: #E0E0FF;
    letter-spacing: 1px;
}

.brand-sub[b-yvcjs2r1mm] {
    font-size: 10px;
    color: #3A3A60;
    margin-top: 2px;
}

.btn-close-nav[b-yvcjs2r1mm] {
    height: 34px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 600;
    color: #FF6B6B;
    background: transparent;
    border: 1px solid rgba(255, 107, 107, 0.5);
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.btn-close-nav:hover[b-yvcjs2r1mm] {
    background: rgba(255, 107, 107, 0.12);
    border-color: #FF6B6B;
}

/* ══ FILTER BAR ══════════════════════════════════════════════════════════ */

.filter-bar[b-yvcjs2r1mm] {
    height: 62px;
    background: #0E0E1C;
    border-bottom: 1px solid #1A1A35;
    flex-shrink: 0;
}

.filter-bar-inner[b-yvcjs2r1mm] {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 0 20px;
}

.filter-label[b-yvcjs2r1mm] {
    font-size: 10px;
    font-weight: 700;
    color: #444466;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.date-input[b-yvcjs2r1mm] {
    height: 36px;
    width: 132px;
    padding: 0 10px;
    font-size: 12px;
    color: #C0C0E8;
    background: #181830;
    border: 1px solid #2A2A50;
    border-radius: 7px;
    outline: none;
    transition: border-color 0.2s;
}

.date-input:focus[b-yvcjs2r1mm] { border-color: #5555AA; }

.filter-spacer[b-yvcjs2r1mm] { flex: 1; }

/* ── New Group button — distinct teal-accented style ── */
.btn-add-group[b-yvcjs2r1mm] {
    height: 38px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    color: #E0F7FA;
    background: linear-gradient(135deg, #004D5A 0%, #006064 100%);
    border: 1px solid #00838F;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(0, 131, 143, 0.25);
}

.btn-add-group:hover[b-yvcjs2r1mm] {
    background: linear-gradient(135deg, #006064 0%, #00838F 100%);
    box-shadow: 0 3px 14px rgba(0, 131, 143, 0.4);
}

/* ── Load Topology button ── */
.btn-load[b-yvcjs2r1mm] {
    height: 38px;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    border: 1px solid #388E3C;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(46, 125, 50, 0.25);
}

.btn-load:hover[b-yvcjs2r1mm]    {
    background: linear-gradient(135deg, #2E7D32 0%, #43A047 100%);
    box-shadow: 0 3px 14px rgba(46, 125, 50, 0.4);
}
.btn-load:disabled[b-yvcjs2r1mm] { opacity: 0.35; cursor: not-allowed; box-shadow: none; }

/* ══ MAIN ════════════════════════════════════════════════════════════════ */

.main-content[b-yvcjs2r1mm] {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* ── TREE PANEL ─────────────────────────────────────────────────────── */

.tree-panel[b-yvcjs2r1mm] {
    width: 280px;
    background: #0C0C18;
    border-right: 1px solid #1A1A35;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.tree-panel-header[b-yvcjs2r1mm] {
    padding: 10px 14px;
    font-size: 10px;
    font-weight: 700;
    color: #333355;
    background: #0E0E1A;
    border-bottom: 1px solid #1A1A35;
    letter-spacing: 1px;
}

.tree-scroll[b-yvcjs2r1mm] {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
}

.tree-empty[b-yvcjs2r1mm] {
    font-size: 12px;
    color: #333355;
    padding: 20px;
    line-height: 1.8;
}

/* ── DIVIDER ────────────────────────────────────────────────────────── */

.divider[b-yvcjs2r1mm] {
    width: 1px;
    background: #1A1A35;
    flex-shrink: 0;
}

/* ── DETAIL PANEL ───────────────────────────────────────────────────── */

.detail-panel[b-yvcjs2r1mm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Node Header ── */
.node-header[b-yvcjs2r1mm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: linear-gradient(90deg, #0E0E1C 0%, #11111F 100%);
    border-bottom: 1px solid #1E1E3A;
    flex-shrink: 0;
    min-height: 68px;
}

.node-header-left[b-yvcjs2r1mm] { flex: 1; }

.node-header-right[b-yvcjs2r1mm] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ── Edit Group button — polished green ── */
.btn-edit-group[b-yvcjs2r1mm] {
    height: 38px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 600;
    color: #E8F5E9;
    background: linear-gradient(135deg, #1B3A1E 0%, #2E5E32 100%);
    border: 1px solid #4CAF50;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.btn-edit-group:hover[b-yvcjs2r1mm] {
    background: linear-gradient(135deg, #2E5E32 0%, #43A047 100%);
    box-shadow: 0 3px 12px rgba(76, 175, 80, 0.35);
}

/* ── Node Report button ── */
.btn-report[b-yvcjs2r1mm] {
    height: 38px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 600;
    color: #C8C8F0;
    background: linear-gradient(135deg, #1A1A40 0%, #252558 100%);
    border: 1px solid #4040AA;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.btn-report:hover:not(:disabled)[b-yvcjs2r1mm] {
    background: linear-gradient(135deg, #252560 0%, #3030A0 100%);
    border-color: #6666CC;
    box-shadow: 0 0 14px rgba(100, 100, 220, 0.3);
}

.btn-report:disabled[b-yvcjs2r1mm] {
    opacity: 0.28;
    cursor: not-allowed;
}

.node-name[b-yvcjs2r1mm] {
    font-size: 16px;
    font-weight: 700;
    color: #E8E8FF;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.node-meta[b-yvcjs2r1mm] {
    font-size: 11px;
    color: #383860;
    margin-top: 4px;
}

.node-name-placeholder[b-yvcjs2r1mm] {
    font-size: 14px;
    color: #252545;
    font-style: italic;
}

/* ── Uptime badge ── */
.uptime-big-badge[b-yvcjs2r1mm] {
    padding: 8px 18px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid transparent;
}

.uptime-big-badge.good[b-yvcjs2r1mm] { background: #162A16; border-color: #2E5E2E; }
.uptime-big-badge.warn[b-yvcjs2r1mm] { background: #2A1E00; border-color: #6B4400; }
.uptime-big-badge.bad[b-yvcjs2r1mm]  { background: #2A0E0E; border-color: #6B1E1E; }

.uptime-big-val[b-yvcjs2r1mm] {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.uptime-big-badge.good .uptime-big-val[b-yvcjs2r1mm] { color: #4CAF50; }
.uptime-big-badge.warn .uptime-big-val[b-yvcjs2r1mm] { color: #FF9800; }
.uptime-big-badge.bad  .uptime-big-val[b-yvcjs2r1mm] { color: #EF5350; }

.uptime-big-label[b-yvcjs2r1mm] {
    font-size: 9px;
    color: #383860;
    margin-top: 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ── Stats Strip ─────────────────────────────────────────────────── */

.stats-strip[b-yvcjs2r1mm] {
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    background: #0C0C18;
    border-bottom: 1px solid #1A1A35;
    flex-shrink: 0;
}

.stat-box[b-yvcjs2r1mm] {
    background: linear-gradient(135deg, #111122 0%, #16162E 100%);
    border: 1px solid #1E1E40;
    border-radius: 9px;
    padding: 10px 18px;
    transition: border-color 0.2s;
}

.stat-box:hover[b-yvcjs2r1mm] { border-color: #3030AA; }

.stat-val[b-yvcjs2r1mm] {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.stat-lbl[b-yvcjs2r1mm] {
    font-size: 10px;
    color: #303055;
    margin-top: 3px;
    letter-spacing: 0.3px;
}

/* ── Camera Table ─────────────────────────────────────────────────── */

.cam-table-wrap[b-yvcjs2r1mm] {
    flex: 1;
    overflow: auto;
}

.cam-table[b-yvcjs2r1mm] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.cam-table thead[b-yvcjs2r1mm] {
    position: sticky;
    top: 0;
    background: #090913;
    z-index: 10;
}

.cam-table th[b-yvcjs2r1mm] {
    padding: 12px 16px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    color: #383860;
    border-bottom: 1px solid #1A1A35;
    letter-spacing: 0.8px;
}

.cam-table tbody tr[b-yvcjs2r1mm] {
    border-bottom: 1px solid #12122A;
    transition: background 0.15s;
}

.cam-table tbody tr:nth-child(even)[b-yvcjs2r1mm] { background: #0E0E1E; }
.cam-table tbody tr:hover[b-yvcjs2r1mm]           { background: #17172E; }

.cam-table td[b-yvcjs2r1mm] {
    padding: 10px 16px;
    color: #BBBBD8;
}

.bar-cell[b-yvcjs2r1mm] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-bar-bg[b-yvcjs2r1mm] {
    flex: 1;
    height: 6px;
    background: #1A1A36;
    border-radius: 3px;
    overflow: hidden;
}

.mini-bar[b-yvcjs2r1mm]          { height: 100%; border-radius: 3px; transition: width 0.4s ease; }
.mini-bar.good[b-yvcjs2r1mm]     { background: linear-gradient(90deg, #388E3C, #66BB6A); }
.mini-bar.warn[b-yvcjs2r1mm]     { background: linear-gradient(90deg, #E65100, #FF9800); }
.mini-bar.bad[b-yvcjs2r1mm]      { background: linear-gradient(90deg, #B71C1C, #EF5350); }

.bar-pct[b-yvcjs2r1mm] {
    font-size: 11px;
    color: #555577;
    width: 46px;
    text-align: right;
    flex-shrink: 0;
}

.status-badge[b-yvcjs2r1mm] {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.status-badge.good[b-yvcjs2r1mm] { background: #162A16; color: #66BB6A; border: 1px solid #2E5E2E; }
.status-badge.warn[b-yvcjs2r1mm] { background: #2A1A00; color: #FF9800; border: 1px solid #5E3800; }
.status-badge.bad[b-yvcjs2r1mm]  { background: #2A0E0E; color: #EF5350; border: 1px solid #5E1E1E; }

/* ── Empty ──────────────────────────────────────────────────────── */

.empty-detail[b-yvcjs2r1mm] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
}

.empty-icon-circle[b-yvcjs2r1mm] {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #12122A;
    border: 1px solid #1E1E40;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 12px;
}

.empty-title[b-yvcjs2r1mm] {
    font-size: 14px;
    color: #202045;
    font-weight: 600;
}

.empty-hint[b-yvcjs2r1mm] {
    font-size: 11px;
    color: #18183A;
    margin-top: 2px;
}

/* ══ STATUS BAR ══════════════════════════════════════════════════════════ */

.status-bar[b-yvcjs2r1mm] {
    height: 32px;
    background: #090913;
    border-top: 1px solid #141430;
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
}

.status-text[b-yvcjs2r1mm] {
    font-size: 11px;
    color: #2E2E55;
    letter-spacing: 0.2px;
}
/* /Pages/NodeTreeItem.razor.rz.scp.css */
/* ── NodeTreeItem.razor.css ───────────────────────────────────────────── */

.tree-item[b-vt25v77h7a] {
    display: flex;
    flex-direction: column;
}

.tree-row[b-vt25v77h7a] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    margin: 1px 0;
}

.tree-row:hover[b-vt25v77h7a] { background: #1E1E3A; }
.tree-row.active[b-vt25v77h7a] { background: #2A2A5A; }

.tree-toggle[b-vt25v77h7a] {
    font-size: 10px;
    color: #555577;
    width: 16px;
    text-align: center;
    cursor: pointer;
    flex-shrink: 0;
}

.tree-toggle-spacer[b-vt25v77h7a] {
    width: 16px;
    flex-shrink: 0;
}

.tree-icon[b-vt25v77h7a] {
    font-size: 13px;
    flex-shrink: 0;
}

.tree-label[b-vt25v77h7a] {
    font-size: 12px;
    color: #C8C8FF;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}

.tree-row.active .tree-label[b-vt25v77h7a] { color: #E0E0FF; font-weight: 600; }

.cam-badge[b-vt25v77h7a] {
    font-size: 10px;
    color: #888ABB;
    background: #222244;
    padding: 2px 6px;
    border-radius: 8px;
    flex-shrink: 0;
}

.uptime-badge[b-vt25v77h7a] {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    flex-shrink: 0;
}

.uptime-badge.good[b-vt25v77h7a] { background: #1B3A1B; color: #4CAF50; }
.uptime-badge.warn[b-vt25v77h7a] { background: #3A2800; color: #FF8C00; }
.uptime-badge.bad[b-vt25v77h7a]  { background: #3A1010; color: #EF5350; }
/* /Pages/Report.razor.rz.scp.css */
/* ── Report.razor.css ─────────────────────────────────────────────────── */

.report-root[b-vhlzm5izup] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #0F0F1A;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #E0E0FF;
}

/* ══ TOP BAR ══════════════════════════════════════════════════════════ */

.top-bar[b-vhlzm5izup] {
    height: 56px;
    background: #0A0A14;
    border-bottom: 1px solid #1A1A35;
    flex-shrink: 0;
}

.top-bar-inner[b-vhlzm5izup] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.brand-section[b-vhlzm5izup] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon-box[b-vhlzm5izup] {
    width: 36px;
    height: 36px;
    background: #1A1A3A;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.brand-title[b-vhlzm5izup] {
    font-size: 13px;
    font-weight: bold;
    color: #E0E0FF;
    line-height: 1.3;
}

.brand-sub[b-vhlzm5izup] {
    font-size: 10px;
    color: #444466;
}

.top-bar-actions[b-vhlzm5izup] {
    display: flex;
    gap: 8px;
}

.btn-export[b-vhlzm5izup] {
    height: 32px;
    padding: 0 16px;
    font-size: 12px;
    color: white;
    background: #1B5E20;
    border: 1px solid #2E7D32;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-export:hover[b-vhlzm5izup] { background: #2E7D32; }

.btn-close-nav[b-vhlzm5izup] {
    height: 32px;
    padding: 0 16px;
    font-size: 12px;
    color: #FF6B6B;
    background: transparent;
    border: 1px solid #FF6B6B;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-close-nav:hover[b-vhlzm5izup] { background: #3A1515; }

/* ══ FILTER BAR ════════════════════════════════════════════════════════ */

.filter-bar[b-vhlzm5izup] {
    height: 60px;
    background: #12121F;
    border-bottom: 1px solid #1A1A35;
    flex-shrink: 0;
}

.filter-bar-inner[b-vhlzm5izup] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 0 20px;
    flex-wrap: nowrap;
}

.filter-label[b-vhlzm5izup] {
    font-size: 10px;
    font-weight: bold;
    color: #555577;
    white-space: nowrap;
}

.date-input[b-vhlzm5izup],
.time-select[b-vhlzm5izup],
.camera-select[b-vhlzm5izup] {
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
    color: #E0E0FF;
    background: #1E1E3A;
    border: 1px solid #333355;
    border-radius: 6px;
    outline: none;
}

.date-input[b-vhlzm5izup] { width: 130px; }
.time-select[b-vhlzm5izup] { width: 80px; }
.camera-select[b-vhlzm5izup] { width: 160px; }

.filter-spacer[b-vhlzm5izup] { flex: 1; }

.btn-run[b-vhlzm5izup] {
    height: 36px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: linear-gradient(to right, #4040CC, #6060FF);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.btn-run:hover[b-vhlzm5izup] { opacity: 0.85; }
.btn-run:disabled[b-vhlzm5izup] { opacity: 0.4; cursor: not-allowed; }

/* ══ CONTENT ═══════════════════════════════════════════════════════════ */

.content-area[b-vhlzm5izup] {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* ── LEFT PANEL ─────────────────────────────────────────────────────── */

.left-panel[b-vhlzm5izup] {
    width: 300px;
    background: #0C0C18;
    border-right: 1px solid #1A1A35;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 16px;
    gap: 8px;
    flex-shrink: 0;
}

.stats-grid[b-vhlzm5izup] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.stat-card[b-vhlzm5izup] {
    background: #12122A;
    border: 1px solid #1E1E40;
    border-radius: 8px;
    padding: 12px;
}

.stat-value[b-vhlzm5izup] {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
}

.stat-label[b-vhlzm5izup] {
    font-size: 10px;
    color: #444466;
    font-weight: 600;
    margin-top: 2px;
}

.section-header[b-vhlzm5izup] {
    font-size: 10px;
    font-weight: bold;
    color: #333355;
    letter-spacing: 0.5px;
    margin-top: 8px;
    margin-bottom: 2px;
}

/* ── Camera Cards ─────────────────────────────────────────────────── */

.camera-card[b-vhlzm5izup] {
    background: #12122A;
    border: 1px solid #1E1E40;
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.camera-card:hover[b-vhlzm5izup] { background: #1A1A38; }
.camera-card.selected[b-vhlzm5izup] { border-color: #5C5CFF; background: #1A1A3A; }

.camera-card-top[b-vhlzm5izup] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.camera-card-name[b-vhlzm5izup] {
    font-size: 12px;
    font-weight: 600;
    color: #C8C8FF;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uptime-badge[b-vhlzm5izup] {
    font-size: 11px;
    font-weight: bold;
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
}

.uptime-badge.good[b-vhlzm5izup] { background: #1B3A1B; color: #4CAF50; }
.uptime-badge.warn[b-vhlzm5izup] { background: #3A2800; color: #FF8C00; }
.uptime-badge.bad[b-vhlzm5izup]  { background: #3A1010; color: #EF5350; }

.uptime-bar-wrap[b-vhlzm5izup] {
    height: 5px;
    background: #1E1E3A;
    border-radius: 3px;
    overflow: hidden;
}

.uptime-bar[b-vhlzm5izup] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s;
}

.uptime-bar.good[b-vhlzm5izup] { background: #4CAF50; }
.uptime-bar.warn[b-vhlzm5izup] { background: #FF8C00; }
.uptime-bar.bad[b-vhlzm5izup]  { background: #EF5350; }

.camera-card-meta[b-vhlzm5izup] {
    font-size: 10px;
    color: #333355;
    display: flex;
    gap: 6px;
}

/* ── Empty states ────────────────────────────────────────────────── */

.empty-left[b-vhlzm5izup],
.empty-right[b-vhlzm5izup] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 0;
    text-align: center;
}

.empty-title[b-vhlzm5izup] {
    font-size: 15px;
    color: #333355;
    margin-top: 10px;
}

.empty-hint[b-vhlzm5izup] {
    font-size: 11px;
    color: #2A2A44;
    margin-top: 4px;
}

/* ── RIGHT PANEL ────────────────────────────────────────────────────── */

.right-panel[b-vhlzm5izup] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.daywise-header[b-vhlzm5izup] {
    padding: 12px 20px;
    background: #0E0E1C;
    border-bottom: 1px solid #1A1A35;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.daywise-title[b-vhlzm5izup] {
    font-size: 13px;
    color: #333355;
}

.day-count-badge[b-vhlzm5izup] {
    background: #1A1A3A;
    border: 1px solid #2A2A5A;
    border-radius: 12px;
    padding: 3px 12px;
    font-size: 11px;
    color: #555577;
    font-weight: 600;
}

/* ── Table ──────────────────────────────────────────────────────────── */

.table-wrap[b-vhlzm5izup] {
    flex: 1;
    overflow: auto;
}

.daywise-table[b-vhlzm5izup] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.daywise-table thead[b-vhlzm5izup] {
    position: sticky;
    top: 0;
    background: #0A0A14;
    z-index: 10;
}

.daywise-table th[b-vhlzm5izup] {
    padding: 12px 16px;
    text-align: left;
    font-size: 10px;
    font-weight: bold;
    color: #444466;
    border-bottom: 1px solid #1A1A35;
}

.daywise-table tbody tr[b-vhlzm5izup] {
    border-bottom: 1px solid #1A1A2A;
    transition: background 0.15s;
}

.daywise-table tbody tr:nth-child(even)[b-vhlzm5izup] { background: #12121F; }
.daywise-table tbody tr:hover[b-vhlzm5izup] { background: #1A1A2E; }

.daywise-table td[b-vhlzm5izup] {
    padding: 10px 16px;
    color: #CCCCEE;
}

.bar-cell[b-vhlzm5izup] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-bar-bg[b-vhlzm5izup] {
    flex: 1;
    height: 6px;
    background: #1E1E3A;
    border-radius: 3px;
    overflow: hidden;
}

.mini-bar[b-vhlzm5izup] {
    height: 100%;
    border-radius: 3px;
}

.mini-bar.good[b-vhlzm5izup] { background: #4CAF50; }
.mini-bar.warn[b-vhlzm5izup] { background: #FF8C00; }
.mini-bar.bad[b-vhlzm5izup]  { background: #EF5350; }

.bar-label[b-vhlzm5izup] {
    font-size: 11px;
    color: #666688;
    width: 44px;
    text-align: right;
    flex-shrink: 0;
}

.status-badge[b-vhlzm5izup] {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
}

.status-badge.good[b-vhlzm5izup] { background: #1B3A1B; color: #4CAF50; }
.status-badge.warn[b-vhlzm5izup] { background: #3A2800; color: #FF8C00; }
.status-badge.bad[b-vhlzm5izup]  { background: #3A1010; color: #EF5350; }

/* ── Loading ──────────────────────────────────────────────────────── */

.loading-overlay[b-vhlzm5izup] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15,15,26,0.8);
}

.loading-text[b-vhlzm5izup] {
    font-size: 13px;
    color: #555577;
    margin-top: 12px;
}

/* ══ STATUS BAR ════════════════════════════════════════════════════════ */

.status-bar[b-vhlzm5izup] {
    height: 32px;
    background: #0A0A14;
    border-top: 1px solid #1A1A35;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
}

.status-text[b-vhlzm5izup], .gen-time[b-vhlzm5izup] {
    font-size: 11px;
    color: #333355;
}
