/* =====================================================
   MOTORS365 - Motors365 Pro / Vehicle Profile Check
   Styles for the vehicle check page
   ===================================================== */

/* ---- Alerts ---- */
.vc-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin: 0 0 24px 0;
    font-size: 0.9rem;
    animation: slideDown 0.3s ease;
}
.vc-alert svg { flex-shrink: 0; width: 20px; height: 20px; }
.vc-alert-success { background: var(--success-muted); border: 1px solid rgba(34,197,94,0.3); color: var(--success); }
.vc-alert-warning { background: var(--warning-muted); border: 1px solid rgba(245,158,11,0.3); color: var(--warning); }
.vc-alert-close { background: none; border: none; color: inherit; font-size: 1.3rem; cursor: pointer; margin-left: auto; opacity: 0.6; }
.vc-alert-close:hover { opacity: 1; }

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

/* ---- Search Section ---- */
.vc-search-section {
    padding: 40px 0 20px;
}
.vc-search-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.vc-search-header {
    margin-bottom: 32px;
}
.vc-shield-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--gold-muted);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.vc-shield-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
}
.vc-search-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.vc-search-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Registration Input */
.vc-search-form {
    margin-bottom: 24px;
}
.vc-input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.vc-reg-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-default);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}
.vc-reg-input-wrap:focus-within {
    border-color: var(--gold);
}
.vc-reg-badge {
    background: #003399;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0 10px;
    height: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
}
.vc-reg-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 16px;
}
.vc-reg-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    font-family: var(--font-sans);
    letter-spacing: normal;
    font-size: 0.95rem;
}

/* Shake animation for empty input */
.shake {
    animation: shake 0.4s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    50% { transform: translateX(8px); }
    75% { transform: translateX(-4px); }
}

/* Check Level Toggle */
.vc-check-level {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.vc-level-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-default);
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 160px;
}
.vc-level-option input { display: none; }
.vc-level-option:hover { border-color: var(--border-strong); }
.vc-level-option.active { border-color: var(--gold); background: var(--gold-muted); }
.vc-level-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--success-muted);
    color: var(--success);
}
.vc-level-badge.pro {
    background: var(--gold-muted);
    color: var(--gold);
}
.vc-level-name {
    font-weight: 600;
    font-size: 0.9rem;
}
.vc-level-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Data Sources */
.vc-data-sources {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.vc-data-sources .vc-source {
    display: flex;
    align-items: center;
    gap: 4px;
}
.vc-data-sources .vc-source svg {
    width: 14px;
    height: 14px;
    color: var(--success);
}
.vc-data-sources .vc-source.pro svg {
    color: var(--gold);
}

/* ---- Loading Section ---- */
.vc-loading-section {
    display: flex;
    justify-content: center;
    padding: 30px 20px 40px;
}
.vc-loading-container {
    text-align: center;
    max-width: 520px;
    width: 100%;
}

/* Inline progress steps bar */
.vc-loading-top {
    margin-bottom: 16px;
}
.vc-loading-steps-inline {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.vc-loading-step {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.04);
    transition: all 0.3s ease;
}
.vc-loading-step .step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-default);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.vc-loading-step.active {
    color: var(--gold);
    background: var(--gold-muted);
}
.vc-loading-step.active .step-dot {
    background: var(--gold);
    box-shadow: 0 0 6px rgba(212,168,85,0.5);
    animation: nd-pulse 1s ease infinite;
}
.vc-loading-step.done {
    color: var(--success);
    background: rgba(34,197,94,0.08);
}
.vc-loading-step.done .step-dot {
    background: var(--success);
}
@keyframes nd-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}
.vc-loading-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Night Driver game canvas */
.nd-game-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    background: #000;
    margin: 0 auto;
    max-width: 480px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5), inset 0 0 40px rgba(0,0,0,0.3);
}
.nd-game-wrap canvas {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
}

/* Controls hint */
.nd-controls-hint {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.03em;
}

/* Proceed button (shown when report ready) */
.nd-proceed-btn {
    margin-top: 16px;
    animation: nd-btn-glow 2s ease infinite;
    gap: 8px;
}
.nd-proceed-btn svg {
    width: 20px;
    height: 20px;
}
@keyframes nd-btn-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(212,168,85,0.3); }
    50% { box-shadow: 0 0 20px rgba(212,168,85,0.6); }
}
.nd-proceed-hint {
    font-size: 0.78rem;
    color: var(--success);
    margin: 8px 0 0;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Results Section ---- */
.vc-results-section {
    padding: 20px 0;
}
.vc-results-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Back Button */
.vc-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 6px 0;
    transition: color var(--transition-fast);
}
.vc-back-btn:hover { color: var(--gold); }
.vc-back-btn svg { width: 18px; height: 18px; }

/* Vehicle Header */
.vc-vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}
.vc-vehicle-info { flex: 1; }
.vc-reg-plate {
    display: inline-block;
    background: #FFD700;
    color: #000;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    padding: 4px 16px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.vc-vehicle-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.vc-vehicle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.vc-vehicle-meta span::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    margin-right: 8px;
    vertical-align: middle;
}
.vc-vehicle-meta span:first-child::before { display: none; }

/* Score Ring */
.vc-score-ring {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    text-align: center;
}
.vc-score-ring svg {
    width: 100%;
    height: 100%;
}
.vc-score-circle {
    transition: stroke-dashoffset 1s ease;
}
.vc-score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 1.8rem;
    font-weight: 800;
}
.vc-score-label {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Recommendation Banner */
.vc-recommendation {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid;
}
.vc-recommendation-proceed { background: var(--success-muted); border-color: rgba(34,197,94,0.2); }
.vc-recommendation-caution { background: var(--warning-muted); border-color: rgba(245,158,11,0.2); }
.vc-recommendation-investigate,
.vc-recommendation-avoid { background: var(--danger-muted); border-color: rgba(239,68,68,0.2); }
.vc-recommendation-walk_away { background: rgba(220,38,38,0.15); border-color: rgba(220,38,38,0.3); }
.vc-rec-icon { flex-shrink: 0; }
.vc-rec-icon svg { width: 24px; height: 24px; }
.vc-rec-content strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.vc-rec-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }

/* Flags */
.vc-flags {
    margin-bottom: 24px;
}
.vc-flags h3 { font-size: 1.05rem; margin-bottom: 12px; }
.vc-flag {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.vc-flag-critical { background: rgba(220,38,38,0.1); border-left: 3px solid #dc2626; }
.vc-flag-high { background: rgba(239,68,68,0.1); border-left: 3px solid #ef4444; }
.vc-flag-medium { background: rgba(245,158,11,0.1); border-left: 3px solid #f59e0b; }
.vc-flag-low { background: rgba(59,130,246,0.1); border-left: 3px solid #3b82f6; }
.vc-flag-icon { flex-shrink: 0; }
.vc-flag-text { flex: 1; }
.vc-flag-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
}

/* Score Breakdown */
.vc-breakdown { margin-bottom: 24px; }
.vc-breakdown h3 { font-size: 1.05rem; margin-bottom: 16px; }
.vc-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.vc-breakdown-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
}
.vc-breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.vc-breakdown-label { font-weight: 600; font-size: 0.85rem; }
.vc-breakdown-score { font-weight: 700; font-size: 0.95rem; }
.vc-breakdown-bar {
    height: 4px;
    background: var(--border-subtle);
    border-radius: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}
.vc-breakdown-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.6s ease;
}
.vc-breakdown-details {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.vc-detail-item {
    padding: 3px 0;
}

/* Generic Section Card */
.vc-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}
.vc-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.vc-section h3 svg { width: 20px; height: 20px; color: var(--gold); }

/* DVLA Data Grid */
.vc-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.vc-data-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vc-data-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.vc-data-value {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Status Row */
.vc-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.vc-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}
.vc-status-positive { background: var(--success-muted); color: var(--success); }
.vc-status-warning { background: var(--warning-muted); color: var(--warning); }
.vc-status-negative { background: var(--danger-muted); color: var(--danger); }

/* MOT Stats */
.vc-mot-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.vc-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 70px;
}
.vc-stat-value { font-size: 1.3rem; font-weight: 700; }
.vc-stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Latest MOT */
.vc-latest-mot { margin-bottom: 12px; }
.vc-latest-mot h4 { font-size: 0.9rem; margin-bottom: 8px; color: var(--text-secondary); }
.vc-mot-result {
    display: inline-block;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}
.vc-mot-pass { background: var(--success-muted); color: var(--success); }
.vc-mot-fail { background: var(--danger-muted); color: var(--danger); }
.vc-mot-mileage { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 12px; }
.vc-mot-items { margin-bottom: 12px; }
.vc-mot-items h5 { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.vc-mot-advisory, .vc-mot-failure {
    font-size: 0.85rem;
    padding: 6px 12px;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
}
.vc-mot-advisory { background: var(--warning-muted); color: var(--warning); }
.vc-mot-failure { background: var(--danger-muted); color: var(--danger); }

.vc-link {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}
.vc-link:hover { opacity: 0.8; }

/* Recalls */
.vc-recalls-summary { margin-bottom: 16px; }
.vc-recalls-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.vc-recall-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--border-default);
}
.vc-recall-critical { border-left-color: #dc2626; background: rgba(220,38,38,0.05); }
.vc-recall-high { border-left-color: #ef4444; background: rgba(239,68,68,0.05); }
.vc-recall-medium { border-left-color: #f59e0b; background: rgba(245,158,11,0.05); }
.vc-recall-low { border-left-color: #3b82f6; background: rgba(59,130,246,0.05); }
.vc-recall-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.vc-recall-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
}
.vc-recall-date { font-size: 0.8rem; color: var(--text-muted); }
.vc-recall-concern { font-size: 0.9rem; margin-bottom: 4px; }
.vc-recall-remedy { font-size: 0.8rem; color: var(--text-secondary); }
.vc-more { font-size: 0.85rem; color: var(--text-muted); text-align: center; padding: 8px; }
.vc-note { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

/* HPI / Upsell */
.vc-section-upsell {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, rgba(212,168,85,0.05), transparent);
}
.vc-upsell-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.vc-upsell-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
}
.vc-upsell-icon { flex-shrink: 0; color: var(--gold); }
.vc-upsell-icon svg { width: 22px; height: 22px; }
.vc-upsell-content strong { display: block; font-size: 0.9rem; }
.vc-upsell-content p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.vc-upsell-lock { margin-left: auto; color: var(--text-muted); opacity: 0.4; }
.vc-upsell-lock svg { width: 18px; height: 18px; }
.vc-upsell-cta { text-align: center; }
.vc-upsell-cta .btn svg { width: 18px; height: 18px; margin-right: 6px; }
.vc-pro-tag {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--gold-muted);
    color: var(--gold);
    margin-left: 8px;
}

/* HPI Results Grid */
.vc-hpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.vc-hpi-item {
    text-align: center;
    padding: 16px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}
.vc-hpi-pass { background: var(--success-muted); border-color: rgba(34,197,94,0.2); }
.vc-hpi-fail { background: var(--danger-muted); border-color: rgba(239,68,68,0.2); }
.vc-hpi-info { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.2); }
.vc-hpi-icon { font-size: 1.4rem; margin-bottom: 6px; }
.vc-hpi-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }
.vc-hpi-value { font-weight: 700; font-size: 0.95rem; }
.vc-hpi-detail { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* Data Completeness */
.vc-section-completeness { background: transparent; border: 1px dashed var(--border-default); }
.vc-completeness-bar {
    height: 6px;
    background: var(--border-subtle);
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}
.vc-completeness-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--success));
    border-radius: 3px;
    transition: width 0.6s ease;
}
.vc-completeness-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.vc-sources-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.vc-source-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.03);
}
.vc-source-active { color: var(--success); }
.vc-source-locked { color: var(--text-muted); }
.vc-pro-mini {
    font-size: 0.55rem;
    font-weight: 700;
    background: var(--gold-muted);
    color: var(--gold);
    padding: 1px 5px;
    border-radius: var(--radius-full);
}

/* Meta */
.vc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 16px 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: 16px;
}

/* Error */
.vc-error {
    text-align: center;
    padding: 48px 20px;
}
.vc-error svg { width: 48px; height: 48px; color: var(--danger); margin-bottom: 16px; }
.vc-error h3 { margin-bottom: 8px; }
.vc-error p { color: var(--text-secondary); margin-bottom: 20px; }

/* Empty State */
.vc-empty-state {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

/* ---- Pricing Section ---- */
.vc-pricing-section {
    padding: 40px 0;
    max-width: 1100px;
    margin: 0 auto;
}
.vc-pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 20px;
}
.vc-pricing-header h2 { font-size: 1.5rem; margin-bottom: 8px; }
.vc-pricing-header p { color: var(--text-secondary); }
.vc-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 20px;
}
.vc-price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.vc-price-popular {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(212,168,85,0.08), var(--bg-card));
}
.vc-price-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--text-inverse);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: var(--radius-full);
}
.vc-price-savings {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--success);
    background: var(--success-muted);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}
.vc-price-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.vc-price-amount { font-size: 1.8rem; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.vc-price-per { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.vc-price-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.4; }
.vc-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}
.vc-price-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    padding: 5px 0;
    color: var(--text-secondary);
}
.vc-price-features svg { flex-shrink: 0; color: var(--success); }

/* ---- History Section ---- */
.vc-history-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}
.vc-history-section h3 { font-size: 1.05rem; margin-bottom: 16px; }
.vc-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vc-history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.vc-history-item:hover {
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
}
.vc-history-score {
    font-size: 1.3rem;
    font-weight: 800;
    min-width: 40px;
    text-align: center;
}
.vc-history-info { flex: 1; }
.vc-history-info strong { display: block; font-family: 'Courier New', monospace; letter-spacing: 0.1em; }
.vc-history-info span { font-size: 0.8rem; color: var(--text-muted); }
.vc-history-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.75rem;
}
.vc-history-level {
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}
.vc-history-date { color: var(--text-muted); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .vc-pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .vc-input-row { flex-direction: column; }
    .vc-vehicle-header { flex-direction: column; text-align: center; }
    .vc-score-ring { margin: 0 auto; }
    .vc-check-level { flex-direction: column; }
    .vc-breakdown-grid { grid-template-columns: 1fr; }
    .vc-data-grid { grid-template-columns: repeat(2, 1fr); }
    .vc-hpi-grid { grid-template-columns: repeat(2, 1fr); }
    .vc-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .vc-status-row { flex-direction: column; }
}
