/* Global Reset & System Font Stack */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;

    /* Light Theme Palette (Default) */
    --bg-app: #f5f5f7;
    --bg-sidebar: rgba(255, 255, 255, 0.6);
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --bg-input: #f2f2f7;
    --border-color: rgba(0, 0, 0, 0.06);
    --border-color-strong: rgba(0, 0, 0, 0.12);
    
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-tertiary: #b0b0b5;
    
    /* Apple SF UI Colors */
    --sf-green: #34c759;
    --sf-green-bg: rgba(52, 199, 89, 0.1);
    --sf-blue: #007aff;
    --sf-blue-bg: rgba(0, 122, 255, 0.1);
    --sf-purple: #af52de;
    --sf-purple-bg: rgba(175, 82, 222, 0.1);
    --sf-orange: #ff9500;
    --sf-orange-bg: rgba(255, 149, 0, 0.1);
    --sf-red: #ff3b30;
    --sf-red-bg: rgba(255, 59, 48, 0.1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    
    --sidebar-width: 250px;
    --transition-speed: 0.3s;
}

/* Dark Theme Variables */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-app: #000000;
        --bg-sidebar: rgba(22, 22, 23, 0.7);
        --bg-card: #1c1c1e;
        --bg-card-hover: #2c2c2e;
        --bg-input: #2c2c2e;
        --border-color: rgba(255, 255, 255, 0.06);
        --border-color-strong: rgba(255, 255, 255, 0.12);
        
        --text-primary: #f5f5f7;
        --text-secondary: #86868b;
        --text-tertiary: #48484a;
        
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
        --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-app);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Main Container Layout */
.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Sidebar Styling (macOS style) */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    backdrop-filter: blur(25px) saturate(190%);
    -webkit-backdrop-filter: blur(25px) saturate(190%);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    z-index: 10;
    flex-shrink: 0;
}

.sidebar-header {
    margin-bottom: 32px;
    padding-left: 8px;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(255, 149, 0, 0.3));
}

.logo-text {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.nav-item i {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-item:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
    .nav-item:hover {
        background-color: rgba(255, 255, 255, 0.04);
    }
}

.nav-item.active {
    background-color: var(--sf-blue-bg);
    color: var(--sf-blue);
}

.nav-item.active i {
    color: var(--sf-blue);
}

.sidebar-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.settings-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.settings-btn:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

/* Main Content Area Styling */
.main-content {
    flex-grow: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
}

/* Scrollbar styling */
.main-content::-webkit-scrollbar {
    width: 8px;
}
.main-content::-webkit-scrollbar-track {
    background: transparent;
}
.main-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
@media (prefers-color-scheme: dark) {
    .main-content::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Header Bar */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.content-header h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.content-header .subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 400;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.refresh-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--sf-green);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px var(--sf-green);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--sf-green);
    animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.8); opacity: 0; }
}

.time-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--text-primary);
    color: var(--bg-app);
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.action-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

.action-btn i {
    width: 14px;
    height: 14px;
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-app);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    transition: opacity 0.4s ease;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3.5px solid var(--border-color-strong);
    border-top: 3.5px solid var(--sf-blue);
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loading-overlay p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    flex-direction: column;
    gap: 32px;
    animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* KPI Cards Layout */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

.kpi-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--sf-green-bg);
    color: var(--sf-green);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.kpi-icon i {
    width: 22px;
    height: 22px;
}

.kpi-icon.accent-blue {
    background-color: var(--sf-blue-bg);
    color: var(--sf-blue);
}

.kpi-icon.accent-purple {
    background-color: var(--sf-purple-bg);
    color: var(--sf-purple);
}

.kpi-icon.accent-orange {
    background-color: var(--sf-orange-bg);
    color: var(--sf-orange);
}

.kpi-info {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.kpi-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.kpi-value-container {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.kpi-unit {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

.kpi-change {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.kpi-change.warning {
    color: var(--sf-orange);
}

.kpi-change.danger {
    color: var(--sf-red);
}

.kpi-change.success {
    color: var(--sf-green);
}

/* Custom design for Main Balance KPI Card */
.balance-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card));
    border: 1px solid var(--border-color);
}

.balance-card .kpi-icon {
    background-color: var(--sf-green);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

/* Gradient background accent for balance card */
.card-bg-gradient {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.15) 0%, rgba(52, 199, 89, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Panel Card Styles (Standard Container) */
.panel-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.panel-header h2 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.panel-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Segmented Control (macOS Style Tabs) */
.segmented-control {
    background-color: var(--bg-input);
    padding: 3px;
    border-radius: 9px;
    display: inline-flex;
    gap: 2px;
}

.segment-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.segment-btn:hover {
    color: var(--text-primary);
}

.segment-btn.active {
    background-color: var(--bg-card);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 1px rgba(0,0,0,0.02);
}

@media (prefers-color-scheme: dark) {
    .segment-btn.active {
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }
}

/* Dashboard Split Columns */
.dashboard-split {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr;
    gap: 24px;
    align-items: start;
}

/* Chart Containers */
.chart-container {
    position: relative;
    width: 100%;
}

.main-chart {
    height: 360px;
}

.mini-chart {
    height: 220px;
}

.mini-bar-chart {
    height: 180px;
}

/* Text link button style */
.text-link-btn {
    background: none;
    border: none;
    color: var(--sf-blue);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.text-link-btn:hover {
    opacity: 0.8;
}

/* Insight Summary List Card */
.insight-summary-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.insight-item {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.insight-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.insight-icon-container {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.insight-icon-container.danger {
    background-color: var(--sf-red-bg);
    color: var(--sf-red);
}

.insight-icon-container.warning {
    background-color: var(--sf-orange-bg);
    color: var(--sf-orange);
}

.insight-icon-container.info {
    background-color: var(--sf-blue-bg);
    color: var(--sf-blue);
}

.insight-icon-container.success {
    background-color: var(--sf-green-bg);
    color: var(--sf-green);
}

.insight-item i {
    width: 18px;
    height: 18px;
}

.insight-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.insight-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.insight-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Simple recharges horizontal preview list */
.recharges-simple-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.simple-recharge-item {
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.recharge-accent-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--sf-green);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.recharge-accent-icon i {
    width: 16px;
    height: 16px;
}

.recharge-simple-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.recharge-simple-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.recharge-simple-date {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Table Design (iOS Settings Style Table) */
.table-container {
    width: 100%;
    overflow-x: auto;
}

.ios-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.ios-table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color-strong);
}

.ios-table td {
    font-size: 14px;
    color: var(--text-primary);
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.ios-table tbody tr {
    transition: background-color 0.2s;
}

.ios-table tbody tr:hover {
    background-color: var(--bg-card-hover);
}

.recharge-amount-cell {
    font-weight: 600;
    color: var(--sf-green);
}

.text-center {
    text-align: center;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
}

.badge.success {
    background-color: var(--sf-green-bg);
    color: var(--sf-green);
}

/* Stat row list for insights page */
.stats-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-name {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-value.highlight-red {
    color: var(--sf-red);
}

/* Grid layout for full insights tab */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.insight-large-card {
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
}

.insight-large-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.insight-large-icon.purple {
    background-color: var(--sf-purple-bg);
    color: var(--sf-purple);
}

.insight-large-icon.orange {
    background-color: var(--sf-orange-bg);
    color: var(--sf-orange);
}

.insight-large-icon.blue {
    background-color: var(--sf-blue-bg);
    color: var(--sf-blue);
}

.insight-large-icon.green {
    background-color: var(--sf-green-bg);
    color: var(--sf-green);
}

.insight-large-icon i {
    width: 24px;
    height: 24px;
}

.insight-large-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.insight-large-content h3 {
    font-size: 16px;
    font-weight: 600;
}

.insight-large-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Modal Styling (macOS sheet style overlay) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-sheet {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color-strong);
    border-radius: var(--radius-xl);
    width: 480px;
    max-width: 90%;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-overlay.open .modal-sheet {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.close-icon-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.close-icon-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 13px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--sf-blue);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.field-help {
    font-size: 11px;
    color: var(--text-secondary);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    background-color: var(--bg-app);
    border-top: 1px solid var(--border-color);
}

.btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.btn.primary {
    background-color: var(--sf-blue);
    color: #ffffff;
}

.btn.secondary {
    background-color: var(--border-color-strong);
    color: var(--text-primary);
}

.btn:hover {
    opacity: 0.9;
}

/* Margin and Utility Helpers */
.mt-24 { margin-top: 24px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Responsive Styling (Mobile layout) */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: 64px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        border-right: none;
        border-top: 1px solid var(--border-color);
        background-color: var(--bg-sidebar);
        z-index: 100;
    }
    
    .sidebar-header {
        display: none;
    }
    
    .sidebar-nav {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        gap: 0;
        margin: 0;
    }
    
    .nav-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 6px 0;
        font-size: 10px;
        border-radius: 0;
        background: none !important;
        text-align: center;
        height: 100%;
    }
    
    .nav-item.active {
        color: var(--sf-blue);
    }
    
    .nav-item.active i {
        color: var(--sf-blue);
    }
    
    .sidebar-footer {
        display: none; /* Can trigger settings from header button or just skip on mobile footer */
    }
    
    /* Modify main content padding to accommodate mobile nav bottom bar */
    .main-content {
        padding: 24px 20px 88px 20px;
        height: calc(100vh - 64px);
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .dashboard-split {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .recharges-simple-list {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .insight-large-card {
        padding: 16px;
    }
}
