 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: white;
            min-height: 100vh;
            padding: 2rem;
            color: #333;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            font-weight: bold;
            color: #333;
        }

        .header p {
            font-size: 1.1rem;
            color: #666;
        }

        .controls {
        }

        .controls label {
            font-weight: 600;
            font-size: 1rem;
            color: #333;
        }

        .button-group {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        button {
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 0.375rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }

        .btn-window {
            background-color: #e5e7eb;
            color: #333;
            border: 2px solid #d1d5db;
        }

        .btn-window:hover {
            background-color: #d1d5db;
        }

        .btn-window.active {
            background-color: #3b82f6;
            color: white;
            border-color: #3b82f6;
        }

        .chart-wrapper {
            background: white;
            border-radius: 0.5rem;
            padding: 2rem;
            backdrop-filter: blur(10px);
            margin-bottom: 2rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid #ddd;
        }

        .chart-container {
            position: relative;
            height: 600px;
            width: 100%;
        }

        .stats {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
        }

        .stat-box {
            background: white;
            border-radius: 0.5rem;
            padding: 1.5rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: black;
            flex: 0 1 200px;
        }

        .stat-label {
            font-size: 0.875rem;
            color: #666;
            margin-bottom: 0.5rem;
        }

        .stat-value {
            font-size: 1.875rem;
            font-weight: bold;
            color: #333;
        }
        
        .stat-box:nth-child(2) .stat-value {
            color: #ef4444;
        }

        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 600px;
            font-size: 1.5rem;
        }

        .error {
            background: rgba(239, 68, 68, 0.2);
            border: 1px solid rgba(239, 68, 68, 0.5);
            border-radius: 0.5rem;
            padding: 1rem;
            color: #fecaca;
            margin-bottom: 2rem;
        }
		
		.footer {
            padding: 15px 20px;
            
            text-align: center;
            font-size: 11px;
            color: #888;
            
        }
        
        .footer a {
            color: #4CAF50;
            text-decoration: none;
        }

       @media (max-width: 768px) {
            .header h1 {
                font-size: 1.4rem;
            }

            .controls {
                flex-direction: column;
            }

            .chart-container {
                height: 400px;
            }
        }
		
		@media (max-width: 480px) {
    .header h1 {
        font-size: 1.25rem;
    }
}

@media (max-width: 414px) {
    .header h1 {
        font-size: 1.25rem;
    }
}