.reports-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.reports-hero {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    border-radius: 20px;
    padding: 48px 40px;
    margin-bottom: 32px;
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.3);
    position: relative;
    overflow: hidden;
}

.reports-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-icon {
    display: inline-flex;
    padding: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    color: white;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

/* Colors for stats */
.bg-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.bg-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.bg-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.bg-orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

/* Charts Section */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.chart-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.chart-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* Clean Filter Section */
.filter-section-clean {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-header-clean {
    margin-bottom: 20px;
}

.filter-title-clean {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.filter-subtitle-clean {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.filter-groups-clean {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-group-clean {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-label-clean {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-pills-clean {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-clean {
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.pill-clean:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.pill-clean.selected {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
}

.no-data-clean {
    font-size: 13px;
    color: #94a3b8;
    padding: 8px 0;
}

/* Simple CSS Bar Chart */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bar-label {
    width: 160px;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    text-align: right;
}

.stat-name {
    display: block;
    line-height: 1.2;
}

.stat-unit {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
}

.table-unit-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.bar-track {
    flex: 1;
    height: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-out;
}

.bar-value {
    width: 40px;
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
    text-align: right;
}

/* Modern Table Styles */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-table th {
    text-align: left;
    padding: 16px 20px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.modern-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 14px;
    background: white;
    transition: background 0.2s;
}

.modern-table tr:hover td {
    background: #f8fafc;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-small {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

@media (max-width: 768px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }

    .stats-overview {
        grid-template-columns: 1fr 1fr;
    }
}