:root {
    --sidebar-width: 260px;
    --app-accent: #198754;
    --app-accent-2: #0d6efd;
}
body {
    background: #f5f7fb;
}
[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] body {
    background: #111827;
}
.app-shell {
    min-height: 100vh;
}
@media (min-width: 992px) {
    .app-shell {
        display: grid;
        grid-template-columns: var(--sidebar-width) 1fr;
    }
}
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, #132a1e 0%, #1f2937 70%);
}
.main-content {
    min-width: 0;
}
.stat-card,
.card.soft-shadow {
    border: 0;
    box-shadow: 0 10px 30px rgba(18, 38, 63, 0.08);
}
.hero-gradient {
    background: linear-gradient(135deg, rgba(25,135,84,0.12), rgba(13,110,253,0.12));
}
.auth-wrap {
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(13,110,253,.10), transparent 30%),
                radial-gradient(circle at bottom left, rgba(25,135,84,.10), transparent 30%),
                #f5f7fb;
}
.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.chart-box {
    min-height: 320px;
}
.device-map-placeholder {
    min-height: 180px;
    border: 2px dashed #cbd5e1;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    color: #64748b;
    background: #fff;
}
.table thead th {
    white-space: nowrap;
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.status-online { background: #198754; }
.status-offline { background: #6c757d; }
.status-warning { background: #ffc107; }
