/* / پس‌زمینه کلی / */
.dashboard-body {
    background: #0f0a1f;
    color: #fff;
    display: flex;
    font-family: "IRANSans", sans-serif;
}

/* / سایدبار / */
.sidebar {
    width: 220px;
    background: #120d2b;
    padding: 20px;
    height: 100vh;
    position: fixed;
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.4);
}

.sidebar .logo {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: #a855f7;
}

.sidebar nav a {
    display: block;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    color: #cbd5e1;
    transition: 0.3s;
    cursor: pointer;
}

.sidebar nav a:hover,
.sidebar nav .active {
    background: rgba(168, 85, 247, 0.2);
    color: #fff;
}

/* / محتوای اصلی / */
.dashboard-main {
    margin-right: 240px;
    padding: 30px;
    width: 100%;
}


/* / هدر / */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header input {
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    background: #1e163d;
    color: #fff;
}

/* / کارت‌های آماری / */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    padding: 20px;
    border-radius: 16px;
    background: #1a1333;
    text-align: center;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.number {
    font-size: 28px;
    margin-top: 10px;
}

/* / رنگ‌های Glow / */
.glow-1 {
    border-bottom: 3px solid #3b82f6;
}

.glow-2 {
    border-bottom: 3px solid #a855f7;
}

.glow-3 {
    border-bottom: 3px solid #22d3ee;
}

.glow-4 {
    border-bottom: 3px solid #f472b6;
}

/* / چارت / */
.chart-section {
    margin-top: 40px;
    background: #1a1333;
    padding: 20px;
    border-radius: 16px;
}

/* / جدول / */
.table-section {
    margin-top: 40px;
    background: #1a1333;
    padding: 20px;
    border-radius: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    text-align: right;
}

.status.active {
    color: #22d3ee;
}

.status.pending {
    color: #facc15;
}

.status.banned {
    color: #ef4444;
}