/* _content/CarDatabase.Web/Pages/Comparison.cshtml.rz.scp.css */
.comparison-table-wrapper[b-hrs0zbzt0d] {
    overflow-x: auto;
}
.comparison-table[b-hrs0zbzt0d] {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: var(--card-bg, #fff);
    box-shadow: var(--card-shadow, 0 2px 8px rgba(0,0,0,0.05));
    border-radius: var(--border-radius, 12px);
    margin-bottom: 2rem;
    table-layout: fixed;
}
.comparison-table th[b-hrs0zbzt0d], .comparison-table td[b-hrs0zbzt0d] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    text-align: left;
    background: #fff;
    box-sizing: border-box;
    height: 56px;
    min-height: 56px;
    vertical-align: middle;
    /* Prevent cell content from exceeding cell height */
    overflow: hidden;
}
.comparison-table th:last-child[b-hrs0zbzt0d],
.comparison-table td:last-child[b-hrs0zbzt0d] {
    border-right: none;
}
.comparison-table tr:last-child td[b-hrs0zbzt0d] {
    border-bottom: none;
}
.comparison-table .feature-header[b-hrs0zbzt0d],
.comparison-table .car-model-header[b-hrs0zbzt0d] {
    background: #f8f8f8;
    z-index: 2;
}
.comparison-table .feature-header[b-hrs0zbzt0d] {
    text-align: left;
    border-left: none;
}
.comparison-table .car-model-header[b-hrs0zbzt0d] {
    text-align: center;
    background: #f8f8f8;
    border-right: 1px solid #e1e1e1;
}
.comparison-table .feature-group-row th[b-hrs0zbzt0d] {
    background: #e9ecef;
    font-size: 1.1em;
    font-weight: 600;
    padding-top: 1.5rem;
    border-top: 2px solid #bbb;
}
.comparison-table .feature-label[b-hrs0zbzt0d] {
    font-weight: 500;
}
.comparison-table .feature-value[b-hrs0zbzt0d] {
    font-family: inherit;
}
.comparison-table .feature-value[b-hrs0zbzt0d],
.comparison-table .feature-value.optional[b-hrs0zbzt0d],
.comparison-table .feature-value.included[b-hrs0zbzt0d] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 0;
    gap: 0.5rem;
}
.comparison-table .feature-value.optional span[b-hrs0zbzt0d],
.comparison-table .feature-value.included span[b-hrs0zbzt0d] {
    margin: 0;
}
.comparison-table .feature-value i[b-hrs0zbzt0d] {
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .comparison-table[b-hrs0zbzt0d] {
        min-width: 600px;
    }
}

/* Modern comparison page styles */
.comparison-container[b-hrs0zbzt0d] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.comparison-header[b-hrs0zbzt0d] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.comparison-header h1[b-hrs0zbzt0d] {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
}

.comparison-header h1 i[b-hrs0zbzt0d] {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.back-button[b-hrs0zbzt0d] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
}

.back-button:hover[b-hrs0zbzt0d] {
    background: var(--hover-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.back-button i[b-hrs0zbzt0d] {
    margin-right: 0.5rem;
}

.feature-header[b-hrs0zbzt0d] {
    background: #f8f8f8;
    border-right: 1px solid var(--border-color);
    text-align: left;
}

.feature-value-cell[b-hrs0zbzt0d] {
    text-align: center;
}

.car-make-model[b-hrs0zbzt0d] {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
}

.car-trim[b-hrs0zbzt0d] {
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin-top: 0.25rem;
}

.feature-value[b-hrs0zbzt0d] {
    text-align: center;
    font-weight: 500;
}

.feature-value.yes[b-hrs0zbzt0d] {
    color: var(--success-color);
}

.feature-value.no[b-hrs0zbzt0d] {
    color: var(--danger-color);
}

.feature-value.na[b-hrs0zbzt0d] {
    color: var(--secondary-text);
}

.feature-value.optional[b-hrs0zbzt0d] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-value.included[b-hrs0zbzt0d] {
    color: var(--success-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-value i[b-hrs0zbzt0d] {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.upgrade-price[b-hrs0zbzt0d] {
    font-size: 0.85rem;
    font-weight: 600;
}

.add-upgrade-btn[b-hrs0zbzt0d] {
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-upgrade-btn:hover[b-hrs0zbzt0d] {
    background: var(--accent-color-hover);
    transform: scale(1.1);
}

/* Empty state */
.no-comparison-data[b-hrs0zbzt0d] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
}

.empty-state[b-hrs0zbzt0d] {
    text-align: center;
    max-width: 500px;
}

.empty-state-icon[b-hrs0zbzt0d] {
    font-size: 5rem;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.empty-state h2[b-hrs0zbzt0d] {
    font-family: var(--heading-font);
    font-size: 1.75rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.empty-state p[b-hrs0zbzt0d] {
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .comparison-header[b-hrs0zbzt0d] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .comparison-header h1[b-hrs0zbzt0d] {
        font-size: 2rem;
    }
}
/* _content/CarDatabase.Web/Pages/Index.cshtml.rz.scp.css */
/* Add padding to the bottom of the page when comparison bar is active */
body.comparison-active[b-kwidduniuq] {
    padding-bottom: 300px; /* Increased padding to accommodate the comparison bar */
}

/* Modern index page styles */
body[b-kwidduniuq] {
    background-color: #f8f9fa;
    color: #343a40;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.container[b-kwidduniuq] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.index-header[b-kwidduniuq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.index-header h1[b-kwidduniuq] {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: #212529;
}

.content-layout[b-kwidduniuq] {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.comparison-bar.active + .content-layout[b-kwidduniuq]{
    margin-bottom: 200px;
}

/* Sidebar & Filters */
.sidebar[b-kwidduniuq] {
    width: 300px;
    flex-shrink: 0;
    padding: 1.5rem;
}

.sidebar[b-kwidduniuq]::-webkit-scrollbar {
    width: 6px;
}

.sidebar[b-kwidduniuq]::-webkit-scrollbar-track {
    background-color: var(--off-white);
    border-radius: 3px;
}

.sidebar[b-kwidduniuq]::-webkit-scrollbar-thumb {
    background-color: var(--medium-gray);
    border-radius: 3px;
}

.sidebar[b-kwidduniuq]::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

.sidebar h3[b-kwidduniuq] {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar h3[b-kwidduniuq]::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.filter-form[b-kwidduniuq] {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-group > label[b-kwidduniuq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
    user-select: none;
    position: relative;
}

.filter-group > label[b-kwidduniuq]::after {
    content: "▼";
    position: absolute;
    right: 15px;
    transition: transform 0.3s;
    font-size: 0.8em;
    color: var(--medium-gray);
}

.filter-group.collapsed > label[b-kwidduniuq]::after {
    transform: rotate(-90deg);
}

.filter-group-content[b-kwidduniuq] {
    transition: max-height 0.3s, padding 0.3s;
}

.filter-group.collapsed .filter-group-content[b-kwidduniuq] {
    max-height: 0;
    padding: 0 15px;
    overflow: hidden;
}

.feature-group-description[b-kwidduniuq] {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 15px;
}

.feature-type-group[b-kwidduniuq] {
    margin-bottom: 20px;
}


.filter-form[b-kwidduniuq] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.filter-group[b-kwidduniuq] {
    border-bottom: 1px solid var(--light-gray);
    padding: 1rem 0;
    width: 100%;
}

.filter-group:last-child[b-kwidduniuq] {
    border-bottom: none;
}

/*.filter-group > label::after {
    content: '\25BC';
    font-size: 0.75rem;
    color: var(--medium-gray);
    transition: transform 0.3s ease;
}

.filter-group.collapsed > label::after {
    transform: rotate(-90deg);
}

.filter-group-content {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filter-group.collapsed .filter-group-content {
    max-height: 0;
    overflow: hidden;
}*/

/* Make-Model, Year & Feature filters styled consistently */
.make-model-groups[b-kwidduniuq],
.year-checkboxes[b-kwidduniuq],
.feature-checkboxes[b-kwidduniuq],
.numeric-feature-ranges[b-kwidduniuq] {
    display: flex;
    flex-direction: column;
    padding-right: 0.5rem;
}

.make-checkbox[b-kwidduniuq],
.model-checkbox[b-kwidduniuq],
.year-checkbox[b-kwidduniuq],
.feature-checkbox[b-kwidduniuq] {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.25rem 0.25rem 0;
    border-radius: 4px;
    transition: var(--hover-transition);
}

.model-checkbox[b-kwidduniuq] {
    margin-left: 32px;
    display: none;
}

.make-group:has(.make-checkbox input[type="checkbox"]:checked) .model-checkbox[b-kwidduniuq] {
    display: flex;
}

.make-checkbox label[b-kwidduniuq],
.model-checkbox label[b-kwidduniuq],
.year-checkbox label[b-kwidduniuq],
.feature-checkbox label[b-kwidduniuq] {
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
    font-weight: 400;
    margin: 0;
}

/* Filter actions */
.filter-actions[b-kwidduniuq] {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.filter-actions button[b-kwidduniuq] {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--hover-transition);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

#resetFilters[b-kwidduniuq] {
    background-color: var(--light-gray);
    color: var(--medium-gray);
}

#resetFilters:hover[b-kwidduniuq] {
    background-color: var(--medium-gray);
    color: white;
}

#applyFilters[b-kwidduniuq] {
    background-color: var(--primary-color);
    color: white;
}

#applyFilters:hover[b-kwidduniuq] {
    background-color: var(--primary-light);
}

.feature-type-title[b-kwidduniuq] {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 5px;
}

.feature-checkboxes[b-kwidduniuq] {
    display: flex;
    flex-wrap: wrap;
}

.feature-checkbox[b-kwidduniuq] {
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.feature-checkbox input[type="checkbox"][b-kwidduniuq] {
    margin-right: 8px;
}

.feature-checkbox label[b-kwidduniuq] {
    margin: 0;
    font-size: 0.9em;
    cursor: pointer;
}

.numeric-feature-ranges[b-kwidduniuq] {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.numeric-feature-range[b-kwidduniuq] {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 10px;
}

.numeric-feature-label[b-kwidduniuq] {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95em;
}

.numeric-feature-description[b-kwidduniuq] {
    font-size: 0.85em;
    color: #6c757d;
    margin-bottom: 10px;
}

.range-inputs[b-kwidduniuq] {
    display: flex;
    gap: 10px;
}

.range-input[b-kwidduniuq] {
    flex: 1;
}

.range-input label[b-kwidduniuq] {
    font-size: 0.85em;
    color: #495057;
    margin-bottom: 5px;
    display: block;
}

.range-input input[b-kwidduniuq] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9em;
}

.no-features-message[b-kwidduniuq] {
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    color: #6c757d;
    font-style: italic;
    text-align: center;
}

/* Comparison bar styles */
.comparison-bar[b-kwidduniuq] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    height: auto;
    max-height: 300px; /* Fixed maximum height */
}

.comparison-bar.active[b-kwidduniuq] {
    transform: translateY(0);
}

.comparison-content[b-kwidduniuq] {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 270px; /* Slightly less than parent to account for padding */
}

.comparison-header[b-kwidduniuq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-shrink: 0; /* Don't allow header to shrink */
}

.comparison-content h3[b-kwidduniuq] {
    margin: 0;
    font-size: 1.1rem;
    color: #343a40;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.comparison-content h3 i[b-kwidduniuq] {
    margin-right: 8px;
    color: #0d6efd;
}

.comparison-items-container[b-kwidduniuq] {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    background-color: #f8f9fa;
}

.comparison-items[b-kwidduniuq] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 150px;
    overflow-y: auto;
    padding: 5px 0;
}

.comparison-actions[b-kwidduniuq] {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.comparison-btn[b-kwidduniuq] {
    background-color: var(--primary-color, #2274A5);
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-btn:hover[b-kwidduniuq] {
    background-color: #18587a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.comparison-btn:disabled[b-kwidduniuq] {
    background-color: #cfe2ff;
    color: #84a9e0;
    cursor: not-allowed;
    box-shadow: none;
}

.comparison-btn i[b-kwidduniuq] {
    font-size: 1rem;
}

/* Media queries for better responsive behavior */
@media (max-width: 992px) {
    body.comparison-active[b-kwidduniuq] {
        padding-bottom: 350px; /* More padding on smaller screens */
    }

    .comparison-bar[b-kwidduniuq] {
        max-height: 350px; /* Taller on mobile */
    }

    .comparison-content[b-kwidduniuq] {
        max-height: 320px;
    }
}

@media (max-width: 576px) {
    body.comparison-active[b-kwidduniuq] {
        padding-bottom: 400px; /* Even more padding on smallest screens */
    }

    .comparison-bar[b-kwidduniuq] {
        max-height: 400px;
    }

    .comparison-content[b-kwidduniuq] {
        max-height: 370px;
    }
}

/* Feature Modal Styles */
.feature-modal[b-kwidduniuq] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.feature-modal-content[b-kwidduniuq] {
    background-color: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.close-modal[b-kwidduniuq] {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover[b-kwidduniuq] {
    color: #333;
}

.feature-modal h2[b-kwidduniuq] {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color, #2274A5);
    font-size: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e1e1e1;
}

.feature-sections[b-kwidduniuq] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-section[b-kwidduniuq] {
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 1.5rem;
}

.feature-section:last-child[b-kwidduniuq] {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-group-title[b-kwidduniuq] {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-group-description[b-kwidduniuq] {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.feature-list[b-kwidduniuq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-item[b-kwidduniuq] {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e1e1e1;
}

.feature-name[b-kwidduniuq] {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.feature-value[b-kwidduniuq] {
    display: block;
    color: var(--primary-color, #2274A5);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.feature-description[b-kwidduniuq] {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
}

@media (max-width: 768px) {
    .feature-modal-content[b-kwidduniuq] {
        padding: 1.5rem;
        width: 95%;
    }

    .feature-list[b-kwidduniuq] {
        grid-template-columns: 1fr;
    }
}

/* Car table styles */
.car-table-container[b-kwidduniuq] {
    overflow-x: auto;
    margin-top: 20px;
}

.car-table[b-kwidduniuq] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.car-table th[b-kwidduniuq] {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid #e9ecef;
}

.car-table td[b-kwidduniuq] {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.car-row-even[b-kwidduniuq] {
    background-color: white;
}

.car-row-odd[b-kwidduniuq] {
    background-color: #f8f9fa;
}

.car-table tr:hover[b-kwidduniuq] {
    background-color: #f1f3f5;
}

.car-card-actions[b-kwidduniuq] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.car-card-actions-buttons[b-kwidduniuq] {
    display: flex;
    gap: 0.5rem;
}

.compare-checkbox-container[b-kwidduniuq] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    padding: 0.25rem 0;
}

.compare-checkbox[b-kwidduniuq] {
    accent-color: var(--primary-color, #2274A5);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.view-features-btn[b-kwidduniuq] {
    background: var(--primary-color, #2274A5);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 100px;
    text-align: center;
}

.view-features-btn:hover[b-kwidduniuq] {
    background: #18587a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.view-features-btn:active[b-kwidduniuq] {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.buy-button[b-kwidduniuq] {
    background: var(--success-color, #16a34a);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 80px;
    text-align: center;
}

.buy-button:hover[b-kwidduniuq] {
    background: #12813a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.buy-button:active[b-kwidduniuq] {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.comparison-clear-btn[b-kwidduniuq] {
    background-color: #777777;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.comparison-clear-btn:hover[b-kwidduniuq] {
    background-color: #555555;
}

.comparison-compare-btn[b-kwidduniuq] {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.comparison-compare-btn:hover[b-kwidduniuq] {
    background-color: #0b5ed7;
}

.comparison-compare-btn:disabled[b-kwidduniuq] {
    background-color: #cfe2ff;
    color: #84a9e0;
    cursor: not-allowed;
}

.comparison-compare-btn i[b-kwidduniuq] {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .car-card-actions[b-kwidduniuq] {
        flex-direction: column;
        align-items: flex-start;
    }

    .car-card-actions-buttons[b-kwidduniuq] {
        width: 100%;
        justify-content: space-between;
    }
}
/* _content/CarDatabase.Web/Pages/Shared/_CarResults.cshtml.rz.scp.css */
/* Car Card Styles */
.car-grid-container[b-rr7np4ght1] {
    width: 100%;
}

.car-grid[b-rr7np4ght1] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.car-card[b-rr7np4ght1] {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e1e1e1;
    margin-bottom: 0.5rem;
    position: relative;
    height: 100%;
}

.car-card-image[b-rr7np4ght1] {
    width: 100%;
    aspect-ratio: 3/2;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.car-card-image img[b-rr7np4ght1] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid #e1e1e1;
}

.car-card-content[b-rr7np4ght1] {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.car-card-header[b-rr7np4ght1] {
    padding: 0;
}

.car-card-header h3[b-rr7np4ght1] {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.car-card-title[b-rr7np4ght1] {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.car-card-subtitle[b-rr7np4ght1] {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.car-card-year-trim[b-rr7np4ght1] {
    display: flex;
    gap: 0.75rem;
    font-size: 0.98rem;
    color: var(--secondary-text, #888);
    margin-bottom: 0.5rem;
}

.car-card-info[b-rr7np4ght1] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.car-card-details[b-rr7np4ght1] {
    margin-bottom: 1rem;
}

.car-detail[b-rr7np4ght1] {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.car-detail .detail-label[b-rr7np4ght1] {
    font-weight: 500;
    color: var(--secondary-text, #888);
}

.car-detail .detail-value[b-rr7np4ght1] {
    font-weight: 600;
    color: var(--primary-color, #2274A5);
}

.info-item[b-rr7np4ght1] {
    display: flex;
    flex-direction: column;
}

.info-label[b-rr7np4ght1] {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.info-value[b-rr7np4ght1] {
    font-weight: 600;
    color: var(--primary-dark);
}

.car-card-price[b-rr7np4ght1] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.car-card-buttons[b-rr7np4ght1] {
    display: flex;
    gap: 0.75rem;
}

.card-btn[b-rr7np4ght1] {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--medium-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.car-card-actions[b-rr7np4ght1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.car-card-actions-buttons[b-rr7np4ght1] {
    display: flex;
    gap: 0.5rem;
}

.compare-checkbox-container[b-rr7np4ght1] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    padding: 0.25rem 0;
}

.compare-checkbox[b-rr7np4ght1] {
    accent-color: var(--primary-color, #2274A5);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.view-features-btn[b-rr7np4ght1] {
    background: var(--primary-color, #2274A5);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 85px;
    text-align: center;
}

.view-features-btn:hover[b-rr7np4ght1] {
    background: #18587a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.view-features-btn:active[b-rr7np4ght1] {
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.buy-button[b-rr7np4ght1] {
    background: var(--success-color, #16a34a);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 65px;
    text-align: center;
}

.buy-button:hover[b-rr7np4ght1] {
    background: #12813a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.buy-button:active[b-rr7np4ght1] {
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.results-header[b-rr7np4ght1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.results-title[b-rr7np4ght1] {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.sort-container[b-rr7np4ght1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-container label[b-rr7np4ght1] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}

.sort-select[b-rr7np4ght1] {
    padding: 0.35rem 0.8rem;
    font-size: 0.9rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #f8f9fa;
    color: #333;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' 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 0.5rem center;
    padding-right: 2rem;
}

.sort-select:hover[b-rr7np4ght1] {
    background-color: #f0f0f0;
    border-color: #d0d0d0;
}

.sort-select:focus[b-rr7np4ght1] {
    outline: none;
    border-color: var(--primary-color, #2274A5);
    box-shadow: 0 0 0 3px rgba(34, 116, 165, 0.1);
}

/* Feature Modal Styles */
.feature-modal[b-rr7np4ght1] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.feature-modal-content[b-rr7np4ght1] {
    background-color: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.close-modal[b-rr7np4ght1] {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    color: #888;
    cursor: pointer;
}

.close-modal:hover[b-rr7np4ght1] {
    color: #333;
}

.feature-modal h2[b-rr7np4ght1] {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color, #2274A5);
    font-size: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e1e1e1;
}

.feature-sections[b-rr7np4ght1] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-section[b-rr7np4ght1] {
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 1.5rem;
}

.feature-section:last-child[b-rr7np4ght1] {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-group-title[b-rr7np4ght1] {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-group-description[b-rr7np4ght1] {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.feature-list[b-rr7np4ght1] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-item[b-rr7np4ght1] {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e1e1e1;
}

.feature-name[b-rr7np4ght1] {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.feature-value[b-rr7np4ght1] {
    display: block;
    color: var(--primary-color, #2274A5);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.feature-description[b-rr7np4ght1] {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
}

@media (max-width: 768px) {
    .car-grid[b-rr7np4ght1] {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
    
    .car-card-content[b-rr7np4ght1] {
        padding: 1rem;
    }
    
    .car-card-header h3[b-rr7np4ght1] {
        font-size: 1.1rem;
    }
    
    .car-card-year-trim[b-rr7np4ght1],
    .car-detail[b-rr7np4ght1] {
        font-size: 0.9rem;
    }
    
    .car-card-actions[b-rr7np4ght1] {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .car-card-actions-buttons[b-rr7np4ght1] {
        width: 100%;
        justify-content: space-between;
    }
    
    .feature-modal-content[b-rr7np4ght1] {
        padding: 1.5rem;
        width: 95%;
    }
    
    .feature-list[b-rr7np4ght1] {
        grid-template-columns: 1fr;
    }
}
/* _content/CarDatabase.Web/Pages/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand[b-jpov6s66uh] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a[b-jpov6s66uh] {
  color: #0077cc;
}

.btn-primary[b-jpov6s66uh] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active[b-jpov6s66uh], .nav-pills .show > .nav-link[b-jpov6s66uh] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top[b-jpov6s66uh] {
  border-top: 1px solid #e5e5e5;
}
.border-bottom[b-jpov6s66uh] {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow[b-jpov6s66uh] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-jpov6s66uh] {
  font-size: 1rem;
  line-height: inherit;
}

.footer[b-jpov6s66uh] {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}
