/* 
   Theme: AutoWise (Dark Mode / Original Palette)
   Font: Outfit
*/

:root {
    --primary: #22c55e;
    /* Green (Original) */
    --primary-hover: #16a34a;
    --dark: #ffffff;
    /* Text turns light */
    --dark-secondary: #e2e8f0;
    --text: #e2e8f0;
    /* Light Slate */
    --text-light: #94a3b8;
    /* Slate 400 */
    --bg: #0f172a;
    /* Slate 900 (Dark Background) */
    --card-bg: #1e293b;
    /* Slate 800 (Card Background) */
    --white: #ffffff;
    --border: #334155;
    /* Slate 700 */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   MODERN SCROLLBAR STYLING - Global
   ============================================ */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
    background-clip: padding-box;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #10b981 rgba(15, 23, 42, 0.4);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    /* Transparent Dark */
    backdrop-filter: blur(12px);
    /* Glass Effect */
    height: 90px;
    align-items: center;
    position: fixed;
    /* Overlay on Hero */
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    /* Widened Navbar */
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--white);
}

/* White Text */

.nav-links {
    display: none;
    /* Hidden on mobile initially */
}

@media(min-width: 1024px) {
    .nav-links {
        display: flex;
        gap: 30px;
    }

    .hamburger-menu {
        display: none;
    }
}

@media(max-width: 1023px) {
    .nav-links {
        display: none;
    }

    .nav-actions {
        display: none !important;
        /* Hide desktop actions on mobile, they will be in drawer */
    }

    .hamburger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--white);
        font-size: 1.2rem;
        cursor: pointer;
        padding: 8px 12px;
        border-radius: 8px;
        transition: all 0.2s;
        margin-left: auto;
        /* Push to right */
    }

    .hamburger-menu:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--primary);
    }

    /* Mobile Fixes */
    .nav-container {
        padding: 0 16px;
        /* Reduce padding on mobile */
    }

    .hero {
        width: 100vw;
        max-width: 100%;
        overflow-x: hidden;
    }

    .search-btn span {
        display: none;
        /* Hide Search text on mobile */
    }

    .search-btn i {
        margin: 0 !important;
        /* Center icon */
    }
}

/* Mobile Drawer Styles */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    /* Hidden off-screen */
    width: 280px;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1002;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.drawer-logo span {
    color: var(--white);
}

.close-drawer {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
}

.close-drawer:hover {
    color: var(--white);
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-content a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s;
    display: block;
}

.drawer-content a:hover,
.drawer-content a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 16px;
}

.drawer-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-action-item {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.drawer-action-item.btn-text {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
}

.drawer-action-item.btn-primary {
    display: block;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    /* White Text */
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.9rem;
    /* Decreased Font Size */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-text {
    text-decoration: none;
    color: var(--white);
    /* White Text */
    font-weight: 600;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: rgba(51, 65, 85, 0.8);
    /* Slate 700 with transparency */
    color: var(--white);
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(71, 85, 105, 0.9);
    /* Slate 600 */
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}


/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-image: url('hero_bg.jpg');
    /* Updated Local Image */
    /* Premium dark car */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Darkens image */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
    /* Space for search bar overlap */
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* Floating Search Card */
.search-card {
    position: relative;
    z-index: 10;
    background: rgba(30, 41, 59, 0.75);
    /* Transparent Slate 800 */
    backdrop-filter: blur(12px);
    /* Glass Effect */
    width: 100%;
    max-width: 1100px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    margin-top: -60px;
    /* Overlap effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle white border for glass */
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.split-input {
    display: flex;
    gap: 10px;
}

.split-input input,
.split-input select {
    width: 100%;
}

input,
select {
    width: 100%;
    padding: 16px 20px;
    /* Match Trigger padding */
    border: 1px solid var(--border);
    border-radius: 12px;
    /* Match Trigger radius */
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    /* Match Trigger font */
    color: var(--white);
    background: #0f172a;
    transition: all 0.2s;
    height: 56px;
    /* Match Explicit Trigger Height */
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #0f172a;
}

/* Custom Select Logic */
.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 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    /* Reduced from 0.85rem */
    font-weight: 400;
    /* Reduced to Regular */
    text-transform: uppercase;
    /* Uppercase like reference */
    letter-spacing: 0.5px;
    color: #e2e8f0;
    /* Light gray text */
    background: #1f2937;
    /* Dark button bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    height: 56px;
}

.custom-select__trigger:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #374151;
    /* Lighter on hover */
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    min-width: 240px;
    /* Wider dropdown */
    background: #111827;
    /* Deep Navy Background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
    border-radius: 16px;
    /* Large rounded corners */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 400px;
    overflow-y: auto;
    padding: 12px;
    /* Inner padding */
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* For checkmark logic if added */
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
    /* Muted text */
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
    margin-bottom: 2px;
}

.custom-option:last-child {
    margin-bottom: 0;
}

.custom-option:hover {
    color: #f8fafc;
    background-color: rgba(255, 255, 255, 0.05);
}

.custom-option.selected {
    color: #ffffff;
    background-color: transparent;
    /* Remove background for selected to match clean look */
}

/* Simulate Checkmark for selected item */
.custom-option.selected::after {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    margin-left: 10px;
}

/* Custom Scrollbar */
.custom-options::-webkit-scrollbar {
    width: 6px;
}

.custom-options::-webkit-scrollbar-track {
    background: transparent;
}

.custom-options::-webkit-scrollbar-thumb {
    background-color: #374151;
    border-radius: 20px;
}

.arrow {
    position: relative;
    height: 6px;
    width: 6px;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 2px;
    /* Slightly thinner */
    height: 100%;
    transition: all 0.2s;
    border-radius: 2px;
}

.arrow::before {
    left: -2px;
    /* Adjusted for smaller size */
    transform: rotate(-45deg);
    background-color: var(--white);
}

.arrow::after {
    left: 2px;
    /* Adjusted for smaller size */
    transform: rotate(45deg);
    background-color: var(--white);
}

.open .arrow::before {
    left: -2px;
    transform: rotate(45deg);
}

.open .arrow::after {
    left: 2px;
    transform: rotate(-45deg);
}

/* Custom Dropdown Styling */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Dropdown Options (Dark Mode) */
option {
    background-color: #1e293b;
    /* Matches Card BG */
    color: var(--white);
    padding: 12px;
}

.search-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    height: 48px;
    /* Match inputs */
}

.search-btn:hover {
    background: var(--primary-hover);
}

.search-btn-secondary {
    background: rgba(51, 65, 85, 0.8);
    border: 1px solid var(--border);
}

.search-btn-secondary:hover {
    background: rgba(71, 85, 105, 0.9);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.toggle-advanced {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
}

.advanced-filters {
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    /* Auto fit equal columns */
    gap: 15px;
    border: 1px solid var(--border);
    align-items: end;
    /* Align bottoms */
}

/* Ensure Price group spans appropriately */
.advanced-group.price-group {
    grid-column: span 2;
}

.settings-row {
    display: none;
    /* Removed */
}

.advanced-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 5px;
}

.advanced-filters.hidden {
    display: none;
}

.settings-row {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}


/* Main Inventory */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-light);
}

/* Grid & Cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-image img {
    transform: scale(1.05);
    /* Zoom effect */
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.card h3 a {
    color: var(--white);
    /* White Title */
    text-decoration: none;
}

.card .ref-no {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.specs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.chip {
    font-size: 0.85rem;
    color: #e2e8f0;
    /* Light Text */
    background: rgba(30, 41, 59, 0.5);
    /* Dark Slate with transparency */
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.chip i {
    color: #3b82f6;
    /* Blue Icon */
}

.price-section {
    margin-top: auto;
    /* Push to bottom */
    border-top: 1px solid var(--border);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.price-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.import-cost {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
}

.btn-adjust {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-left: 10px;
}

.btn-adjust:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.6);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
    z-index: 5;
    backdrop-filter: blur(4px);
}

.btn-favorite:hover {
    transform: scale(1.1);
    background: rgba(15, 23, 42, 0.8);
}

.btn-favorite.active {
    color: #ef4444;
    /* Red Heart */
}


/* Loading */
.loading {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.quote-text {
    margin-top: 20px;
    font-style: italic;
    color: #94a3b8;
    /* Slate 400 */
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox & Modal */
.hidden {
    display: none !important;
}

/* Keep Modal styles similar but updated for theme */
.modal,
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal,
.close-lightbox {
    color: var(--white);
    font-size: 2rem;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 2rem;
    border: none;
    padding: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    user-select: none;
    z-index: 2001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.gallery-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gallery-img:hover {
    opacity: 0.8;
}

/* Custom Checkbox Toggle Button */
.checkbox-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
    font-size: 0.8rem;
    width: 100%;
    justify-content: center;
}

.checkbox-btn.active {
    background: #ecfdf5;
    /* Emerald-50 */
    border-color: #10b981;
    color: #065f46;
    font-weight: 500;
}

.checkbox-btn i {
    font-size: 1rem;
}

.checkbox-btn.active i {
    color: #10b981;
}

/* Modal Tax Breakdown */
.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-label {
    color: #64748b;
}

.breakdown-val {
    color: #0f172a;
    font-weight: 500;
}

.breakdown-highlight {
    background: #f8fafc;
    padding: 6px;
    border-radius: 4px;
    margin-top: 4px;
    font-weight: 600;
}
/* Mobile Fixes (Overflow & Email) */
body { overflow-x: hidden; }
a[href^='mailto:'] { word-break: break-all; }
