/* Brandstofprijzen — Custom CSS */

/* ── Smooth scroll ── */
html {
    scroll-behavior: smooth;
}

/* ── Primaire knop helper ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primary-600, #176AD0);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.1s ease;
    font-size: 0.875rem;
}
.btn-primary:hover {
    background-color: var(--color-primary-700, #1558b0);
    transform: translateY(-1px);
}

/* ── Card hover animatie ── */
.card-hover {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card-hover:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ── Tabel striping ── */
tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* ── Scrollbar styling (webkit) ── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ── Prijskaart animatie ── */
.price-card {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.price-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    border-color: var(--color-primary-200, #bfdbfe);
}

/* ── Gradient tekst ── */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary-600, #176AD0), var(--color-primary-400, #60a5fa));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hero golf ── */
.wave-bottom {
    position: relative;
}
.wave-bottom::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: #f9fafb;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* ── Badge animaties ── */
@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.badge-down {
    animation: pulse-green 2s infinite;
}

/* ── Chart container ── */
.chart-container {
    position: relative;
    width: 100%;
}

/* ── Responsive tabel ── */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.8rem;
    }
    .table-responsive th,
    .table-responsive td {
        padding: 0.5rem 0.75rem;
    }
}

/* ── Loading skeleton ── */
.skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.5rem;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Sticky tabel header ── */
.sticky-header th {
    position: sticky;
    top: 64px;
    z-index: 10;
    background: white;
}

/* ── Focus ring ── */
:focus-visible {
    outline: 2px solid var(--color-primary-600, #176AD0);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Blog / homepage content ── */
.blog-content h2 { font-size: 1.5rem; font-weight: 700; color: #111827; margin: 2rem 0 1rem; }
.blog-content h3 { font-size: 1.25rem; font-weight: 600; color: #1f2937; margin: 1.5rem 0 0.75rem; }
.blog-content h4 { font-size: 1.1rem; font-weight: 600; color: #374151; margin: 1.25rem 0 0.5rem; }
.blog-content p  { margin-bottom: 1.25rem; line-height: 1.75; color: #374151; }
.blog-content ul, .blog-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-content li { margin-bottom: 0.4rem; color: #374151; }
.blog-content a  { color: var(--color-primary-600, #176AD0); text-decoration: underline; }
.blog-content strong { font-weight: 700; }
.blog-content em { font-style: italic; }
.blog-content blockquote { border-left: 4px solid var(--color-primary-600, #176AD0); padding-left: 1rem; color: #6b7280; font-style: italic; margin: 1.5rem 0; }
/* Tabel scrollbaar op mobiel */
.blog-content .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; border-radius: 0.75rem; border: 1px solid #e5e7eb; }
.blog-content .table-scroll table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 0.9rem; margin: 0; }
.blog-content .table-scroll th,
.blog-content .table-scroll td { border: 1px solid #e5e7eb; padding: 0.6rem 0.85rem; text-align: left; }
.blog-content .table-scroll th { background: #f9fafb; font-weight: 700; }
.blog-content .table-scroll tr:nth-child(even) td { background: #fafafa; }

/* ── Tabel styling (frontend content) ── */
.content-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}
.content-table-wrap table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 0;
    border: none;
}
.content-table-wrap th,
.content-table-wrap td {
    border: 1px solid #e5e7eb;
    padding: 0.65rem 1rem;
    text-align: left;
    white-space: nowrap;
}
.content-table-wrap th {
    background: #f9fafb;
    font-weight: 700;
    color: #111827;
    position: sticky;
    top: 0;
}
.content-table-wrap tr:nth-child(even) td {
    background: #fafafa;
}

/* ── Print stijlen ── */
@media print {
    header, footer, .no-print {
        display: none !important;
    }
    body {
        background: white;
    }
    .card-hover {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}
