/* 
 * Peppol Technische Specs - Pagina Specifieke Styles
 */

/* Code blocks */
.code-block {
    background: #2d2d2d;
    color: #f8f8f2;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    border-left: 4px solid var(--primary);
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* API endpoints */
.api-endpoints {
    margin: 25px 0;
}

.endpoint-item {
    background-color: var(--light);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 0 12px 12px 0;
}

.endpoint-method {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 10px;
    text-transform: uppercase;
}

.endpoint-method.get {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.endpoint-method.post {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.endpoint-url {
    font-family: monospace;
    font-size: 0.95rem;
    color: var(--secondary);
}

/* Specs table */
.specs-table-container {
    overflow-x: auto;
    margin: 25px 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

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

@media (max-width: 768px) {
    .code-block {
        font-size: 0.8rem;
        padding: 15px;
    }
}
        /* Spec grid - aangepast naar template stijl */
        .spec-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

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

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

        .spec-card h4 {
            font-weight: 600;
            color: var(--secondary);
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .spec-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .spec-card li {
            color: var(--grey);
            padding: 5px 0;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .spec-card li::before {
            content: '→';
            color: var(--primary);
            font-weight: bold;
            font-size: 1rem;
        }

        /* Code block styling - behoud functionaliteit maar template kleuren */
        .code-block {
            background-color: var(--secondary);
            color: #d4d4d4;
            padding: 25px;
            border-radius: 12px;
            margin: 25px 0;
            overflow-x: auto;
            font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
            font-size: 14px;
            line-height: 1.5;
            border-left: 4px solid var(--primary);
        }

        .code-block::before {
            content: '{ }';
            color: var(--primary);
            font-weight: bold;
            display: block;
            margin-bottom: 10px;
            font-size: 16px;
        }

        /* Implementation steps - nieuw element in template stijl */
        .implementation-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 25px 0;
        }

        .step-item {
            background-color: var(--light);
            border-left: 4px solid var(--primary);
            padding: 20px;
            border-radius: 0 12px 12px 0;
            position: relative;
        }

        .step-number {
            position: absolute;
            top: -10px;
            left: -10px;
            background-color: var(--primary);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.9rem;
            box-shadow: 0 2px 8px rgba(210, 105, 30, 0.3);
        }

        .step-title {
            font-weight: 600;
            color: var(--secondary);
            margin-bottom: 10px;
            font-size: 1rem;
            margin-top: 10px;
        }

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

        /* API endpoint lijst - nieuwe styling */
        .api-endpoints {
            background-color: var(--light);
            border-radius: 12px;
            padding: 25px;
            margin: 25px 0;
            border-left: 4px solid var(--primary);
        }

        .api-endpoints h4 {
            color: var(--secondary);
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .endpoint-list {
            display: grid;
            gap: 8px;
        }

        .endpoint-item {
            background: white;
            padding: 12px 15px;
            border-radius: 8px;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.9rem;
            color: var(--secondary);
            border: 1px solid var(--border);
        }

        .endpoint-method {
            color: var(--primary);
            font-weight: bold;
            margin-right: 10px;
        }

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

        .requirement-card {
            background-color: var(--light);
            border-left: 4px solid var(--primary);
            padding: 20px;
            border-radius: 0 12px 12px 0;
        }

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

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

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

        .requirement-desc {
            color: var(--grey);
            font-size: 0.9rem;
            margin: 0 0 15px 0;
            line-height: 1.4;
        }

        .requirement-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .requirement-list li {
            color: var(--grey);
            padding: 4px 0;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
        }

        .requirement-list li::before {
            content: '✓';
            color: #28a745;
            font-weight: bold;
        }