/* Font Face Declarations */
html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Reddit Sans";
    src: url("../fonts/Reddit_Sans/RedditSans-VariableFont_wght.ttf")
        format("truetype-variations");
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: "Reddit Sans";
    src: url("../fonts/Reddit_Sans/RedditSans-Italic-VariableFont_wght.ttf")
        format("truetype-variations");
    font-weight: 100 900;
    font-style: italic;
}

:root {
    --primary-gradient: #9a0036;
    --primary-news: #9a0036;
    --primary-red: #9a0036;
}

body {
    font-family: "Reddit Sans", sans-serif;
    background-color: #f5f5f5;
}

/* Header Styles */
.top-header {
    background: var(--primary-gradient);
    padding: 1.5rem 0;
}

.logo {
    height: 90px;
    width: auto;
}

/* Notification Slider Styles */
.slider-notification {
    background: #ffe9c4;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.notification-slider-content {
    border-radius: 8px;
    display: flex;
    align-items: center;
    height: 100%;
}

.notification-slider-scroll {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll-left 35s linear infinite;
    width: 200%;
}

.notification-slider-text {
    display: inline-block;
    padding-right: 100px;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-gradient);
    text-align: center;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive notification */
@media (max-width: 767px) {
    .slider-notification {
        padding: 6px 0;
    }

    .notification-slider-text {
        font-size: 12px;
        padding-right: 60px;
    }

    .notification-slider-scroll {
        animation: scroll-left 25s linear infinite;
    }
}

.hidden {
    display: none !important;
}

/* Banner About System Styles */
.banner-about-system {
    background: #FFF1D5;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.banner-character {
    text-align: center;
    padding: 2rem;
}

.banner-character img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.banner-content {
    padding: 2rem;
    color: #8b4513;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #C6A978;
    margin-bottom: 1.5rem;
    font-family: "Reddit Sans", sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #787878;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-weight: 400;
}

.banner-description:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .banner-about-system {
        margin: 2rem 0;
        padding: 2rem 0;
    }

    .banner-character {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .banner-character img {
        max-height: 250px;
    }

    .banner-content {
        padding: 1rem;
    }

    .banner-title {
        font-size: 2rem;
        text-align: center;
    }

    .banner-description {
        font-size: 1rem;
    }
}

/* Section News Styles */
.section-news {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.section-news-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-gradient);
    margin-bottom: 3rem;
    font-family: "Reddit Sans", sans-serif;
}

.new-news-card {
    background: white;
    border-radius: 12px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.new-news-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

.hot-product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.hot-product-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.new-news-card:hover .hot-product-image img {
    transform: scale(1.05);
}

.hot-product-content {
    padding: 1.5rem;
}

.hot-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 50px;
}

.hot-product-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.hot-product-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.hot-product-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.hot-product-link:hover::after {
    width: 100%;
}

/* Section news read more button */
.section-news .btn-outline-more {
    display: block;
    margin: 2rem auto 0;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid var(--primary-gradient);
    color: var(--primary-gradient);
    background: transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    width: fit-content;
}

.section-news .btn-outline-more:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    /* box-shadow: 0 4px 15px rgba(154, 0, 54, 0.3); */
}

/* Responsive adjustments for section news */
@media (max-width: 767px) {
    .section-news {
        padding: 2rem 0;
    }

    .section-news-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .new-news-card {
        margin-bottom: 1.5rem;
    }

    .hot-product-image {
        height: 150px;
    }

    .hot-product-content {
        padding: 1rem;
    }

    .hot-product-title {
        font-size: 1rem;
        min-height: auto;
    }

    .section-news .btn-outline-more {
        margin-top: 1.5rem;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Go to top button */
.to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    display: none;
    text-decoration: none;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0.9;
    line-height: 1;
}

.to-top.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.to-top:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); */
    opacity: 1;
}

.to-top i {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .to-top i {
        font-size: 16px;
    }
}

/* Mobile styles */
@media (max-width: 767.98px) {
    .logo {
        height: 55px;
    }
}

/* Search Box */
.search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.search-box input {
    width: 100%;
    padding: 8px 40px 8px 15px;
    border-radius: 25px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #666;
    padding: 5px 10px;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icons .icon-btn {
    color: white;
    background: none;
    border: none;
    padding: 5px;
    position: relative;
}

.header-icons .icon-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #eb5757;
    color: white;
    border-radius: 50%;
    padding: 0.25em 0.5em;
    font-size: 0.75em;
}

.header-icons .btn-outline-light {
    background-color: white;
    color: var(--primary-red);
    border: 1px solid white;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.header-icons .btn-outline-light:hover {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* User Avatar Dropdown Styles */
.user-avatar {
    cursor: pointer;
}

.user-avatar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid white;
    transition: border-color 0.3s ease;
}

.flag-img {
    width: 16px !important;
    height: 16px !important;
}

.user-avatar:hover img {
    border-color: rgba(255, 255, 255, 0.8);
}

.user-avatar .dropdown-menu {
    margin-top: 10px;
    min-width: 200px;
    padding: 8px;
    border: none;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    border-radius: 8px;
}

.user-avatar .dropdown-item {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.user-avatar .dropdown-item:hover {
    background-color: #f8f9fa;
}

.user-avatar .dropdown-item.text-danger:hover {
    background-color: #fff5f5;
}

.user-avatar .dropdown-divider {
    margin: 8px 0;
    border-color: #eee;
}

/* Add a small arrow to the dropdown */
.user-avatar .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 28px;
    width: 16px;
    height: 16px;
    background-color: white;
    transform: rotate(45deg);
    border-radius: 2px;
}

.user-avatar .dropdown-menu::after {
    content: "";
    position: absolute;
    top: 0;
    right: 20px;
    width: 32px;
    height: 16px;
    background-color: white;
    border-radius: 4px 4px 0 0;
}

/* Category Menu */
.category-menu {
    border-radius: 4px;
    padding: 5px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.category-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: calc(100% - 40px);
    margin-left: auto;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-container {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: all 0.3s ease;
    max-height: 40px;
    scroll-behavior: smooth;
}

.category-container.collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.category-container::-webkit-scrollbar {
    display: none;
}

.category-menu .nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    width: max-content;
    user-select: none;
    cursor: grab;
    gap: 8px;
}

.category-menu .nav:active {
    cursor: grabbing;
}

.category-menu .nav-item {
    flex: 0 0 auto;
    margin: 0;
}

.category-menu .nav-link {
    color: var(--primary-red);
    padding: 6px 10px;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    background-color: #fff6f6;
    border-radius: 8px;
    border: 1px solid #fff6f6;
}

.category-menu .nav-link:hover {
    background-color: #fe9ec6;
    color: #fff6f6;
}

.menu-toggle {
    color: var(--primary-red);
    background: #d9d9d9;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 8px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-toggle.active {
    transform: rotate(90deg);
}

.category-next {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-red);
    transition: all 0.3s ease;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.category-next:hover {
    background-color: #f8f9fa;
}

/* Hide next button on tablet and mobile */
@media (max-width: 991px) {
    .category-next {
        display: none;
    }

    .category-wrapper {
        width: 100%;
    }
}

/* Navigation Menu */
.nav-menu {
    background: white;
    padding: 10px 0;
    /* box-shadow: 0 3px rgba(0, 0, 0, 0.1); */
}

.nav-menu .nav-item.active {
    text-align: center;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s;
    gap: 8px;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu .nav-item {
    text-align: center;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s;
    gap: 8px;
    background: #6c6c6c;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu .nav-item:hover {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu .nav-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.nav-menu .nav-item:hover .nav-icon {
    transform: translateY(-2px);
}

.nav-menu .nav-item span {
    font-size: 14px;
}

/* Banner Section */
.banner-section {
    background: #fff;
}

.banner-image {
    width: 100%;
    border-radius: 8px;
    overflow: visible;
}

.banner-image .carousel {
    border-radius: 8px;
    position: relative;
}

.banner-image .carousel-item {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.banner-image .carousel-item img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: fill;
    border-radius: 8px;
}

.banner-image .carousel-indicators {
    bottom: -30px;
    margin-bottom: 0;
}

.banner-image .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d9d9d9;
    border: none;
    margin: 0 5px;
    opacity: 1;
}

.banner-image .carousel-indicators .active {
    background-color: #333;
    background: #333;
}

.banner-image .carousel-control-prev,
.banner-image .carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-image .carousel:hover .carousel-control-prev,
.banner-image .carousel:hover .carousel-control-next {
    opacity: 1;
}

.news-section {
    background: var(--primary-gradient);
    color: white;
    padding: 20px;
    border-radius: 8px;
    height: 328px;
    display: flex;
    flex-direction: column;
}

.news-content {
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.news-content::-webkit-scrollbar {
    width: 4px;
}

.news-content::-webkit-scrollbar-track {
    background: transparent;
}

.news-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.news-footer {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-footer a:hover {
    background-color: #fe9ec6;
}

.news-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-pagination .page-number {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-pagination .page-number:hover {
    color: white;
}

.news-pagination .page-number.active {
    color: white;
    font-weight: 600;
}

.news-pagination .page-nav {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-pagination .page-nav:hover {
    color: white;
}

.news-pagination .page-nav:disabled {
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.btn-link.text-white:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.btn-news {
    border: 1px solid white;
    border-radius: 5px;
}

/* Auction Sections */
.auction-section {
    margin: 30px 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary-red);
}

.section-title h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.section-title h4 i {
    color: var(--primary-red);
}

.section-title h4 .trend-icon {
    margin-right: 0;
}

/* Add height consistency to the row */
.auction-section .row {
    display: flex;
    flex-wrap: wrap;
}

.auction-section .col-md-3 {
    display: flex;
    margin-bottom: 24px;
}

.auction-link {
    width: 100%;
    text-decoration: none;
}

.auction-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.auction-card-header {
    position: relative;
    height: 40px;
    flex-shrink: 0;
}

/* Remove hover effect for current auction items */
.auction-section:not(.current-auction) .auction-card:hover {
    transform: translateY(-5px);
}

.auction-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #fff;
    padding: 10px;
    flex-shrink: 0;
}

/* Specific styles for current auction images */
.current-auction .auction-image {
    object-fit: contain;
    background-color: #fff;
    padding: 10px;
}

.auction-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 120px;
}

.auction-details h6 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auction-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    z-index: 1;
}

.auction-time {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 1;
}

.auction-time .bidding-icon {
    width: 18px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
}

.auction-time i {
    font-size: 10px;
}

.auction-time-upcoming {
    background: #ffc107;
}

.auction-time-current {
    background: #007bff;
}

.auction-time-last {
    background: #dc3545;
}

.price-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background-color: #ebebeb;
    border-radius: 8px;
    margin-top: auto;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 8px;
}

.price-item i {
    font-size: 12px;
}

.floor-price {
    color: var(--primary-red);
    background-color: #d8e9ff;
}

.ceiling-price {
    color: var(--primary-red);
    background-color: #ffe7e7;
}

.floor-price i,
.ceiling-price i {
    opacity: 0.8;
}

.price-item span {
    font-weight: bold;
}

.bg-new {
    --bs-bg-opacity: 1;
    background-color: #07b439 !important;
}

/* Footer */
footer {
    background: var(--primary-gradient);
    color: white;
    padding: 40px 0;
    margin-top: 50px;
    width: 100%;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 160px;
    height: auto;
}

footer h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

footer h6 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.footer-section {
    margin-bottom: 0;
}

.contact-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 6px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: white;
}

footer ul li {
    margin-bottom: 8px;
}

.address {
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .footer-logo {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-menu .nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .category-menu .nav::-webkit-scrollbar {
        display: none;
    }
}

/* Section Title Pagination */
.section-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-pagination button {
    border: none;
    background: none;
    padding: 5px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.section-pagination .page-number {
    border-radius: 4px;
    color: #d4d3d3;
}

.section-pagination .page-number:hover {
    background-color: #f0f0f0;
}

.section-pagination .page-number.active {
    color: #333;
}

.section-pagination .page-nav {
    color: #666;
    font-size: 12px;
}

.section-pagination .page-nav:hover {
    color: #333;
}

.section-pagination .page-nav:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.btn-outline-more {
    border: 1px solid #333;
    color: #333;
}

.btn-outline-more:hover {
    background-color: #333;
    color: white;
}

/* Section Heading */
.section-heading {
    color: #1a1a1a;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.section-heading i {
    color: #d32f2f;
}

.current-auction .container .section-heading {
    color: white;
    margin-bottom: 30px;
}

.current-auction .container .section-heading .trend-icon {
    filter: brightness(0) invert(1);
}

.section-title h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.section-title h4 .trend-icon {
    margin-right: 0;
}

/* Current Auction Section */
.current-auction {
    position: relative;
    margin-bottom: 30px;
}

.current-auction .container {
    background-color: var(--primary-red);
    border-radius: 0.5rem;
    padding: 20px 30px 30px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.current-auction .container .section-heading {
    color: white;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.current-auction .container .section-heading i {
    color: white;
    margin-right: 10px;
}

.countdown-section {
    margin-bottom: 0;
}

.current-auction .container .countdown-timer {
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.time-display {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.current-auction .container .time-block {
    background: white;
    color: var(--primary-red);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.current-auction .container .separator {
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-top: -4px;
}

/* Auction Slider */
.auction-slider {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.auction-wrapper {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.auction-wrapper .col-md-3 {
    flex: 0 0 auto;
    width: calc(25% - 18px);
    /* 4 items per row for desktop */
}

.auction-wrapper-list {
    gap: 24px;
    transition: transform 0.5s ease;
}

/* Tablet Styles */
@media (max-width: 991px) {
    .auction-wrapper .col-md-3 {
        width: calc(33.333% - 16px);
        /* 3 items per row */
    }

    .auction-card {
        margin-bottom: 1rem;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .banner-image .carousel-item {
        height: 200px;
    }
    .auction-wrapper .col-md-3 {
        width: calc(100% - 24px);
        /* 1 item per row */
    }

    .auction-slider {
        margin: 1rem 0;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
    }

    .auction-card {
        margin-bottom: 0.5rem;
    }

    .auction-image {
        height: 200px;
    }
}

/* Small Tablet Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .auction-wrapper .col-md-3 {
        width: calc(50% - 12px);
        /* 2 items per row */
    }
    .cancel-order {
        padding: 0 15px;
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
}

.current-auction .container .slider-nav {
    color: #d32f2f;
}

.slider-nav:hover {
    background: white;
}

.current-auction .container .slider-nav:hover {
    color: #d32f2f;
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

/* Auction Link */
.auction-link:hover {
    text-decoration: none;
    color: inherit;
}

.auction-link:focus {
    outline: none;
}

/* Auction Footer */
.auction-footer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auction-footer .btn-outline-more {
    background-color: white;
    color: #d32f2f;
    border: 1px solid white;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auction-footer .btn-outline-more:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #d32f2f;
}

.current-auction .container .auction-footer .btn-outline-more {
    background-color: white;
    color: var(--primary-red);
    border: 1px solid white;
}

.current-auction .container .auction-footer .btn-outline-more:hover {
    background-color: #fe9ec6;
    color: #fff;
}

.trend-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.category-nav {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-red);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
}

.category-nav:hover {
    background: #fe9ec6;
}

.category-nav.prev {
    left: 0;
}

.category-nav.next {
    right: 0;
}

.category-nav i {
    font-size: 12px;
}

/* Hide navigation on mobile */
@media (max-width: 991px) {
    .category-nav {
        display: none;
    }

    .category-wrapper {
        width: 100%;
    }
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 1rem;
    border-bottom: 1px solid #efefef;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 14px;
}

.breadcrumb-item a {
    color: #515151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-red);
}

.breadcrumb-item.active {
    color: var(--primary-red);
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f054";
    color: #666;
}

/* List Title Section */
.list-title-section {
    background-color: white;
}

.list-title {
    color: var(--primary-red);
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 24px;
    margin-bottom: 0;
}

.list-title .trend-icon {
    margin-right: 10px;
    filter: none;
}

/* Filter Section */
.filter-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.filter-header {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.filter-header h3 {
    font-size: 22px;
    color: var(--primary-red);
    font-weight: bold;
    margin-bottom: 0;
}

.filter-header .trend-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.filter-label {
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.filter-options {
    display: flex;
    gap: 12px;
}

.filter-group {
    min-width: 150px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-select-sm.rounded-pill {
    height: 38px;
    padding-left: 15px;
    padding-right: 30px;
    font-size: 14px;
    background-position: right 12px center;
}

/* For mobile screens */
@media (max-width: 767px) {
    .filter-section .row {
        flex-direction: column;
    }

    .filter-options {
        width: 100%;
        margin-top: 15px;
    }

    .filter-group {
        width: 100%;
    }
}

/* Profile Page Styles */
.profile-sidebar {
    background-color: #fff;
    border-radius: 8px;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    padding: 20px;
    margin-bottom: 20px;
}

.profile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-menu li {
    margin-bottom: 12px;
}

.profile-menu li a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.profile-menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.profile-menu li.active {
    background-color: #f0f4ff;
}

.profile-menu li.active a {
    color: var(--primary-red);
    font-weight: bold;
}

.profile-menu li:hover:not(.active) a {
    background-color: #f8f9fa;
}

/* Profile Content */
.profile-content {
    background-color: #fff;
    border-radius: 8px;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    padding: 30px;
}

/* Profile Header */
.profile-header {
    display: flex;
    padding: 0;
    margin-bottom: 40px;
    background: transparent;
    border-radius: 0;
}

.profile-avatar {
    margin-right: 24px;
}

.avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.info-label {
    width: 140px;
    color: #666;
    font-size: 14px;
}

.info-value {
    flex: 1;
    background-color: #fff;
    padding: 8px 12px;
    color: #333;
    font-size: 14px;
}

/* Gender Options */
.gender-options {
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.gender-options label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.gender-options input[type="radio"] {
    margin-right: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

.gender-options input[type="radio"]:checked {
    border-color: var(--primary-red);
}

.gender-options input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gender-options input[type="radio"]:hover {
    border-color: var(--primary-red);
}

.edit-link {
    color: var(--primary-red);
    font-size: 13px;
    text-decoration: none;
    margin-left: 8px;
}

@media (max-width: 575px) {
    .profile-header {
        flex-direction: column;
    }

    .profile-avatar {
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }

    .info-row {
        display: block !important;
        text-align: center;
    }

    .gender-options {
        justify-content: flex-start;
        width: auto;
    }
}

/* Seeds Section */
.seeds-section {
    margin-bottom: 40px;
}

.seed-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
}

.seed-total {
    background-color: #f5fff8;
    color: #016112;
}

.seed-win {
    background-color: #fff6f6;
    color: #c7272f;
}

.seed-used {
    background-color: #fff6f6;
    color: #c7bc27;
}

.seed-available {
    background-color: #d8e9ff;
    color: #061ede;
}

.seed-icon {
    margin-right: 15px;
    font-size: 24px;
}

.seed-info {
    flex: 1;
}

.seed-label {
    font-size: 14px;
    margin-bottom: 4px;
    opacity: 0.9;
}

.seed-value {
    font-size: 20px;
    font-weight: 600;
}

/* Transaction History */
.transaction-history {
    margin-top: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.transaction-table {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.table tbody tr:nth-child(even) {
    background-color: #f3f3f3;
}

.table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    border: none;
    vertical-align: middle;
}

td.transaction-positive {
    color: #061ede !important;
    font-weight: bold;
}

td.transaction-negative {
    color: var(--primary-red) !important;
    font-weight: bold;
}

/* Pagination Styling */
.pagination {
    margin-top: 24px;
    justify-content: flex-end;
    gap: 4px;
}

.pagination-arrow,
.pagination-number {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-number.active {
    background-color: var(--primary-red);
    color: #fff;
    font-weight: 500;
}

.pagination-arrow:hover,
.pagination-number:hover:not(.active) {
    color: #fe9ec6;
}

.pagination-arrow {
    color: var(--primary-red);
}

.pagination-arrow.prev {
    margin-right: 4px;
}

.pagination-arrow.next {
    margin-left: 4px;
}

@media (max-width: 767px) {
    .transaction-table {
        overflow-x: auto;
    }

    .table {
        min-width: 600px;
    }

    .pagination {
        justify-content: center;
    }
}

/* Login Page Styles */
/* Header for Login Page */
.header {
    background: var(--primary-gradient);
    color: white;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: center;
}

.header-title {
    font-size: 2rem;
    margin: 0;
    font-weight: 500;
    padding-left: 25px;
}

/* Login-specific Breadcrumb Styles */
.breadcrumb-nav {
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--text-color, #333);
    text-decoration: none;
}

.breadcrumb-nav a.active {
    color: var(--primary-red);
}

.breadcrumb-nav span {
    margin: 0 8px;
    color: #999;
}

/* Login Card Styles */
.login-card {
    background-color: white;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    padding: 10%;
    margin: 20px 0 50px;
}

.login-title {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.login-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

/* Login Form Styles */
.login-form .form-control {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 16px;
}

.login-form .form-control:focus {
    border-color: var(--primary-red);
    /* box-shadow: 0 0 0 0.25rem rgba(24, 42, 151, 0.25); */
}

/* Custom Checkbox Styling */
.login-form .form-check-input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ddd;
    background-image: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.login-form .form-check-input[type="checkbox"]:checked {
    background-image: var(--primary-gradient);
    border-color: transparent;
    position: relative;
}

.login-form .form-check-input[type="checkbox"]:checked::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

.login-form .form-check-input[type="checkbox"]:focus {
    outline: none;
    border-color: var(--primary-red);
    /* box-shadow: 0 0 0 0.25rem rgba(24, 42, 151, 0.15); */
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.login-form .form-check-label {
    font-size: 0.9rem;
    color: #666;
    margin-left: 5px;
}

.btn-login {
    background: var(--primary-gradient);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.btn-login:hover {
    opacity: 0.9;
    color: white;
}

.forgot-password {
    color: var(--primary-red);
    font-size: 0.9rem;
    text-decoration: none;
}

/* Divider Styles */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
}

.divider:before,
.divider:after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider span {
    padding: 0 15px;
    color: #666;
    font-size: 0.9rem;
}

/* Social Login Styles */
.social-login {
    margin-top: 15px;
}

.social-login img {
    cursor: pointer;
    transition: transform 0.2s;
}

.social-login img:hover {
    transform: translateY(-2px);
}

/* Responsive Login Styles */
@media (max-width: 767px) {
    .header-title {
        font-size: 1rem;
        padding-left: 15px;
    }

    .login-card {
        padding: 8%;
    }
}

/* Product Detail Styles */
.product-detail-section {
    padding: 40px 0;
}

/* Countdown Detail Section Styles */
.countdown-detail-section {
    background-color: var(--primary-red);
    color: white;
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); */
}

.countdown-detail-section .countdown-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.countdown-detail-section .countdown-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-detail-section .time-display {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 5px 15px;
    display: inline-flex;
    background-color: var(--primary-red);
}

.countdown-detail-section .time-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--primary-red);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    margin: 0 2px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.countdown-detail-section .separator {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0 5px;
}

/* Countdown Timer Styles */
.countdown-timer {
    margin-bottom: 15px;
}

.time-display {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 5px 15px;
    display: inline-flex;
    background-color: var(--primary-red);
}

.time-block-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 2px;
}

.time-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--primary-red);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.time-description {
    color: white;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

.separator {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0 5px;
    padding-bottom: 20px;
    /* To align with time blocks considering the description space */
}

/* Product Images */
.product-main-image {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.countdown-badge {
    z-index: 10;
}

.countdown-badge .badge {
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
    font-weight: 500;
}

.product-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
    z-index: 5;
}

.thumbnail-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border: 2px solid var(--primary-red);
}

.thumbnail-item img {
    max-height: 60px;
    object-fit: contain;
}

/* Product Info */
.product-info {
    padding: 0 15px;
}

.product-status .badge {
    font-size: 14px;
    padding: 8px 15px;
}

.product-name {
    font-size: 26px;
    font-weight: bold;
}

.auction-time-info {
    font-size: 16px;
    font-weight: bold;
}

.price-box {
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-box:hover {
    transform: translateY(-3px);
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.price-box p {
    font-size: 16px;
}

.add-to-cart {
    background-color: #d32f2f;
    border-color: #d32f2f;
    font-size: 16px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background-color: #b71c1c;
    border-color: #b71c1c;
    transform: translateY(-2px);
}

/* Product Tabs */
.product-tab-nav {
    border-bottom: none;
    gap: 10px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.product-tab-nav .nav-link {
    color: #333;
    background-color: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.product-tab-nav .nav-link.active {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.product-tab-nav .nav-link:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-red);
}

/* Responsive adjustments for tabs */
@media (max-width: 767px) {
    .product-tab-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
    }

    .product-tab-nav .nav-link {
        min-width: auto;
        white-space: nowrap;
        font-size: 14px;
        padding: 8px 15px;
    }

    .product-tab-nav::-webkit-scrollbar {
        height: 3px;
    }

    .product-tab-nav::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .product-tab-nav::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }
}

.tab-content {
    background-color: #fff;
    color: #333;
    border-radius: 8px;
}

.product-description h4,
.specifications h4 {
    color: #333;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .product-info {
        margin-top: 30px;
        padding: 0;
    }

    .product-tab-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
    }

    .product-tab-nav .nav-link {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* Product Status Badges */
.product-status-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    margin-left: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-status-badges::-webkit-scrollbar {
    display: none;
}

.product-status-badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex: 0 0 auto;
}

.product-status-badge.new-condition {
    background-color: #a8b407;
    color: white;
}

.product-status-badge.used-condition {
    background-color: white;
    color: #333;
    border: 1px solid #333;
}

.product-status-badge.more {
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    border: 1px solid var(--primary-red);
    font-weight: bold;
}

.status-modal .modal-content {
    border-radius: 8px;
}

.status-modal .modal-header {
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
}

.status-modal .modal-body {
    padding: 20px;
}

.status-modal .modal-title {
    font-weight: 600;
    color: #333;
}

.status-modal .status-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Notification Page Styles */

.notification-content {
    background-color: #fff;
    border-radius: 8px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    padding: 20px;
    margin-bottom: 30px;
}

.content-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
}

/* Notification table styles */
.notification-table {
    width: 100%;
    margin-bottom: 20px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #f4f8fd;
}

.notification-date {
    flex: 0 0 15%;
    color: #1a1919;
    font-size: 0.9rem;
    padding-top: 3px;
}

.notification-content-wrapper {
    flex: 1;
    padding-right: 20px;
}

.notification-title {
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 8px;
    line-height: 1.4;
}

.notification-text {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.notification-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    color: #1a237e;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.2s;
}

.action-btn i {
    margin-right: 5px;
}

.action-btn:hover {
    color: #0d47a1;
}

.action-btn.delete {
    color: #d32f2f;
}

.action-btn.delete:hover {
    color: #b71c1c;
}

.action-controls {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}

/* Notification Controls (right column buttons) */
.notification-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-left: auto;
}

.control-btn {
    background: none;
    border: none;
    color: #1976d2;
    font-size: 0.85rem;
    padding: 4px 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    border-radius: 4px;
}

.control-btn i {
    margin-right: 5px;
}

.control-btn:hover {
    background-color: #e3f2fd;
}

.control-btn.delete {
    color: #f44336;
}

.control-btn.delete:hover {
    background-color: #ffebee;
}

.control-btn.mark-read.read {
    pointer-events: none;
    opacity: 0.5;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.pagination-button {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}

.pagination-button:hover {
    background-color: #f5f5f5;
    border-color: #1a237e;
    color: #1a237e;
}

.pagination-button.active {
    background-color: #1a237e;
    color: white;
    border-color: #1a237e;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    display: none;
    align-items: center;
    background: #1a237e;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
}

.sidebar-toggle i {
    margin-right: 8px;
}

.is-read {
    pointer-events: none;
    opacity: 0.5;
}

/* Mobile Specific Styles */
@media (max-width: 767px) {
    .notification-item {
        flex-direction: column;
        padding: 15px 10px;
    }

    .notification-date {
        margin-bottom: 4px;
        font-size: 0.85rem;
        color: #666;
    }

    .notification-info {
        padding-right: 0;
    }

    .notification-controls {
        position: static;
        transform: none;
        flex-direction: row;
        width: 100%;
        margin-top: 10px;
        justify-content: flex-end;
        gap: 15px;
    }

    .control-btn {
        padding: 5px 10px;
        background-color: #f5f5f5;
        border-radius: 4px;
        text-align: center;
    }

    .action-btn,
    .control-btn {
        font-size: 0.8rem;
    }

    .content-title {
        font-size: 1.3rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .notification-content {
        padding: 15px;
    }

    .notification-content-wrapper {
        padding-right: 0;
        width: 100%;
    }

    .action-controls {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start;
        width: 100%;
        margin-top: 8px;
        gap: 15px;
        min-width: auto;
    }

    .action-btn {
        font-size: 0.85rem;
    }

    .notification-actions {
        margin-top: 6px;
    }

    .sidebar-toggle {
        display: flex;
        justify-content: space-between;
    }

    .profile-sidebar {
        display: none;
        margin-bottom: 15px;
    }

    .profile-sidebar.show {
        display: block;
    }

    .profile-menu {
        border: 1px solid #eee;
        border-radius: 4px;
        background: white;
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .profile-sidebar {
        margin-bottom: 15px;
    }

    .notification-content {
        padding: 15px 10px;
    }

    .notification-item {
        padding: 12px 8px;
    }

    .notification-title {
        font-size: 0.95rem;
    }

    .notification-text {
        font-size: 0.85rem;
    }

    .notification-controls {
        margin-top: 8px;
    }

    .pagination-container {
        gap: 3px;
    }

    .pagination-arrow,
    .pagination-number {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .control-btn {
        flex: 1;
        padding: 6px 0;
    }

    .content-title {
        font-size: 1.2rem;
    }

    .notification-date {
        font-size: 0.85rem;
    }

    .action-controls {
        flex-wrap: wrap;
        gap: 10px;
    }

    .action-btn {
        font-size: 0.8rem;
    }

    .pagination-button {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    /* Hide some pagination numbers on very small screens */
    .pagination-button:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }
}

@media (max-width: 1000px) {
    .notification-date {
        flex: 0 0 20%;
    }
}

/* Product Actions */
.product-actions .add-to-cart {
    background-color: white;
    border-color: var(--primary-red);
    font-size: 16px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    color: var(--primary-red);
}

.product-actions .add-to-cart:hover {
    background-color: #fe9ec6;
    border-color: #fe9ec6;
    color: #fff;
    transform: translateY(-2px);
}

.product-actions .input-group {
    height: 100%;
}

.product-actions .input-group .form-control {
    box-shadow: none;
}

.product-actions .form-control-lg {
    border-radius: 8px 0 0 8px;
    border: 1px solid #ced4da;
    font-size: 16px;
    padding: 12px 15px;
}

.product-actions .bid-button {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    border-radius: 0 8px 8px 0;
    padding: 12px 24px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.product-actions .bid-button:hover {
    background-color: #fe9ec6;
    border-color: #fe9ec6;
    transform: translateY(-2px);
}

.product-actions .bidding-icon {
    width: 18px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .product-actions .row {
        flex-direction: column-reverse;
    }

    .product-actions .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Bid Confirmation Modal */
#bidConfirmModal .modal-content {
    border-radius: 8px;
    border: none;
}

#bidConfirmModal .modal-body {
    padding: 2rem;
}

#bidConfirmModal .btn-outline-dark {
    border-color: #333;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

#bidConfirmModal .btn-outline-dark:hover {
    background-color: #333;
    color: white;
}

#bidConfirmModal .btn-outline-primary {
    border-color: var(--primary-red);
    color: var(--primary-red);
    font-weight: 500;
    transition: all 0.3s ease;
}

#bidConfirmModal .btn-outline-primary:hover {
    background-color: var(--primary-red);
    color: white;
}

#bidConfirmModal .bid-amount-display {
    color: var(--primary-red);
    font-weight: bold;
}

/* Success Section Styles */
.success-section {
    background-color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.success-section h2 {
    color: #333;
    font-size: 24px;
}

.success-section h3 {
    font-size: 28px;
}

.success-section .bid-info {
    font-size: 18px;
}

.success-section .btn {
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.success-section .btn:hover {
    transform: translateY(-2px);
}

.success-section .btn-outline-dark:hover {
    background-color: #333;
    border-color: #333;
}

.success-section .btn-outline-primary {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.success-section .btn-outline-primary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

/* Auction Results Styles */
.auction-result-section {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.product-summary {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.product-summary img {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
}

.bidder-list {
    list-style: none;
    padding: 0;
}

.bidder-item {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 15px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bidder-item:hover {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
}

.bidder-item.top-3 {
    background-color: #fff9e6;
    position: relative;
    filter: blur(4px);
    pointer-events: none;
    border-color: #ffd700;
}

.bidder-item.revealed {
    filter: none;
    pointer-events: auto;
    background-color: #e7f4ff;
    border-color: #007bff;
}

.bidder-item .d-flex {
    align-items: center;
}

.bidder-item .text-start {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.bidder-item .text-center,
.bidder-item .text-end {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bidder-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bidder-rank {
    width: 32px;
    height: 32px;
    background-color: #666;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.bidder-rank.gold {
    background-color: #ffd700;
}

.bidder-rank.silver {
    background-color: #c0c0c0;
}

.bidder-rank.bronze {
    background-color: #cd7f32;
}

.medal-icon {
    width: 20px;
    height: 20px;
}

.bidder-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 4px;
}

.bidder-working-date {
    font-size: 16px;
    color: #2c5530;
    font-weight: 500;
}

.bid-amount {
    font-size: 18px;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 4px;
}

.timestamp {
    font-size: 16px;
    color: #2c5530;
    font-weight: 500;
}

.reveal-section {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.bid-amount {
    font-weight: bold;
    color: var(--primary-red);
}

.timestamp {
    color: #666;
    font-size: 14px;
}

.admin-controls {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* Product Thumbnails */
.product-thumbnails {
    margin-top: 15px;
}

.thumbnail-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.thumbnail-wrapper {
    flex: 1;
    overflow: hidden;
}

.thumbnail-row {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}

.thumbnail-item {
    flex: 0 0 calc(25% - 7.5px);
    background-color: #fff;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-item.active {
    border-color: var(--primary-red);
}

.thumbnail-item img {
    max-height: 60px;
    object-fit: contain;
}

.thumbnail-nav {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-red);
    flex-shrink: 0;
}

.thumbnail-nav:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.thumbnail-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .thumbnail-item {
        flex: 0 0 calc(33.333% - 6.67px);
    }
}

@media (max-width: 575px) {
    .thumbnail-item {
        flex: 0 0 calc(50% - 5px);
    }
}

/* Footer Copyright Section */
.under-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.under-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.under-footer ul {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.under-footer ul li a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.under-footer ul li a:hover {
    background: white;
    color: var(--primary-red);
    transform: translateY(-2px);
}

.under-footer ul li a i {
    font-size: 14px;
}

@media (max-width: 767px) {
    .under-footer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .under-footer ul {
        justify-content: center;
    }
}

/* Bidding List Page Styles */

/* Bidding Content Styles */
.bidding-content {
    background-color: #fff;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    padding: 20px;
}

.bidding-header {
    margin-bottom: 20px;
}

.search-bar {
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 8px 15px;
    padding-right: 40px;
    border-radius: 20px;
    border: 1px solid #ddd;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 16px;
    cursor: pointer;
}

/* Tabs Styles */
.bidding-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    overflow-x: auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.tab-button {
    padding: 8px 15px;
    background: none;
    border: none;
    border-radius: 20px;
    margin-right: 10px;
    cursor: pointer;
    white-space: nowrap;
    color: #666;
    transition: all 0.3s ease;
}

.tab-button.active {
    background-color: #fe9ec6;
    color: var(--primary-red);
    font-weight: 500;
}

/* Auction Item Styles */
.bidding-list-container {
    margin-bottom: 20px;
}

.bidding-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.bidding-item:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.bidding-status {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
    opacity: 1;
    visibility: visible;
}

.status-icon {
    font-size: 16px;
    margin-right: 8px;
}

.bidding-details {
    display: flex;
    margin-bottom: 15px;
    flex-grow: 1;
}

.bidding-image {
    width: 150px;
    height: 150px;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.bidding-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.bidding-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.bidding-info p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.order-id span {
    color: #0d6efd;
    font-weight: 500;
}

.bid-price span {
    font-weight: 600;
}

.bidding-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

/* Specific bidding status styles */
.bidding-wait .bidding-status {
    color: #0d6efd;
}

.bidding-failed .bidding-status {
    color: #dc3545;
}

.bidding-success .bidding-status {
    color: #28a745;
}

.delivery-success .bidding-status {
    color: #021f09;
}

/* Pagination Styles */
.bidding-pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-link {
    color: #333;
    border-radius: 4px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Responsive Styles */

/* Enhanced Responsive Styles */
@media (max-width: 767px) {
    .bidding-tabs {
        justify-content: flex-start;
        padding-bottom: 10px;
        margin-bottom: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        padding: 6px 12px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .bidding-details {
        flex-direction: row;
        align-items: flex-start;
    }

    .bidding-image {
        width: 80px;
        height: 80px;
    }

    .bidding-image img {
        object-fit: contain;
    }

    .product-title {
        font-size: 14px;
    }

    .bidding-item {
        padding: 12px;
    }

    .bidding-actions {
        margin-top: 10px;
    }

    .bidding-actions .btn {
        min-width: 70px;
        font-size: 13px;
        padding: 4px 10px;
    }

    .bidding-status {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .pagination .page-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .bidding-content {
        padding: 15px;
        border-radius: 6px;
    }

    .bidding-tabs {
        padding-bottom: 8px;
    }

    .bidding-item {
        padding: 10px;
        margin-bottom: 12px;
    }

    .bidding-status {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .status-icon {
        font-size: 14px;
    }

    .bidding-image {
        width: 70px;
        height: 70px;
        padding: 3px;
        margin-right: 10px;
    }

    .bidding-info p {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .product-title {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .pagination-container {
        margin-top: 20px;
    }
}

.border-start-price {
    border: 1px solid #d8e9ff;
    border-radius: 0.5rem;
    background-color: #d8e9ff;
    font-size: 0.875rem;
}

.border-max-price {
    border: 1px solid #ffe7e7;
    border-radius: 0.5rem;
    background-color: #ffe7e7;
    font-size: 0.875rem;
}

.border-radius-5 {
    border-radius: 0.5rem;
}

.form-input-price {
    width: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bidding-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.bidding-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.bidding-header-action {
    display: flex;
    margin: 1rem 0;
}

.bidding-infor-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bidding-infor-action {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: end;
}

.bidding-infor-action .input-group {
    justify-content: end;
}

.bid-price-info {
    display: flex;
    justify-content: end;
    margin-top: 1rem;
    margin-right: 1.5rem;
}

.bid-price-info span {
    color: #b40508;
    width: 60%;
    font-size: 0.65rem;
}

.delete-action {
    margin: 0 1rem;
}

.order-actions {
    width: 100%;
}

@media (min-width: 768px) and (max-width: 991px) {
    .bidding-content {
        padding: 15px;
    }

    /* Header section */
    .bidding-header {
        margin-bottom: 15px !important;
        flex-wrap: wrap;
    }

    .bidding-header-action {
        width: 100% !important;
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
    }

    .delete-action {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px;
        margin: 0;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .delete-action:hover {
        background-color: #f8f9fa;
    }

    /* Bidding item layout */
    .bidding-details {
        display: grid;
        grid-template-columns: 160px 1fr 140px;
        gap: 15px;
        align-items: start;
    }

    .bidding-image {
        width: 160px;
        height: 160px;
    }

    .bidding-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    /* Info section */
    .bidding-info {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .bidding-infor-status {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .bid-price-info span {
        width: 100%;
    }

    .product-title {
        font-size: 16px;
        line-height: 1.4;
        margin: 8px 0;
    }

    /* Price section */
    .bidding-infor-price {
        display: flex;
        gap: 12px;
        margin-top: 8px;
    }

    .border-start-price,
    .border-max-price {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 12px;
    }

    /* Action section */
    .bidding-infor-action {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }

    .form-input-price {
        width: 100%;
        border-top-right-radius: 0.5rem !important;
        border-bottom-right-radius: 0.5rem !important;
        margin-bottom: 10px;
    }

    .bidding-infor-action {
        width: 100%;
    }

    .bidding-infor-action .btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-top-left-radius: 0.5rem !important;
        border-bottom-left-radius: 0.5rem !important;
    }

    .bidding-infor-action img.text-center {
        width: 24px;
        height: 24px;
        cursor: pointer;
        margin-top: 8px;
    }

    /* Status buttons */
    .btn-sm {
        padding: 6px 12px;
        font-size: 14px;
    }

    .order-actions {
        width: auto;
    }

    .order-actions .form-input-price,
    .product-card .form-input-price {
        width: 50%;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        margin-bottom: 0;
    }

    .order-actions .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    /* Empty state */
    .bidding-empty {
        text-align: center;
        padding: 20px;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .product-card {
        flex-direction: column;
    }

    .product-card form {
        margin: 15px;
    }
}

@media (max-width: 767px) {
    /* Mobile specific styles */
    .bidding-content {
        padding: 10px;
    }

    .bidding-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .bidding-header-action {
        flex-direction: column;
        gap: 10px;
    }

    .bidding-details {
        flex-direction: column;
    }

    .bidding-image {
        width: 100%;
        height: 200px;
    }

    .bidding-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .bidding-info {
        width: 100%;
    }

    /* Status and date display */
    .bidding-info {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }

    .bidding-infor-status {
        margin-top: 0.75rem;
    }

    .bidding-info .btn {
        width: 100%;
        text-align: center;
    }

    .bidding-infor-price {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
        width: 100%;
    }

    .bid-price-info span {
        width: 100%;
    }

    /* Price boxes for mobile */
    .border-start-price,
    .border-max-price {
        width: 100%;
        text-align: center;
        margin: 5px 0 !important;
    }

    /* Bidding action section */
    .bidding-infor-action {
        display: block;
        width: 100%;
        align-items: stretch;
        margin: 0.5rem 0;
    }

    .bidding-infor-action .input-group {
        margin-bottom: 10px;
    }

    .bidding-infor-action input.form-input-price {
        width: 100%;
        margin-bottom: 10px;
        border-top-right-radius: 0.5rem !important;
        border-bottom-right-radius: 0.5rem !important;
    }

    .bidding-infor-action .btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-top-left-radius: 0.5rem !important;
        border-bottom-left-radius: 0.5rem !important;
    }

    .bidding-infor-action img.text-center {
        margin-top: 10px;
        cursor: pointer;
    }

    /* Empty state */
    .bidding-empty {
        text-align: center;
        padding: 20px;
    }
}

/* Wishlist item blur animation */
.bidding-item.blur-out {
    animation: blurOut 0.5s ease-out forwards;
}

@keyframes blurOut {
    0% {
        filter: blur(0);
        opacity: 1;
    }
    20% {
        filter: blur(1px);
        opacity: 0.8;
    }
    40% {
        filter: blur(2px);
        opacity: 0.5;
    }
    60% {
        filter: blur(3px);
        opacity: 0.2;
    }
    80% {
        filter: blur(4px);
        opacity: 0.1;
    }
    100% {
        filter: blur(5px);
        opacity: 0;
    }
}

/* Order List Page Styles */

/* Order Content Styles */
.order-content {
    background-color: #fff;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    padding: 20px;
}

.order-header {
    margin-bottom: 20px;
}

.order-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Tabs Styles */
.order-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    overflow-x: auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.tab-button.active {
    background-color: #fe9ec6;
    color: var(--primary-red);
    font-weight: 500;
}

/* Order Item Styles */
.order-list-container {
    margin-bottom: 20px;
}

.order-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.order-item:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.order-status {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
    opacity: 1;
    visibility: visible;
}

.order-details {
    display: flex;
    margin-bottom: 15px;
    flex-grow: 1;
}

.order-image {
    width: 100px;
    height: 100px;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.order-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.order-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.order-info p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-link {
    color: #333;
    border-radius: 4px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .order-tabs {
        justify-content: flex-start;
        padding-bottom: 10px;
        margin-bottom: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        padding: 6px 12px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .order-image {
        width: 80px;
        height: 80px;
    }

    .order-image img {
        object-fit: contain;
    }

    .product-title {
        font-size: 14px;
    }

    .order-item {
        padding: 12px;
    }

    .order-status {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .pagination .page-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .order-content {
        padding: 15px;
        border-radius: 6px;
    }

    .order-section-title {
        font-size: 1.1rem;
    }

    .order-tabs {
        padding-bottom: 8px;
    }

    .order-item {
        padding: 10px;
        margin-bottom: 12px;
    }

    .order-status {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .status-icon {
        font-size: 14px;
    }

    .order-image {
        width: 70px;
        height: 70px;
        padding: 3px;
        margin-right: 10px;
    }

    .order-info p {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .product-title {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .pagination-container {
        margin-top: 20px;
    }
}

/* Order Detail Page Styles */

/* Order Detail Page Styles */
.order-detail-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.btn-back {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border: 1px solid #515151;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
}

.btn-back:hover {
    background: #e9e9e9;
    text-decoration: none;
    color: #333;
}

.order-id-label {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.btn-result {
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border-left: 2px solid #ccc;
}

.btn-result:hover {
    text-decoration: none;
    color: #0a58ca;
}

.btn-result .wating-icon {
    color: #182a97;
}

.btn-result .success-icon {
    color: #07b439;
}

.btn-result .failed-icon {
    color: #ee8e93;
}

.timeline-progress {
    padding: 20px 0;
}

.progress-steps {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 0 40px;
}

.progress-steps:before {
    content: "";
    position: absolute;
    top: 20px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #666;
}

.step.completed .step-icon {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.step.failed .step-icon {
    background: #b40508;
    border-color: #b40508;
    color: #fff;
}

.step.waiting .step-icon {
    background: #ffc107;
    border-color: #ffc107;
    color: #fff;
}

.step.current .step-icon {
    background: #fff;
    border-color: #0d6efd;
    color: #0d6efd;
}

.step-label h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.step-label p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

.product-section {
    margin-top: 30px;
}

.product-card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
}

.product-image {
    margin-right: 20px;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.bid-amount {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.bid-amount span {
    font-weight: 600;
}

.btn-view-result {
    color: #0d6efd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.btn-view-result:hover {
    text-decoration: none;
    color: #0a58ca;
}

@media (max-width: 991px) {
    .btn-result {
        border-left: none;
        padding-left: 0 !important;
    }

    .order-details {
        display: block;
        align-items: flex-start;
    }

    .order-id-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Order Detail Responsive */
    .page-header {
        flex-direction: column;
        gap: 15px;
    }

    .progress-steps {
        padding: 0 20px;
    }

    .progress-steps:before {
        left: 40px;
        right: 40px;
    }

    .step-label h6 {
        font-size: 13px;
    }

    .step-label p {
        font-size: 12px;
    }

    .step-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .product-card {
        flex-direction: column;
    }

    .product-card form {
        margin: 15px 0;
    }

    .product-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .product-image img {
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    /* ... existing responsive styles ... */

    /* Order Detail Small Screen */
    .progress-steps {
        padding: 0 10px;
    }

    .progress-steps:before {
        left: 25px;
        right: 25px;
        top: 15px;
    }

    .btn-result {
        border-left: none;
        padding-left: 0 !important;
    }

    .step-icon {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .step-label p {
        font-size: 11px;
    }
}

/* Auction List Card Styles */
.auction-list-card {
    background: #ffffff;
    border-radius: 8px;
    /* box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
    height: 100%;
}

.auction-list-card:hover {
    transform: translateY(-5px);
}

.auction-list-card h5 {
    color: #333333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.auction-list-card p {
    color: #666666;
    font-size: 16px;
    margin-bottom: 4px;
}

.auction-status-detail {
    display: flex;
    align-items: center;
    margin: 4px 0 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-dot.ongoing {
    background-color: #007bff;
}

.status-dot.upcoming {
    background-color: #f2994a;
}

.status-dot.ended {
    background-color: #c7272f;
}

.status-text.ongoing {
    color: #007bff;
}

.status-text.upcoming {
    color: #f2994a;
}

.status-text.ended {
    color: #c7272f;
}

.auction-product-count {
    display: flex;
    align-items: center;
}

.auction-product-count .count-label {
    color: #666666;
    font-size: 14px;
}

.auction-product-count .count-value {
    color: #c7272f;
    margin-left: 4px;
    font-size: 14px;
}

/* Auction Result Styles */
.bidder-item {
    opacity: 1;
    transform: translateY(0);
    will-change: opacity, transform;
}

.bidder-item.top-3:not(.revealed) {
    filter: blur(4px);
    cursor: pointer;
    transition: filter 0.5s ease, transform 0.3s ease;
}

.bidder-item.top-3:not(.revealed):hover {
    transform: scale(1.02);
}

.bidder-item.revealed {
    filter: none;
    transition: filter 0.5s ease;
}

.show-more-btn {
    text-align: center;
    margin: 1rem 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.show-more-btn button {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.show-more-btn button:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.wishlist-icon {
    z-index: 2;
    cursor: pointer;
    top: 10px;
    right: 10px;
}

.wishlist-icon i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.wishlist-icon i.fa-regular.fa-heart {
    color: #fff;
}

.wishlist-icon i.fa-solid.fa-heart {
    color: #dc3545;
}

.wishlist-icon:hover i {
    transform: scale(1.1);
}

.required::after {
    content: " *";
    color: var(--primary-red);
    font-weight: bold;
}

.btn-cancel-order {
    background-color: var(--primary-gradient);
    color: #fff;
    border: 1px solid var(--primary-gradient);
}

.btn-cancel-order:hover {
    background-color: #fe9ec6;
    color: var(--primary-gradient);
    border: 1px solid #fe9ec6;
}

.cancel-order {
    margin-top: 1rem;
}

.home-news-item a {
    color: #fff;
    text-decoration: none;
}

.home-news-item a:hover {
    color: #fe9ec6;
}

/* Product Tag Styles */
.tag-brand-new {
    background-color: #5cc071;
    color: #000;
}

.tag-like-new {
    background-color: #9dcea7;
    color: #000;
}

.tag-new {
    background-color: #9ad2d2;
    color: #000;
}

.tag-old-light {
    background-color: #fef0b3;
    color: #000;
}

.tag-old {
    background-color: #fed99c;
    color: #000;
}

.tag-very-old {
    background-color: #c6a978;
    color: #000;
}

.tag-default {
    background-color: #080bbd;
    color: #fff;
}

.bidder-order {
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #2c5530;
    font-weight: 500;
    position: relative;
}

.bidder-order img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Product Icons Layout */
.product-icons {
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.product-icons .wishlist-icon,
.product-icons .view-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #dc3545;
    font-size: 14px;
    font-weight: 500;
}

.product-icons .wishlist-icon i,
.product-icons .view-icon i {
    font-size: 16px;
    color: #dc3545;
}

.product-icons .wishlist-icon span,
.product-icons .view-icon span {
    font-size: 14px;
    font-weight: 500;
    color: #dc3545;
}

/* Feedback Button Styles */
.feedback-button {
    position: fixed;
    right: 20px;
    top: 65%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.feedback-button:hover {
    transform: translateY(-50%);
}

/* Mascot Container with Phone Ring Animation */
.mascot-container {
    position: relative;
    animation: phoneRing 1s ease-in-out infinite;
}

.mascot-icon {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    display: block;
}

/* Feedback Footer */
.feedback-footer-container {
    margin-top: -10px; /* Overlap slightly with mascot */
}

.feedback-footer-icon {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    display: block;
}

/* Phone Ring Animation */
@keyframes phoneRing {
    0% {
        transform: rotate(0deg);
    }
    15% {
        transform: rotate(-15deg);
    }
    30% {
        transform: rotate(0deg);
    }
    45% {
        transform: rotate(15deg);
    }
    60% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-10deg);
    }
    90% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .feedback-button {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .feedback-button {
        right: 10px;
        top: 60%;
    }
    
    .mascot-icon {
        max-width: 80px;
        max-height: 80px;
    }
    
    .feedback-footer-icon {
        max-width: 80px;
        max-height: 80px;
    }
}

@media (max-width: 576px) {
    .feedback-button {
        right: 8px;
        top: 65%;
    }
    
    .mascot-icon {
        max-width: 60px;
        max-height: 60px;
    }
    
    .feedback-footer-icon {
        max-width: 60px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .feedback-button {
        right: 5px;
        top: 70%;
    }
    
    .mascot-icon {
        max-width: 50px;
        max-height: 50px;
    }
    
    .feedback-footer-icon {
        max-width: 50px;
        max-height: 50px;
    }
}

@media (max-width: 375px) {
    .feedback-button {
        right: 3px;
        top: 75%;
    }
    
    .mascot-icon {
        max-width: 45px;
        max-height: 45px;
    }
    
    .feedback-footer-icon {
        max-width: 45px;
        max-height: 45px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .feedback-button {
        top: 50%;
        right: 10px;
    }
    
    .mascot-icon {
        max-width: 40px;
        max-height: 40px;
    }
    
    .feedback-footer-icon {
        max-width: 40px;
        max-height: 40px;
    }
}

/* Feedback Form Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    /* box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); */
}

.form-check-input.is-invalid {
    border-color: #dc3545;
}

.form-check-input.is-invalid:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Feedback Modal Custom Styles */
#feedbackModal .modal-dialog {
    max-width: 800px;
}

#feedbackModal .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

#feedbackModal .form-check {
    margin-bottom: 8px;
}

#feedbackModal .form-check-label {
    font-weight: 500;
    color: #555;
}

#feedbackModal .form-control,
#feedbackModal .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#feedbackModal .form-control:focus,
#feedbackModal .form-select:focus {
    border-color: #80bdff;
    /* box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); */
}

#feedbackModal .btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#feedbackModal .btn-primary:hover {
    background-color: #c82333;
    border-color: #c82333;
    transform: translateY(-1px);
    /* box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3); */
}

#feedbackModal .btn-secondary {
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
}

/* Feedback Images Styling */
.feedback-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.feedback-image-item {
    flex: 0 0 auto;
}

.feedback-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-img:hover {
    border-color: #dc3545;
    transform: scale(1.05);
    /* box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3); */
}

.clickable-image {
    cursor: pointer;
}

.clickable-image:hover {
    opacity: 0.8;
}

/* Responsive feedback images */
@media (max-width: 768px) {
    .feedback-img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .feedback-img {
        width: 50px;
        height: 50px;
    }
    
    .feedback-images {
        gap: 8px;
    }
}