﻿
/* Winner Badge Container */
.badge-container {
    position: relative;
    left:50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
}

/* Winner Badge Bubble */
.winner-badge {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 193, 7, 0.95));
    color: #2b2b2b;
    padding: 16px 24px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: winnerPulse 2s ease-in-out infinite, float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

/* Winner badge animations */
@keyframes winnerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(255, 215, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.4);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Responsive adjustments for winner badge */
@media (max-width: 768px) {
    .winner-badge {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .winner-badge {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}



/************************************style of images countainer*****************************/
/* Button Bid now*/
.btn-Category {
    outline: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: #40B3A2;
    min-width: 100px;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    padding: 16px 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    overflow: hidden;
    cursor: pointer;
}

    .btn-Category:hover {
        opacity: .95;
    }

    .btn-Category .animation {
        border-radius: 100%;
        animation: ripple 0.6s linear infinite;
    }

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
    }
}
/* Ensure the container has a defined height */
.image-container {
    top: 10%;
    left: 2%;
    width: 100%; /* Container width will be 100% of its parent */
    height: 300px; /* Set a height for the container (you can adjust this value) */
    display: flex;
    justify-content: center; /* Centers the image horizontally */
    align-items: center; /* Centers the image vertically */
    overflow: hidden; /* Prevents overflow if the image is larger than the container */
}

    /* Ensure image fills the container with the correct size */
    .image-container img {
        object-fit: contain; /* Ensure the image scales within the container without croppi*/
        width: 100%; /* Makes the image take the full width of its container */
        height: 100%; /* Makes the image take the full height of its container */
        border-radius: 15px; /* Optional: Adds rounded corners */
    }


/* Styling the form container */
.container {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom:15px;
}

/* Use Flexbox for the form */
form {
    display: flex;
    flex-wrap: wrap; /* Ensures wrapping if needed on smaller screens */
    justify-content: space-between; /* Adds spacing between items */
}

    /* Set all form controls to have consistent width */
    form .col-md-4 {
        flex: 1;
        min-width: 200px; /* Ensures a minimum width for each form element */
        margin-right: 10px;
    }
        form .col-md-4:last-child {
            margin-right: 0; /* Removes margin from the last element */
        }

/* Styling form labels */
.form-label {
    font-weight: bold;
    color: #333;
}

/* Styling select inputs */
.form-select, .btn-primary {
    border-radius: 8px;
    padding: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    /* Styling hover and focus effects */
    .form-select:focus, .btn-primary:focus, .btn-primary:hover {
        border-color: #007bff;
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
        outline: none;
    }
    
    /*Button specific hover effects */
    .btn-primary:hover {
        background-color: #0056b3;
    }

/* Adding animations to form elements */
.wow {
    visibility: hidden;
}

.animated {
    animation-duration: 1.5s;
    animation-fill-mode: both;
}

/* Adding spacing between form elements */
.mt-4 {
    margin-top: 0.5rem;
}

/* Auction Badges Base Styles */
.auction-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.3);
    color: white;
}

/* Live Auction Badge */
.live-auction-badge {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.9), rgba(255, 107, 107, 0.9));
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Upcoming Auction Badge */
.upcoming-auction-badge {
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.9), rgba(51, 154, 240, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Success/Sold Badge */
.badge-success {
    background: linear-gradient(135deg, rgba(81, 207, 102, 0.9), rgba(64, 192, 87, 0.9));
    font-size: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Warning/Expired Badge */
.badge-warning {
    background: linear-gradient(135deg, rgba(255, 212, 59, 0.9), rgba(252, 196, 25, 0.9));
    color: #2b2b2b;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Image Container */
.image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .image-container:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

/* Pulse animation for live auctions */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(255, 107, 107, 0.7);
    }

    70% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(255, 107, 107, 0);
    }

    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

/* Image styling with overlay effect */
.img-fluid.rounded-start {
    border-radius: 8px !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

/* Dark overlay on image for better badge readability */
.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    z-index: 2;
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}

.image-container:hover .img-fluid.rounded-start {
    transform: scale(1.05);
}

/* Ensure badge stays on top of overlay */
.auction-badge {
    z-index: 3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auction-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
        top: 10px;
        left: 10px;
    }

    .badge-success,
    .badge-warning {
        font-size: 0.75rem;
    }

    .img-fluid.rounded-start {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .auction-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
        top: 8px;
        left: 8px;
    }
}



/* Title container styles */
.title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/*---------------------------------countdown start css style -----------------------*/

/* Countdown container styles */
/* Flexbox layout for the title and countdown container */
.title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Styling for the countdown container */
.countdown-container {
    display: flex;
    margin-left: 20px;
}

/* Styling for each countdown unit */
.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

/* Countdown value styling */
.countdown-value {
    font-size: 24px;
    font-weight: bold;
    color: #f39c12;
    animation: pulse 1s infinite;
}

/* Countdown label styling */
.countdown-label {
    font-size: 12px;
    color: #34495e;
}

/* Fade-in animation for countdown units */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse effect for countdown values */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


/*---------------------------------countdown end css style -----------------------*/

.bids-container {
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    margin-top: 20px;
}

.start-bid-container {
    margin-right: 20px; /* Space between button and title */
}

.start-bid-button {
    display: flex;
    align-items: center;
    background-color: #ffcc00; /* Bright yellow */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    outline: none; /* Remove default focus outline */
}

    .start-bid-button:hover {
        background-color: #ffb300; /* Darker yellow on hover */
        transform: scale(1.05); /* Slightly enlarge */
    }

.star-icon {
    width: 24px; /* Icon size */
    height: 24px;
    margin-right: 10px; /* Space between icon and text */
}

.bids-title {
    font-size: 1.5rem; /* Title font size */
    color: #333; /* Title color */
    margin: 0; /* Remove default margin */
}

.rounded-start {
    border-top-left-radius: 0.5rem; /* Rounded corners */
    border-bottom-left-radius: 0.5rem; /* Rounded corners */
}

.info-card {
    background-color: #f9f9f9; /* Light background */
    border: 1px solid #ddd; /* Light border */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Padding inside the card */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center; /* Center align text */
    max-width: 400px; /* Max width for the card */
    margin: 20px auto; /* Center the card */
}
.event-title {
    font-size: 1.5rem; /* Title font size */
    color: #ffcc00; /* Title color */
    margin-bottom: 10px; /* Space below the title */
}
.event-message {
    font-size: 1.2rem; /* Message font size */
    color: #333; /* Message color */
}

/*-----------------------------listing-info-container---------------------------*/

/*-----------------------------listing-info-container---------------------------*/

.listing-info-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background-color: #f5f6fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: #495057;
    flex-wrap: wrap;
}

/* Base styles for the two larger columns */
.listing-info-column-price,
.listing-info-column-Synchronisation {
    flex: 1;
    min-width: 180px;
}

/* Specific styles for the smaller location column */
.listing-info-column-emplacement {
    flex: 0.5;
    min-width: 140px;
}

.listing-info-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 4px;
}

.listing-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .listing-info-list li {
        margin-bottom: 5px;
        overflow-wrap: break-word;
    }

        .listing-info-list li strong {
            color: #2c3e50;
            font-weight: 600;
        }

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .listing-info-container {
        flex-direction: column;
    }
}


    /* pagination style auction values ***********************/


    /* General Pagination Styling */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        font-family: 'Arial', sans-serif;
        margin: 20px 0;
        color: #333;
    }

    .pagination-button {
        display: inline-flex;
        align-items: center;
        padding: 10px 20px;
        background-color: #f0a500; /* Auction orange color */
        color: #fff;
        text-decoration: none;
        border-radius: 50px;
        font-size: 16px;
        font-weight: bold;
        transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }

        .pagination-button:hover {
            background-color: #f07b00;
            transform: scale(1.1);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .pagination-button:active {
            transform: scale(0.95);
        }

        /* Disabled button styling */
        .pagination-button.disabled {
            background-color: #ddd;
            cursor: not-allowed;
            pointer-events: none;
        }

    /* Pagination Info (Page number display) */
    .pagination-info {
        font-size: 16px;
        color: #444;
        font-weight: normal;
    }

    /* Adding Animation Effects */
    .pagination-button {
        animation: fadeIn 0.5s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Styling for the arrows */
    .fas {
        margin: 0 5px;
        font-size: 18px;
    }

    .pagination-button.previous .fas,
    .pagination-button.next .fas {
        font-size: 18px;
    }

    /* Responsive Styling */
    @media (max-width: 600px) {
        .pagination {
            flex-direction: column;
        }

        .pagination-button {
            padding: 8px 15px;
        }

        .pagination-info {
            margin-bottom: 10px;
        }
    }


#snackbarToast {
    background-color: #333; /* Dark background */
    color: white;
    border-radius: .5rem;
}



/****************************social media link generator **********************/

/**************************** social media link generator **********************/
.icons {
    display: flex;
    justify-content: flex-end; /* Aligns icons to the right */
    gap: 12px; /* Space between icons */
    margin-top: 8px;
    animation: fadeInUp 0.8s ease-in-out; /* entrance animation */
}

    /* Each icon button */
    .icons a {
        text-decoration: none;
        border: 1px solid transparent;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 5px;
        transition: all 0.3s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: scale(1);
    }

        /* Facebook */
        .icons a:nth-child(1) {
            color: #1877F2;
            border-color: #B7D4FB;
        }

            .icons a:nth-child(1):hover {
                background-color: #1877F2;
                color: #fff;
                transform: scale(1.15) rotate(8deg);
            }

        /* Twitter/X */
        .icons a:nth-child(2) {
            color: #46C1F6;
            border-color: #BEE7FB;
        }

            .icons a:nth-child(2):hover {
                background-color: #46C1F6;
                color: #fff;
                transform: scale(1.15) rotate(8deg);
            }

        /* Instagram */
        .icons a:nth-child(3) {
            color: #e1306c;
            border-color: #f5bccf;
        }

            .icons a:nth-child(3):hover {
                background-color: #e1306c;
                color: #fff;
                transform: scale(1.15) rotate(8deg);
            }

        /* WhatsApp */
        .icons a:nth-child(4) {
            color: #25d366;
            border-color: #bef4d2;
        }

            .icons a:nth-child(4):hover {
                background-color: #25d366;
                color: #fff;
                transform: scale(1.15) rotate(8deg);
            }

        /* Copy Link */
        .icons a:nth-child(5) {
            color: #0088cc;
            border-color: #b3e6ff;
        }

            .icons a:nth-child(5):hover {
                background-color: #0088cc;
                color: #fff;
                transform: scale(1.15) rotate(8deg);
            }

        /* Icon animation */
        .icons a span {
            transition: transform 0.2s ease-in-out;
        }

        .icons a:hover span {
            transform: scale(1.2);
        }

/* Smooth fade-in from bottom */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/********************************CSS Verified Badge*******************************/

.VerificationBadge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
    color: #fff;
    margin-left: 8px;
    text-transform: uppercase;
}

.badge-unverified {
    background-color: #b0b0b0;
}

.badge-email {
    background-color: #3498db;
}

.badge-phone {
    background-color: #f39c12;
}

.badge-identity {
    background-color: #27ae60;
}





/*
**********************************Clean Styled Rating Number***********************************
*/


.badge-rating {
    background: #ffd700; /* gold color */
    color: #000;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
    margin-left: 6px;
    font-size: 0.9rem;
    display: inline-block;
}

.badge-rating-empty {
    background: #ccc;
    color: #555;
    padding: 4px 8px;
    border-radius: 10px;
    margin-left: 6px;
    font-size: 0.9rem;
}




/* Custom Styling for the redesigned sidebar */
.filter-card {
    border: 1px solid #eef0f2;
    border-radius: 12px;
    background: #fff;
}

.filter-header {
    border-bottom: 1px solid #f8f9fa;
    padding: 1.25rem 1rem;
}

.filter-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

    .filter-section-title i {
        font-size: 1rem;
        margin-right: 8px;
        color: #0d6efd; /* Your Primary Color */
    }

.form-label-sm {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #343a40;
}

.custom-input {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
}

    .custom-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.05);
    }

.price-display-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    color: #0d6efd;
}
/* Sticky Fix for tall sidebars */
.sticky-sidebar {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    scrollbar-width: thin;
}


/* ============================================
   FILTER MODAL - PREMIUM DESIGN SYSTEM
   ============================================ */

/* 1. Modal Foundation & Glassmorphism */
#filterModal .modal-dialog {
    max-width: 480px;
    margin: 1.75rem auto;
}

#filterModal .modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

/* 2. Header - Minimalist Elegance */
#filterModal .modal-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

#filterModal .modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1a1a2e;
}

#filterModal .btn-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    opacity: 0.4;
    transition: all 0.2s ease;
}

    #filterModal .btn-close:hover {
        opacity: 1;
        background: rgba(0, 0, 0, 0.05);
        transform: rotate(90deg);
    }

/* 3. Body - Fluid Scrolling Experience */
.sidebar-body {
    padding: 0.5rem 2rem 1.5rem;
    max-height: 65vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

    .sidebar-body::-webkit-scrollbar {
        width: 4px;
    }

    .sidebar-body::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar-body::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
        border-radius: 4px;
    }

/* 4. Typography Hierarchy */
.filter-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.75rem;
}

/* 5. Input Fields - Floating Effect */
.form-control,
.form-select {
    height: 48px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #1e293b;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

    .form-control:hover,
    .form-select:hover {
        border-color: #cbd5e1;
        background: #fafafa;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: #3b82f6;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08), 0 4px 12px rgba(59, 130, 246, 0.05);
        outline: none;
    }

/* Search Input Special Styling */
.input-wrap .form-control {
    padding-left: 2.75rem;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.input-wrap:focus-within .input-icon {
    color: #3b82f6;
}

/* 6. Location Stack - Card-Based Design */
.location-stack {
    gap: 0.75rem;
}

.loc-row {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    background: #f8fafc;
    border: 1.5px solid transparent;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

    .loc-row:hover:not(:has(select:disabled)) {
        background: #f1f5f9;
        border-color: #e2e8f0;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    }

    .loc-row:focus-within {
        background: #ffffff !important;
        border-color: #3b82f6;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08), 0 4px 12px rgba(59, 130, 246, 0.05);
    }

    .loc-row:has(select:disabled) {
        opacity: 0.5;
        cursor: not-allowed;
    }

.loc-icon {
    color: #64748b;
    font-size: 1.125rem;
    transition: color 0.2s ease;
}

.loc-row:focus-within .loc-icon {
    color: #3b82f6;
}

.loc-row select {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 0.9375rem;
    color: #1e293b;
    cursor: pointer;
    appearance: none;
    padding-right: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

    .loc-row select:focus {
        outline: none;
    }

/* 7. Price Range - Modern Slider Aesthetic */
.price-display {
    margin-bottom: 1.25rem;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s ease;
}

    .price-badge strong {
        color: #3b82f6;
        font-weight: 600;
        margin-left: 0.25rem;
    }

.slider-track {
    padding: 1.5rem 1rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
}

/* noUiSlider Customization */
#price-slider {
    height: 6px;
    width:400px;
    background: #e2e8f0;
    border-radius: 9999px;
    border: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    margin: 10px 5px;
}

    #price-slider .noUi-connect {
        background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
        border-radius: 9999px;
    }

    #price-slider .noUi-handle {
        width: 20px;
        height: 20px;
        background: #ffffff;
        border: 2px solid #3b82f6;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
        cursor: grab;
        transition: transform 0.15s ease, box-shadow 0.15s ease;

    }

        #price-slider .noUi-handle:hover {
            transform: scale(1.15);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
        }

        #price-slider .noUi-handle:active {
            cursor: grabbing;
            transform: scale(1.05);
        }

/* 8. Footer - Floating Action Bar */
.modal-footer {
    padding: 1.25rem 2rem;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    gap: 0.75rem;
}

    .modal-footer .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        font-weight: 500;
        border-radius: 12px;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

.btn-outline-secondary {
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    background: transparent;
}

    .btn-outline-secondary:hover {
        background: #f1f5f9;
        border-color: #cbd5e1;
        color: #475569;
        transform: translateY(-1px);
    }

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    }

    .btn-primary:active {
        transform: translateY(0) scale(0.98);
    }

/* 9. Section Dividers */
.filter-divider {
    margin: 1.5rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
    opacity: 1;
}

/* 10. Animation - Entry Effects */
#filterModal.modal.fade .modal-dialog {
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#filterModal.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* 11. Responsive Refinements */
@media (max-width: 576px) {
    #filterModal .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
    }

    #filterModal .modal-content {
        border-radius: 0;
        min-height: 100vh;
    }

    .sidebar-body {
        max-height: calc(100vh - 180px);
    }
}


/*========================================*/
/*============button filter style ========*/
/* Pill Button */
.filter-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .filter-btn-pill:hover {
        border-color: #854836;
        color: #854836;
        background: #faf9f7;
    }

.filter-count {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.filter-btn-pill:hover .filter-count {
    background: #854836;
    color: #fff;
}


.badge-hover:hover {
    background-color: rgba(133, 72, 54, 0.05);
    transform: translateY(-1px);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(133, 72, 54, 0.4) !important;
}

.btn-primary:active {
    transform: translateY(0);
}

.icon-circle {
    transition: transform 0.2s ease;
}

.badge-hover:hover .icon-circle {
    transform: scale(1.1);
}




/* Primary CTA - Modern Pill */
.help-cta-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #854836 0%, #A65D44 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(133, 72, 54, 0.3);
}

    .help-cta-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(133, 72, 54, 0.4);
    }

    .help-cta-primary:active {
        transform: translateY(0);
    }

.help-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 14px;
}

.help-pulse {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #F5B553;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Ghost Button - Subtle */
.help-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1.5px solid #d1d5db;
    border-radius: 50px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .help-cta-ghost:hover {
        border-color: #854836;
        color: #854836;
        background: rgba(133, 72, 54, 0.05);
    }

/* Floating Action Button */
.help-cta-fab {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #854836;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(133, 72, 54, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .help-cta-fab:hover {
        transform: scale(1.05) rotate(5deg);
        box-shadow: 0 6px 20px rgba(133, 72, 54, 0.4);
    }

/* ============================================
       MODERN BATCH LOADER
       ============================================ */

#batch-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    width: 100%;
}

.modern-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.4s ease-out;
}

/* Animated Ring Spinner */
.loader-ring {
    position: relative;
    width: 56px;
    height: 56px;
}

    .loader-ring div {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        box-sizing: border-box;
        border: 3px solid transparent;
        border-top-color: #6366f1;
        animation: ring-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    }

        .loader-ring div:nth-child(1) {
            animation-delay: -0.45s;
            border-top-color: #6366f1;
        }

        .loader-ring div:nth-child(2) {
            animation-delay: -0.3s;
            border-top-color: #8b5cf6;
            width: 80%;
            height: 80%;
            top: 10%;
            left: 10%;
        }

        .loader-ring div:nth-child(3) {
            animation-delay: -0.15s;
            border-top-color: #06b6d4;
            width: 60%;
            height: 60%;
            top: 20%;
            left: 20%;
        }

        .loader-ring div:nth-child(4) {
            animation-delay: 0s;
            border-top-color: #10b981;
            width: 40%;
            height: 40%;
            top: 30%;
            left: 30%;
        }

@keyframes ring-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Loader Text */
.loader-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.025em;
    position: relative;
}

    .loader-text::after {
        content: '';
        animation: dots 1.5s steps(4, end) infinite;
    }

@keyframes dots {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }

    100% {
        content: '';
    }
}

/* Entrance Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alternative: Pulse Dots*/
/*
    .loader-ring {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: auto;
        height: auto;
    }

    .loader-ring div {
        position: static;
        width: 10px;
        height: 10px;
        border: none;
        border-radius: 50%;
        background: #6366f1;
        animation: pulse-dot 1.4s ease-in-out infinite both;
    }

    .loader-ring div:nth-child(1) { animation-delay: -0.32s; background: #6366f1; }
    .loader-ring div:nth-child(2) { animation-delay: -0.16s; background: #8b5cf6; }
    .loader-ring div:nth-child(3) { animation-delay: 0s; background: #06b6d4; }
    .loader-ring div:nth-child(4) { display: none; }

    @keyframes pulse-dot {
        0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
        40% { transform: scale(1); opacity: 1; }
    }
    */