/* Custom CSS voor Auto Deal Scanner NL */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --emerald-accent: #059669;
    --amber-accent: #d97706;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Outfit', sans-serif;
}

/* Nederlands Kenteken Badge Styling */
.nl-plate-box {
    display: inline-flex;
    align-items: center;
    background: #ffd600;
    border: 2px solid #000000;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-weight: 800;
    letter-spacing: 1.5px;
    overflow: hidden;
    color: #111111;
    height: 44px;
}

.nl-plate-flag {
    background-color: #003399;
    color: #ffffff;
    padding: 0 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
}

.nl-plate-flag span {
    font-size: 12px;
    font-weight: 900;
}

.nl-plate-input {
    background: transparent;
    border: none;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    color: #000000;
    padding: 0 10px;
    width: 140px;
    outline: none;
    letter-spacing: 2px;
}

.nl-plate-mini {
    display: inline-flex;
    align-items: center;
    background: #ffd600;
    border: 1.5px solid #000;
    border-radius: 4px;
    font-weight: 800;
    font-size: 11px;
    color: #000;
    padding: 1px 6px;
    letter-spacing: 1px;
}

/* Deal Score Badges */
.badge-super {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.badge-good {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

.badge-fair {
    background: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%);
    color: white;
}

.badge-avg {
    background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
    color: #000;
}

/* Smooth Glow Card Effects */
.glass-panel {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.car-card {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 12px 30px -10px rgba(37, 99, 235, 0.25);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Uniforme moderne dropdown styling voor Merk, Model, Uitvoering en overige selects */
.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.9rem;
    padding-right: 2.25rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.custom-select:hover {
    border-color: rgba(59, 130, 246, 0.6);
}

/* Pulse animation for best deal tag */
@keyframes deal-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-deal {
    animation: deal-pulse 2.2s infinite ease-in-out;
}

/* Grote, Opvallende Statijd Sliders Styling */
.statijd-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 14px;
    background: linear-gradient(90deg, #1e293b 0%, #334155 50%, #475569 100%);
    border-radius: 9999px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease-in-out;
}

.statijd-range-slider:hover {
    border-color: rgba(245, 158, 11, 0.8);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(245, 158, 11, 0.25);
}

/* Chrome / Safari / Edge / Opera Thumb */
.statijd-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
    border: 3px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.statijd-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.18);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.8), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.statijd-range-slider::-webkit-slider-thumb:active {
    transform: scale(1.08);
}

/* Firefox Thumb */
.statijd-range-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
    border: 3px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.statijd-range-slider::-moz-range-thumb:hover {
    transform: scale(1.18);
}
