/* 
 * Peppol Statistieken - Pagina Specifieke Styles
 */

/* Stats dashboard */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: linear-gradient(135deg, var(--light) 0%, white 100%);
    border-left: 4px solid var(--primary);
    padding: 25px;
    border-radius: 0 12px 12px 0;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.stat-description {
    color: var(--grey);
    font-size: 0.9rem;
}

/* Chart container */
.chart-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .stats-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}
        /* Ionite credits styling */
        .ionite-credits {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid var(--light-grey);
            text-align: center;
        }

        .ionite-credits p {
            color: var(--grey);
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        .ionite-credits a {
            display: inline-block;
            text-decoration: none;
            transition: transform 0.2s ease;
        }

        .ionite-credits a:hover {
            transform: scale(1.05);
        }

        .ionite-credits img {
            height: 40px;
            width: auto;
            max-width: 120px;
        }

        /* Data disclaimer */
        .data-disclaimer {
            background-color: var(--light);
            border-left: 4px solid var(--primary);
            padding: 25px;
            margin: 20px 0;
            border-radius: 0 12px 12px 0;
        }

        .data-disclaimer h4 {
            color: var(--secondary);
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        .disclaimer-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            font-size: 0.95rem;
        }

        .disclaimer-grid h5 {
            color: var(--primary);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }

        .disclaimer-grid h5 svg {
            margin-right: 8px;
            flex-shrink: 0;
        }

        .disclaimer-grid ul {
            color: var(--grey);
            line-height: 1.6;
            margin-left: 16px;
        }

        /* Responsive aanpassingen */
        @media (max-width: 768px) {
            .knowledge-base-header h1 {
                font-size: 2.5rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .kb-cta {
                padding: 40px 25px;
            }

            .intro-grid {
                grid-template-columns: 1fr;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .disclaimer-grid {
                grid-template-columns: 1fr;
            }

            .preview-stats {
                flex-direction: column;
                gap: 20px;
            }

            .content-section {
                padding: 25px;
            }

            .content-section h2 {
                font-size: 1.5rem;
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .section-icon {
                margin: 0 auto;
            }
        }

        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(210, 105, 30, 0.3);
            border-radius: 50%;
            border-top-color: var(--primary);
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
              /* Interactieve kaart sectie */
        .map-container {
            background-color: var(--light);
            border-left: 4px solid var(--primary);
            padding: 30px;
            margin: 20px 0;
            border-radius: 0 12px 12px 0;
        }

        .map-container h3 {
            color: var(--secondary);
            font-size: 1.3rem;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .map-placeholder {
            background: rgba(210, 105, 30, 0.1);
            border: 2px dashed var(--primary);
            border-radius: 12px;
            padding: 40px 20px;
            margin: 20px 0;
            font-family: monospace;
            color: var(--primary);
            font-size: 1rem;
            text-align: center;
        }

        /* Statistieken grid - aangepast naar template stijl */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .stat-item {
            background-color: var(--light);
            border-left: 4px solid var(--primary);
            padding: 20px;
            border-radius: 0 12px 12px 0;
            transition: all 0.3s ease;
        }

        .stat-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(210, 105, 30, 0.1);
        }

        .stat-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
        }

        .stat-icon {
            width: 40px;
            height: 40px;
            background-color: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
        }

        .stat-title {
            font-weight: 600;
            color: var(--secondary);
            margin: 0;
            font-size: 1.1rem;
        }

        .stat-number {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--primary);
            margin: 10px 0;
            display: block;
        }

        .stat-desc {
            color: var(--grey);
            font-size: 0.95rem;
            line-height: 1.4;
        }

        /* Gedetailleerde statistieken tabel */
        .detail-table {
            background: var(--light);
            border-radius: 12px;
            overflow: hidden;
            border-left: 4px solid var(--primary);
            margin-top: 25px;
        }

        .detail-table table {
            width: 100%;
            border-collapse: collapse;
        }

        .detail-table th {
            background: var(--primary);
            color: white;
            padding: 15px 20px;
            text-align: left;
            font-weight: 600;
            font-size: 1rem;
        }

        .detail-table td {
            padding: 15px 20px;
            border-bottom: 1px solid var(--border);
        }

        .detail-table tr:last-child td {
            border-bottom: none;
        }

        .detail-table tr:hover {
            background: rgba(210, 105, 30, 0.05);
        }

        .detail-label {
            font-weight: 600;
            color: var(--secondary);
        }

        .detail-value {
            color: var(--grey);
        }

        .growth-badge {
            display: inline-block;
            padding: 4px 10px;
            background: rgba(210, 105, 30, 0.1);
            color: var(--primary);
            border-radius: 15px;
            font-size: 0.85rem;
            font-weight: 600;
            margin: 2px;
        }

        /* Autoriteiten preview */
        .authorities-preview {
            background-color: var(--light);
            border-left: 4px solid var(--primary);
            padding: 30px;
            margin: 20px 0;
            border-radius: 0 12px 12px 0;
            text-align: center;
        }

        .authorities-preview h3 {
            color: var(--secondary);
            font-size: 1.3rem;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .preview-stats {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin: 20px 0;
            flex-wrap: wrap;
        }

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

        .preview-stat-number {
            display: block;
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 5px;
        }

        .preview-stat-label {
            color: var(--secondary);
            font-size: 0.95rem;
            font-weight: 500;
        }