/* /Components/Pages/Interchange.razor.rz.scp.css */
/* Tab Navigation */
[b-xyfjzljer7] .ic-tabs {
    border-bottom: 2px solid var(--border-light, #dee2e6);
    margin-bottom: 1.5rem;
    gap: 0.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

[b-xyfjzljer7] .ic-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted, #6c757d);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

[b-xyfjzljer7] .ic-tabs .nav-link:hover {
    color: var(--text-primary, #212529);
    background: var(--bg-elevated, rgba(0,0,0,0.03));
}

[b-xyfjzljer7] .ic-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    font-weight: 600;
    background: transparent;
}

[b-xyfjzljer7] .ic-tab-content {
    min-height: 400px;
}
/* /Components/Pages/PartDetails.razor.rz.scp.css */
/* Tab Navigation */
[b-80c1temg0q] .pd-tabs {
    border-bottom: 2px solid var(--border-light, #dee2e6);
    margin-bottom: 1.5rem;
    gap: 0.25rem;
}

[b-80c1temg0q] .pd-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted, #6c757d);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[b-80c1temg0q] .pd-tabs .nav-link:hover {
    color: var(--text-primary, #212529);
    background: var(--bg-elevated, rgba(0,0,0,0.03));
}

[b-80c1temg0q] .pd-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    font-weight: 600;
    background: transparent;
}

[b-80c1temg0q] .pd-tab-content {
    min-height: 400px;
}

/* Detail Field Labels */
[b-80c1temg0q] .pd-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #6c757d);
    margin-bottom: 0.25rem;
}

[b-80c1temg0q] .pd-detail-value {
    font-size: 0.95rem;
    color: var(--text-primary, #212529);
}

/* Media Card Hover */
[b-80c1temg0q] .pd-media-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border-radius: 0.375rem;
    overflow: hidden;
}

[b-80c1temg0q] .pd-media-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    [b-80c1temg0q] .pd-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    [b-80c1temg0q] .pd-tabs::-webkit-scrollbar {
        display: none;
    }

    [b-80c1temg0q] .pd-tabs .nav-link {
        white-space: nowrap;
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    [b-80c1temg0q] .pd-tab-content {
        min-height: 200px;
    }
}
/* /Components/Pages/Reports.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   ANALYTICS DASHBOARD — Scoped styles
   Only unique analytics widgets. Everything else uses app.css globals.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Tab Navigation ─── */
.rpt-tabs[b-tpekf01g1e] {
    display: flex;
    gap: var(--space-1);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.rpt-tabs[b-tpekf01g1e]::-webkit-scrollbar { display: none; }

.rpt-tab[b-tpekf01g1e] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border: none;
    background: none;
    color: var(--text-muted);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.rpt-tab:hover[b-tpekf01g1e] {
    color: var(--primary);
    background: rgba(102, 126, 234, 0.04);
}

.rpt-tab.active[b-tpekf01g1e] {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: var(--font-semibold);
}

/* ─── Bar Charts ─── */
.rpt-chart[b-tpekf01g1e] {
    width: 100%;
}

.rpt-bars[b-tpekf01g1e] {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 200px;
    padding: 0 var(--space-1);
}

.rpt-bars--tall[b-tpekf01g1e] {
    height: 240px;
}

.rpt-bar-group[b-tpekf01g1e] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.rpt-bar-pair[b-tpekf01g1e] {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    flex: 1;
    width: 100%;
    justify-content: center;
}

.rpt-bar[b-tpekf01g1e] {
    min-width: 8px;
    max-width: 24px;
    flex: 1;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: height 0.6s ease;
    min-height: 2px;
    cursor: pointer;
}

.rpt-bar:hover[b-tpekf01g1e] {
    opacity: 0.85;
    filter: brightness(1.1);
}

.rpt-bar--revenue[b-tpekf01g1e] { background: linear-gradient(180deg, #22c55e, #16a34a); }
.rpt-bar--expense[b-tpekf01g1e] { background: linear-gradient(180deg, #ef4444, #dc2626); }
.rpt-bar--primary[b-tpekf01g1e] { background: var(--primary-gradient); }
.rpt-bar--sales[b-tpekf01g1e] { background: var(--primary-gradient); min-width: 14px; }

.rpt-bar-label[b-tpekf01g1e] {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-2);
    text-align: center;
}

.rpt-legend[b-tpekf01g1e] {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-light);
}

.rpt-legend-item[b-tpekf01g1e] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.rpt-legend-dot[b-tpekf01g1e] {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    display: inline-block;
}

/* ─── Breakdown Rows (horizontal bar chart) ─── */
.rpt-breakdown[b-tpekf01g1e] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
}

.rpt-breakdown + .rpt-breakdown[b-tpekf01g1e] {
    border-top: 1px solid var(--border-light);
}

.rpt-breakdown__label[b-tpekf01g1e] {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    min-width: 100px;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-primary);
}

.rpt-breakdown__track[b-tpekf01g1e] {
    flex: 1;
    height: 8px;
    background: var(--bg-hover);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.rpt-breakdown__fill[b-tpekf01g1e] {
    height: 100%;
    border-radius: var(--radius-sm);
    transition: width 0.6s ease;
    min-width: 2px;
}

.rpt-breakdown__count[b-tpekf01g1e] {
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    min-width: 36px;
    text-align: right;
    color: var(--text-primary);
}

.rpt-breakdown__sub[b-tpekf01g1e] {
    font-size: var(--text-xs);
    color: var(--text-muted);
    min-width: 60px;
    text-align: right;
}

/* ─── Status Indicator Dots (prefixed to avoid conflict with global) ─── */
.rpt-dot[b-tpekf01g1e] {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    display: inline-block;
    flex-shrink: 0;
}

.rpt-dot--success[b-tpekf01g1e] { background: var(--accent-green); }
.rpt-dot--warning[b-tpekf01g1e] { background: var(--accent-amber); }
.rpt-dot--danger[b-tpekf01g1e] { background: var(--accent-red); }
.rpt-dot--info[b-tpekf01g1e] { background: #06b6d4; }
.rpt-dot--primary[b-tpekf01g1e] { background: var(--accent-blue); }
.rpt-dot--secondary[b-tpekf01g1e] { background: #6b7280; }
.rpt-dot--dark[b-tpekf01g1e] { background: #374151; }

/* ─── Bar Colors (for breakdown fills) ─── */
.rpt-fill--primary[b-tpekf01g1e] { background: var(--primary); }
.rpt-fill--success[b-tpekf01g1e] { background: var(--accent-green); }
.rpt-fill--warning[b-tpekf01g1e] { background: var(--accent-amber); }
.rpt-fill--danger[b-tpekf01g1e] { background: var(--accent-red); }
.rpt-fill--info[b-tpekf01g1e] { background: #06b6d4; }
.rpt-fill--secondary[b-tpekf01g1e] { background: #6b7280; }
.rpt-fill--dark[b-tpekf01g1e] { background: #374151; }

/* ─── Table Inline Progress Bar ─── */
.rpt-tbar[b-tpekf01g1e] {
    width: 100%;
    height: 6px;
    background: var(--bg-hover);
    border-radius: 3px;
    overflow: hidden;
    min-width: 60px;
}

.rpt-tbar__fill[b-tpekf01g1e] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ─── Invoice Status Pills ─── */
.rpt-pill[b-tpekf01g1e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    min-width: 100px;
    transition: transform var(--transition-base);
}

.rpt-pill:hover[b-tpekf01g1e] {
    transform: translateY(-2px);
}

.rpt-pill__count[b-tpekf01g1e] {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    line-height: 1;
}

.rpt-pill__label[b-tpekf01g1e] {
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    margin-top: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.rpt-pill--draft[b-tpekf01g1e] { background: var(--bg-hover); color: var(--text-secondary); }
.rpt-pill--issued[b-tpekf01g1e] { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
.rpt-pill--partial[b-tpekf01g1e] { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.rpt-pill--paid[b-tpekf01g1e] { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.rpt-pill--cancelled[b-tpekf01g1e] { background: rgba(239, 68, 68, 0.1); color: #dc2626; }

[data-bs-theme="dark"] .rpt-pill--draft[b-tpekf01g1e] { background: rgba(255, 255, 255, 0.06); }
[data-bs-theme="dark"] .rpt-pill--issued[b-tpekf01g1e] { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
[data-bs-theme="dark"] .rpt-pill--partial[b-tpekf01g1e] { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
[data-bs-theme="dark"] .rpt-pill--paid[b-tpekf01g1e] { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
[data-bs-theme="dark"] .rpt-pill--cancelled[b-tpekf01g1e] { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* ─── Status Summary Cards (Parts Availability) ─── */
.rpt-status-card[b-tpekf01g1e] {
    text-align: center;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base);
}

.rpt-status-card:hover[b-tpekf01g1e] { transform: translateY(-2px); }

.rpt-status-card__value[b-tpekf01g1e] {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    line-height: 1;
}

.rpt-status-card__label[b-tpekf01g1e] {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    margin-top: var(--space-2);
}

.rpt-status-card__pct[b-tpekf01g1e] {
    font-size: var(--text-sm);
    margin-top: var(--space-1);
    opacity: 0.7;
    font-weight: var(--font-medium);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .rpt-tabs[b-tpekf01g1e] { gap: 0; }
    .rpt-tab[b-tpekf01g1e] { padding: var(--space-2) var(--space-3); font-size: var(--text-xs); }
    .rpt-bars[b-tpekf01g1e] { height: 150px; }
    .rpt-pill[b-tpekf01g1e] { padding: var(--space-3) var(--space-4); min-width: 80px; }
    .rpt-pill__count[b-tpekf01g1e] { font-size: var(--text-xl); }
    .rpt-breakdown[b-tpekf01g1e] { gap: var(--space-2); }
    .rpt-breakdown__label[b-tpekf01g1e] { min-width: 80px !important; font-size: var(--text-xs); }
    .rpt-breakdown__sub[b-tpekf01g1e] { min-width: 50px; font-size: 0.65rem; }
    .rpt-status-card[b-tpekf01g1e] { padding: var(--space-3); }
    .rpt-status-card__value[b-tpekf01g1e] { font-size: var(--text-2xl); }
}

@media (max-width: 480px) {
    .rpt-tab[b-tpekf01g1e] { padding: var(--space-1) var(--space-2); font-size: 0.65rem; }
    .rpt-bars[b-tpekf01g1e] { height: 120px; gap: 3px; }
    .rpt-bar-label[b-tpekf01g1e] { font-size: 0.6rem; }
    .rpt-pill[b-tpekf01g1e] { min-width: 60px; padding: var(--space-2) var(--space-3); }
    .rpt-pill__count[b-tpekf01g1e] { font-size: var(--text-lg); }
    .rpt-breakdown__label[b-tpekf01g1e] { min-width: 60px !important; }
    .rpt-breakdown__count[b-tpekf01g1e] { min-width: 28px; font-size: var(--text-xs); }
}
/* /Components/Pages/VehicleDetails.razor.rz.scp.css */
/* Tab Navigation */
[b-bgkamjqp5g] .vd-tabs {
    border-bottom: 2px solid var(--border-light, #dee2e6);
    margin-bottom: 1.5rem;
    gap: 0.25rem;
}

[b-bgkamjqp5g] .vd-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted, #6c757d);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[b-bgkamjqp5g] .vd-tabs .nav-link:hover {
    color: var(--text-primary, #212529);
    background: var(--bg-elevated, rgba(0,0,0,0.03));
}

[b-bgkamjqp5g] .vd-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    font-weight: 600;
    background: transparent;
}

[b-bgkamjqp5g] .vd-tab-content {
    min-height: 400px;
}

/* Preview Modal (shared — triggered from Overview tab carousel) */
[b-bgkamjqp5g] .mg-preview-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

[b-bgkamjqp5g] .mg-preview-container {
    display: flex;
    flex-direction: column;
    max-width: 95vw;
    max-height: 95vh;
}

[b-bgkamjqp5g] .mg-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    margin-bottom: 8px;
}

[b-bgkamjqp5g] .mg-preview-body {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

[b-bgkamjqp5g] .mg-preview-body img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
}

[b-bgkamjqp5g] .mg-preview-body video {
    max-width: 90vw;
    max-height: 82vh;
    border-radius: 8px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    [b-bgkamjqp5g] .vd-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    [b-bgkamjqp5g] .vd-tabs::-webkit-scrollbar {
        display: none;
    }

    [b-bgkamjqp5g] .vd-tabs .nav-link {
        white-space: nowrap;
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    [b-bgkamjqp5g] .vd-tab-content {
        min-height: 200px;
    }
}
/* /Components/Pages/VehicleDetailsTabs/FacebookTab.razor.rz.scp.css */
/* Facebook Card Header */
[b-xtxminjqu0] .fb-card-header {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[b-xtxminjqu0] .fb-card-header h5,
[b-xtxminjqu0] .fb-card-header h6 {
    margin: 0;
    font-weight: 600;
}

[b-xtxminjqu0] .fb-dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

[b-xtxminjqu0] .fb-dest-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 2px solid var(--border-light, #e9ecef);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--bg-card, #fff);
}

[b-xtxminjqu0] .fb-dest-card:hover {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.04);
}

[b-xtxminjqu0] .fb-dest-card.selected {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.08);
}

[b-xtxminjqu0] .fb-dest-check {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-medium, #ced4da);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1877f2;
    transition: all 0.15s ease;
}

[b-xtxminjqu0] .fb-dest-card.selected .fb-dest-check {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

[b-xtxminjqu0] .fb-dest-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

[b-xtxminjqu0] .fb-dest-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary, #212529);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-xtxminjqu0] .fb-dest-type {
    align-self: flex-start;
    font-size: 0.65rem;
}

[b-xtxminjqu0] .fb-message-input {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    border-radius: 10px;
    border: 2px solid var(--border-light, #e9ecef);
    background: var(--bg-elevated, #f8f9fa);
    color: var(--text-primary, #212529);
}

[b-xtxminjqu0] .fb-message-input:focus {
    border-color: #1877f2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.12);
}

[b-xtxminjqu0] .fb-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-bottom: 4px;
}

[b-xtxminjqu0] .fb-photo-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.15s ease;
}

[b-xtxminjqu0] .fb-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[b-xtxminjqu0] .fb-photo-thumb:hover {
    border-color: #1877f2;
    opacity: 0.9;
}

[b-xtxminjqu0] .fb-photo-thumb.selected {
    border-color: #1877f2;
}

[b-xtxminjqu0] .fb-photo-check {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: #1877f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Comments panel */
[b-xtxminjqu0] .fb-comments-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 4px;
}

[b-xtxminjqu0] .fb-comment {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light, #e9ecef);
}

[b-xtxminjqu0] .fb-comment:last-child {
    border-bottom: none;
}

[b-xtxminjqu0] .fb-comment-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

[b-xtxminjqu0] .fb-comment-body {
    font-size: 0.9rem;
    color: var(--text-primary, #212529);
    margin-bottom: 6px;
}

[b-xtxminjqu0] .fb-replies {
    margin-left: 20px;
    padding-left: 12px;
    border-left: 2px solid var(--border-light, #dee2e6);
}

[b-xtxminjqu0] .fb-reply {
    padding: 6px 0;
    font-size: 0.85rem;
}

[b-xtxminjqu0] .fb-reply-input {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

[b-xtxminjqu0] .fb-reply-input input {
    flex: 1;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    [b-xtxminjqu0] .fb-dest-grid {
        grid-template-columns: 1fr;
    }

    [b-xtxminjqu0] .fb-photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}
/* /Components/Pages/VehicleDetailsTabs/MediaTab.razor.rz.scp.css */
/* Upload Zone */
[b-mcani2pd5d] .mg-upload-zone {
    position: relative;
    border: 2px dashed var(--border-light, #ced4da);
    border-radius: 16px;
    background: var(--bg-elevated, #f8f9fa);
    transition: all 0.2s ease;
}

[b-mcani2pd5d] .mg-upload-zone:hover {
    border-color: #0d6efd;
    background: rgba(13, 110, 253, 0.03);
}

[b-mcani2pd5d] .mg-upload-inner {
    text-align: center;
    padding: 2rem 1rem;
}

[b-mcani2pd5d] .mg-upload-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    display: block;
    margin-bottom: 0.5rem;
}

[b-mcani2pd5d] .mg-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

[b-mcani2pd5d] .mg-upload-files {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--border-light, #e9ecef);
}

[b-mcani2pd5d] .mg-file-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    padding: 4px 10px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #dee2e6);
    border-radius: 20px;
}

/* Carousel */
[b-mcani2pd5d] .mg-carousel-wrapper {
    max-width: 800px;
}

[b-mcani2pd5d] .mg-main-image {
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

[b-mcani2pd5d] .mg-carousel-img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    display: block;
    cursor: pointer;
    background: #111;
}

[b-mcani2pd5d] .mg-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s;
}

[b-mcani2pd5d] .mg-nav-btn:hover {
    opacity: 1;
}

[b-mcani2pd5d] .mg-nav-prev {
    left: 10px;
}

[b-mcani2pd5d] .mg-nav-next {
    right: 10px;
}

[b-mcani2pd5d] .mg-photo-counter {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

[b-mcani2pd5d] .mg-carousel-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
}

[b-mcani2pd5d] .mg-carousel-actions .btn {
    backdrop-filter: blur(4px);
    border-radius: 8px;
}

/* Thumbnails */
[b-mcani2pd5d] .mg-thumbnails {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 0;
}

[b-mcani2pd5d] .mg-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

[b-mcani2pd5d] .mg-thumb:hover {
    opacity: 0.9;
}

[b-mcani2pd5d] .mg-thumb.active {
    border-color: #0d6efd;
    opacity: 1;
}

/* Video List */
[b-mcani2pd5d] .mg-video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

[b-mcani2pd5d] .mg-video-item {
    width: 160px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light, #dee2e6);
}

[b-mcani2pd5d] .mg-video-placeholder {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

[b-mcani2pd5d] .mg-video-placeholder:hover {
    color: #fff;
}

[b-mcani2pd5d] .mg-video-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: var(--bg-elevated, #f8f9fa);
}

/* Preview Lightbox */
[b-mcani2pd5d] .mg-preview-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

[b-mcani2pd5d] .mg-preview-container {
    display: flex;
    flex-direction: column;
    max-width: 95vw;
    max-height: 95vh;
}

[b-mcani2pd5d] .mg-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    margin-bottom: 8px;
}

[b-mcani2pd5d] .mg-preview-body {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

[b-mcani2pd5d] .mg-preview-body img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
}

[b-mcani2pd5d] .mg-preview-body video {
    max-width: 90vw;
    max-height: 82vh;
    border-radius: 8px;
}

@media (max-width: 768px) {
    [b-mcani2pd5d] .mg-carousel-img {
        max-height: 300px;
    }

    [b-mcani2pd5d] .mg-thumb {
        width: 44px;
        height: 44px;
    }
}
/* /Components/Pages/VehicleDetailsTabs/OverviewTab.razor.rz.scp.css */
/* ── Overview Layout ── */
[b-k2gx8w9m61] .ov-hero-image {
    position: relative;
}

[b-k2gx8w9m61] .ov-photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    pointer-events: none;
}

[b-k2gx8w9m61] .ov-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

[b-k2gx8w9m61] .ov-nav-btn:hover {
    opacity: 1;
}

[b-k2gx8w9m61] .ov-nav-prev {
    left: 8px;
}

[b-k2gx8w9m61] .ov-nav-next {
    right: 8px;
}

[b-k2gx8w9m61] .ov-thumbnails {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
}

[b-k2gx8w9m61] .ov-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

[b-k2gx8w9m61] .ov-thumb:hover {
    opacity: 0.85;
}

[b-k2gx8w9m61] .ov-thumb.active {
    border-color: #0d6efd;
    opacity: 1;
}

[b-k2gx8w9m61] .ov-no-photo {
    background: var(--bg-elevated, #f8f9fa);
    border: 2px dashed var(--border-light, #dee2e6);
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--text-muted, #6c757d);
}

[b-k2gx8w9m61] .ov-mini-tabs {
    padding: 0 0.75rem;
    background: var(--bg-elevated, #f8f9fa);
}

[b-k2gx8w9m61] .ov-mini-tabs .nav-link {
    font-size: 0.82rem;
    padding: 0.55rem 0.9rem;
    border-bottom-width: 2px;
    color: var(--text-secondary, #6c757d);
}

[b-k2gx8w9m61] .ov-mini-tabs .nav-link.active {
    color: var(--text-primary, #212529);
    font-weight: 600;
}

[b-k2gx8w9m61] .ov-profit-banner {
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

[b-k2gx8w9m61] .ov-profit-banner.profit-positive {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    border: 1px solid rgba(25, 135, 84, 0.2);
}

[b-k2gx8w9m61] .ov-profit-banner.profit-negative {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

[b-k2gx8w9m61] .ov-profit-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #6c757d);
}

[b-k2gx8w9m61] .ov-profit-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

[b-k2gx8w9m61] .ov-profit-banner.profit-positive .ov-profit-value {
    color: #198754;
}

[b-k2gx8w9m61] .ov-profit-banner.profit-negative .ov-profit-value {
    color: #dc3545;
}

/* Engine Hero Section */
[b-k2gx8w9m61] .engine-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

[b-k2gx8w9m61] .engine-stat {
    display: inline-flex;
    align-items: baseline;
    margin: 0 8px;
}

[b-k2gx8w9m61] .engine-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

[b-k2gx8w9m61] .engine-unit {
    font-size: 1rem;
    font-weight: 500;
    color: #f39c12;
    margin-left: 2px;
}

[b-k2gx8w9m61] .engine-config {
    font-size: 1.1rem;
    color: #3498db;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(52, 152, 219, 0.15);
    border-radius: 20px;
}

/* Quick Specs */
[b-k2gx8w9m61] .quick-specs {
    text-align: center;
}

[b-k2gx8w9m61] .quick-specs .badge {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 12px;
}

/* Info Sections */
[b-k2gx8w9m61] .info-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light, #e9ecef);
}

[b-k2gx8w9m61] .info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

[b-k2gx8w9m61] .section-title {
    color: var(--text-secondary, #495057);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

[b-k2gx8w9m61] .section-title.clickable:hover {
    color: #0d6efd;
}

[b-k2gx8w9m61] .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}

[b-k2gx8w9m61] .info-item {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

[b-k2gx8w9m61] .info-item.full-width {
    grid-column: span 2;
}

[b-k2gx8w9m61] .info-label {
    font-size: 0.75rem;
    color: var(--text-muted, #6c757d);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

[b-k2gx8w9m61] .info-value {
    font-size: 0.95rem;
    color: var(--text-primary, #212529);
    font-weight: 500;
}

/* Technical Data Grid */
[b-k2gx8w9m61] .technical-data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 16px;
    max-height: 400px;
    overflow-y: auto;
    padding: 12px;
    background: var(--bg-elevated, #f8f9fa);
    border-radius: 8px;
    margin-top: 8px;
}

[b-k2gx8w9m61] .tech-item {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light, #e9ecef);
}

[b-k2gx8w9m61] .tech-label {
    font-size: 0.7rem;
    color: var(--text-muted, #6c757d);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

[b-k2gx8w9m61] .tech-value {
    font-size: 0.85rem;
    color: var(--text-primary, #212529);
    word-break: break-word;
}

/* Financial Summary dark mode fix */
[b-k2gx8w9m61] .border-end {
    border-color: var(--border-light, #dee2e6) !important;
}

@media (max-width: 768px) {
    [b-k2gx8w9m61] .info-grid,
    [b-k2gx8w9m61] .technical-data-grid {
        grid-template-columns: 1fr;
    }

    [b-k2gx8w9m61] .info-item.full-width {
        grid-column: span 1;
    }

    [b-k2gx8w9m61] .engine-value {
        font-size: 2rem;
    }
}
