/********** Template CSS **********/
:root {
    --primary: #2d3077;
    --secondary: #F65005;
    --light: #F7F8FC;
    --dark: #111111;
}
/* body {
    background-color: #2d3077;
} */
carousel-inner {
    background-color: #2d3077;
}
/* Logo Styles */
.navbar-brand {
    padding: 0; /* Remove default padding */
    margin-right: 15px; /* Adjust spacing as needed */
}
/* Primary & Secondary Button Custom Style */
.btn-primary,
.btn-secondary {
  background-color: #2c3391;
  border-color: #2c3391;
  color: white;
  transition: background-color 0.3s, border-color 0.3s;
}

/* Hover effect for both */
.btn-primary:hover,
.btn-secondary:hover {
  background-color: #00a5e7;
  border-color: #00a5e7;
  color: white;
}

.logo-img {
    height: 48px; /* Increased by 20% from your original 40px */
    width: auto; /* Maintain aspect ratio */
    transition: all 0.3s ease-in-out;
    object-fit: contain; /* Ensures proper scaling */
}

.logo-img:hover {
    opacity: 0.8;
    transform: scale(1.05); /* Subtle grow effect on hover */
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .logo-img {
        height: 42px; /* Slightly smaller on mobile */
    }
}

@media (max-width: 767.98px) {
    .logo-img {
        height: 38px; /* Even smaller on very small devices */
    }
}
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #555555;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #2c3391;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.section-header::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}



/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: -webkit-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -moz-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -ms-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -o-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}


/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}
/* Main Grid Container */
.product-grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    width: 100%;
    overflow-x: auto; /* Allows horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}
/* Updated Product Card with Background */
.product-item-card {
    display: flex;
    background-color: #2d3077;
    background-image: url('{% static "img/bg2.jpg" %}');
    background-size: 150px 150px;
    background-blend-mode: overlay;
    border-radius: 10px;
    overflow: hidden;
    color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    flex-direction: row;
    min-width: 300px;
    position: relative;
    isolation: isolate; /* Creates new stacking context */
}

/* Optional: Gradient overlay for depth */
.product-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 48, 119, 0.9) 0%, rgba(255, 0, 0, 0.2) 100%);
    z-index: 1;
}

/* Image Container */
.product-img-container {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    margin: 15px 0 15px 15px;
    border-radius: 5px;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

/* Badges */
.img-badge {
    position: absolute;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    z-index: 2;
}

.img-badge.new {
    top: 10px;
    left: 10px;
    background-color: #02aeee;
}

.img-badge.location {
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Details Container */
.product-details-container {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}
/* Right-side only overlay */
.product-bg-overlay-right {
    position: absolute;
    top: 0;
    left: 33.33%; /* Starts after 1/3 of container */
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(45, 48, 119, 0.9) 0%, 
        rgba(255, 0, 0, 0.2) 100%);
    z-index: 1;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Ensure thumbnail area stays clean */
.product-img-container {
    position: relative;
    z-index: 2; /* Above any backgrounds */
    width: 33.33%; /* Match overlay boundary */
}
/* Text Elements */
.product-title {
    font-size: 1.05rem;
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.product-meta {
    color: #c9c9c9;
    font-size: 0.8rem;
    margin: 2px 0;
}

.product-price {
    color: #02aeee;
    font-weight: 500;
    margin: 10px 0 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.85rem;
    margin: 5px 0;
}

.time-left {
    color: #c9c9c9;
    font-size: 0.8rem;
    margin: 5px 0 10px 0;
}

/* Action Buttons */
.product-actions {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
}

.action-btn {
    flex: 1;
    padding: 10px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background-color: rgba(2, 174, 238, 0.15);
}

.action-btn i {
    margin-right: 6px;
    color: #02aeee;
    font-size: 0.9rem;
}

.border-right {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Layouts */
@media (min-width: 768px) {
    .product-grid-container {
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
    }
}

@media (min-width: 992px) {
    .product-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .product-img-container {
        width: 140px;
        height: 140px;
    }
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--secondary) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #3498db;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.alert-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}


    /* Form Section Headers */
    .auction-form-container h4 {
        color: #02aeec;
        padding-bottom: 10px;
        border-bottom: 2px solid #02aeec;
        margin-bottom: 20px;
    }

    /* Form Input Styling */
    .auction-form-container .form-control,
    .auction-form-container .form-select {
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid #02aeec;
        color: white;
        border-radius: 8px;
        padding: 12px 15px;
        transition: all 0.3s ease;
    }

    .auction-form-container .form-control:focus,
    .auction-form-container .form-select:focus {
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        border-color: #02aeec;
        box-shadow: 0 0 0 0.25rem rgba(2, 174, 236, 0.25);
    }

    /* Placeholder Text */
    .auction-form-container ::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    /* Checkbox and Radio Styling */
    .auction-form-container .form-check-input {
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid #02aeec;
    }

    .auction-form-container .form-check-input:checked {
        background-color: #02aeec;
        border-color: #02aeec;
    }

    .auction-form-container .form-check-label {
        color: white;
    }

    /* Button Styling */
    .auction-form-container .btn {
        border-radius: 8px;
        padding: 12px 25px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .auction-form-container .btn-primary {
        background-color: #02aeec;
        border-color: #02aeec;
    }

    .auction-form-container .btn-primary:hover {
        background-color: #0288d1;
        border-color: #0288d1;
        transform: translateY(-2px);
    }

    .auction-form-container .btn-outline-primary {
        color: #02aeec;
        border-color: #02aeec;
    }

    .auction-form-container .btn-outline-primary:hover {
        background-color: #02aeec;
        color: white;
    }

    /* Image Preview Styling */
    .auction-form-container .img-thumbnail {
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid #02aeec;
        border-radius: 8px;
        padding: 5px;
    }

    /* Specification Rows */
    .auction-form-container .specification-row {
        background-color: rgba(2, 174, 236, 0.1);
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
        border-left: 3px solid #02aeec;
    }
    .auction-form-container {
        background-color: #2c3391;
        color: white;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Remove the container padding constraints */
    .form-full-width {
        padding-left: 0;
        padding-right: 0;
    }

    /* Adjust the main container */
    .full-screen-form-container {
        padding: 20px 0;
        margin: 0;
        width: 100%;
    }

    /* Responsive adjustments */
    @media (min-width: 992px) {
        .auction-form-container {
            padding: 40px;
        }
    }

    @media (max-width: 768px) {
        .auction-form-container {
            padding: 20px 15px;
            border-radius: 0;
        }
        
        body {
            padding-left: 0;
            padding-right: 0;
        }
    }


    /* Form Labels */
    .auction-form-container .form-label {
        color: #02aeec;
        font-weight: 500;
        margin-bottom: 8px;
    }

    /* Required Field Indicators */
    .auction-form-container .required-field::after {
        content: " *";
        color: #ff4757;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .auction-form-container {
            padding: 20px;
        }
    }   
  
    /* Dropdown Menu Styling */
    .auction-form-container .form-select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%2302aeec' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
        background-size: 16px 12px;
    }

    /* Dropdown Options Styling */
    .auction-form-container select option {
        background-color: #f8f9fa;
        color: #212529;
    }

    /* For the dropdown menu that appears when clicking */
    .auction-form-container .dropdown-menu {
        background-color: #f8f9fa;
        border: 1px solid #02aeec;
        border-radius: 8px;
        overflow: hidden;
    }

    .auction-form-container .dropdown-item {
        color: #212529;
        padding: 8px 15px;
        transition: all 0.2s ease;
    }

    .auction-form-container .dropdown-item:hover,
    .auction-form-container .dropdown-item:focus {
        background-color: #02aeec;
        color: white;
    }

    /* Active/focused dropdown item */
    .auction-form-container .dropdown-item.active,
    .auction-form-container .dropdown-item:active {
        background-color: #02aeec;
        color: white;
    }

    /* Base Styles */
    .admin-dashboard {
        padding: 20px;
        background-color: #2d3077;
        min-height: 100vh;
        box-sizing: border-box;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .dashboard-header {
        background: linear-gradient(135deg, #2d3077 0%, #00d2ff 100%);
        color: white;
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .header-content h2 {
        margin: 0;
        font-weight: 600;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .datetime-display {
        background: rgba(255, 255, 255, 0.2);
        padding: 5px 10px;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .datetime-display span {
        font-size: 0.9rem;
    }
    /* Stats Summary */
    .stats-summary-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-bottom: 20px;
        width: 100%;
    }

    .stat-card {
        background: white;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
        min-width: 0;
    }

    .stat-card:hover {
        transform: translateY(-5px);
    }

    .stat-card.primary {
        border-left: 4px solid #3a7bd5;
    }

    .stat-card.success {
        border-left: 4px solid #28a745;
    }

    .stat-card.warning {
        border-left: 4px solid #ffc107;
    }

    .stat-card.danger {
        border-left: 4px solid #dc3545;
    }

    .stat-content {
        display: flex;
        align-items: center;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        font-size: 1.2rem;
        color: white;
    }

    .stat-card.primary .stat-icon {
        background: #3a7bd5;
    }

    .stat-card.success .stat-icon {
        background: #28a745;
    }

    .stat-card.warning .stat-icon {
        background: #ffc107;
    }

    .stat-card.danger .stat-icon {
        background: #dc3545;
    }

    .stat-info h3 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .stat-info p {
        margin: 0;
        color: #6c757d;
        font-size: 0.9rem;
    }

    .stat-trend {
        margin-left: auto;
        font-size: 0.8rem;
        padding: 3px 8px;
        border-radius: 10px;
    }

    .stat-trend.up {
        background: rgba(40, 167, 69, 0.1);
        color: #28a745;
    }

    .stat-trend.down {
        background: rgba(220, 53, 69, 0.1);
        color: #dc3545;
    }

    /* Dashboard Grid */
    .dashboard-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 20px;
    }

    .grid-card {
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        margin-bottom: 20px;
        min-width: 0;
    }

    .grid-card.wide {
        grid-column: span 2;
    }

    .card-header {
        padding: 15px 20px;
        border-bottom: 1px solid #e9ecef;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .card-header h3 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .card-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .card-body {
        padding: 20px;
    }

    /* Active Auctions Grid */
    .auction-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .auction-item {
        border: 1px solid #e9ecef;
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
        min-width: 0;
    }

    .auction-item:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }

    .auction-image {
        position: relative;
        height: 180px;
        background: #f8f9fa;
        overflow: hidden;
    }

    .auction-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .no-image {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        background: #e9ecef;
    }

    .time-remaining {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 0.8rem;
    }

    .auction-details {
        padding: 15px;
    }

    .auction-details h4 {
        margin: 0 0 10px 0;
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .auction-meta {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        font-size: 0.8rem;
        color: #6c757d;
        flex-wrap: wrap;
    }

    .bid-info {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .current-bid {
        display: flex;
        flex-direction: column;
    }

    .current-bid span {
        font-size: 0.8rem;
        color: #6c757d;
    }

    .current-bid strong {
        font-size: 1.2rem;
        color: #28a745;
    }

    .bid-count {
        display: flex;
        align-items: center;
        gap: 5px;
        color: #6c757d;
        font-size: 0.9rem;
    }

    .progress-container {
        margin-bottom: 15px;
    }

    .progress {
        height: 6px;
        background: #e9ecef;
        border-radius: 3px;
        margin-bottom: 5px;
    }

    .progress-bar {
        background: linear-gradient(90deg, #3a7bd5 0%, #00d2ff 100%);
        border-radius: 3px;
    }

    .progress-labels {
        display: flex;
        justify-content: space-between;
        font-size: 0.7rem;
        color: #6c757d;
    }

    .auction-actions {
        display: flex;
        gap: 10px;
        padding: 0 15px 15px 15px;
    }

    .auction-actions .btn {
        flex: 1;
    }

    /* Pending Approvals */
    .approval-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .approval-item {
        display: flex;
        gap: 15px;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
        min-width: 0;
        flex-wrap: wrap;
    }

    .approval-item:hover {
        background: #f8f9fa;
    }

    .approval-image {
        width: 80px;
        height: 80px;
        border-radius: 5px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .approval-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .approval-details {
        flex-grow: 1;
        min-width: 0;
    }

    .approval-details h5 {
        margin: 0 0 5px 0;
        font-size: 1rem;
    }

    .approval-meta {
        display: flex;
        gap: 10px;
        font-size: 0.8rem;
        color: #6c757d;
        margin-bottom: 5px;
        flex-wrap: wrap;
    }

    .approval-meta i {
        margin-right: 3px;
    }

    .approval-price {
        font-weight: 600;
        color: #28a745;
        margin-bottom: 10px;
    }

    .approval-actions {
        display: flex;
        gap: 5px;
    }

    .approval-actions .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }

    .empty-state {
        text-align: center;
        padding: 30px;
        color: #6c757d;
    }

    .empty-state i {
        font-size: 2rem;
        margin-bottom: 10px;
        color: #adb5bd;
    }

    /* Recent Bids */
    .bid-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .bid-item {
        display: flex;
        gap: 10px;
        padding: 10px;
        border-radius: 8px;
        background: #f8f9fa;
        transition: all 0.3s ease;
        min-width: 0;
        flex-wrap: wrap;
    }

    .bid-item.winning {
        background: rgba(40, 167, 69, 0.1);
        border-left: 3px solid #28a745;
    }

    .bid-item:hover {
        background: #e9ecef;
    }

    .bidder-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
    }

    .bidder-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .avatar-initials {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #3a7bd5;
        color: white;
        font-weight: bold;
    }

    .bid-details {
        flex-grow: 1;
        min-width: 0;
    }

    .bid-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 3px;
        flex-wrap: wrap;
    }

    .bid-amount {
        font-weight: 600;
        color: #28a745;
    }

    .bid-meta {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        color: #6c757d;
        flex-wrap: wrap;
    }

    .auto-bid-tag {
        font-size: 0.7rem;
        color: #6c757d;
        margin-top: 3px;
    }

    .auto-bid-tag i {
        margin-right: 3px;
    }

    /* Weekly Progress Graph */
    .graph-container {
        height: 300px;
        margin-bottom: 20px;
    }

    .graph-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .graph-stat {
        background: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
    }

    .stat-label {
        display: block;
        font-size: 0.9rem;
        color: #6c757d;
        margin-bottom: 5px;
    }

    .stat-value {
        display: block;
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .stat-change {
        font-size: 0.8rem;
        padding: 2px 8px;
        border-radius: 10px;
        display: inline-block;
    }

    .stat-change.up {
        background: rgba(40, 167, 69, 0.1);
        color: #28a745;
    }

    .stat-change.down {
        background: rgba(220, 53, 69, 0.1);
        color: #dc3545;
    }

    /* Responsive Adjustments */
    @media (max-width: 1200px) {
        .stats-summary-row {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .dashboard-grid {
            grid-template-columns: 1fr;
        }
        
        .grid-card.wide {
            grid-column: span 1;
        }
        
        .graph-stats {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 900px) {
        .dashboard-grid {
            grid-template-columns: 1fr;
        }
        .grid-card.wide {
            grid-column: span 1;
        }
    }

    @media (max-width: 768px) {
        .admin-dashboard {
            padding: 10px;
            width: 100vw;
            max-width: 100vw;
            overflow-x: hidden;
        }
        .stats-summary-row {
            grid-template-columns: 1fr;
            gap: 10px;
        }
        .dashboard-grid {
            grid-template-columns: 1fr;
            gap: 10px;
        }
        .grid-card,
        .grid-card.wide {
            grid-column: span 1;
            margin-bottom: 10px;
        }
        .header-content {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }
        .header-actions {
            width: 100%;
            justify-content: space-between;
        }
        .graph-stats {
            grid-template-columns: 1fr;
        }
        .auction-grid {
            grid-template-columns: 1fr;
            gap: 10px;
        }
        .approval-item,
        .bid-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }
        .approval-image,
        .bidder-avatar {
            margin-bottom: 8px;
        }
        .card-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }
        .card-body {
            padding: 12px;
        }
    }

    @media (max-width: 480px) {
        .admin-dashboard {
            padding: 5px;
        }
        .dashboard-header {
            padding: 10px;
            border-radius: 6px;
        }
        .stat-card {
            padding: 10px;
            border-radius: 6px;
        }
        .grid-card {
            border-radius: 6px;
        }
        .card-header {
            padding: 8px 10px;
        }
        .card-body {
            padding: 8px;
        }
    }

    /* Auction Detail Page Styles */
    .auction-detail-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        box-sizing: border-box;
    }

    .breadcrumb {
        margin-bottom: 20px;
        font-size: 14px;
        color: #666;
    }

    .breadcrumb a {
        color: #2d3077;
        text-decoration: none;
    }

    .breadcrumb a:hover {
        text-decoration: underline;
    }

    .auction-detail-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
        box-sizing: border-box;
    }

    @media (min-width: 992px) {
        .auction-detail-content {
            grid-template-columns: 1fr 1fr;
        }
    }

/* Gallery Section */
.gallery-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.02);
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    cursor: pointer;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: #2d3077;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Details Section */
.details-section h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2d3077;
}

.auction-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #555;
}

.meta-item i {
    color: #02aeee;
}

.price-section {
    margin-bottom: 25px;
}

.price-section h2 {
    font-size: 24px;
    color: #2d3077;
    margin-bottom: 5px;
}

.reserve-notice {
    color: #e74c3c;
    font-size: 14px;
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.bid-button {
    background-color: #2d3077;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.bid-button:hover {
    background-color: #0288d1;
}

.bid-button.ended {
    background-color: #95a5a6;
    cursor: not-allowed;
}

/* Specifications */
.specifications {
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.specifications h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2d3077;
    font-size: 20px;
}

.specifications table {
    width: 100%;
    border-collapse: collapse;
}

.specifications tr {
    border-bottom: 1px solid #eee;
}

.specifications tr:last-child {
    border-bottom: none;
}

.specifications td {
    padding: 10px 0;
}

.specifications td:first-child {
    font-weight: 600;
    color: #555;
    width: 40%;
}

/* Description Section */
.description-section {
    margin-bottom: 30px;
}

.description-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2d3077;
    font-size: 20px;
}

.description-section p {
    line-height: 1.6;
    color: #555;
}

/* Bid History */
.bid-history {
    margin-bottom: 30px;
}

.bid-history h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2d3077;
    font-size: 20px;
}

.bid-list {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.bid-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.bid-item:last-child {
    border-bottom: none;
}

.bid-amount {
    font-weight: 600;
    color: #02aeee;
    width: 100px;
}

.bidder {
    flex: 1;
    color: #555;
}

.bid-time {
    color: #95a5a6;
    font-size: 14px;
    width: 150px;
    text-align: right;
}

.view-all-bids {
    display: inline-block;
    margin-top: 10px;
    color: #2d3077;
    text-decoration: none;
    font-weight: 500;
}

.view-all-bids:hover {
    text-decoration: underline;
}

/* Share Section */
.share-section {
    margin-bottom: 30px;
}

.share-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2d3077;
    font-size: 20px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: transform 0.3s;
}

.share-button:hover {
    transform: translateY(-3px);
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.whatsapp { background-color: #25d366; }
.email { background-color: #555; }

/* Similar Items */
.similar-items {
    margin-top: 50px;
}

.similar-items h2 {
    color: #2d3077;
    margin-bottom: 20px;
    font-size: 24px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.similar-items-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 576px) {
    .similar-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .similar-items-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.similar-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.similar-item:hover {
    transform: translateY(-5px);
}

.similar-item a {
    text-decoration: none;
    color: inherit;
}

.similar-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.similar-item h3 {
    font-size: 16px;
    margin: 10px 15px;
    color: #2d3077;
}

.similar-item .price {
    font-weight: 600;
    color: #2d3077;
    margin: 0 15px 10px;
}

.similar-item .time-left {
    color: #555;
    font-size: 14px;
    margin: 0 15px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.similar-item .time-left i {
    color: #e74c3c;
}

/* bloging */
/* Blog specific styles */
.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 0.25rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-content h2, 
.blog-content h3, 
.blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content ul, 
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content blockquote {
    border-left: 4px solid #2c3391;
    padding-left: 1rem;
    margin-left: 0;
    font-style: italic;
    color: #555;
}

/* Comment styling */
.media {
    margin-bottom: 1.5rem;
}

.media img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.reply-form {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
}

/* Card styling */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}

/* Badge styling */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Social share buttons */
.social-share a {
    color: #6c757d;
    transition: color 0.2s;
}

.social-share a:hover {
    color: #2c3391;
}

/* static/css/blog.css */
.blog-post-card {
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-post-image {
    height: 200px;
    object-fit: cover;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-box {
    border-left: 3px solid #007bff;
    padding-left: 15px;
}