/* SAAS.CSS - Dashboard Modern UI (v13.0) */
#dashboardArea { position: relative; }
#dashboardArea::before {
    content: ''; position: absolute; inset: -12px 0 auto 0;
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 34%),
                linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0));
    pointer-events: none;
}

.db-surface-card, .db-sidebar-wrapper {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.db-hero-card {
    position: relative; overflow: hidden; padding: 24px; margin-bottom: 18px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff;
}

.db-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; z-index: 2; position: relative; }

.db-hero-stat {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px; padding: 16px; background: rgba(255, 255, 255, 0.05);
}

.db-kpi-card { border-radius: 24px; padding: 24px; text-align: center; }
.db-kpi-ring {
    position: relative; width: 120px; height: 120px; margin: 15px auto;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.db-circle-inner {
    width: 100px; height: 100px; border-radius: 50%; background: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.db-chart-card { border-radius: 24px; overflow: hidden; background: #fff; }
.db-chart-grid { height: 250px; padding: 20px; display: flex; align-items: flex-end; gap: 10px; }
.db-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.db-bar-track { width: 100%; flex-grow: 1; background: #f1f5f9; border-radius: 10px; display: flex; align-items: flex-end; padding: 4px; }
.db-bar { width: 100%; border-radius: 6px; transition: height 0.5s ease; }
.db-bar-success { background: linear-gradient(180deg, #34d399, #059669); }

.db-sidebar-wrapper { padding: 20px; height: 100%; }
.db-stack-accordion .accordion-item { border: 1px solid rgba(0,0,0,0.05); border-radius: 15px !important; margin-bottom: 10px; overflow: hidden; }
.db-icon-sm { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; }
.db-icon-primary { background: #4f46e5; }
.db-icon-info { background: #0ea5e9; }
.db-icon-warning { background: #f59e0b; }