﻿.match-outer {
    background-color: white;
    padding: 20px !important;
    display: block;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.modal-title {
    color: #fff;
}

.undo-back-profile, .next-profile {
    min-width: 100px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 15px;
    padding: 8px;
    font-size: 14px;
}

.next-profile {
    background-color: lightgray;
}

.form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}

/*#matchModal > .modal-dialog {
    max-width: 550px !important;
}*/

.form-select::after {
    content: "\f078"; /* FontAwesome chevron-down icon */
    font-family: 'Font Awesome 6 Free', 'FontAwesome'; /* Adjusted for FA 6.5.2 */
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: blue; /* Set the color of the icon here */
}

/* To change the icon on focus or when the select is open (this requires JavaScript) */
.form-select:focus::after,
.form-select:active::after {
    content: "\f077"; /* FontAwesome chevron-up icon */
}
.open-match-card > .form-group > #carsForMatchCollapse > .allMatchesCard > .allMatchesImageWrapper > .cars-details-card {
    border-bottom-right-radius: 0px !important;
    font-size: 20px!important;
    border-bottom-left-radius: 0px !important;
}
.cars-details-card > label { 
    font-size:20px!important;
}
.match-general-top {
    padding-bottom: 0px;
    padding-top: 5px;
    margin-bottom: 0px;
    position: relative;
    top: -5px;
    color: #1f7ef2;
}

 .matching-modal-collapse-back {
    background: #1f7ef2;
    color: #ffffff !important;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid;
}

.filter-bubble .close-btn {
    background-color: #167afa;
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
    position: relative;
    top: -2px;
}

.fancytree-folder {
    font-weight: bold;
    color: #333;
}

.search-btn {
    width: 100% !important;
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-top: 10px;
    border-radius: 17px;
    background: #167afa;
    padding: 8px;
    border-color: #167afa;
}

.noUi-horizontal .noUi-handle {
    border-radius: 10px;
}

.noUi-handle-lower > .noUi-tooltip {
    display: none;
}

.slider-container > label {
    padding: 10px;
}

.noUi-connect {
    background: #458cf2;
}

.noUi-handle-upper > .noUi-tooltip {
    display: none;
}

#searchPanel {
    margin-top: 20px;
}

.tracker-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.personal-details-card {
    color: #fff;
    padding: 20px;
    background-color: #48576d;
/*    padding-left: 30px;*/
    border-radius: 20px;
    margin-bottom: 0px;
    margin-top: 0px;
}

    .personal-details-card > label {
        font-size: 20px;
    }

        .personal-details-card > label > i {
            margin-right: 5px;
            font-size: 30px;
        }

.icon-container {
    position: relative;
    top: 10px;
}

.tracker-step .icon-container {
    background-color: grey;
    color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    min-height: 80px;
    align-items: center;
    font-size: 24px;
}

.tracker-step.active .icon-container {
    background-color: #48576d;
}

.tracker-step span {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 600;
    color: grey;
}

.tracker-step.active span {
    color: #48576d;
}
.tracker-line {
    position: relative;
    top: -5px;
    left: 0;
    height: 3px;
    background-color: grey;
    z-index: 0;
    width: 220px;
    max-width: 1000px !important;
    margin: auto;
}

    .tracker-line.active {
        background-color: #48576d;
    }

.tracker-step > span {
    width: max-content;
}

.tracker-step {
    width: 80px;
}

.vehicle-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border: 2px solid #458cf2;
    border-radius: 5px;
}

.allMatchesImageWrapper > .vehicle-image {
    margin-bottom: 0px !important;
    padding: 20px;
    width: fit-content;
    border-radius: 20px;
    background: white;
}

.matches-container {
    display: flex;
    flex-wrap: wrap;
}
.allMatches-match-card{
    margin-top:5px;
}
/*.allMatches-match-card {
    margin-bottom: 20px;
}*/
.match-card {
    margin-bottom: 10px;
}

.allMatchesImageWrapper {
    padding-top: 10px;
    border-radius: 20px;
}

.profile-match-card {
}

.form-select.open::after {
    content: "\f077"; /* FontAwesome chevron-up icon when select is open */
}

 .collapse-content > input {
    margin-bottom: 14px !important;
    min-height: 45px;
    font-size: 14px;
    border-radius: 11px;
    border: 1px solid #48576d;
    color: #48576d;
}

    .profile-match-card > .form-group > input::placeholder {
        color: #48576d;
    }

.profile-match-card > .form-group > select {
    margin-top: 14px !important;
    margin-bottom: 14px !important;
    min-height: 45px;
    font-size: 14px;
    border-radius: 11px;
    border: 1px solid #48576d;
    color: #48576d;
}

.login-profile-link {
    margin-left: 10px;
    padding-right: 10px;
    text-decoration: none;
}


.allMatchesImageWrapper > .vehicle-image > img {
    max-width: 166px;
    max-height: 115px;
    border: none;
}

.login-profile-text {
    font-size: 15px;
}

.modal .modal-content {
    border: unset;
    border-radius: 20px !important;
}

.select2-container--default .select2-selection--single {
    height: 44px !important;
    padding: 6px;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
    background: #ffffff;
    border: 1px solid #E6EAEC !important;
    vertical-align: middle;
    border-radius: 30px !important
}

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 26px;
        position: absolute;
        top: 18px !important;
        right: 1px;
        width: 20px;
    }

.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.matches-container > .vehicle-card {
    margin: 5px;
    margin: 5px;
}


/*.select2 {*/
   /* margin-top: 14px !important;*/
    /*margin-bottom: 14px !important;
}
input {
    margin-bottom: 14px !important;
}*/

input {
    color: #48576d;
}

    /* Placeholder text */
    input::placeholder {
        color: #48576d;
        opacity: 1; /* Ensure the placeholder text is fully opaque */
    }

select {
    color: #48576d;
}

    /* Placeholder text */
.form-control::placeholder {
    color: #48576d;
    opacity: 1; /* Ensure the placeholder text is fully opaque */
}
#priceInMindAddModal, #VINNumberSellingAddModal {
    margin-bottom: 14px !important;
    min-height: 45px;
    font-size: 14px;
    border-radius: 11px;
    border: 1px solid #48576d;
    color: #48576d;
}
.radio-btn-modal-btn input[type="radio"]:checked + .btn {
    background-color: #007bff;
    color: white;
}

.radio-btn-modal-btn .btn {
    border-radius: 20px;
    padding: 10px 20px;
    margin: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.radio-btn-modal-btn input[type="radio"]:checked + label {
    background-color: #007bff;
    color: white;
}

/* Swiper Carousel Styles */
.swiper-container {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 380px !important;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

    .swiper-slide button {
        width: 350px !important;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 25px;
        padding: 10px;
        transition: all 0.3s ease;
        box-shadow: 0px 0px 29px 0px #d6d6d6 !important;
    }

.swiper-slide button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.img-thumbnail {
     padding: 0px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    max-width: 100%;
    height: auto;
}

/*.swiper-slide img {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
}*/

.swiper-button-next,
.swiper-button-prev {
    color: #1f7ef2;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: #1f7ef2;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #1f7ef2;
    opacity: 1;
}

/* Ensure proper spacing */
.swiper-wrapper {
    padding: 10px 0;
}

/* Make sure the carousel is responsive */
@media (max-width: 768px) {


    
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* Category button styles */
.category-button {
    padding: 0;
    border-radius: 20px;

    margin: 4px !important;
}

.category-image-row > img {
    max-width: 200px !important;
    max-height: 150px !important;
    object-fit: fill;
    border-radius: 0px;
}

.category-text-row {
    font-size: 16px;
    font-weight: 700;
    padding: 8px;
    text-align: left;
}

/* Category swiper container styles */
.category-swiper {
    width: 100%;
    padding-top: 20px!important;
    padding-bottom: 20px!important;
    overflow: hidden;
}

/* Styles for when we have fewer than 3 categories (no slider) */
.category-swiper.no-swiper {
    overflow: visible;
    padding: 20px 0;
}

.category-swiper.no-swiper .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.category-swiper.no-swiper .swiper-slide {
    width: 300px !important;
    margin: 0 !important;
}

/* Swiper navigation row for category carousel */
.swiper-nav-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
    position: relative;
    left: 10%; /* Move a bit to the right of center */
}
.category-swiper .swiper-button-next:after, .category-swiper .swiper-button-prev:after {
    font-size: 12px!important;
    font-weight: bold;
}


.text-collapsed > .ribbon-text{
    display:none!important;
}

.category-swiper .swiper-button-next:after,
.category-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Hide Swiper pagination dots for category-swiper */
.category-swiper .swiper-pagination {
    display: none !important;
}

/* Floating Search Ribbon Styles */
.floating-search-ribbon {
    position: fixed;
    left: -300px; /* Start off-screen */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 25px 25px 0;
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    cursor: pointer;
}

.floating-search-ribbon.open {
    left: 0;
}

.ribbon-badge {
    background: #1f7ef2;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 8px;
    transition: border-radius 0.3s ease;
}

.ribbon-text {
    padding: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.floating-search-ribbon.open .ribbon-text {
    padding: 0 20px 0 10px;
    max-width: 200px;
}

.floating-search-ribbon.text-collapsed .ribbon-text {
    max-width: 0;
    padding: 0;
    opacity: 0;
}

.floating-search-ribbon.text-collapsed {
    background: transparent;
    box-shadow: none;
}

.floating-search-ribbon.text-collapsed .ribbon-badge {
    border-radius: 0 50% 50% 0;
}

/* Animation for the ribbon text opening */
@keyframes openRibbon {
    from {
        max-width: 0;
        opacity: 0;
    }
    to {
        max-width: 200px;
        opacity: 1;
    }
}

.floating-search-ribbon.open .ribbon-text {
    animation: openRibbon 0.3s ease-in-out forwards;
}