

@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');

        body {
            font-family: 'Kanit', sans-serif;
            background: #fafafa;
            color: #2e7d32;
        }
     
   /* Main Container */
        .statistics-container {
            max-width: 1800px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }

        /* Header */
        .header-section {
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem 0;
        }

        .header-section h1 {
            font-size: 2.2rem;
            color: #2e7d32;
            font-weight: 400;
            margin-bottom: 0.5rem;
        }

        /* About Card */
        .about-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            border: 1px solid #e0e0e0;
            display: flex;
            min-height: 850px;
        }

        /* Tabs Navigation */
        .tabs {
            background: #f8f9fa;
            padding: 2rem;
            border-right: 1px solid #e0e0e0;
            width: 280px;
            flex-shrink: 0;
        }

        .tab-group-title {
            font-size: 1rem;
            font-weight: 600;
            color: #2e7d32;
            margin: 1.5rem 0 0.8rem 0;
            padding: 0.8rem 0;
            border-bottom: 2px solid #ffd700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .tab-group-title:first-child {
            margin-top: 0;
        }

        .tab-link {
            display: block;
            padding: 1rem 1.2rem;
            margin: 0.3rem 0;
            color: #666;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.2s ease;
            font-weight: 400;
            background: transparent;
            position: relative;
            font-size: 0.9rem;
        }

        .tab-link:hover {
            background: #f0f0f0;
            color: #2e7d32;
        }

        .tab-link.active {
            background: #2e7d32;
            color: white;
        }

        /* Content Area */
        .content {
            padding: 0;
            background: white;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        #chartFrame {
            width: 100%;
            height: 850px;
            border: none;
            background: white;
            flex: 1;
            transform: scale(1.05);
            transform-origin: top left;
        }

        /* Loading Animation */
        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 200px;
            color: #2d5a3d;
        }

        .loading::after {
            content: '';
            width: 40px;
            height: 40px;
            border: 4px solid rgba(212, 175, 55, 0.3);
            border-top: 4px solid #d4af37;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-left: 1rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .statistics-container {
                padding: 2rem 1rem;
            }

            .breadcrumb-text {
                font-size: 2rem;
            }

            .header-section h1 {
                font-size: 1.8rem;
            }

            .about-card {
                flex-direction: column;
                min-height: auto;
            }

            .tabs {
                padding: 1.5rem;
                width: 100%;
                border-right: none;
                border-bottom: 1px solid #e0e0e0;
            }

            .tab-link {
                padding: 0.8rem 1rem;
                font-size: 0.9rem;
            }

            #chartFrame {
                height: 600px;
                transform: scale(1);
            }
        }

        @media (max-width: 480px) {
            .breadcrumb-nav {
                padding: 0.8rem 1rem;
                font-size: 0.85rem;
            }

            .tab-group-title {
                font-size: 0.9rem;
                padding: 0.6rem 0;
            }

            .tab-link {
                margin: 0.2rem 0;
            }
        }