@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    /* Brand Palette */
    --primary-red: #EB0A1E;
    --red-hover: #D0021B;
    --primary-blue: #0A1633;
    --secondary-blue: #162B55;
    --accent-blue: #2563EB;
    --dark-bg: #070D1E;
    --dark-surface: #0E1A38;
    
    /* Neutrals - Default Light Mode */
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    --bg-light: #F1F5F9;
    --bg-card: #FFFFFF;
    --card-header-bg: linear-gradient(90deg, #0A1633 0%, #162B55 100%);
    --card-header-text: #FFFFFF;
    --border-color: #E2E8F0;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --table-header-bg: #F8FAFC;
    --table-row-hover: #F8FAFC;

    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #06B6D4;

    /* Dimensions */
    --sidebar-width: 255px;
    --topbar-height: 64px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
}

/* ================= DARK MODE OVERRIDES ================= */
body.dark-mode {
    --text-dark: #F1F5F9;
    --text-muted: #94A3B8;
    --bg-light: #070D1E;
    --bg-card: #0E1A38;
    --card-header-bg: linear-gradient(90deg, #162B55 0%, #1E3A8A 100%);
    --border-color: #1E293B;
    --table-header-bg: #112248;
    --table-row-hover: #162B55;
}

body.dark-mode .topbar {
    background: #0B152E;
    border-bottom: 1px solid #1E293B;
}
body.dark-mode .topbar-title h2 {
    color: #F8FAFC;
}
body.dark-mode .card {
    background: var(--bg-card);
    border-color: #1E293B;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
body.dark-mode .card-body {
    background: var(--bg-card);
    color: #F1F5F9;
}
body.dark-mode .metric-box {
    border-color: #1E293B;
}
body.dark-mode .metric-box .value {
    color: #38BDF8;
}
body.dark-mode .metric-box:hover {
    background: rgba(255,255,255,0.03);
}
body.dark-mode .control-item select {
    background-color: #162B55;
    color: #F8FAFC;
    border-color: #1E3A8A;
}
body.dark-mode .table th {
    background: var(--table-header-bg);
    color: #94A3B8;
    border-color: #1E293B;
}
body.dark-mode .table td {
    border-color: #1E293B;
    color: #E2E8F0;
}
body.dark-mode .table tbody tr:hover td {
    background: var(--table-row-hover);
}
body.dark-mode .theme-btn,
body.dark-mode .lang-btn {
    background: #162B55;
    color: #F8FAFC;
    border-color: #1E3A8A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 13px;
    overflow-x: hidden;
    height: 100vh;
    letter-spacing: -0.01em;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #e2e8f0;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* ================= LOGIN PAGE ================= */
.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, #162B55 0%, #070D1E 90%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.login-container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(235, 10, 30, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    width: 100%;
    max-width: 420px;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
    z-index: 1;
}
.login-header h1 { font-size: 24px; color: var(--primary-blue); font-weight: 800; margin-bottom: 6px; text-align: center; }
.login-header h1 span { color: var(--primary-red); }
.login-header p { color: var(--text-muted); font-size: 13px; text-align: center; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 12px; text-transform: uppercase; color: #334155; }
.form-group input { 
    width: 100%; padding: 11px 14px; 
    border: 1px solid #cbd5e1; border-radius: 6px; 
    font-size: 13px; transition: border-color 0.2s, box-shadow 0.2s;
    background: #f8fafc;
}
.form-group input:focus {
    outline: none; border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(235, 10, 30, 0.12);
    background: #fff;
}
.btn-login { 
    width: 100%; padding: 12px; 
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%); 
    color: var(--text-light); border: none; border-radius: 6px; 
    font-size: 14px; font-weight: 700; cursor: pointer; 
    box-shadow: 0 4px 12px rgba(235, 10, 30, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(235, 10, 30, 0.4); }

/* ================= DASHBOARD LAYOUT ================= */
.dashboard-wrapper {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-light);
}

/* FLOATING SIDEBAR - TERTATA DI TENGAH SECARA VERTIKAL, TIDAK MEMANJANG KE ATAS/BAWAH */
.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    background: linear-gradient(180deg, #070D1E 0%, #0B152E 100%);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100vh;
    border-right: 1px solid rgba(255,255,255,0.06);
    justify-content: center; /* VERTICALLY CENTER CONTENT */
    padding: 15px 0;
}

.sidebar-header {
    height: 70px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}

.sidebar-header h2 { 
    font-size: 16px; 
    font-weight: 800; 
    color: var(--text-light); 
    line-height: 1.2; 
    letter-spacing: 0.5px; 
    text-align: center;
}
.sidebar-header h2 span {
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(235, 10, 30, 0.4);
}

/* FLOATING CENTERED MENU CAPSULE */
.sidebar-menu-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 14px;
    margin: auto 0; /* CENTERS THE ENTIRE MENU IN THE MIDDLE OF THE SCREEN */
}

.sidebar-menu {
    list-style: none;
    padding: 8px;
    margin: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.sidebar-menu li {
    margin: 2px 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    color: #94A3B8;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-radius: 8px;
    position: relative;
}

.sidebar-menu a i { 
    width: 22px; 
    font-size: 13px; 
    margin-right: 10px; 
    text-align: center; 
    transition: transform 0.2s;
}
.sidebar-menu a small { 
    display: block; 
    text-transform: none; 
    color: #64748B; 
    font-size: 9.5px; 
    margin-top: 1px; 
    font-weight: 400; 
    letter-spacing: 0;
}
.sidebar-menu a:hover { 
    background: rgba(255,255,255,0.06); 
    color: #F8FAFC; 
    transform: translateX(3px);
}
.sidebar-menu a:hover i {
    transform: scale(1.15);
    color: #38BDF8;
}

.sidebar-menu li.active a {
    background: linear-gradient(135deg, var(--primary-red) 0%, #C80818 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(235, 10, 30, 0.35);
    font-weight: 700;
}
.sidebar-menu li.active a small { color: rgba(255,255,255,0.85); }
.sidebar-menu li.active a i { color: #FFFFFF; }

.sidebar-footer {
    padding: 10px 20px;
    font-size: 10px;
    color: #64748B;
    text-align: center;
    letter-spacing: 0.3px;
}

/* MAIN CONTENT */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-light);
    height: 100vh;
    min-width: 0;
}

/* TOPBAR */
.topbar {
    height: var(--topbar-height);
    min-height: var(--topbar-height);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
    z-index: 90;
    flex-shrink: 0;
    gap: 16px;
    transition: background 0.25s ease;
}

.mobile-nav-toggle {
    display: none;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 16px;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 6px 10px;
}

.topbar-title {
    min-width: 0;
}
.topbar-title h2 {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.topbar-title p {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* THEME & LANGUAGE SWITCHERS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle-btn,
.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
    background: #F8FAFC;
    color: #1E293B;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.theme-toggle-btn:hover,
.lang-toggle-btn:hover {
    background: #E2E8F0;
    border-color: #94A3B8;
}

.control-item { display: flex; flex-direction: column; }
.control-item label { 
    font-size: 9px; 
    font-weight: 700; 
    color: #64748B; 
    text-transform: uppercase; 
    margin-bottom: 3px; 
    letter-spacing: 0.3px;
}
.control-item select {
    padding: 6px 26px 6px 10px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background-color: #F8FAFC;
    font-size: 11px;
    font-weight: 600;
    color: #1E293B;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 11px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.btn-export {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E293B 100%);
    color: var(--text-light);
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s ease;
}
.btn-export:hover { 
    background: var(--secondary-blue); 
    box-shadow: var(--shadow-md); 
    transform: translateY(-1px);
}

/* CONTENT AREA (Scrollable) */
.content-area {
    padding: 14px 16px;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ================= MODERN CARDS ================= */
.card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    min-width: 0;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-header {
    background: var(--card-header-bg);
    color: var(--card-header-text);
    padding: 9px 14px;
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.card-header span.badge {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
    padding: 2px 7px;
    border-radius: 4px;
    margin-right: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.15);
}

.card-body {
    padding: 12px 14px;
    flex-grow: 1;
    position: relative;
    min-height: 120px;
    overflow-x: auto;
    background: #FFFFFF;
}

/* ================= GRID SYSTEM ================= */
.dashboard-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
}
.col-1 { grid-template-columns: 1fr; }
.col-2 { grid-template-columns: repeat(2, 1fr); }
.col-3 { grid-template-columns: repeat(3, 1fr); }
.col-4 { grid-template-columns: repeat(4, 1fr); }
.col-5 { grid-template-columns: repeat(5, 1fr); }

/* Nested Grid Helpers */
.grid-nested-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; }
.grid-nested-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.grid-nested-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.grid-nested-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: 100%; }
.grid-nested-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: 100%; }

/* Proportional Grid Row Layouts */
.grid-layout-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.grid-layout-3-1 { display: grid; grid-template-columns: 3fr 1fr; gap: 12px; margin-bottom: 12px; }
.grid-layout-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; margin-bottom: 12px; }
.grid-layout-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin-bottom: 12px; }
.grid-layout-1-1-1 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.grid-layout-1-1 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 12px; }
.grid-layout-2-1-1-1 { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.grid-layout-1-1-08-1 { display: grid; grid-template-columns: 1.1fr 1.1fr 0.9fr 1.1fr; gap: 12px; margin-bottom: 12px; }

/* ================= METRIC BOXES ================= */
.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    width: 100%;
    height: 100%;
}
.metric-box {
    border-right: 1px solid #F1F5F9;
    padding: 6px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: background 0.15s;
}
.metric-box:hover {
    background: #F8FAFC;
}
.metric-box:last-child { border-right: none; }
.metric-box .title { 
    font-size: 10px; 
    font-weight: 700; 
    color: #64748B; 
    text-transform: uppercase; 
    margin-bottom: 4px; 
    text-align: center;
    letter-spacing: 0.3px;
}
.metric-box .value { 
    font-size: 22px; 
    font-weight: 800; 
    color: var(--primary-blue); 
    margin-bottom: 2px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.03em;
}
.metric-box .value.red { color: var(--danger); }
.metric-box .value.green { color: var(--success); }
.metric-box .subtitle { font-size: 11px; color: #64748B; margin-bottom: 3px; font-weight: 500; }
.metric-box .trend { font-size: 10px; font-weight: 700; }

/* SPARKLINE */
.sparkline {
    width: 100%;
    height: 16px;
    margin-top: 4px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" viewBox="0 0 100 20"><path d="M0,15 L20,10 L40,18 L60,5 L80,12 L100,2" fill="none" stroke="%2310B981" stroke-width="2.5"/><circle cx="100" cy="2" r="2.5" fill="%2310B981"/></svg>') no-repeat center;
    background-size: 100% 100%;
}

/* CIRCLES */
.health-circle {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 5px solid var(--success);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: 'JetBrains Mono', monospace;
    margin: 6px auto;
    background: #F0FDF4;
}

.alarm-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 5px solid var(--danger);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: #FEF2F2;
    font-family: 'JetBrains Mono', monospace;
}

/* PROGRESS BARS */
.progress-bar-container { display: flex; align-items: center; margin-bottom: 6px; }
.progress-label { width: 90px; font-size: 11px; flex-shrink: 0; font-weight: 500; color: #334155; }
.progress-track { flex: 1; height: 7px; background: #E2E8F0; border-radius: 4px; margin: 0 8px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #10B981 0%, #059669 100%); border-radius: 4px; }
.progress-value { width: 34px; font-size: 11px; font-weight: 700; text-align: right; flex-shrink: 0; font-family: 'JetBrains Mono', monospace; }

/* UTILS */
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.fw-bold { font-weight: 700; }
.text-center { text-align: center; }

/* TABLES */
.table-responsive { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 11px; }
.table th, .table td { padding: 7px 10px; border-bottom: 1px solid #F1F5F9; text-align: left; }
.table th { 
    font-weight: 700; 
    color: #475569; 
    text-transform: uppercase; 
    font-size: 10px; 
    background: #F8FAFC; 
    letter-spacing: 0.3px;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}
.table tbody tr:hover td {
    background-color: #F8FAFC;
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; }
.status-dot.green { background-color: var(--success); box-shadow: 0 0 6px rgba(16, 185, 129, 0.5); }
.status-dot.red { background-color: var(--danger); box-shadow: 0 0 6px rgba(239, 68, 68, 0.5); }
.status-dot.yellow { background-color: var(--warning); box-shadow: 0 0 6px rgba(245, 158, 11, 0.5); }

/* SIDEBAR OVERLAY FOR MOBILE */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7, 13, 30, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99;
}

/* ================= RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1024px) {
    .grid-layout-2-1,
    .grid-layout-3-1,
    .grid-layout-3-2,
    .grid-layout-1-2,
    .grid-layout-1-1-1,
    .grid-layout-1-1-08-1,
    .grid-layout-2-1-1-1,
    .dashboard-grid.col-4,
    .dashboard-grid.col-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
    }
    .dashboard-wrapper {
        height: auto;
        min-height: 100vh;
    }
    .main-content {
        height: auto;
        min-height: 100vh;
        overflow-y: visible;
    }
    .content-area {
        overflow-y: visible;
        padding: 10px;
    }
    
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        height: 100vh;
        transform: translateX(-100%);
        z-index: 1000;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .sidebar-overlay.active {
        display: block;
    }
    
    .mobile-nav-toggle {
        display: inline-block;
    }
    
    .topbar {
        padding: 0 12px;
        flex-wrap: wrap;
        height: auto;
        min-height: 56px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .topbar-controls {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin-top: 6px;
        justify-content: flex-start;
    }
    .control-item {
        flex: 1 1 calc(50% - 6px);
        margin-bottom: 4px;
    }
    .btn-export {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }

    .grid-layout-2-1,
    .grid-layout-3-1,
    .grid-layout-3-2,
    .grid-layout-1-2,
    .grid-layout-1-1,
    .grid-layout-1-1-1,
    .grid-layout-1-1-08-1,
    .grid-layout-2-1-1-1,
    .dashboard-grid.col-2,
    .dashboard-grid.col-3,
    .dashboard-grid.col-4,
    .dashboard-grid.col-5,
    .grid-nested-2,
    .grid-nested-3,
    .grid-nested-4,
    .grid-nested-5,
    .grid-nested-6 {
        grid-template-columns: 1fr !important;
    }

    .metric-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
