/* 
   ADWE 2026 - SENIOR DASHBOARD ARCHITECTURE
   Industrial Premium - Monolithic Edition
*/
:root {
    --dash-primary: #ff3344;
    --dash-primary-light: #ff6677;
    --dash-bg: #121214;
    --dash-surface: #1a1a1e;
    --dash-text: #ffffff;
    --dash-text-muted: #9ca3af;
    --dash-border: rgba(255, 51, 68, 0.12);
    --dash-radius: 12px;
    --dash-radius-lg: 20px;
    --success: #27c93f;
    --info: #0ea5e9;
    --warning: #f59e0b;
    --danger: #ef476f;
}

body.adwe-body {
    background-color: #0d0d0f;
    background-image: url('/assets/img/bg-dashboard.png');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--dash-text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* --- MONOLITHIC SIDEBAR --- */
.monolithic-layout .sidebar {
    background: var(--dash-surface);
    width: 260px;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    border-right: 1px solid var(--dash-border);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-logo {
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: rgba(0,0,0,0.1);
}

.sidebar-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 10px 22px;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.sidebar-content::-webkit-scrollbar {
    width: 8px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.22);
    border: 2px solid var(--dash-surface);
    border-radius: 999px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: rgba(167, 139, 250, 0.38);
}

.sidebar-nav {
    list-style: none;
    margin: 0; padding: 0;
}

.nav-header {
    color: rgba(255,255,255,0.2);
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 18px 14px 7px;
}

.sidebar-nav > li > a {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    color: var(--dash-text-muted);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.2s;
    gap: 12px;
}

.sidebar-nav > li > a i {
    width: 20px;
    font-size: 1rem;
    color: rgba(139, 92, 246, 0.4);
    transition: all 0.2s;
}

.sidebar-nav > li > a:hover {
    background: rgba(255,255,255,0.03);
    color: #fff;
}

.sidebar-nav > li.active > a {
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
}

.sidebar-nav > li.active > a i {
    color: var(--dash-primary-light);
}

/* --- MINIMALIST CONTEXT HEADER --- */
.monolithic-layout .main-content {
    margin-left: 260px;
    min-height: 100vh;
    padding-bottom: 40px;
}

.minimal-header {
    height: 100px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border-bottom: 1px solid var(--dash-border);
}

.header-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -1px;
}

.header-breadcrumb {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dash-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.header-breadcrumb i { font-size: 0.6rem; opacity: 0.5; }
.header-breadcrumb .active { color: var(--dash-primary-light); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.admin-header-action {
    width: 42px;
    height: 42px;
    border: 1px solid var(--dash-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--dash-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.admin-header-action:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(167, 139, 250, 0.28);
    color: #fff;
}

.payment-alert {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(239, 71, 111, 0.1);
    color: var(--danger);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    animation: pulse-danger 2s infinite;
}

@keyframes pulse-danger {
    0% { box-shadow: 0 0 0 0 rgba(239, 71, 111, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(239, 71, 111, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 71, 111, 0); }
}

/* --- IDENTITY HUB --- */
.header-identity-hub {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.2s;
    position: relative;
}

.header-identity-hub:hover {
    background: rgba(255,255,255,0.03);
}

.hub-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.hub-balance {
    color: var(--success);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.hub-username {
    color: var(--dash-text-muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hub-avatar {
    width: 42px; height: 42px;
    background: var(--dash-primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 900; font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 240px;
    background: #241537;
    border: 1px solid var(--dash-border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 8px;
    z-index: 2000;
}

.user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--dash-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.2s;
    gap: 12px;
}

.user-dropdown a:hover {
    background: rgba(255,255,255,0.04);
    color: #fff;
}

.user-dropdown .divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 8px;
}

/* Page Wrapper */
.page-wrapper {
    padding: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    .monolithic-layout .sidebar { transform: translateX(-100%); }
    .monolithic-layout .sidebar.active { transform: translateX(0); }
    .monolithic-layout .main-content { margin-left: 0; }
    .minimal-header { padding: 0 20px; }
    .hub-info { display: none; }
}

/* Rest of the component styles... */

/* --- BADGES --- */
.adwe-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
}
.adwe-badge-success { background: rgba(39, 201, 63, 0.1); color: var(--success); border: 1px solid rgba(39, 201, 63, 0.3); }
.adwe-badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); }
.adwe-badge-danger { background: rgba(239, 71, 111, 0.1); color: var(--danger); border: 1px solid rgba(239, 71, 111, 0.3); }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--dash-surface);
    border-radius: var(--dash-radius-lg);
    border: 1px solid var(--dash-border);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--dash-primary);
    box-shadow: 0 12px 30px rgba(0,0,0,0.32);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(157, 78, 221, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--dash-primary-light);
    flex-shrink: 0;
}

.stat-value {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
}

.stat-label {
    color: var(--dash-text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tables */
.adwe-table {
    width: 100%;
    border-collapse: collapse;
}

.adwe-table th {
    text-align: left;
    padding: 15px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--dash-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--dash-border);
}

.adwe-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.9rem;
}

.adwe-table tr:last-child td { border-bottom: none; }
.adwe-table tbody tr:hover { background: rgba(167, 139, 250, 0.06); }

/* --- BADGES --- */
.adwe-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
}
.adwe-badge-success { background: rgba(39, 201, 63, 0.1); color: var(--success); border: 1px solid rgba(39, 201, 63, 0.3); }
.adwe-badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); }
.adwe-badge-danger { background: rgba(239, 71, 111, 0.1); color: var(--danger); border: 1px solid rgba(239, 71, 111, 0.3); }

/* --- DASHBOARD INNER PAGES --- */
.page-wrapper {
    padding: 40px;
    flex: 1;
}

/* Page Header */
.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: -0.5px;
}

.page-header p {
    color: var(--dash-text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--dash-surface);
    border-radius: var(--dash-radius-lg);
    border: 1px solid var(--dash-border);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.08), transparent);
    z-index: 0;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--dash-primary);
    box-shadow: 0 12px 30px rgba(0,0,0,0.32);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(157, 78, 221, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--dash-primary-light);
    flex-shrink: 0;
    z-index: 1;
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.stat-icon.icon-success { background: rgba(39, 201, 63, 0.1); color: var(--success); border-color: rgba(39, 201, 63, 0.2); }
.stat-icon.icon-info { background: rgba(14, 165, 233, 0.1); color: var(--info); border-color: rgba(14, 165, 233, 0.2); }
.stat-icon.icon-warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); border-color: rgba(245, 158, 11, 0.2); }

.stat-content {
    flex: 1;
    z-index: 1;
}

.stat-value {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.stat-label {
    color: var(--dash-text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-link {
    color: var(--dash-primary-light);
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 700;
    margin-top: 8px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-link:hover { color: #fff; }

/* Cards & Layout */
.dashboard-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.dashboard-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.adwe-card {
    background: var(--dash-surface);
    border-radius: var(--dash-radius-lg);
    border: 1px solid var(--dash-border);
    overflow: hidden;
}

.adwe-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 8, 24, 0.22);
}

.adwe-card-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.adwe-card-body {
    padding: 24px;
}

/* Tables */
.adwe-table {
    width: 100%;
    border-collapse: collapse;
}

.adwe-table th {
    text-align: left;
    padding: 15px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--dash-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--dash-border);
}

.adwe-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.9rem;
    color: var(--dash-text);
}

.adwe-table tr:last-child td { border-bottom: none; }
.adwe-table tbody tr:hover { background: rgba(167, 139, 250, 0.06); }

/* Forms & Inputs */
.dash-form-group {
    margin-bottom: 20px;
}

.dash-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dash-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dash-input {
    width: 100%;
    background: rgba(15, 8, 24, 0.18);
    border: 1px solid var(--dash-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.dash-input:focus {
    border-color: var(--dash-primary);
    background: rgba(139, 92, 246, 0.08);
    outline: none;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.1);
}

.dash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--dash-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.dash-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(157, 78, 221, 0.3);
}

.dash-btn-outline {
    background: transparent;
    border: 1px solid rgba(157, 78, 221, 0.4);
    color: var(--dash-primary-light);
}

.dash-btn-outline:hover {
    background: rgba(157, 78, 221, 0.1);
    border-color: var(--dash-primary);
    color: #fff;
}

/* Recent Offers Widget */
.offers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(15, 8, 24, 0.18);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.2s ease;
}

.offer-item:hover {
    background: rgba(157, 78, 221, 0.05);
    border-color: rgba(157, 78, 221, 0.2);
    transform: translateX(4px);
}

.offer-icon-small {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(157, 78, 221, 0.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
    color: var(--dash-primary-light);
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.offer-content-small {
    flex: 1; min-width: 0;
}

.offer-title-small {
    font-weight: 700; color: #fff; font-size: 0.9rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.offer-time-small {
    color: var(--dash-text-muted); font-size: 0.75rem; font-weight: 600;
}

.offer-amount-small {
    font-weight: 800; color: var(--success); font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.active { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .page-wrapper { padding: 20px; }
    .dashboard-columns { grid-template-columns: 1fr; }
}

/* --- SENIOR MATRIX UTILITIES --- */
.hud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.hud-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(36, 21, 55, 0.92));
    border: 1px solid var(--dash-border);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-card:hover {
    transform: translateY(-5px);
    border-color: var(--dash-primary-light);
    box-shadow: 0 14px 34px rgba(0,0,0,0.38);
}

.hud-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(199, 125, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hud-val {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.hud-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--dash-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.trend-up { color: #27c93f; font-size: 0.8rem; font-weight: 700; }
.trend-down { color: #ef476f; font-size: 0.8rem; font-weight: 700; }

.matrix-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.live-stream-card {
    background: var(--dash-surface);
    border-radius: 24px;
    border: 1px solid var(--dash-border);
    display: flex;
    flex-direction: column;
}

.stream-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all 0.2s;
}

.stream-item:hover {
    background: rgba(157, 78, 221, 0.05);
}

.stream-meta {
    flex: 1;
}

.stream-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.stream-sub {
    font-size: 0.75rem;
    color: var(--dash-text-muted);
}

.stream-amount {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 1rem;
}

@media (max-width: 1200px) {
    .matrix-container { grid-template-columns: 1fr; }
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.dashboard-hero-card {
    background:
        radial-gradient(circle at top right, rgba(167, 139, 250, 0.22), transparent 35%),
        linear-gradient(135deg, rgba(48, 28, 70, 0.94), rgba(33, 19, 50, 0.98));
    border: 1px solid var(--dash-border);
    border-radius: 28px;
    padding: 30px;
}

.dashboard-hero-card h1 {
    margin: 0 0 10px;
    font-size: 2.2rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.dashboard-hero-card p {
    margin: 0;
    max-width: 760px;
    color: var(--dash-text-muted);
    line-height: 1.7;
}

.dashboard-hero-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.dashboard-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.dashboard-chip-muted {
    color: var(--dash-text-muted);
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.dashboard-kpi {
    background: linear-gradient(180deg, rgba(44, 26, 65, 0.96), rgba(34, 20, 52, 0.96));
    border: 1px solid var(--dash-border);
    border-radius: 22px;
    padding: 22px;
    min-width: 0;
}

.dashboard-kpi-label {
    margin-bottom: 12px;
    color: var(--dash-text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dashboard-kpi-value {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.dashboard-kpi-meta {
    margin-top: 10px;
    min-height: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.dashboard-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.dashboard-matrix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-metric-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 18px;
    min-width: 0;
}

.dashboard-metric-title {
    color: var(--dash-text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}

.dashboard-metric-value {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.dashboard-metric-note {
    margin-top: 8px;
    color: var(--dash-text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.dashboard-progress {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 14px;
}

.dashboard-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dash-primary), var(--dash-primary-light));
}

.dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-list-meta {
    flex: 1;
    min-width: 0;
}

.dashboard-list-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-list-sub {
    margin-top: 4px;
    color: var(--dash-text-muted);
    font-size: 0.76rem;
    font-weight: 600;
}

.dashboard-list-amount {
    text-align: right;
    font-size: 0.92rem;
    font-weight: 900;
    white-space: nowrap;
}

.dashboard-empty {
    padding: 46px 20px;
    text-align: center;
    color: var(--dash-text-muted);
    opacity: 0.85;
}

.dashboard-empty i {
    display: block;
    margin-bottom: 14px;
    font-size: 1.7rem;
}

.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, rgba(46, 28, 68, 0.96), rgba(36, 21, 55, 0.96));
    border: 1px solid var(--dash-border);
    border-radius: 20px;
    transition: all 0.25s ease;
}

.dashboard-action:hover {
    transform: translateY(-4px);
    border-color: var(--dash-primary-light);
    background: linear-gradient(180deg, rgba(58, 35, 84, 0.98), rgba(43, 25, 66, 0.98));
}

.dashboard-action-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid rgba(157, 78, 221, 0.2);
    color: var(--dash-primary-light);
    font-size: 1rem;
}

.dashboard-action-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
}

.dashboard-action-sub {
    color: var(--dash-text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.dashboard-chart-wrap {
    position: relative;
    height: 280px;
}

.dashboard-chart-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
}

@media (max-width: 1400px) {
    .dashboard-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .dashboard-hero,
    .dashboard-section-grid,
    .dashboard-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .dashboard-kpi-grid,
    .dashboard-matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .content-header-bar {
        padding: 0 20px;
        height: auto;
        min-height: 80px;
    }

    .dashboard-hero-card,
    .dashboard-kpi,
    .dashboard-action,
    .dashboard-metric-box {
        padding: 18px;
    }

    .dashboard-kpi-grid,
    .dashboard-matrix {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-card h1 {
        font-size: 1.8rem;
    }
}
