@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/*
font-family: 'Montserrat', sans-serif;
*/

@font-face {
    font-family: 'Good Times Rg';
    src: url('../fonts/GoodTimesRg-Regular.eot');
    src: url('../fonts/GoodTimesRg-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GoodTimesRg-Regular.woff2') format('woff2'),
        url('../fonts/GoodTimesRg-Regular.woff') format('woff'),
        url('../fonts/GoodTimesRg-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.select2-results__option i {
    font-style: italic !important;
    color: #df2900 !important;
}

.select-vehicle {
    cursor: pointer;
}

.compareablecarslist .tableinnercols .tablecol {
    border: none;
    font-size: 14px;
    height: 60px;
    text-align: left
}

.carcomparisonsection .dragableslidingcars .carcard .inner .content .title {
    text-align: center;
    font-size: 15px;
    height: 33px
}

.compareablecarslist .tableinnercols {
    overflow-x: auto
}

.compareablecarslist .tableinnercols::-webkit-scrollbar {
    height: 8px;
    background: #fff;
}

.compareablecarslist .tableinnercols::-webkit-scrollbar-thumb {
    background: #86c440;
    border-radius: 40px;
}

.compareablecarslist .tableinnercols::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 40px;
}





.customize-container {
    padding: 25px 15px
}

.notifyalertgreen {
    margin-bottom: 30px;
    padding: 5px 30px
}

.mainbanneroverlay .breadcrumb {
    margin: 0 auto
}

.compareablecarslist .tableinnercols .tablecol {
    line-height: 15px
}

.compare_exclude {
    visibility: hidden !important;
    /* padding: 10px !important; */
}

.carcomparisonsection .dragableslidingcars .carcard .inner {
    min-height: 370px
}

.comparecaraccordians .eachaccordian .accordiantitle {
    background-position: 2% center;
    padding: 19px 70px
}

.compareablecarslist .tableinnercols {
    height: 70px;
    margin-top: 15px;
    margin-bottom: 15px;
    overflow-y: hidden;
    border-radius: 0
}

.tablecol .fa-check {
    color: #86c440
}

/* General fa-check styling for compare view */
.fa-check {
    color: #4baf00;
}

.tablerow .stickycol {
    height: 70px;
    background: #fff;
    padding-left: 10px
}

.tableinnercols {
    border-radius: 0;
}

.tableinnercols .tablecol {
    height: 70px;
}

/* .tablecol {
        width: 230px !important;
    } */
.comparecaraccordians .eachaccordian .accordiancontent .horsepowermeter .overlaymeter::before {
    background: #86c440
}

.comparecaraccordians .eachaccordian .accordiancontent .table-wrapper {
    overflow-x: hidden
}

.specifications-rpm,
.specifications-horse-power,
.specifications-torque-rpm,
.specifications-torque {
    z-index: 99;
}

.carslidernavigation .testiArrows {
    padding: 15px 0 15px 0
}

.selectcarcards .top {
    padding: 84px 30px 84px
}

.selectcarcards .bottom p .text {
    margin: 0 auto
}

.greenhightcomaprision.active {
    color: #86C440;
    background: #fff
}

.greenhighlight {
    background-color: #83ff1233 !important;

}

.hidesocial {
    width: 16% !important;
    padding: 8px 10px !important;
    margin-top: 0px !important;
    border-radius: 5px;
    background: #caeeb5 !important;
}

.social-share-links>a>div {
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

#st-1 .st-btn>img {
    display: inline-block;
    height: 27px !important;
    width: 14px !important;
    position: relative;
    top: 0px !important;
    vertical-align: middle !important;
}

#st-1 .st-btn {

    height: 26px !important;
    line-height: 0px !important;
    margin-right: 8px !important;
    padding: 0 9px !important;
    position: relative;
    text-align: center;
    top: 0;
    vertical-align: top;
    white-space: nowrap;
}

.closesocial {
    top: 1px !important;
    right: 5px !important;
}

.class_flexauto_adj {
    flex: auto;
}

.row.carslidernavigation {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

/* Reset Filter Button (Dismiss Style) */
.filterreset {
    background-color: transparent !important;
    /* Transparent background */
    color: #ff4444 !important;
    /* Red text for dismiss/cancel look */
    border: 1px solid #ff4444 !important;
    /* Red border */
    padding: 6px 12px !important;
    /* Padding for better spacing */
    font-size: 14px !important;
    /* Font size */
    font-weight: bold !important;
    /* Bold text */
    border-radius: 4px !important;
    /* Rounded corners */
    cursor: pointer !important;
    /* Pointer cursor on hover */
    transition: background-color 0.3s ease, color 0.3s ease !important;
    /* Smooth hover effect */
}

/* Hover Effect */
.filterreset:hover {
    background-color: #ff4444 !important;
    /* Red background on hover */
    color: #fff !important;
    /* White text on hover */
}

/* Active/Clicked Effect */
.filterreset:active {
    background-color: #cc0000;
    /* Darker red when clicked */
    border-color: #cc0000;
    /* Darker border when clicked */
}

.filterreset {
    margin-left: 10px;
    /* Space between "Filters" heading and button */
}

/* Container for the cards */
.dragableslidingcars {
    display: flex;
    flex-wrap: nowrap;
    /* Ensure cards stay in a single row */
    overflow: hidden;
    /* Hide overflowing cards during animation */
    transition: transform 0.3s ease;
    /* Smooth transition for sliding */
}

/* Individual card styling */
.carcard {
    flex: 0 0 33.333%;
    /* Each card takes up 1/3 of the container */
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Smooth fade and slide */
    box-sizing: border-box;
}

/* Hide class for immediate hiding */
.carcard.hide {
    display: none;
    /* Immediately hide the card */
}

/* Class to trigger the slide-to-the-left effect */
.slide-left {
    transform: translateX(-33.333%);
    /* Slide cards to the left by one card width */
}

.testiArrows button:disabled {
    opacity: 0.5;
    /* Make the button look disabled */
    cursor: not-allowed;
    /* Change cursor to indicate the button is disabled */
}

/* Increase the font size of the tooltip text */
.tooltip-inner {
    font-size: 14px;
    /* Adjust the font size as needed */
    padding: 8px 12px;
    /* Optional: Adjust padding for better appearance */
}

/* Customize the scrollbar */
.scrollable-filter::-webkit-scrollbar {
    width: 8px;
    /* Width of the scrollbar */
}

.scrollable-filter::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Color of the track */
    border-radius: 4px;
    /* Rounded corners for the track */
}

.scrollable-filter::-webkit-scrollbar-thumb {
    background: #888;
    /* Color of the scrollbar thumb */
    border-radius: 4px;
    /* Rounded corners for the thumb */
}

.scrollable-filter::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Color of the scrollbar thumb on hover */
}

/* Sticky Filters Heading */
.sticky-header {
    position: sticky;
    top: 75px;
    /* Stick to the top of the container */
    background: rgb(255, 255, 255);
    /* Add a background color to prevent content from showing through */
    z-index: 10;
    /* Ensure the header stays above the scrollable content */
    padding: 10px 0;
    /* Add some padding for better spacing */
    border-bottom: 1px solid #ddd;
    /* Optional: Add a border for separation */
}

/* Scrollable Filter Options */
.scrollable-filters {
    max-height: calc(100vh - 150px);
    /* Adjust the height as needed */
    overflow-y: auto;
    /* Enable vertical scrolling */
    padding-top: 10px;
    /* Add some padding to prevent content from touching the header */
}

.scrollable-filter {
    top: 90px;
    position:sticky
}

/* Optional: Customize the scrollbar */
.scrollable-filters::-webkit-scrollbar {
    width: 8px;
    /* Width of the scrollbar */
}

.scrollable-filters::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollable-filters::-webkit-scrollbar-thumb {
    background: linear-gradient(-93deg,
            #86c440 0.00%,
            #239b62 100.00%);
    border-radius: 4px;
}

.scrollable-filters::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Color of the scrollbar thumb on hover */
}

.left-arrow-button {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #e9e9e9;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    position: sticky;
    left: 0;

}

.right-arrow-button {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #e9e9e9;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    position: sticky;
    right: 0;

}


.vehicle-name-grid-container {
    position: sticky;
    top: 65px;
    display: grid;
    gap: 5px;
    /* 5px gap between cards */
    padding: 10px;
    background-color: #f5f5f5;
    font-weight: 500;
    z-index: 1000;
}

.grid-container {
    display: grid;
    gap: 5px;
    /* 5px gap between cards */
    padding: 10px;
    background-color: #f5f5f5;
    /* Light background for contrast */
    /* Align incomplete rows to the right */
}

.vehicle-name-grid-item {
    background-color: linear-gradient(-93deg, #86c440 0.00%, #239b62 100.00%);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    /* Light shadow */
    text-align: center;
    font-size: 14px;
}

.grid-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    /* Light shadow */
    text-align: center;
    font-size: 14px;
}

.first-grid-item {
    visibility: hidden;
}

.comapare-filter-container {
    padding-left: 63px;
    padding-right: 4px;
}

.compare-features-container {
    padding-right: 70px;
    padding-left: 23px;
}

/* Responsive - For smaller screens */
@media (max-width: 768px) {
    .scrollable-filters {
        max-height: calc(63vh - 150px);
    }

    .comapare-filter-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .compare-features-container {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns per row */
    }

    .car-card {
        min-width: 160px !important;
    }

    .comparison-cards {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .title {
        font-size: 14px !important;
        margin: 0 !important;
        min-height: 18px !important;
    }

    .vehicle-name-title {
        font-size: 14px !important;
        margin: 0 !important;
        min-height: 60px !important;
    }

    .select-car-cards {
        min-height: 200px !important;
        margin-top: 13px !important;
    }

    .select-car-cards .iconholderbtn {
        max-width: 110px !important;
    }

    .imageholder {
        padding: 15px !important;
    }

    .dragableslidingcars {
        gap: 4px !important;
        overflow-x: scroll;
        /* overflow-x: hidden; */
        position: relative;
    }

    .vehicle-name-grid-item {
        font-size: 12px;
        min-width: 100px;
    }

    .vehicle-name-grid-container {
        overflow-x: scroll;
    }

    .grid-item span {
        font-size: 10px;
    }

    .grid-item {
        min-width: 110px;
    }

    .first-grid-item {
        min-width: 100px;
    }

    .comparecaraccordians .eachaccordian .accordiantitle {
        display: block;
    }

    .drag-handle {
        cursor: grab;
        right: -28px !important;
        bottom: -5px;
    }
}


/* Custom Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Full viewport width */
    height: 100%;
    /* Full viewport height */
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.custom-modal-content {
    position: absolute;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1002;
    top: 1200px;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.custom-modal-title {
    margin: 0;
    font-size: 1.25rem;
}

.custom-modal-body {
    margin-bottom: 20px;
}

.custom-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Disable body scrolling when modal is open */
body.custom-modal-open {
    overflow: hidden !important;
}

.dragableslidingcars {
    display: grid;
    gap: 1rem;

}

.car-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    min-width: 200px;
    background-color: white;
}

.drag-handle {
    cursor: grab;
    position: relative;
    right: -77px;
}

.select-car-cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    /* Minimum width for the "Select a Car" section */
    flex-shrink: 0;
    /* Prevents shrinking below the minimum width */
    width: 100%;
    min-height: 448px;
    /* Allow the card to shrink */
    box-sizing: border-box;
    /* Ensure padding is included in the width */
}

.select-car-cards .top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    /* Spacing between elements */
    width: 100%;
    /* Ensure the top section takes full width */
}

.select-car-cards .iconholderbtn {
    width: 100%;
    /* Make the image container responsive */
    max-width: 180px;
    /* Maximum width for the image */
}

.select-car-cards .iconholderbtn img {
    width: 100%;
    /* Make the image responsive */
    height: auto;
    /* Maintain aspect ratio */
    transition: transform 0.2s ease;
    /* Smooth scaling effect */
}

.select-car-cards .note {
    text-align: center;
    width: 100%;
    /* Ensure text takes full width */
}

.select-car-cards .bottom {
    width: 100%;
    /* Ensure bottom section takes full width */
    text-align: center;
}

.select-car-cards:hover {
    border-color: #000;
}

.carselector {
    padding: 1rem;
}

.inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.imageholder {
    position: relative;
    flex: 1;
}

.vehicle-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.iconholder {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.content {
    padding: 1rem;
    text-align: center;
}

.ranktag {
    width: 37px;
    height: 24px;
    background: #86c440;
    background: linear-gradient(-93deg, #86c440 0.00%, #239b62 100.00%);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -21px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #ffffff;
    border-radius: 5px;
    position: relative;
    left: -9px;
    bottom: -37px;
}

.flagleg {
    content: '';
    width: 5px;
    height: 31px;
    background: #bcbcbc;
    position: relative;
    bottom: -34px;
    left: -10px;
}

.title {
    font-size: 1rem;
    margin: 0.5rem 0;
    min-height: 16px;
}

.vehicle-name-title {
    font-size: 1rem;
    margin: 0.5rem 0;
    min-height: 80px;
}

.footer {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.vehicledelete {
    background: none;
    border: none;
    cursor: pointer;
    color: #ff0000;
}

/* Optional: Add a scrollbar for better UX on small screens */
.car-comparison-section::-webkit-scrollbar {
    height: 8px;
}

.car-comparison-section::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.car-comparison-section::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.comparison-cards {
    padding-left: 50px;
    padding-right: 74px;
}

.carselectoroption {
    width: 100%;
}