*{
    font-family: "Radio Canada", sans-serif !important;
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1{
    font-family: "Radio Canada", sans-serif !important;
}
.main-color{
  background: rgb(0, 199, 132);
  color: white;
}
.main-color:hover{
    background-color: rgb(3, 174, 117);    
}
.main-color:active,
.main-color:focus {
    background: rgb(0, 199, 132) !important;
    border: none !important;
}
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowraps;
}

.swiper-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    touch-action: none; /* Prevent default actions like scroll */
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 300px; /* Adjust this height for your needs */
    position: relative;
    overflow: hidden;
}

.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.responsive-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the image is fully contained while maintaining aspect ratio */
}

/* Wishlist Heart Icon Styling (one time, visible on all images) */
.wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.wishlist-icon button {
    font-size: 24px;
    color: white;
    background-color: rgb(235 234 234 / 50%); 
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.wishlist-icon button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Heart Button Active (when clicked) */
.wishlist-icon button.liked {
    background-color: #00c684; /* Change to the specified color on click */
}

.swiper-button-next:after {
    content: 'next' !important;
}

.swiper-button-prev:after {
    content: 'prev' !important;
}

.swiper-button-next, .swiper-button-prev {
    background-color: transparent !important;
}


.bids-stats {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap; /* Allow items to wrap on small screens */
}

.stat-card {
    background-color: #f5f8fb;
    border-radius: 12px;
    padding: 40px;
    width: 30%; /* Each card takes 1/3 width of the container */
    /*text-align: center;*/
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px; /* Minimum height to maintain balance */
}

.stat-title {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
    height: 8rem;
}

.stat-content {
    display: flex;
    justify-content: space-between; /* Align value on left and icon on right */
    align-items: center;
    width: 100%; /* Ensure content takes up full width of the card */
}

.stat-value {
    font-size: 40px;
    font-weight: bold;
    color: #2c3e50;
}

.stat-icon {
    margin-left: 10px; /* Space between value and icon */
}

.stat-icon img {
    width: 50px;
    height: 50px;
}

.subheading {
    font-size: 14px;
    color: #7f8c8d; /* A lighter color for subheading */
    margin-top: 5px;
}

.stat-card:hover {
    background-color: #e0e4e9;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1200px) {
    .bids-stats {
        gap: 20px; /* Reduce gap for medium screens */
    }

    .stat-card {
        width: 48%; /* Two cards in a row on medium screens */
    }
}

@media (max-width: 1024px) {
    .bids-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-card {
        width: 100%; /* Cards should take full width on small screens */
        padding: 30px;
    }

    .stat-value {
        font-size: 35px; /* Reduce font size on smaller screens */
    }

    .stat-icon img {
        width: 40px; /* Resize the icon on mobile */
        height: 40px;
    }
}

@media (max-width: 768px) {


    .stat-value {
        font-size: 30px; /* Make the value smaller for small screens */
    }
}

.title-line-clamp {
    height: 3.2em;               /* Ensure the height is exactly two lines (adjust as needed) */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit text to 2 lines */
    -webkit-box-orient: vertical; /* Makes the box's contents stack vertically */
    overflow: hidden; /* Hide any overflow content */
    text-overflow: ellipsis; /* Optional: adds '...' at the end if text overflows */
    white-space: normal; /* Allow text to wrap */
    font-weight: 600 !important;
    font-size: 18px !important;
}

/* Timer container fixed above all slides */
.timer-container {
    position: absolute;
    bottom: 10px;  /* Adjust distance from the top of the swiper container */
    left: 50%;
    transform: translateX(-50%);
    background-color: #f3f3f3; /* White background */
    padding: 5px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00c684; /* Text and icon color */
    font-size: 16px;
    font-weight: bold;
    z-index: 10; /* Ensure the timer appears above the slides */
}

/* Timer text */
.timer {
    margin-left: 10px; /* Space between icon and timer text */
}

/* Watch Icon */
.timer-container i {
    font-size: 20px; /* Icon size */
    color: #00c684; /* Icon color */
}

.custom-radio-container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    cursor: pointer; /* Make the entire div clickable */
    display: flex;
    align-items: center;
}

/* Hide the default radio button */
.custom-radio-input[type="radio"] {
    width: 1.2em;
    height: 1.2em;
    border-radius: 0.25rem;
    border: 2px solid #ccc;
    background-color: #fff;
    position: relative;
    /* top: 2px; */

}

/* Checked state styling */
.custom-radio-input[type="radio"]:checked {
    background-color: #00C684;
    border-color: #00C684;
}

/* Style the label to be clickable */
.custom-radio-label {
    font-size: 1.125rem;
    margin-left: 0.5rem;
    display: inline-block;
    width: 100%; /* Ensure label spans full width */
}

/* Responsive layout for mobile and desktop */
@media (max-width: 768px) {
    .custom-radio-container {
        padding: 8px;  /* Reduced padding on mobile */
    }
}

@media (min-width: 768px) {
    .custom-radio-container {
        padding: 15px;  /* Increase padding on desktop */
    }
}

.filter-container {
    position: relative;
    display: inline-block;
}

.filter-popup {
    position: absolute;
    top: 100%;
    right: 0;
    width: 600px;
    max-width: 90vw;
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    margin-top: 10px;
    padding: 20px;
    z-index: 9999;
    display: none;
}

.filter-popup.show {
    display: block;
}

.form-label {
    font-weight: 600;
    color: #2e3a59;
}

.form-select, .form-control {
    border-radius: 6px;
    border: 1px solid #ccc;
    /* padding: 10px 15px; */
}

.filter-popup button {
    border-radius: 6px;
    padding: 12px 25px;
    font-weight: bold;
}

.filter-popup .btn-primary {
    background-color: #2e3a59;
    border-color: #2e3a59;
}

.filter-popup .btn-outline-secondary {
    background-color: rgb(0, 199, 132);
    border-radius: 8px;
    border: none;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;

}

.filter-popup .btn-primary:hover {
    background-color: #1f2a3d;
    border-color: #1f2a3d;
}

.filter-popup .btn-outline-secondary:hover {
    background-color: rgb(3, 174, 117);
    border-color: none;
}

@media (max-width: 768px) {
    .filter-popup {
        width: 100%;
        right: auto;
        left: 0;
    }
}

/* Custom styling for tab content */
.tab-content {
    margin-top: 20px;
}

/* Table customization */
.table th, .table td {
    text-align: center;
    vertical-align: middle;
}

/* Center and style the Tabs with rounded borders */
.nav-tabs {
    display: flex;
    justify-content: center;
    border-radius: 30px;
    margin-bottom: 20px;
}

.nav-link-custom {
    border-radius: 30px;
    padding: 10px 20px;
    margin: 5px;
    font-weight: bold;
    color: rgb(0, 199, 132);
}

.nav-link-custom.active {

    border-radius: 30px;
    background-color: rgb(0, 199, 132);
    color: white;


}

.custom-nav-item {
}

/* Table Borders */
.table th, .table td {
    border: 1px solid #dee2e6;
}

/* Custom Border for the Tables */
/* .table-bordered {
    border-radius: 10px;
    border: 1px solid #007bff;
} */

.custom-btn-outline-secondary {
    margin-top: 5px;
}

.tab-pane {
    padding: 20px;
}

/* Ensure the tables fill the container width */
.tab-pane .table {
    width: 100%;
}

/* Make tables scrollable on small screens */
.table-responsive {
    overflow-x: auto;
}


.wrapper .main-nav .navbar-nav .nav-item .nav-link.active {
    border-left-color: transparent;
}


/*for batch in product*/
.batch {
/*    position: absolute;*/
    top: 10px;
    /* left: 10px; */
    z-index:200;  
    position: relative;
 
}
 

.batch span svg {
    fill: white;
}



.batch .live {
    color: white; 
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #218838;
    border-radius: 3px;
    padding: 6px 10px;
    margin-bottom: 5px;

}


.batch .sold {
    color: white; 
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #ac60ef;
    border-radius: 3px;
    padding: 6px 10px;
    margin-bottom: 5px;

}



.batch .private {
    color: white; 
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #a0a0a0;
    border-radius: 3px;
    padding: 6px 10px;
    margin-bottom: 5px;

}


.batch .upcoming {
    color: white; 
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #2092E4;
    border-radius: 3px;
    padding: 6px 10px;
    margin-bottom: 5px;

}



.batch .expired {
    color: white; 
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #B90101;
    border-radius: 3px;
    padding: 6px 10px;
    margin-bottom: 5px;

}


.batch .rejected {
    color: white; 
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #B90101;
    border-radius: 3px;
    padding: 6px 10px;
    margin-bottom: 5px;

}


.batch .waiting {
    color: white; 
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: red;
    border-radius: 3px;
    padding: 6px 10px;
    margin-bottom: 5px;

}
 .info-icon-wrapper {
        position: relative;
        display: inline-block;
        margin-right: 8px;
        cursor: pointer;
    }

.info-icon-wrapper .tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 280px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 10;
    top: 12%; /* show below the icon */
    left: 14;
    transition: opacity 0.3s ease;
    font-size: 13px;
}

.info-icon-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.info-icon-wrapper .bx {
    font-size: 18px;
    color: #007bff;
    vertical-align: middle;
}
@media only screen and (max-width:767px){
    .dataTables_length{
        margin-bottom: 1rem;
    }
}
#navbar-nav {
  display: flex;
  flex-direction: column;
  height: 75vh !important;
}

#navbar-nav li:last-child {
  margin-top: auto !important;
}
.viewCommentBtn {
    color: rgb(0, 199, 132);;
}
@media (max-width: 405px) {
  .p-xs-0 {
    padding: 8px !important;
  }
}
