.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.search-form {
    display: flex;
    width: 100%;
    gap: 10px;
    box-sizing: border-box;
}



.search-bar button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.products-content {
    flex-grow: 1;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    gap: 20px;
}
@media (max-width: 768px) {
    .products-list {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .products-list {
        grid-template-columns: 1fr; /* 1 item per row on very small screens */
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Card Title */
.product-card .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    min-height: 40px;
}

/* Card Description */
.product-card .description {
    flex: 1;
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    min-height: 60px;
}

/* Card Price */
.product-card .price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Book Button */
.product-card .button {
    align-self: stretch;
    text-align: center;
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.product-card .button:hover {
    background-color: #0056b3;
}

.product-card .product-image {
    width: 300px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
    display: block;
}

.price-range {
    margin: 0 !important;
}

/* ===== BOOKING VIEW PAGE STYLES ===== */

/* Container and Layout */
.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #fafbfc;
    min-height: 100vh;
}

/* Header Section */
.booking-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
}

.header-top {
    margin-bottom: 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.breadcrumb-link {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #00674f;
}

.breadcrumb-separator {
    color: #adb5bd;
    display: flex;
    align-items: center;
}

.breadcrumb-current {
    color: #00674f;
    font-weight: 500;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.header-content h1.booking-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.booking-subtitle {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.booking-id {
    font-weight: 600;
    color: #00674f;
}

.booking-date {
    color: #6c757d;
}

/* Status Indicator */
.booking-status-indicator {
    flex-shrink: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid;
    transition: all 0.2s ease;
}

.status-pill.pending {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.status-pill.approved {
    background: #d1e7dd;
    color: #0f5132;
    border-color: #a3cfbb;
}

.status-pill.rejected {
    background: #f8d7da;
    color: #721c24;
    border-color: #f1aeb5;
}

.status-pill.waiting {
    background: #cff4fc;
    color: #055160;
    border-color: #9eeaf9;
}

.status-pill.unknown {
    background: #e2e3e5;
    color: #41464b;
    border-color: #c4c8cc;
}

.status-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

/* Main Grid Layout */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Modern Card Styles */
.modern-card,
.card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.modern-card:hover,
.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
    margin: 0;
}

.card-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-icon {
    width: 24px;
    height: 24px;
    color: #00674f;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title .icon {
    width: 20px;
    height: 20px;
    color: #00674f;
}

.card-content {
    padding: 1.5rem;
}

/* Product Showcase */
.product-showcase {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.product-image-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.image-zoom-btn:hover {
    background: #ffffff;
}

.image-zoom-btn svg {
    width: 20px;
    height: 20px;
    color: #212529;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.quantity-label {
    color: #6c757d;
    font-size: 0.875rem;
}

.quantity-value {
    color: #212529;
    font-weight: 500;
}

.product-description {
    color: #6c757d;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.product-category {
    margin-top: 1rem;
}

.category-badge {
    background: #e7f3ff;
    color: #0066cc;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: #adb5bd;
}

.empty-state h3 {
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Details Sections */
.details-section {
    margin-bottom: 2rem;
}

.details-section:last-child {
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    width: 18px;
    height: 18px;
    color: #00674f;
}

/* Info Grid */
.info-grid {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

.info-value {
    color: #212529;
    font-weight: 500;
}

/* Financial Grid */
.financial-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.financial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.financial-item:last-child {
    border-bottom: none;
}

.financial-item.total {
    border-top: 2px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.financial-label {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0;
}

.financial-item.total .financial-label {
    color: #212529;
    font-weight: 600;
}

.financial-value {
    color: #212529;
    font-weight: 500;
}

.total-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #00674f;
}

/* Actions Section */
.actions-section {
    margin-top: 2rem;
}

.actions-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
}

.action-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-form {
    display: inline-block;
}


.modern-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-btn.primary {
    background: #00674f;
    color: #ffffff;
}

.modern-btn.primary:hover {
    background: #004d3b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 103, 79, 0.3);
}

/* Pricing Form */
.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
}

.pricing-form {
    margin: 0;
}

.pricing-inputs {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-input {
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.form-input:focus {
    outline: none;
    border-color: #00674f;
    box-shadow: 0 0 0 3px rgba(0, 103, 79, 0.1);
}

.total-input {
    background: #f8f9fa;
    color: #00674f;
    font-weight: 600;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.alert-info {
    background: #cff4fc;
    color: #055160;
    border-color: #9eeaf9;
}

.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Payment & Invoices Section */
.payment-invoices-section {
    margin-top: 2rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.title-icon {
    width: 20px;
    height: 20px;
    color: #00674f;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-action {
    margin-left: auto;
}

/* Payment Overview Styles */
.payment-overview {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.stat-card.paid::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.stat-card.pending::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.stat-card.total::before {
    background: linear-gradient(90deg, #007bff, #6610f2);
}

.stat-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
    line-height: 1.2;
}

.stat-card.paid .stat-amount {
    color: #28a745;
}

.stat-card.pending .stat-amount {
    color: #fd7e14;
}

.stat-card.total .stat-amount {
    color: #007bff;
}

/* Progress Section */
.progress-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
}

.progress-percent {
    font-size: 0.875rem;
    font-weight: 600;
    color: #00674f;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00674f, #20c997);
    border-radius: 4px;
    transition: width 0.6s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Invoices Container */
.invoices-container {
    margin-top: 1.5rem;
}

.invoices-grid {
    display: grid;
    gap: 1rem;
}

.invoice-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.invoice-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.invoice-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: #28a745;
}

.invoice-item.pending::before {
    background: #ffc107;
}

.invoice-item.paid::before {
    background: #28a745;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.invoice-number {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
}

.invoice-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
}

.invoice-item.pending .status-dot {
    background: #ffc107;
}

.invoice-item.paid .status-dot {
    background: #28a745;
}

.invoice-item.pending .invoice-status {
    color: #856404;
}

.invoice-item.paid .invoice-status {
    color: #155724;
}

.invoice-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.invoice-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
}

.invoice-date {
    font-size: 0.875rem;
    color: #6c757d;
}

.invoice-action {
    display: flex;
    justify-content: flex-end;
}

/* Empty State Modern */
.empty-state-modern {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #6c757d;
}

.empty-state-modern .empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: #adb5bd;
}

.empty-state-modern h3 {
    color: #495057;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.empty-state-modern p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        padding: 1rem;
    }
    
    .booking-header {
        padding: 1.5rem;
    }
    
    .header-main {
        flex-direction: column;
        gap: 1rem;
    }
    
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-showcase {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-image-wrapper {
        width: 100%;
        height: 200px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn,
    .action-buttons .modern-btn {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-inputs {
        gap: 1rem;
    }
    
    .booking-subtitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* Payment Section Responsive */
    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .header-action {
        margin-left: 0;
        width: 100%;
    }
    
    .header-action .modern-btn {
        width: 100%;
        justify-content: center;
    }
    
    .payment-overview {
        padding: 1rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .stat-amount {
        font-size: 1.25rem;
    }
    
    .invoice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .invoice-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .invoice-action {
        width: 100%;
        justify-content: center;
    }
    
    .invoice-action .modern-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-content h1.booking-title {
        font-size: 1.5rem;
    }
    
    .card-header,
    .card-content {
        padding: 1rem;
    }
    
    .financial-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    /* Payment Section Small Screen */
    .section-title {
        font-size: 1.125rem;
    }
    
    .payment-overview {
        padding: 0.75rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .stat-amount {
        font-size: 1.125rem;
    }
    
    .progress-section {
        padding: 0.75rem;
    }
    
    .invoice-item {
        padding: 1rem;
    }
    
    .invoice-amount {
        font-size: 1.125rem;
    }
    
    .empty-state-modern {
        padding: 2rem 1rem;
    }
    
    .empty-state-modern .empty-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
    
    .empty-state-modern h3 {
        font-size: 1.125rem;
    }
}


/* Filter Modal */
.filter-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.filter-modal.show {
    right: 0;
}

.filter-modal-content {
    margin-top: 100px;
    padding: 20px;
    position: relative;
}



.filter-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.price-range-container {
    display: flex;
    align-items: center;
}

.price-range {
    flex: 1;
}

.price-range-separator {
    margin: 0 10px;
    font-weight: bold;
}

/* Filter Icon */
.filter-icon {
    background: #00674f;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    transition: 0.3s ease-in-out;
}

.rotating{
    animation: spin-animation 0.5s ease-in-out forwards;
}

@keyframes spin-animation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(359deg);
    }
  }

.filter-icon:hover {
    background: #004d3b;
}

/* Filter Actions */
.filter-actions {
    text-align: center;
}

.filter-tag{
    cursor: pointer;
}

.filter-section{
    margin-bottom: 20px;
}

/* Dashboard vendor */
.products-content-dashboard {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.products-list-dashboard {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    /* justify-content: space-between; */
}

.product-card-dashboard {
    flex: 1 1 30%;
    max-width: 25%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    text-align: center;
}

.product-image-dashboard {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.my-booking-items-container {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.my-booking-items-icon {
    font-size: 1.5rem;
    color: #00674f;
    text-decoration: none;
    position: relative;
}

.my-booking-items-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff0000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    display: inline-block;
    line-height: 1;
    z-index: 1;
}

.my-booking-items-icon:hover {
    color: #004d3b;
}

/* Booking Item page */
.bookingItems {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.button {
    background-color: #00674f;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #004d3b;
}

.item-details-header{
    display: flex;
    justify-content: space-between;
}

.cart-container {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.item-image {
    flex: 0 0 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 5px;
    margin-right: 15px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ccc;
    color: #666;
    font-size: 12px;
    text-align: center;
    border-radius: 5px;
} */

.item-details {
    flex-grow: 1;
}

.item-details h4 {
    margin: 0 0 10px;
    color: #00674f;
}

.item-details p {
    margin: 5px 0;
    color: #666;
}

.item-actions {
    display: flex;
    gap: 10px;
}

.status-booked, .status-done {
    color: #00674f;
    font-weight: bold;
    background-color: transparent;
}

.status-vendor-accept, .status-waiting-user {
    color: #4566fa;
    font-weight: bold;
    background-color: transparent;
}


.empty-message {
    text-align: center;
    font-size: 16px;
    color: #999;
}

/* Payment Statistics Styles - Updated to use modern-card base styles */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: all 0.3s ease;
}

.stat-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stat-item.paid {
    border-left: 4px solid #28a745;
}

.stat-item.unpaid {
    border-left: 4px solid #dc3545;
}

.stat-item.total {
    border-left: 4px solid #007bff;
}

.stat-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item.paid .stat-icon {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stat-item.unpaid .stat-icon {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.stat-item.total .stat-icon {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.stat-content {
    flex-grow: 1;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
}

.stat-percentage {
    font-size: 12px;
    color: #888;
}

.payment-progress {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.progress-percentage {
    font-weight: 700;
    color: #007bff;
}



.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
}