/* Custom styles voor Auto.Correct */

.car-card { 
    transition: transform 0.2s, box-shadow 0.2s; 
    cursor: pointer; 
}
.car-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); 
}

.spec-badge { 
    background-color: #f3f4f6; 
    border-radius: 6px; 
    padding: 4px 8px; 
    font-size: 0.8rem; 
    color: #4b5563; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}

.fade-in { 
    animation: fadeIn 0.3s ease-in-out; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* SLIDERS */
input[type=range] { 
    -webkit-appearance: none; 
    width: 100%; 
    background: transparent; 
}
input[type=range]::-webkit-slider-thumb { 
    -webkit-appearance: none; 
    height: 16px; 
    width: 16px; 
    border-radius: 50%; 
    background: #2596be; 
    cursor: pointer; 
    margin-top: -6px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.3); 
}
input[type=range]::-webkit-slider-runnable-track { 
    width: 100%; 
    height: 4px; 
    cursor: pointer; 
    background: #e5e7eb; 
    border-radius: 2px; 
}
input[type=range]:focus { 
    outline: none; 
}

/* SCROLLBAR */
.filter-scroll::-webkit-scrollbar { width: 6px; }
.filter-scroll::-webkit-scrollbar-thumb { background-color: #d1d5db; border-radius: 4px; }

/* ACCORDION */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] summary .chevron { transform: rotate(180deg); }

/* COMPARE CHECKBOX */
.compare-checkbox {
    position: absolute; top: 10px; right: 10px; z-index: 10;
    background: white; border-radius: 50%; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: all 0.2s;
}
.compare-checkbox.selected { background: #22c55e; color: white; }

/* WIZARD CHAT */
#wizardModal { backdrop-filter: blur(5px); }
.chat-bubble { max-width: 85%; padding: 12px 16px; border-radius: 18px; position: relative; line-height: 1.5; font-size: 0.95rem; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.chat-left { background-color: white; border-bottom-left-radius: 4px; color: #1f2937; margin-left: 40px; }
.chat-right { background-color: #dcf8c6; border-bottom-right-radius: 4px; color: #111827; margin-left: auto; text-align: right; }
.chat-avatar { width: 32px; height: 32px; border-radius: 50%; position: absolute; left: -40px; bottom: 0; background: #22c55e; color: white; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }

/* TYPING CURSOR */
.typing::after { content: '|'; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.user-option { transition: all 0.2s; cursor: pointer; }
.user-option:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* COMPARE ACCORDION */
.compare-header {
    cursor: pointer;
    transition: background-color 0.2s;
    user-select: none;
}
.compare-header:hover {
    background-color: #f0fdf4; /* Lichtgroen */
}
.compare-header i {
    transition: transform 0.2s;
}
.compare-header.collapsed i {
    transform: rotate(-90deg);
}
.compare-header.collapsed + tbody {
    display: none;
}

/* INFO POPUP STYLES */
.info-link {
    cursor: help;
    border-bottom: 1px dotted #9ca3af;
    transition: color 0.2s;
}
.info-link:hover {
    color: #2596be;
    border-bottom-color: #2596be;
}

#infoModal { backdrop-filter: blur(4px); }


/* --- VISUELE VERGELIJKING (BLAUWDRUK) --- */
.blueprint-wrapper {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
}

/* Zorgt dat tekst scherp blijft in SVG */
.blueprint-text {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Kofferbak kratjes */
.trunk-visuals {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
    margin-top: 20px;
}

.trunk-stack {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 2px;
    width: 30%;
}

.crate-icon {
    font-size: 14px;
    color: #d97706; /* Amber-600 */
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}