.metric-card {
  background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 16px; display: flex; flex-direction: column; justify-content: space-between;
  transition: box-shadow 0.2s ease; margin: 8px;
}
.metric-card:hover { box-shadow: 0 4px 10px rgba(0,0,0,0.12); }
.metric-header { display: flex; justify-content: space-between; align-items: center; }
.metric-title { font-size: 13px; color: #6b7280; }
.metric-value { font-size: 24px; font-weight: 700; color: #111827; margin-top: 4px; }
.metric-change { font-size: 13px; margin-top: 4px; }
.change-up { color: #16a34a; }
.change-down { color: #dc2626; }
.chart-card { box-shadow: unset !important; }
.chart-header { font-weight:600; margin-bottom:8px; }
.chart-container { height:300px; }

        
        .metric-card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            padding: 25px;
            text-align: center;
            transition: transform 0.3s ease;
        }
        
        .metric-card:hover {
            transform: translateY(-5px);
        }
        
        .metric-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .metric-title {
            font-size: 18px;
            font-weight: 600;
            color: #5f6368;
        }
        
        .metric-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
        }
        
        .users .metric-icon { background: #4285f4; }
        .sessions .metric-icon { background: #0f9d58; }
        .bouncerate .metric-icon { background: #db4437; }
        .pageviews .metric-icon { background: #f4b400; }
        
        .metric-value {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .metric-change {
            font-size: 14px;
            padding: 5px 10px;
            border-radius: 20px;
            display: inline-block;
        }
        
        .change-up {
            background: #e6f4ea;
            color: #0f9d58;
        }
        
        .change-down {
            background: #fce8e6;
            color: #db4437;
        }
        
        @media (max-width: 900px) {
            .charts-container {
                grid-template-columns: 1fr;
            }
        }
        
        .chart-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
        }
        
        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .chart-title {
            font-size: 18px;
            font-weight: 600;
            color: #5f6368;
        }
        
        .chart-actions {
            display: flex;
            gap: 10px;
        }
        
        .chart-actions button {
            padding: 8px 15px;
            font-size: 14px;
            min-width: auto;
            background: #f1f3f4;
            color: #5f6368;
        }
        
        .chart-actions button.active {
            background: #4285f4;
            color: white;
        }
        
        .chart-container {
            height: 300px;
            position: relative;
        }
        
        .help-text {
            background: white;
            padding: 25px;
            border-radius: 0 0 10px 10px;
            font-size: 14px;
            color: #5f6368;
            line-height: 1.6;
        }
        
        .help-text a {
            color: #4285f4;
            text-decoration: none;
        }
        
        .help-text a:hover {
            text-decoration: underline;
        }
