.chart-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 1vh;
    grid-row-gap: 1vh;
    margin-top: 10px;
}

.general_table {
    width: 100%;
}

.general_table tr {
    border-bottom: 1px solid #ccc;
}

/* Isolated tabs for data sparing page (non-bootstrap) */
.iot-tabs-wrap {
    width: 100%;
}

.iot-tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d9e2ec;
}

.iot-tab-btn {
    display: inline-block;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
    padding: 8px 14px;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
}

.iot-tab-btn.is-active {
    background: #ffffff;
    border-color: #94a3b8;
    color: #0f172a;
}

.iot-tab-btn:hover {
    text-decoration: none;
    color: #0f172a;
}

.iot-tab-btn:focus {
    outline: 2px solid #0f4c81;
    outline-offset: 1px;
}

.iot-tabs-body {
    width: 100%;
}

.iot-tab-panel {
    display: none;
}

.iot-tab-panel.is-active {
    display: block;
}
