/* 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: #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: #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(23, 106, 208, 0.12);
    border-color: #bfdbfe;
}

/* ── Gradient tekst ── */
.gradient-text {
    background: linear-gradient(135deg, #176AD0, #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 #176AD0;
    outline-offset: 2px;
    border-radius: 4px;
}

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