/* Import Cost Calculator - Custom Styles Matching Screenshot */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.calculator-page {
    background: #000000;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #ffffff;
    padding-top: 80px;
}

.calculator-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10B981 0%, #14B8A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.calculator-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
}

.calculator-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(16, 185, 129, 0.2),
        0 0 40px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Auction Price Checkbox */
.auction-price-section {
    background: rgba(16, 185, 129, 0.05);
    /* Emerald Tint */
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
}

/* Vehicle Details Box - Enhanced Card Styling */
.vehicle-details-box {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.vehicle-details-box:hover {
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vehicle-details-box .form-grid {
    margin-bottom: 0;
}

.auction-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.auction-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #10B981;
}

.auction-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    cursor: pointer;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.75rem;
    /* Compact Label */
    font-weight: 500;
    color: #94a3b8;
    /* Slate 400 */
    letter-spacing: 0.3px;
}

.form-input,
.form-select {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 6px;
    padding: 0 10px;
    height: 36px !important;
    /* Standardized Compact Height */
    line-height: 34px;
    font-size: 0.85rem;
    color: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
}

/* Custom Select Styles (Matches Site Theme) */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    /* Standardized Padding */
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    /* Standardized Font Size */
    font-weight: 500;
    color: #ffffff;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    height: 36px !important;
    /* Standardized Height */
    white-space: nowrap;
    overflow: hidden;
}

.custom-select__trigger span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select__trigger:hover {
    border-color: rgba(59, 130, 246, 0.5);
    /* Blue hover like inputs */
    background: rgba(30, 41, 59, 0.8);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f172a;
    /* Slate 900 */
    border: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: 4px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 250px;
    overflow-y: auto;
    padding: 6px;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: #94a3b8;
    /* Slate 400 */
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
    margin-bottom: 2px;
}

.custom-option:hover {
    color: #ffffff;
    background-color: rgba(59, 130, 246, 0.1);
}

.custom-option.selected {
    color: #ffffff;
    background-color: rgba(59, 130, 246, 0.2);
    font-weight: 600;
}

/* Custom Scrollbar for Options */
.custom-options::-webkit-scrollbar {
    width: 6px;
}

.custom-options::-webkit-scrollbar-track {
    background: transparent;
}

.custom-options::-webkit-scrollbar-thumb {
    background-color: #334155;
    border-radius: 20px;
}

/* Arrow Icon */
.arrow {
    position: relative;
    height: 6px;
    width: 6px;
    margin-left: 8px;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 2px;
    height: 100%;
    transition: all 0.2s;
    background-color: #94a3b8;
    border-radius: 2px;
}

.arrow::before {
    left: -2px;
    transform: rotate(-45deg);
}

.arrow::after {
    left: 2px;
    transform: rotate(45deg);
}

.custom-select.open .arrow::before {
    left: -2px;
    transform: rotate(45deg);
}

.custom-select.open .arrow::after {
    left: 2px;
    transform: rotate(-45deg);
}

/* Fallback: Hide original select but keep it accessible-ish if JS fails (handled by JS hiding it) */
.form-select {
    /* Kept for reference before JS runs, but JS will set display:none */
    width: 100%;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: #64748b;
}

/* Hide number input spinners for cleaner modern look */
.form-input[type="number"]::-webkit-inner-spin-button,
.form-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Other Clearing Charges Section */
.charges-section {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    width: 18px;
    height: 18px;
    color: #10B981;
}

.charges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 0;
    /* Box handles padding/margin */
}

.charge-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.charge-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.charge-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #10B981;
}

.charge-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.charge-input {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 6px;
    padding: 0 10px;
    height: 36px !important;
    line-height: 34px;
    font-size: 0.85rem;
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    /* Ensure matching font */
}

.charge-input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.charge-input:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

/* Agent Charge Section */
/* Agent Charge Section (Horizontal Bar) - Now inside unified box */
.agent-section-inner {
    background: rgba(16, 185, 129, 0.05);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    /* Responsive wrap */
}

.agent-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-mode-toggle {
    display: flex;
    background: rgba(30, 41, 59, 0.4);
    padding: 2px;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    height: 36px;
    /* MATCH INPUT HEIGHT */
    box-sizing: border-box;
}

.mode-btn {
    padding: 0 12px;
    /* Remove vertical padding, use height/flex */
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
    height: 100%;
    /* Fill the container (36px - 4px padding = 32px) */
    display: flex;
    align-items: center;
    justify-content: center;
}

.mode-btn.active {
    background: #10B981;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Totals Display */
/* Agent Input specific style */
.agent-input {
    width: 140px;
    height: 36px !important;
    /* Slightly smaller than main inputs */
    padding: 0 10px;
    font-size: 0.85rem;
}

/* Agent Summary (Right Side) */
.agent-summary {
    display: flex;
    align-items: center;
    gap: 24px;
}

.total-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.total-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.total-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #10B981;
}

/* Calculate Button */
.calculate-btn {
    width: 100%;
    max-width: 350px;
    margin: 30px auto 0;
    display: block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

/* Results Section Refactor */
.results-card {
    margin-top: 40px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 1. Summary Grid (4 Cards) */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.summary-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.summary-card.highlight {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.summary-card .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.summary-card.highlight .label {
    color: rgba(255, 255, 255, 0.9);
}

.summary-card .value {
    font-size: 0.95rem;
    /* Compact Headline */
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

/* 2. Breakdown Section */
.breakdown-header-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    /* No border bottom on header row itself to match clean look, or maybe faint one */
    /* border-bottom: 1px solid rgba(148, 163, 184, 0.1); */
}

.col-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Results Breakdown Container */
.breakdown-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

/* Individual Breakdown Card */
.breakdown-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.breakdown-card:hover {
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.breakdown-card-header {
    background: rgba(15, 23, 42, 0.8);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.breakdown-card-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}

.breakdown-card-content {
    padding: 20px;
}

.breakdown-column {
    display: flex;
    flex-direction: column;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.05);
    /* Faint separator */
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-row.summary-line {
    margin-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 16px;
}

.breakdown-row.highlight-row {
    color: #10B981;
    /* Highlight Agent Charge */
    border-bottom: none;
}

.breakdown-row.highlight-row .row-label {
    color: #10B981;
    font-weight: 600;
}

.breakdown-row.highlight-row .row-value {
    color: #10B981;
    font-weight: 700;
}

.row-label {
    font-size: 0.8rem;
    color: #cbd5e1;
}

.row-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

/* 3. Footer */
.rule-details-footer {
    margin-top: 30px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
    padding: 12px 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.rule-label {
    font-weight: 600;
    color: #10B981;
    font-size: 0.8rem;
}

.rule-info {
    color: #94a3b8;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {

    /* 1. Stack Top Inputs Vertically */
    /* 1. Stack Top Inputs Vertically */
    .top-input-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    #cifSection {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .top-input-row>div {
        width: 100% !important;
        padding-top: 5px !important;
    }

    .calculator-card .form-group {
        width: 100%;
    }

    /* Stack Bid Calculator inputs grid */
    #auctionSection>div {
        grid-template-columns: 1fr !important;
    }

    /* 2. Results: Single Column Grid */
    .summary-grid,
    .breakdown-grid,
    .breakdown-columns {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* 3. Result Cards: Label (Top) / Value (Bottom) - Stacked */
    .summary-card {
        flex-direction: column !important;
        /* Stack vertically inside card */
        justify-content: center !important;
        align-items: flex-start !important;
        /* Align text to left */
        text-align: left !important;
        width: 100% !important;
        padding: 16px !important;
        height: auto !important;
        gap: 4px !important;
    }

    .summary-card .label {
        margin-bottom: 0 !important;
        font-size: 0.85rem !important;
        white-space: normal !important;
        color: #94a3b8 !important;
    }

    .summary-card .value {
        font-size: 1.1rem !important;
        text-align: left !important;
        width: 100% !important;
    }
}

/* Breakdown Section */
.breakdown-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.breakdown-column h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.breakdown-label {
    font-size: 0.875rem;
    color: #cbd5e1;
}

.breakdown-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #10B981;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-card {
        padding: 24px;
    }

    .calculator-title {
        font-size: 1.75rem;
    }

    .form-grid,
    .charges-grid {
        grid-template-columns: 1fr;
    }

    .results-grid,
    .breakdown-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading .calculate-btn::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%,
    100% {
        content: '...';
    }
}

/* Error Message */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    color: #fca5a5;
    font-size: 0.875rem;
}

/* Success Message */
.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    color: #6ee7b7;
    font-size: 0.875rem;
}

/* Custom Scrollbar - Modern Dark Theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

/* --- Collapsible Charges & Results --- */
.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 41, 59, 0.5);
    /* Slate-800/50 */
    padding: 1rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
    margin-bottom: 0px;
    /* Flush when collapsed */
}

.collapsible-header:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(148, 163, 184, 0.3);
}

.collapsible-header.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(30, 41, 59, 0.8);
}

.collapsible-toggle-icon {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.collapsible-header.active .collapsible-toggle-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    display: none;
    /* Hidden by default */
    background: rgba(15, 23, 42, 0.4);
    /* Darker inner */
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 1.25rem;
    animation: fadeIn 0.3s ease-in-out;
}

.collapsible-content.expanded {
    display: block;
}

/* Collapsible Header Summary Text */
.header-summary-text {
    font-size: 0.85rem;
    color: #10B981;
    /* Emerald-500 */
    font-weight: 500;
    margin-right: 10px;
}

/* --- Results Breakdown 2-Column Redesign --- */
.breakdown-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .breakdown-container {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 1.5rem;
    }
}

.breakdown-column {
    background: rgba(30, 41, 59, 0.3);
    padding: 0;
    /* Removing padding to be cleaner, or minimal */
    border-radius: 8px;
}

.breakdown-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding-bottom: 0.5rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.05);
    font-size: 0.9rem;
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-label {
    color: #e2e8f0;
}

.breakdown-value {
    color: #f8fafc;
    font-family: 'Inter', monospace;
    /* Monospace for numbers alignment */
    font-weight: 500;
    text-align: right;
}

.breakdown-total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #10B981;
    /* Emerald */
}

/* --- Input Alignment Fixes --- */
.vehicle-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* 3 Equal Columns for Year/Fuel/CC */
    gap: 1rem;
    align-items: end;
    /* Align bottoms so inputs match */
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .vehicle-grid-row {
        grid-template-columns: 1fr;
    }
}
