@import '_content/BlazorColorPicker/BlazorColorPicker.d6615pwxbx.bundle.scp.css';
@import '_content/WMBlazorOverlayScrollbars/WMBlazorOverlayScrollbars.bundle.scp.css';

/* _content/Atlas.Admin/Components/Pages/AdminHome.razor.rz.scp.css */
/* ═══ Dashboard Box ═══ */
.dash-box[b-mtqsqrwqwm] {
    background: rgb(18, 20, 22);
    border-radius: 16px;
    padding: 24px 28px;
    color: rgba(255, 255, 255, 0.7);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
}

/* Light Mode Overrides */
[data-theme-mode='light'] .dash-box[b-mtqsqrwqwm] {
    background: #fff;
    color: #323b43;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.dash-box:hover[b-mtqsqrwqwm] {
    box-shadow: 0 8px 32px rgba(17, 28, 67, 0.35);
    transform: translateY(-3px);
}

[data-theme-mode='light'] .dash-box:hover[b-mtqsqrwqwm] {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ═══ Box Header ═══ */
.dash-box-header[b-mtqsqrwqwm] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.dash-box-icon[b-mtqsqrwqwm] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.layers-icon[b-mtqsqrwqwm] {
    background: linear-gradient(135deg, #696cff, #8b8eff);
}

.users-icon[b-mtqsqrwqwm] {
    background: linear-gradient(135deg, #00b0ff, #40c4ff);
}

.gis-icon[b-mtqsqrwqwm] {
    background: linear-gradient(135deg, #ef5350, #ff8a80);
}

.status-icon[b-mtqsqrwqwm] {
    background: linear-gradient(135deg, #28c76f, #55d98d);
}

.dash-box-title[b-mtqsqrwqwm] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

[data-theme-mode='light'] .dash-box-title[b-mtqsqrwqwm] {
    color: #323b43;
}

.dash-box-subtitle[b-mtqsqrwqwm] {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

[data-theme-mode='light'] .dash-box-subtitle[b-mtqsqrwqwm] {
    color: #8c90a7;
}

/* ═══ Stats Row ═══ */
.dash-box-stats[b-mtqsqrwqwm] {
    display: flex;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
}

[data-theme-mode='light'] .dash-box-stats[b-mtqsqrwqwm] {
    border-top: 1px solid #f3f3f3;
}

.dash-stat[b-mtqsqrwqwm] {
    flex: 1;
    text-align: center;
}

.dash-stat-value[b-mtqsqrwqwm] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 4px;
}

[data-theme-mode='light'] .dash-stat-value[b-mtqsqrwqwm] {
    color: #323b43;
}

.dash-stat-label[b-mtqsqrwqwm] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

[data-theme-mode='light'] .dash-stat-label[b-mtqsqrwqwm] {
    color: #8c90a7;
}

/* ═══ Status Badges ═══ */
.status-badge[b-mtqsqrwqwm] {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.badge-ok[b-mtqsqrwqwm] {
    background: rgba(40, 199, 111, 0.2);
    color: #5cdd8b;
}

[data-theme-mode='light'] .badge-ok[b-mtqsqrwqwm] {
    background: #e7f7ed;
    color: #28c76f;
}

.badge-err[b-mtqsqrwqwm] {
    background: rgba(239, 83, 80, 0.2);
    color: #ff8a80;
}

[data-theme-mode='light'] .badge-err[b-mtqsqrwqwm] {
    background: #fbeae9;
    color: #ef5350;
}

.badge-warn[b-mtqsqrwqwm] {
    background: rgba(255, 171, 0, 0.2);
    color: #ffd54f;
}

[data-theme-mode='light'] .badge-warn[b-mtqsqrwqwm] {
    background: #fff8e5;
    color: #ffab00;
}

/* ═══ Charts & Recent Items ═══ */
.chart-box .mud-chart text[b-mtqsqrwqwm] {
    fill: #fff !important;
}

[data-theme-mode='light'] .chart-box .mud-chart text[b-mtqsqrwqwm] {
    fill: #323b43 !important;
}

.recent-item[b-mtqsqrwqwm] {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: background 0.2s ease;
}

[data-theme-mode='light'] .recent-item[b-mtqsqrwqwm] {
    background: #f8f9fa;
}

.recent-item:hover[b-mtqsqrwqwm] {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme-mode='light'] .recent-item:hover[b-mtqsqrwqwm] {
    background: #f0f2f4;
}

.recent-title[b-mtqsqrwqwm] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

[data-theme-mode='light'] .recent-title[b-mtqsqrwqwm] {
    color: #323b43;
}

.recent-subtitle[b-mtqsqrwqwm] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

[data-theme-mode='light'] .recent-subtitle[b-mtqsqrwqwm] {
    color: #8c90a7;
}

/* ═══ Utilities ═══ */
.fw-semibold[b-mtqsqrwqwm] {
    font-weight: 600 !important;
}
