/* /Components/Bundles/BundleList.razor.rz.scp.css */
/* ---- Card Grid ---- */
.bundle-card-grid[b-ve2i0phvag] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

/* Bundle card (matches product card styling) */
.bundle-card[b-ve2i0phvag] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .bundle-card:hover[b-ve2i0phvag] {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }

    /* Image / Placeholder */
    .bundle-card img[b-ve2i0phvag],
    .bundle-card .bundle-placeholder[b-ve2i0phvag] {
        width: 100%; /* match card width */
        height: 160px; /* fixed height */
        object-fit: contain; /* show full image without cropping */
        background: #f8f9fa; /* consistent padding background */
        border-radius: 8px;
        margin-bottom: 0.75rem;
    }

    .bundle-card .bundle-placeholder[b-ve2i0phvag] {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #adb5bd;
        font-size: 0.9rem;
        font-style: italic;
    }

    /* Name / Price / Category */
    .bundle-card .bundle-name[b-ve2i0phvag] {
        font-size: 1.05rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
        word-break: break-word;
    }

    .bundle-card .bundle-price[b-ve2i0phvag] {
        color: #198754; /* Bootstrap green */
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .bundle-card .text-muted[b-ve2i0phvag] {
        font-size: 0.9rem;
    }

/* ---- Table View ---- */
.bundle-table[b-ve2i0phvag] {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

    .bundle-table th[b-ve2i0phvag],
    .bundle-table td[b-ve2i0phvag] {
        padding: 0.75rem 1rem;
        text-align: left;
    }

    .bundle-table th[b-ve2i0phvag] {
        background: #f8f9fa;
        font-weight: 600;
        border-bottom: 1px solid #dee2e6;
    }

    .bundle-table tr[b-ve2i0phvag] {
        transition: background 0.15s ease;
    }

        .bundle-table tr:nth-child(even)[b-ve2i0phvag] {
            background: #fcfcfc;
        }

        .bundle-table tr:hover[b-ve2i0phvag] {
            background: #f1f3f5;
        }

.clickable-row[b-ve2i0phvag] {
    cursor: pointer;
}
/* /Components/Customers/CustomerDetails.razor.rz.scp.css */
.customer-details[b-pvkjo94wd3] {
    padding: 1rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    color: #333;
}

.customer-details-header[b-pvkjo94wd3] {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.customer-details-title[b-pvkjo94wd3] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
}

.customer-actions[b-pvkjo94wd3] {
    display: flex;
    gap: 0.5rem;
}

.btn-icon[b-pvkjo94wd3] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    font-size: 1.1rem;
    border-radius: 0.4rem;
    transition: background 0.2s;
}

    .btn-icon.edit:hover[b-pvkjo94wd3] {
        background-color: #f0f4ff;
        color: #2a62c1;
    }

    .btn-icon.delete:hover[b-pvkjo94wd3] {
        background-color: #ffeef0;
        color: #c12a2a;
    }

.notes-section[b-pvkjo94wd3] {
    margin-top: 1rem;
}

.notes-content[b-pvkjo94wd3] {
    margin-top: 0.25rem;
    background-color: #f9f9f9;
    padding: 0.75rem;
    border-radius: 0.5rem;
    white-space: pre-wrap;
    font-size: 0.9rem;
    color: #444;
}
/* /Components/Customers/CustomerForm.razor.rz.scp.css */
/* Form styling */
form[b-jpgxz1vjcg] {
    max-width: 1000px; /* Increase width for larger form */
    margin: 20px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Label styling */
label[b-jpgxz1vjcg] {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

/* Input field styling */
.form-control[b-jpgxz1vjcg] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Form Actions styling */
.form-actions[b-jpgxz1vjcg] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Form Group styling for spacing */
.form-group[b-jpgxz1vjcg] {
    margin-bottom: 20px;
}

/* First Name and Last Name Row styling */
.name-row[b-jpgxz1vjcg] {
    display: flex;
    justify-content: space-between;
}

/* Phone and Company Row styling */
.phone-company-row[b-jpgxz1vjcg] {
    display: flex;
    justify-content: space-between;
}

/* Address and Location Row styling */
.address-row[b-jpgxz1vjcg], .location-row[b-jpgxz1vjcg] {
    display: flex;
    justify-content: space-between;
}

/* Postal Code Row styling */
.postal-code-row[b-jpgxz1vjcg] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align buttons with the bottom of the input */
}

/* Button group for Save and Cancel buttons */
.button-group[b-jpgxz1vjcg] {
    display: flex;
    gap: 10px;
}



/* Half width for grouped inputs */
.half-width[b-jpgxz1vjcg] {
    width: 48%; /* Allow for inputs to be next to each other */
    margin-right: 4%; /* Space between fields */
}

    .half-width:last-child[b-jpgxz1vjcg] {
        margin-right: 0;
    }

/* Heading styling */
h4[b-jpgxz1vjcg] {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #333;
}

/* Ensure form is wider on larger screens */
@media (min-width: 768px) {
    .half-width[b-jpgxz1vjcg] {
        width: 48%;
    }
}

/* Ensure it breaks into single column on smaller screens */
@media (max-width: 767px) {
    .half-width[b-jpgxz1vjcg] {
        width: 100%;
        margin-right: 5px;
    }
}
/* /Components/Customers/CustomerList.razor.rz.scp.css */
/* --------------------------
   Customer Controls
-------------------------- */
.controls-container[b-fgij087esz] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.view-toggle[b-fgij087esz] {
    display: flex;
    gap: 0.5rem;
}

.btn-outline[b-fgij087esz] {
    background: none;
    border: 1px solid #6c757d;
    color: #6c757d;
    padding: 0.375rem 0.75rem;
    font-size: 1.25rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .btn-outline:disabled[b-fgij087esz] {
        opacity: 0.5;
        cursor: default;
    }

    .btn-outline:not(:disabled):hover[b-fgij087esz] {
        background-color: #6c757d;
        color: white;
    }

.search-container[b-fgij087esz] {
    display: flex;
    gap: 0.5rem;
    flex: 1 1 250px;
    max-width: 350px;
}

.search-input[b-fgij087esz] {
    flex-grow: 1;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    font-size: 1rem;
}

.btn-primary[b-fgij087esz] {
    background-color: #0d6efd;
    border: none;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .btn-primary:hover[b-fgij087esz] {
        background-color: #0b5ed7;
    }

/* --------------------------
   Customer Card Grid
-------------------------- */
.customer-card-grid[b-fgij087esz] {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    padding: 1rem;
}

@media (min-width: 600px) {
    .customer-card-grid[b-fgij087esz] {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (min-width: 768px) {
    .customer-card-grid[b-fgij087esz] {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (min-width: 1024px) {
    .customer-card-grid[b-fgij087esz] {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    }
}

/* --------------------------
   Individual Customer Card
-------------------------- */
.customer-card[b-fgij087esz] {
    background-color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

    .customer-card:hover[b-fgij087esz] {
        box-shadow: 0 4px 8px rgb(0 0 0 / 0.15);
        transform: translateY(-2px);
    }

.customer-name[b-fgij087esz] {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #212529;
}

.customer-info[b-fgij087esz] {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.card-actions[b-fgij087esz] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* --------------------------
   Customer Table
-------------------------- */
.customer-table[b-fgij087esz] {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    margin-top: 1rem;
}

    .customer-table th[b-fgij087esz],
    .customer-table td[b-fgij087esz] {
        border: 1px solid #dee2e6;
        padding: 0.75rem;
        text-align: left;
    }

    .customer-table thead[b-fgij087esz] {
        background-color: #f8f9fa;
    }

.clickable-row[b-fgij087esz] {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .clickable-row:hover[b-fgij087esz] {
        background-color: #e9ecef;
    }

/* --------------------------
   No Results Message
-------------------------- */
.no-results[b-fgij087esz] {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin-top: 2rem;
    font-size: 1rem;
}

/* --------------------------
   Responsive Adjustments
-------------------------- */
@media (max-width: 768px) {
    .customer-card-grid[b-fgij087esz] {
        grid-template-columns: repeat(2, 1fr);
    }

    .controls-container[b-fgij087esz] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container[b-fgij087esz] {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
/* /Components/Products/ProductList.razor.rz.scp.css */
/* --------------------------
   Product Card Grid
-------------------------- */
.product-card-grid[b-mz58x5egc1] {
    display: grid;
    gap: 1.5rem; /* spacing between cards */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* responsive columns */
    padding: 1rem;
}

/* --------------------------
   Product Card
-------------------------- */
.product-card[b-mz58x5egc1] {
    background: var(--background-muted);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--color-border);
}

    .product-card:hover[b-mz58x5egc1] {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    }

    /* --------------------------
   Product Card Image
-------------------------- */
    .product-card img[b-mz58x5egc1],
    .product-card .product-placeholder[b-mz58x5egc1] {
        width: 100%;
        aspect-ratio: 1 / 1; /* ensures square cards */
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 0.75rem;
        background: var(--background-muted);
        display: block;
        box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
    }

/* --------------------------
   Product Info
-------------------------- */
.product-card-body[b-mz58x5egc1] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-title[b-mz58x5egc1] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.product-card-text[b-mz58x5egc1] {
    font-size: 0.9rem;
    color: var(--text-subtitle-dark);
    margin-bottom: 0.5rem;
}

.product-card-footer[b-mz58x5egc1] {
    font-size: 0.9rem;
    color: var(--text-subtitle);
}

    .product-card-footer span[b-mz58x5egc1] {
        font-weight: 600;
        color: var(--color-primary);
    }

/* --------------------------
   Responsive Adjustments
-------------------------- */
@media (min-width: 768px) {
    .product-card-grid[b-mz58x5egc1] {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (min-width: 1024px) {
    .product-card-grid[b-mz58x5egc1] {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    }
}

@media (min-width: 1440px) {
    .product-card-grid[b-mz58x5egc1] {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* --------------------------
   Table View (unchanged)
-------------------------- */
.product-table[b-mz58x5egc1] {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius);
    overflow: hidden;
    font-size: 0.95rem;
}

    .product-table th[b-mz58x5egc1],
    .product-table td[b-mz58x5egc1] {
        padding: 0.75rem 1rem;
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }

    .product-table th[b-mz58x5egc1] {
        background: var(--background-section);
        font-weight: 600;
    }

    .product-table tr:nth-child(even)[b-mz58x5egc1] {
        background: var(--background-neutral);
    }

    .product-table tr:hover[b-mz58x5egc1] {
        background: var(--background-muted);
    }

.clickable-row[b-mz58x5egc1] {
    cursor: pointer;
}

/* --------------------------
   No Results
-------------------------- */
.no-results[b-mz58x5egc1] {
    text-align: center;
    padding: 2rem;
    font-size: 1rem;
    color: var(--text-subtitle-dark);
}
/* /Components/Products/ProductSelector.razor.rz.scp.css */
/* Product Selector Container */
.product-selector[b-aivx8bq8cd] {
    margin: 0 auto;
    padding: 1rem;
    font-family: Arial, sans-serif;
}

    /* Search input */
    .product-selector input[type="text"][b-aivx8bq8cd] {
        width: 100%;
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
        border-radius: 6px;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }

/* Product grid — default (desktop-first) */
.product-grid[b-aivx8bq8cd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Product card */
.product-card[b-aivx8bq8cd] {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .product-card:hover[b-aivx8bq8cd] {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .product-card img[b-aivx8bq8cd] {
        max-width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 6px;
        margin-bottom: 0.5rem;
    }

    .product-card div:first-of-type[b-aivx8bq8cd] {
        font-weight: bold;
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .product-card div:nth-of-type(2)[b-aivx8bq8cd] {
        color: #007bff;
        font-weight: 500;
        margin-bottom: 0.25rem;
    }

    .product-card small[b-aivx8bq8cd] {
        display: block;
        color: #666;
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .product-grid[b-aivx8bq8cd] {
        grid-template-columns: repeat(2, 1fr); /* exactly 2 per row on mobile */
        gap: 0.75rem;
    }

    .product-card img[b-aivx8bq8cd] {
        height: 100px; /* slightly smaller images for mobile */
    }

    .product-card div:first-of-type[b-aivx8bq8cd] {
        font-size: 0.85rem;
    }

    .product-card div:nth-of-type(2)[b-aivx8bq8cd] {
        font-size: 0.85rem;
    }
}
/* /Components/Products/ProductVariantManager.razor.rz.scp.css */
/* ===========================
   Variant Manager - Modern Grid
   =========================== */
.variant-manager[b-1ewjfwwiqj] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    /* Add Variant Button */
    .variant-manager > button[b-1ewjfwwiqj] {
        align-self: flex-start;
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
        border-radius: 8px;
        border: 1px solid var(--color-primary);
        background: #fff;
        color: var(--color-primary);
        font-weight: 500;
        transition: all 0.2s ease;
    }

        .variant-manager > button:hover[b-1ewjfwwiqj] {
            background: var(--color-primary);
            color: #fff;
        }

/* Grid of Variant Cards */
.variant-grid[b-1ewjfwwiqj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

/* Variant Card */
.variant-card[b-1ewjfwwiqj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fafafa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

    .variant-card:hover[b-1ewjfwwiqj] {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }

    .variant-card .variant-image[b-1ewjfwwiqj] {
        width: 100%;
        padding-top: 100%; /* 1:1 ratio */
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        background: var(--background-muted);
        margin-bottom: 0.5rem;
    }

        .variant-card .variant-image img[b-1ewjfwwiqj] {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            border: 2px solid transparent;
            transition: transform 0.2s ease, border 0.2s ease;
        }

            .variant-card .variant-image img:hover[b-1ewjfwwiqj] {
                transform: scale(1.05);
            }

    .variant-card .variant-info h5[b-1ewjfwwiqj] {
        font-size: 1rem;
        font-weight: 600;
        margin: 0.25rem 0 0.1rem 0;
    }

    .variant-card .variant-info .sku[b-1ewjfwwiqj] {
        font-size: 0.85rem;
        color: var(--text-secondary);
    }

    /* Action Buttons inside card */
    .variant-card .variant-actions[b-1ewjfwwiqj] {
        display: flex;
        gap: 0.5rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }

        .variant-card .variant-actions button[b-1ewjfwwiqj] {
            flex: 1 1 45%;
            padding: 0.45rem 0.8rem;
            font-size: 0.9rem;
        }

/* Context Panel Form */
.variant-form[b-1ewjfwwiqj] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    /* Image Picker */
    .variant-form .image-picker[b-1ewjfwwiqj] {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

        .variant-form .image-picker img[b-1ewjfwwiqj] {
            height: 64px;
            width: 64px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: transform 0.2s ease, border 0.2s ease;
        }

            .variant-form .image-picker img:hover[b-1ewjfwwiqj] {
                transform: scale(1.05);
            }

            .variant-form .image-picker img.border-primary[b-1ewjfwwiqj] {
                border-color: var(--color-primary);
            }

    /* Form Inputs */
    .variant-form .form-label[b-1ewjfwwiqj] {
        font-weight: 500;
        margin-bottom: 0.25rem;
    }

    .variant-form input[b-1ewjfwwiqj] {
        padding: 0.5rem;
        border-radius: 6px;
        border: 1px solid #ccc;
        font-size: 0.95rem;
    }

    /* Quantity Price Tiers */
    .variant-form .tier-row[b-1ewjfwwiqj] {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 0.25rem;
    }

        .variant-form .tier-row input[b-1ewjfwwiqj] {
            width: 100px;
        }

        .variant-form .tier-row button[b-1ewjfwwiqj] {
            padding: 0.35rem 0.5rem;
        }

    /* Action Buttons */
    .variant-form .actions[b-1ewjfwwiqj] {
        display: flex;
        gap: 0.75rem;
        justify-content: flex-end;
    }

        .variant-form .actions button[b-1ewjfwwiqj] {
            padding: 0.6rem 1rem;
            font-size: 0.95rem;
            border-radius: 8px;
        }

/* Responsive */
@media (max-width: 576px) {
    .variant-card[b-1ewjfwwiqj] {
        flex-direction: column;
        align-items: center;
    }

    .variant-form .tier-row[b-1ewjfwwiqj] {
        flex-direction: column;
        align-items: flex-start;
    }

    .variant-form .image-picker img[b-1ewjfwwiqj] {
        height: 48px;
        width: 48px;
    }
}
/* /Components/Sales/PosBundlesList.razor.rz.scp.css */
/* =========================
   Bundle List Container
   ========================= */
.bundle-list-container[b-lxmh8x3eph] {
    display: flex;
    flex-direction: column;
    height: 100vh; /* full viewport height */
    overflow: hidden; /* prevent page scroll */
    padding: 0 1rem; /* optional horizontal padding */
}

/* =========================
   Filters (top, static)
   ========================= */
.bundle-list-filters[b-lxmh8x3eph] {
    flex-shrink: 0; /* never shrink */
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

    /* Inputs and selects inside filters */
    .bundle-list-filters input.form-control[b-lxmh8x3eph],
    .bundle-list-filters select.form-select[b-lxmh8x3eph] {
        border-radius: var(--border-radius);
        border: 1px solid var(--color-border-light);
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
        transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    }

        .bundle-list-filters input.form-control:focus[b-lxmh8x3eph],
        .bundle-list-filters select.form-select:focus[b-lxmh8x3eph] {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.2);
            outline: none;
        }

/* =========================
   Scrollable Bundles Wrapper
   ========================= */
.bundle-list-scroll-wrapper[b-lxmh8x3eph] {
    flex: 1 1 auto; /* fill remaining vertical space */
    overflow-y: auto; /* scroll only bundles */
    padding: 0.5rem 0; /* spacing for grid */
}

/* =========================
   Bundle Grid
   ========================= */
.bundle-card-grid[b-lxmh8x3eph] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

/* =========================
   Bundle Card
   ========================= */
.bundle-card[b-lxmh8x3eph] {
    background-color: var(--background-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

    .bundle-card:hover[b-lxmh8x3eph] {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        border-color: var(--color-primary);
    }

.bundle-name[b-lxmh8x3eph] {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    /* Proper multi-line ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    min-height: calc(1em * 2.6); /* keeps rows even but doesn't clip */
}


.bundle-price[b-lxmh8x3eph] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================
   Pagination (bottom, static)
   ========================= */
.pagination[b-lxmh8x3eph] {
    flex-shrink: 0;
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* =========================
   Responsive Adjustments
   ========================= */
@media (max-width: 1024px) {
    .bundle-card-grid[b-lxmh8x3eph] {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .bundle-card-grid[b-lxmh8x3eph] {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .bundle-card-grid[b-lxmh8x3eph] {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .bundle-name[b-lxmh8x3eph] {
        font-size: 0.85rem;
    }

    .bundle-price[b-lxmh8x3eph] {
        font-size: 0.85rem;
    }
}
/* /Components/Sales/PosProductsList.razor.rz.scp.css */
/* =========================
   Product List Container
   ========================= */
.product-list-container[b-2aoi94r6zt] {
    display: flex;
    flex-direction: column;
    height: 100vh; /* full viewport height */
    overflow: hidden; /* prevent page scroll */
    padding: 0 1rem; /* optional horizontal padding */
}

/* =========================
   Filters (top, static)
   ========================= */
.product-list-filters[b-2aoi94r6zt] {
    flex-shrink: 0; /* never shrink */
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

    /* Inputs and selects inside filters */
    .product-list-filters input.form-control[b-2aoi94r6zt],
    .product-list-filters select.form-select[b-2aoi94r6zt] {
        border-radius: var(--border-radius);
        border: 1px solid var(--color-border-light);
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
        transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    }

        .product-list-filters input.form-control:focus[b-2aoi94r6zt],
        .product-list-filters select.form-select:focus[b-2aoi94r6zt] {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.2);
            outline: none;
        }

/* =========================
   Scrollable Products Wrapper
   ========================= */
.product-list-scroll-wrapper[b-2aoi94r6zt] {
    flex: 1 1 auto; /* fill remaining vertical space */
    overflow-y: auto; /* scroll only products */
    padding: 0.5rem 0; /* spacing for grid */
}

/* =========================
   Product Grid
   ========================= */
.product-card-grid[b-2aoi94r6zt] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

/* =========================
   Product Card
   ========================= */
.product-card[b-2aoi94r6zt] {
    background-color: var(--background-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

    .product-card:hover[b-2aoi94r6zt] {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        border-color: var(--color-primary);
    }

    .product-card img[b-2aoi94r6zt] {
        width: 100%;
        object-fit: contain;
        border-radius: var(--border-radius);
        margin-bottom: 0.5rem;
    }

.product-name[b-2aoi94r6zt] {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    /* Multiline ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1em * 2.6); /* keeps card heights equal but flexible */
    line-height: 1.3;
}


.product-price[b-2aoi94r6zt] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .product-price .original-price[b-2aoi94r6zt] {
        text-decoration: line-through;
        font-weight: 400;
        font-size: 0.85rem;
        color: var(--text-subtitle);
    }

    .product-price .discounted-price[b-2aoi94r6zt] {
        color: var(--color-accent);
        font-weight: 600;
        margin-top: 0.15rem;
    }

/* =========================
   Pagination (bottom, static)
   ========================= */
.pagination[b-2aoi94r6zt] {
    flex-shrink: 0;
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* =========================
   Responsive Adjustments
   ========================= */
@media (max-width: 1024px) {
    .product-card-grid[b-2aoi94r6zt] {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

}

@media (max-width: 768px) {
    .product-card-grid[b-2aoi94r6zt] {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .product-card-grid[b-2aoi94r6zt] {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .product-name[b-2aoi94r6zt] {
        font-size: 0.85rem;
    }

    .product-price[b-2aoi94r6zt] {
        font-size: 0.85rem;
    }
}
/* /Components/Sales/SaleReceipt.razor.rz.scp.css */
/* ---- Receipt Panel ---- */
.receipt-panel[b-y0txnhhx5e] {
    display: flex;
    flex-direction: column;
    padding: 12px;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    flex: 1 1 auto;
    overflow: hidden; /* ensures footer stays in place */
}

/* Lines container scrolls — fills space above footer */
.receipt-lines[b-y0txnhhx5e] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1 1 auto; /* fill available space */
    min-height: 0; /* allows scrolling inside flex container */
    overflow-y: auto; /* scroll instead of pushing footer */
    padding-right: 0.5rem;
}

/* ---- Receipt Footer / Buttons ---- */
.receipt-footer[b-y0txnhhx5e] {
    flex-shrink: 0; /* prevents footer from shrinking */
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--section-border-light);
    padding-top: 12px;
    background: white; /* ensures footer stays visible */
}

    /* Keep buttons flush at bottom of footer */
    .receipt-footer .modal-buttons[b-y0txnhhx5e],
    .receipt-footer .checkout-panel[b-y0txnhhx5e] {
        margin-top: auto;
    }

/* ---- Receipt Total ---- */
.receipt-total[b-y0txnhhx5e] {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    color: #212529;
}

/* ---- Receipt Lines ---- */
.receipt-line[b-y0txnhhx5e] {
    display: flex;
    flex-direction: column;
    padding: 6px 12px;
    border-radius: 6px;
    gap: 6px;
    transition: background 0.2s;
}

    .receipt-line:nth-child(even)[b-y0txnhhx5e] {
        background-color: #f8f9fa;
    }

    .receipt-line:hover[b-y0txnhhx5e] {
        background-color: #e9ecef;
    }

/* ---- Line Name ---- */
.line-name[b-y0txnhhx5e] {
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Line Actions ---- */
.line-actions[b-y0txnhhx5e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

/* Quantity Group */
.line-qty[b-y0txnhhx5e] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qty-btn[b-y0txnhhx5e] {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

    .qty-btn:hover[b-y0txnhhx5e] {
        background: #0b5ed7;
        transform: translateY(-1px);
    }

.qty-display[b-y0txnhhx5e] {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.line-total[b-y0txnhhx5e] {
    font-weight: 700;
    font-size: 0.95rem;
    color: #198754;
    white-space: nowrap;
}

.remove-btn[b-y0txnhhx5e] {
    border: none;
    background: #dc3545;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s, transform 0.1s;
}

    .remove-btn:hover[b-y0txnhhx5e] {
        background: #b02a37;
        transform: translateY(-1px);
    }

/* ---- Checkout Panel ---- */
.checkout-panel[b-y0txnhhx5e] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .checkout-panel label[b-y0txnhhx5e] {
        font-weight: 600;
    }

.form-control[b-y0txnhhx5e] {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    font-size: 0.9rem;
}

    .form-control:focus[b-y0txnhhx5e] {
        border-color: #0d6efd;
        box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
        outline: none;
    }

.checkout-btn[b-y0txnhhx5e] {
    background: #198754;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.1s;
}

    .checkout-btn:hover[b-y0txnhhx5e] {
        background: #157347;
        transform: translateY(-1px);
    }

/* ---- Inputs ---- */
.line-name-input[b-y0txnhhx5e] {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.line-actions input[type="number"][b-y0txnhhx5e],
.unit-price-input[b-y0txnhhx5e] {
    padding: 4px 6px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.85rem;
    text-align: center;
    width: 60px;
    box-sizing: border-box;
}

.line-qty input[type="number"][b-y0txnhhx5e] {
    flex: 0 0 50px;
}

.line-name-input:focus[b-y0txnhhx5e],
.line-actions input[type="number"]:focus[b-y0txnhhx5e],
.unit-price-input:focus[b-y0txnhhx5e] {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
}

/* ---- Tablet (≤1200px) ---- */
@media (max-width: 1200px) {
    .receipt-line[b-y0txnhhx5e] {
        flex-direction: column;
        gap: 6px;
        padding: 8px 10px;
        width: 100%;
    }

    .line-name[b-y0txnhhx5e] {
        white-space: normal;
    }

    .line-actions[b-y0txnhhx5e] {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .line-qty[b-y0txnhhx5e] {
        flex: 1 1 auto;
    }

    .line-total[b-y0txnhhx5e],
    .remove-btn[b-y0txnhhx5e] {
        flex-shrink: 0;
    }
}

/* ---- Modal + Payment ---- */
.modal-total[b-y0txnhhx5e] {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.payment-method-buttons[b-y0txnhhx5e] {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pay-method-btn[b-y0txnhhx5e] {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    background: #f8f9fa;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .pay-method-btn.active[b-y0txnhhx5e] {
        background: #198754;
        border-color: #157347;
        color: white;
    }

.checkout-modal-backdrop[b-y0txnhhx5e] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.checkout-modal[b-y0txnhhx5e] {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    width: 320px;
    max-width: 95vw;
    text-align: center;
}

.modal-buttons[b-y0txnhhx5e] {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
/* /Components/Sales/SalesList.razor.rz.scp.css */
.sales-controls-container[b-5yyqsnw8x4] {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sales-controls-row[b-5yyqsnw8x4],
.sales-filters-row[b-5yyqsnw8x4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.sales-view-toggle[b-5yyqsnw8x4] {
    display: flex;
    gap: 0.5rem;
}

.sales-btn-outline[b-5yyqsnw8x4] {
    background: none;
    border: 1px solid #6c757d;
    color: #6c757d;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

    .sales-btn-outline:disabled[b-5yyqsnw8x4] {
        opacity: 0.5;
    }

    .sales-btn-outline:not(:disabled):hover[b-5yyqsnw8x4] {
        background-color: #6c757d;
        color: white;
    }

.sales-search-container[b-5yyqsnw8x4] {
    display: flex;
    flex-grow: 1;
    max-width: 400px;
}

.sales-search-input[b-5yyqsnw8x4] {
    flex-grow: 1;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem 0 0 0.375rem;
}

.sales-search-container .btn-primary[b-5yyqsnw8x4] {
    border-radius: 0 0.375rem 0.375rem 0;
}

.sales-filters-row[b-5yyqsnw8x4] {
    justify-content: flex-start;
}

.sales-form-select[b-5yyqsnw8x4] {
    padding: 0.375rem;
    border-radius: 0.375rem;
}

.sales-total-display[b-5yyqsnw8x4] {
    margin-left: auto;
    font-weight: bold;
}

/* === Sales Cards === */
.sales-card-grid[b-5yyqsnw8x4] {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .sales-card-grid[b-5yyqsnw8x4] {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

.sales-card[b-5yyqsnw8x4] {
    background-color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

    .sales-card:hover[b-5yyqsnw8x4] {
        box-shadow: 0 4px 8px rgb(0 0 0 / 0.15);
    }

.sales-refund-sale[b-5yyqsnw8x4] {
    border-color: #ffc107;
    background-color: #fff8e1;
}

.sales-customer-name[b-5yyqsnw8x4] {
    font-weight: 600;
    font-size: 1.125rem;
    color: #212529;
}

.sales-date[b-5yyqsnw8x4] {
    color: #6c757d;
    font-size: 0.875rem;
}

.sales-total[b-5yyqsnw8x4] {
    font-weight: 600;
    font-size: 1rem;
    color: #343a40;
}

/* === Sales Table === */
.sales-table[b-5yyqsnw8x4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

    .sales-table th[b-5yyqsnw8x4],
    .sales-table td[b-5yyqsnw8x4] {
        border: 1px solid #dee2e6;
        padding: 0.75rem;
        text-align: left;
    }

    .sales-table thead[b-5yyqsnw8x4] {
        background-color: #f8f9fa;
    }

.sales-clickable-row[b-5yyqsnw8x4] {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .sales-clickable-row:hover[b-5yyqsnw8x4] {
        background-color: #e9ecef;
    }

/* Responsive */
@media (max-width: 768px) {
    .sales-controls-row[b-5yyqsnw8x4],
    .sales-filters-row[b-5yyqsnw8x4] {
        flex-direction: column;
        align-items: stretch;
    }

    .sales-total-display[b-5yyqsnw8x4] {
        margin-left: 0;
        text-align: right;
    }
}
/* /Components/Settings/BusinessSettingsForm.razor.rz.scp.css */
.form-wrapper[b-v4bj1z544a] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section[b-v4bj1z544a] {
    padding-bottom: 1.5rem;
}

    .form-section h3[b-v4bj1z544a] {
        margin-bottom: 1rem;
        font-size: 1.25rem;
        color: var(--color-primary);
        border-bottom: 2px solid var(--color-accent);
        padding-bottom: 0.25rem;
    }

.form-group[b-v4bj1z544a] {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

    .form-group label[b-v4bj1z544a] {
        font-weight: 500;
        margin-bottom: 0.25rem;
        color: var(--text-subtitle-dark);
    }

.input[b-v4bj1z544a] {
    height: 40px;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Two-column layout on larger screens */
.form-row[b-v4bj1z544a] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

    .form-row .form-group[b-v4bj1z544a] {
        flex: 1 1 100%;
    }

@media (min-width: 768px) {
    .form-row .form-group[b-v4bj1z544a] {
        flex: 1 1 calc(50% - 0.5rem);
    }
}

/* Image Preview */
.image-preview-grid[b-v4bj1z544a] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 1rem;
}

    .image-preview-grid div[b-v4bj1z544a] {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        border: 1px solid #ddd;
        background-color: #fafafa;
        transition: box-shadow 0.2s;
    }

        .image-preview-grid div:hover[b-v4bj1z544a] {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

    .image-preview-grid img[b-v4bj1z544a] {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 8px;
    }

    .image-preview-grid button[b-v4bj1z544a] {
        position: absolute;
        top: 6px;
        right: 6px;
        background: #dc3545;
        color: white;
        border: none;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1;
        transition: background 0.2s ease;
    }

        .image-preview-grid button:hover[b-v4bj1z544a] {
            background: #b02a37;
        }

/* Buttons */
.btn-outline[b-v4bj1z544a] {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-accent);
    background: none;
    color: var(--color-accent);
    border-radius: 4px;
    margin-top: 0.5rem;
    cursor: pointer;
}

.form-actions[b-v4bj1z544a] {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
/* /Components/Shared/QuillEditor.razor.rz.scp.css */
[b-986zxyeutx] .ql-editor li[data-list="bullet"] {
    list-style-type: none;
    list-style-position: outside;
    margin-left: 1.5em;
}

[b-986zxyeutx] .ql-editor li[data-list="ordered"] {
    list-style-type: none;
    margin-left: 1.5em;
}
/* /Components/Website/ReviewEditor.razor.rz.scp.css */
.website-editor-card[b-qfllezi1r2] {
    border-radius: 1rem;
    overflow: hidden;
}

.card-header[b-qfllezi1r2] {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.card-actions .icon-btn[b-qfllezi1r2] {
    padding: 0.35rem 0.5rem;
    font-size: 1rem;
    cursor: pointer;
}

.bms-form .bms-field[b-qfllezi1r2] {
    margin-bottom: 1rem;
}

.bms-form .form-control[b-qfllezi1r2] {
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.rating-input[b-qfllezi1r2] {
    max-width: 100px;
}

.text-muted[b-qfllezi1r2] {
    color: #6c757d !important;
}
/* /Components/Website/WebsiteSectionList.razor.rz.scp.css */
.section-card-grid[b-kvrvtkcy2y] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.section-card[b-kvrvtkcy2y] {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120px;
    overflow: visible;
}

    .section-card:hover[b-kvrvtkcy2y] {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

.section-name[b-kvrvtkcy2y] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.4rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.section-title[b-kvrvtkcy2y] {
    font-size: 1rem;
    color: #555;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .section-card-grid[b-kvrvtkcy2y] {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .section-card-grid[b-kvrvtkcy2y] {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        padding: 1rem;
    }

    .section-card[b-kvrvtkcy2y] {
        padding: 1rem;
    }

    .section-name[b-kvrvtkcy2y] {
        font-size: 1rem;
    }

    .section-title[b-kvrvtkcy2y] {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section-card-grid[b-kvrvtkcy2y] {
        grid-template-columns: 1fr;
        padding: 0.75rem;
    }
}
/* /Layout/BMSLayout.razor.rz.scp.css */
/* ====================================== */
/* BMS Layout - Flex Shell                */
/* ====================================== */
.bms-layout[b-811jl3zprl] {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--background-neutral);
}

/* Topbar */
.bms-topbar[b-811jl3zprl] {
    flex: 0 0 var(--topbar-height);
    position: sticky;
    top: 0;
    z-index: 1002;
}

/* Sidebar + main wrapper */
.layout-inner[b-811jl3zprl] {
    display: flex;
    flex: 1 1 auto;
    min-height: 0; /* important for inner flex scrolling */
}

/* Sidebar */
.bms-sidebar[b-811jl3zprl] {
    flex: 0 0 350px;
    overflow-y: auto;
    background-color: var(--background-light);
    border-right: 1px solid var(--color-border);
    transition: all var(--transition-speed) ease;
}

    .bms-sidebar:not(.visible)[b-811jl3zprl] {
        flex: 0 0 0;
        overflow: hidden;
    }

/* Main content */
.bms-main[b-811jl3zprl] {
    flex: 1 1 auto;
    min-height: 0; /* allows inner scrolling */
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* scroll only if content exceeds height */
}

/* Page content wrapper */
.page-content[b-811jl3zprl] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0; /* ensures child scroll works */
}

/* Loading indicator */
.loading-indicator[b-811jl3zprl] {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    font-size: 1.25rem;
    color: var(--text-subtitle-dark);
}

/* Blazor error UI */
#blazor-error-ui[b-811jl3zprl] {
    color-scheme: light only;
    background: #fff3cd;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0.6rem 1.25rem;
    z-index: 2000;
}

    #blazor-error-ui .dismiss[b-811jl3zprl] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ====================================== */
/* Mobile overlay sidebar                  */
/* ====================================== */
@media (max-width: 768px) {
    .layout-inner[b-811jl3zprl] {
        flex-direction: column;
    }

    .bms-sidebar[b-811jl3zprl] {
        position: fixed;
        top: var(--topbar-height, 50px);
        left: 0;
        width: 100%;
        height: 100%;
        box-shadow: 0 2px 12px rgba(0,0,0,0.25);
        transform: translateX(-100%);
        transition: transform var(--transition-speed) ease;
        z-index: 3000;
    }

        .bms-sidebar.visible[b-811jl3zprl] {
            transform: translateX(0);
        }

    body.sidebar-open[b-811jl3zprl] {
        overflow: hidden;
    }

    .bms-main[b-811jl3zprl] {
        overflow-y: auto;
    }
}
/* /Layout/ContextPanel.razor.rz.scp.css */
/* ===== Context Backdrop ===== */
.context-backdrop[b-oold0xlf3f] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in[b-oold0xlf3f] {
    animation: backdrop-fade-in-b-oold0xlf3f 0.25s forwards;
}

.fade-out[b-oold0xlf3f] {
    animation: backdrop-fade-out-b-oold0xlf3f 0.25s forwards;
}

@keyframes backdrop-fade-in-b-oold0xlf3f {
    to {
        opacity: 1;
    }
}

@keyframes backdrop-fade-out-b-oold0xlf3f {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* ===== Context Panel ===== */
.context-panel[b-oold0xlf3f] {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    background-color: #fff;
    z-index: 1050;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    width: 50%;
    max-width: 50%;
    min-width: 50%;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    padding: 0; /* Header handles spacing */
}

/* Slide Animations */
.slide-in[b-oold0xlf3f] {
    animation: slide-in-b-oold0xlf3f 0.3s ease-out forwards;
    transform: translateX(100%);
}

.slide-out[b-oold0xlf3f] {
    animation: slide-out-b-oold0xlf3f 0.3s ease-in forwards;
    transform: translateX(0);
}

@keyframes slide-in-b-oold0xlf3f {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slide-out-b-oold0xlf3f {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

/* ===== Context Panel Header ===== */
.context-panel-header[b-oold0xlf3f] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 2px solid var(--color-accent);
    background-color: #fff;
    flex-shrink: 0;
}

.context-panel-title[b-oold0xlf3f] {
    flex: 1;
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.context-close-btn[b-oold0xlf3f] {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: inherit;
    padding: 0.25rem;
}

/* ===== Content ===== */
.context-content[b-oold0xlf3f] {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

/* ===== Mobile & Tablet ===== */
@media (max-width: 768px) {
    .context-panel[b-oold0xlf3f] {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    .context-panel-header[b-oold0xlf3f] {
        padding: 0.75rem;
    }

    .context-panel-title[b-oold0xlf3f] {
        font-size: 1rem;
    }

    .context-close-btn[b-oold0xlf3f] {
        font-size: 1.2rem;
    }
}

/* ===== Small Mobile ===== */
@media (max-width: 480px) {
    .context-panel-header[b-oold0xlf3f] {
        padding: 0.5rem;
    }

    .context-panel-title[b-oold0xlf3f] {
        font-size: 0.95rem;
    }

    .context-close-btn[b-oold0xlf3f] {
        font-size: 1.1rem;
    }
}
/* /Layout/Sidebar.razor.rz.scp.css */
/* Modern Sidebar inside .bms-sidebar */
.sidebar-nav-modern[b-3r2x0j8ski] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
    background-color: var(--background-sidebar, #f5f9ff);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

    /* Scrollbars */
    .sidebar-nav-modern[b-3r2x0j8ski]::-webkit-scrollbar {
        width: 8px;
    }

    .sidebar-nav-modern[b-3r2x0j8ski]::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar-nav-modern[b-3r2x0j8ski]::-webkit-scrollbar-thumb {
        background-color: transparent;
        border-radius: 4px;
    }

    .sidebar-nav-modern:hover[b-3r2x0j8ski]::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.15);
    }

/* Outer sidebar cards */
.sidebar-card[b-3r2x0j8ski] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    background-color: var(--background-sidebar, #e8f0ff);
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--primary-text, #1a3d8f);
    font-weight: 500;
    transition: background-color 0.25s ease, transform 0.2s ease;
    /* subtle border for separation */
    border: 2px solid rgba(0, 0, 0, 0.05);
    background-clip: padding-box;
}

    .sidebar-card:hover[b-3r2x0j8ski] {
        background-color: var(--background-hover, #b3c9ff);
        border-color: rgba(0, 0, 0, 0.1); /* slightly stronger on hover */
    }



    .sidebar-card .icon[b-3r2x0j8ski] {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-text, #1a3d8f);
        font-size: 1.2rem;
    }

    .sidebar-card .title[b-3r2x0j8ski] {
        flex-grow: 1;
        text-align: left;
        line-height: 1.2;
    }

    .sidebar-card .badge[b-3r2x0j8ski] {
        background-color: var(--primary, #1a3d8f);
        color: #fff;
        padding: 0 0.5rem;
        border-radius: 12px;
        font-size: 0.8rem;
        min-width: 28px;
        text-align: center;
    }

/* Collapse Sublist */
.sublist[b-3r2x0j8ski] {
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Inner Links with subtle border */
[b-3r2x0j8ski] .subitem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.9rem;
    color: var(--primary-text, #1a3d8f);
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.25s ease, color 0.25s ease;
    margin: 2px 0;
    position: relative;
    font-size: 0.95rem;
    /* subtle divider */
    border: 2px solid rgba(0, 0, 0, 0.05);
    background-clip: padding-box; /* avoids border overlapping border-radius */
}

    /* Optional hover style with slightly stronger border */
    [b-3r2x0j8ski] .subitem:hover {
        background-color: var(--hover-bg, #b3c9ff);
        color: var(--primary-dark, #0a1f55);
        font-weight: 500;
        border-color: rgba(0, 0, 0, 0.1);
    }

    /* Active link keeps its highlight */
    [b-3r2x0j8ski] .subitem.active {
        background-color: var(--primary, #1a3d8f);
        color: #fff;
        font-weight: 600;
        border-color: rgba(0, 0, 0, 0.1);
    }

/* Collapse Arrow */
.sidebar-card.collapsed[b-3r2x0j8ski]::after {
    content: "▼";
    font-size: 0.7rem;
    margin-left: auto;
    transition: transform 0.3s;
}

.sidebar-card:not(.collapsed)[b-3r2x0j8ski]::after {
    content: "▲";
    font-size: 0.7rem;
    margin-left: auto;
    transition: transform 0.3s;
}


/* Footer Settings Icon */
.sidebar-footer[b-3r2x0j8ski] {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: center;
}

    .sidebar-footer a[b-3r2x0j8ski] {
        font-size: 1.5rem;
        color: var(--primary-text, #1a3d8f);
        transition: color 0.3s;
    }

        .sidebar-footer a:hover[b-3r2x0j8ski] {
            color: var(--primary-dark, #0a1f55);
        }
/* /Layout/TopBar.razor.rz.scp.css */
/* ====================================== */
/* BMS Topbar - Modern & Clean            */
/* ====================================== */

/* Top bar container */
.bms-topbar[b-5mffo04ek3] {
    height: 50px;
    background-color: var(--color-primary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); /* slightly deeper shadow for depth */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    font-weight: 600;
    font-size: 2rem;
    color: var(--text-light);
    position: relative;
    z-index: 1002;
    transition: background 0.3s ease;
}

/* App title styling */
h1.app-title a[b-5mffo04ek3],
h1.app-title a:visited[b-5mffo04ek3],
h1.app-title a:hover[b-5mffo04ek3],
h1.app-title a:active[b-5mffo04ek3] {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 2rem;
}

    h1.app-title a:hover[b-5mffo04ek3] {
        color: #ffcc00; /* subtle accent on hover */
    }

/* Right side container for buttons/controls */
.topbar-right[b-5mffo04ek3] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Generic topbar buttons */
.topbar-btn[b-5mffo04ek3] {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    padding: 0.25rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .topbar-btn:hover[b-5mffo04ek3] {
        color: #ffcc00;
        background-color: rgba(255, 255, 255, 0.1); /* subtle hover background */
        transform: scale(1.05);
    }

/* Smaller topbar buttons */
.topbar-btn-small[b-5mffo04ek3] {
    font-size: 1.2rem;
}

/* Notification badge for buttons */
.topbar-btn-badge[b-5mffo04ek3] {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background-color: #ffcc00;
    color: #111;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.35rem;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Dropdown / notification items inside topbar */
.topbar-dropdown[b-5mffo04ek3] {
    position: relative;
    display: inline-block;
}

.topbar-dropdown-content[b-5mffo04ek3] {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    color: #333;
    min-width: 220px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1003;
    transition: all 0.2s ease;
}

.topbar-dropdown:hover .topbar-dropdown-content[b-5mffo04ek3] {
    display: block;
}

.topbar-dropdown-content a[b-5mffo04ek3] {
    display: block;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

    .topbar-dropdown-content a:hover[b-5mffo04ek3] {
        background-color: #f7f7f7;
    }

/* Subtle divider between dropdown items */
.topbar-dropdown-content hr[b-5mffo04ek3] {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
    margin: 0.25rem 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .bms-topbar[b-5mffo04ek3] {
        padding: 0 1rem;
        font-size: 1rem;
    }

    .topbar-btn[b-5mffo04ek3] {
        font-size: 1.35rem;
        padding: 0.25rem 0.35rem;
    }

    .topbar-dropdown-content[b-5mffo04ek3] {
        right: -0.5rem;
        min-width: 180px;
    }
}
/* /Pages/Bundles/BundleDetails.razor.rz.scp.css */
/* === Bundle Details Page === */
.details-page[b-4z3v46mt79] {
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Loading */
.loading-container[b-4z3v46mt79] {
    text-align: center;
    margin-top: 3rem;
}

.loading-spinner[b-4z3v46mt79] {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 4px solid var(--color-muted);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-4z3v46mt79 1s linear infinite;
}

@keyframes spin-b-4z3v46mt79 {
    to {
        transform: rotate(360deg);
    }
}

.loading-text[b-4z3v46mt79] {
    color: var(--text-subtitle);
}

/* Bundle Header */
.bundle-header[b-4z3v46mt79] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bundle-image img[b-4z3v46mt79] {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.bundle-info[b-4z3v46mt79] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .bundle-info h1[b-4z3v46mt79] {
        font-size: 1.6rem;
        font-weight: 600;
    }

.bundle-description[b-4z3v46mt79] {
    color: var(--text-primary);
    line-height: 1.5;
}

.bundle-price-section[b-4z3v46mt79] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.mix-badge[b-4z3v46mt79] {
    background: var(--color-accent);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bundle-max[b-4z3v46mt79] {
    font-size: 0.9rem;
    color: var(--text-subtitle-dark);
}

    .bundle-max span[b-4z3v46mt79] {
        font-weight: 600;
        color: var(--text-primary);
    }

/* Actions */
.bundle-actions[b-4z3v46mt79] {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Items Section */
.bundle-items[b-4z3v46mt79] {
    margin: 2rem 0;
}

.items-grid[b-4z3v46mt79] {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1fr; /* Mobile-first */
}

.item-card[b-4z3v46mt79] {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--background-light);
    padding: 0.9rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--section-border-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
}

    .item-card:hover[b-4z3v46mt79] {
        transform: translateY(-3px);
    }

.item-image img[b-4z3v46mt79] {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--section-border-light);
    background: var(--background-muted);
}

.item-info[b-4z3v46mt79] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-name[b-4z3v46mt79] {
    font-weight: 600;
    color: var(--text-primary);
}

.item-variant[b-4z3v46mt79] {
    font-size: 0.9rem;
    color: var(--text-subtitle-dark);
}

.item-max[b-4z3v46mt79] {
    font-size: 0.85rem;
    color: var(--text-subtitle-dark);
}

/* === Responsive Breakpoints === */
@media (min-width: 600px) {
    .bundle-info h1[b-4z3v46mt79] {
        font-size: 1.8rem;
    }

    .bundle-price-section[b-4z3v46mt79] {
        font-size: 1.5rem;
    }

    .items-grid[b-4z3v46mt79] {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (min-width: 900px) {
    .bundle-header[b-4z3v46mt79] {
        flex-direction: row;
        align-items: flex-start;
    }

    .bundle-image[b-4z3v46mt79] {
        flex: 1 1 350px;
        max-width: 400px;
    }

    .bundle-info[b-4z3v46mt79] {
        flex: 2 1 500px;
    }

        .bundle-info h1[b-4z3v46mt79] {
            font-size: 2rem;
        }

    .items-grid[b-4z3v46mt79] {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
/* /Pages/Bundles/BundleForm.razor.rz.scp.css */
/* === Form Sections === */
.form-section[b-tlsx2h6pm6] {
    background: #fff;
    border: 1px solid #e1e1e1;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

    .form-section h4[b-tlsx2h6pm6] {
        margin-bottom: 1rem;
        font-size: 1.2rem;
        font-weight: 600;
        color: #333;
    }

/* === Grid Layout for Bundle Setup Inputs === */
.row.g-3 > div[b-tlsx2h6pm6] {
    margin-bottom: 0.75rem;
}

/* Inputs */
.form-control[b-tlsx2h6pm6], .form-select[b-tlsx2h6pm6], .qty-input[b-tlsx2h6pm6] {
    width: 100%;
    min-height: 38px;
    border-radius: 6px;
}

textarea.form-control[b-tlsx2h6pm6] {
    min-height: 80px;
}

/* === Tooltip Icon === */
.tooltip-icon[b-tlsx2h6pm6] {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

    .tooltip-icon i[b-tlsx2h6pm6] {
        font-size: 1.1rem;
    }

/* === Bundle Items Grid === */
.bundle-grid[b-tlsx2h6pm6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Individual Bundle Item Card */
.bundle-card[b-tlsx2h6pm6] {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: box-shadow 0.2s;
}

    .bundle-card:hover[b-tlsx2h6pm6] {
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }

.product-info[b-tlsx2h6pm6] {
    margin-bottom: 0.5rem;
}

.product-name[b-tlsx2h6pm6] {
    font-weight: 600;
    font-size: 0.95rem;
}

.product-meta small[b-tlsx2h6pm6] {
    color: #555;
}

.product-actions[b-tlsx2h6pm6] {
    margin-top: auto;
}

.action-buttons[b-tlsx2h6pm6] {
    display: flex;
    gap: 0.5rem;
}

/* === Buttons === */
.btn[b-tlsx2h6pm6] {
    border-radius: 6px;
}

.btn-outline-secondary[b-tlsx2h6pm6], .btn-outline-danger[b-tlsx2h6pm6] {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
}

.btn-sm[b-tlsx2h6pm6] {
    font-size: 0.85rem;
}

/* === Review & Save Section === */
.form-section .btn[b-tlsx2h6pm6] {
    margin-right: 0.5rem;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .bundle-grid[b-tlsx2h6pm6] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Bundles/BundleManagement.razor.rz.scp.css */
/* ---- Page Header ---- */
.page-header[b-b6cqqbgs1j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .page-header h3[b-b6cqqbgs1j] {
        margin: 0;
        font-weight: 600;
    }

.toolbar-toggle[b-b6cqqbgs1j] {
    display: none;
}

/* ---- Collapsible Toolbar ---- */
.toolbar-card[b-b6cqqbgs1j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}

    .toolbar-card.show[b-b6cqqbgs1j] {
        max-height: 1000px; /* arbitrary high number for expand */
        padding: 1rem;
    }

    .toolbar-card:not(.show)[b-b6cqqbgs1j] {
        max-height: 0;
        padding: 0 1rem;
    }

.toolbar-left[b-b6cqqbgs1j] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.toolbar-right[b-b6cqqbgs1j] {
    margin-left: 1rem;
}

/* ---- Toolbar Elements ---- */
.input-group.flex-fill[b-b6cqqbgs1j] {
    flex: 1 1 auto;
}

.page-size-select[b-b6cqqbgs1j] {
    width: 100px;
}

@media (max-width: 992px) {
    .toolbar-left[b-b6cqqbgs1j] {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-right[b-b6cqqbgs1j] {
        width: 100%;
        margin-top: 0.5rem;
    }

    .toolbar-toggle[b-b6cqqbgs1j] {
        display: inline-block;
    }
}

/* ---- Status Text ---- */
.status-text[b-b6cqqbgs1j] {
    font-size: 0.95rem;
    color: #6c757d;
}

/* ---- Pagination ---- */
.pagination-controls[b-b6cqqbgs1j] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .pagination-controls select[b-b6cqqbgs1j] {
        margin-left: 0.5rem;
    }

/* ---- Bundle Card Grid ---- */
.bundle-card-grid[b-b6cqqbgs1j] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

/* Bundle card */
.bundle-card[b-b6cqqbgs1j] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .bundle-card:hover[b-b6cqqbgs1j] {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }

    .bundle-card img[b-b6cqqbgs1j] {
        width: 100%;
        height: 160px;
        object-fit: contain;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 0.75rem;
    }

    .bundle-card .bundle-name[b-b6cqqbgs1j] {
        font-size: 1.05rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
        word-break: break-word;
    }

    .bundle-card .bundle-price[b-b6cqqbgs1j] {
        color: #198754; /* Bootstrap green */
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .bundle-card .text-muted[b-b6cqqbgs1j] {
        font-size: 0.9rem;
    }

/* ---- Table View ---- */
.bundle-table[b-b6cqqbgs1j] {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

    .bundle-table th[b-b6cqqbgs1j],
    .bundle-table td[b-b6cqqbgs1j] {
        padding: 0.75rem 1rem;
        text-align: left;
    }

    .bundle-table th[b-b6cqqbgs1j] {
        background: #f8f9fa;
        font-weight: 600;
        border-bottom: 1px solid #dee2e6;
    }

    .bundle-table tr[b-b6cqqbgs1j] {
        transition: background 0.15s ease;
    }

        .bundle-table tr:nth-child(even)[b-b6cqqbgs1j] {
            background: #fcfcfc;
        }

        .bundle-table tr:hover[b-b6cqqbgs1j] {
            background: #f1f3f5;
        }

.clickable-row[b-b6cqqbgs1j] {
    cursor: pointer;
}

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
    .bundle-card-grid[b-b6cqqbgs1j] {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .bundle-card img[b-b6cqqbgs1j] {
        height: 120px;
    }

    .toolbar-card[b-b6cqqbgs1j] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Pages/Customers/CustomerEnquiries.razor.rz.scp.css */
/* --------------------------
   Controls (Search + View Toggle)
-------------------------- */
.controls-container[b-hbzu7c3ha2] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.view-toggle[b-hbzu7c3ha2] {
    display: flex;
    gap: 0.5rem;
}

.btn-outline[b-hbzu7c3ha2] {
    background: none;
    border: 1px solid #6c757d;
    color: #6c757d;
    padding: 0.375rem 0.75rem;
    font-size: 1.25rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .btn-outline:disabled[b-hbzu7c3ha2] {
        opacity: 0.5;
        cursor: default;
    }

    .btn-outline:not(:disabled):hover[b-hbzu7c3ha2] {
        background-color: #6c757d;
        color: white;
    }

.search-container[b-hbzu7c3ha2] {
    display: flex;
    gap: 0.5rem;
    flex: 1 1 250px;
    max-width: 400px;
}

.search-input[b-hbzu7c3ha2] {
    flex-grow: 1;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    font-size: 1rem;
}

.btn-primary[b-hbzu7c3ha2] {
    background-color: #0d6efd;
    border: none;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

    .btn-primary:hover[b-hbzu7c3ha2] {
        background-color: #0b5ed7;
    }

/* --------------------------
   Customer Card Grid
-------------------------- */
.customer-card-grid[b-hbzu7c3ha2] {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}


.customer-card[b-hbzu7c3ha2] {
    position: relative;
    background-color: white;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
    padding: 1.5rem 1rem 1rem 1rem; /* Added extra top padding for badge */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

    .customer-card:hover[b-hbzu7c3ha2] {
        box-shadow: 0 4px 8px rgb(0 0 0 / 0.15);
        transform: translateY(-2px);
    }

.customer-name[b-hbzu7c3ha2] {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #212529;
}

.customer-info[b-hbzu7c3ha2] {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}


.pill-badge[b-hbzu7c3ha2] {
    position: absolute;
    top: 0.75rem; /* slightly lower than before */
    right: 0.75rem;
    background-color: #0d6efd;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    user-select: none;
}

/* --------------------------
   Table View
-------------------------- */
.customer-table[b-hbzu7c3ha2] {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

    .customer-table th[b-hbzu7c3ha2],
    .customer-table td[b-hbzu7c3ha2] {
        border: 1px solid #dee2e6;
        padding: 0.75rem;
        text-align: left;
    }

    .customer-table thead[b-hbzu7c3ha2] {
        background-color: #f8f9fa;
        font-weight: 600;
    }

.clickable-row[b-hbzu7c3ha2] {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .clickable-row:hover[b-hbzu7c3ha2] {
        background-color: #e9ecef;
    }

/* No results */
.no-results[b-hbzu7c3ha2] {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin-top: 2rem;
}

/* --------------------------
   Responsive
-------------------------- */
@media (min-width: 600px) {
    .customer-card-grid[b-hbzu7c3ha2] {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (min-width: 768px) {
    .customer-card-grid[b-hbzu7c3ha2] {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (min-width: 1024px) {
    .customer-card-grid[b-hbzu7c3ha2] {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    }
}

@media (min-width: 1440px) {
    .customer-card-grid[b-hbzu7c3ha2] {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* --------------------------
   Context Panel Content
-------------------------- */
.ContextPanel .p-3 p[b-hbzu7c3ha2] {
    margin-bottom: 0.5rem;
    color: #212529;
}

.ContextPanel hr[b-hbzu7c3ha2] {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}
/* /Pages/Customers/CustomerManagement.razor.rz.scp.css */
/* --- Customer Layout --- */
.customer-layout[b-r7urtkfdeb] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Heading --- */
.customer-heading[b-r7urtkfdeb] {
    margin-bottom: 1rem;
}

    .customer-heading .title[b-r7urtkfdeb] {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .customer-heading .subtitle[b-r7urtkfdeb] {
        font-size: 1rem;
        color: var(--text-muted);
    }

/* --- Filter bar --- */
.customer-filter-bar[b-r7urtkfdeb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.customer-filter-controls[b-r7urtkfdeb] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.customer-filter-inline[b-r7urtkfdeb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.customer-search-group[b-r7urtkfdeb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .customer-search-group .input[b-r7urtkfdeb] {
        width: 220px;
    }

/* --- Customer Card Grid --- */
.customer-card-grid[b-r7urtkfdeb] {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .customer-card-grid[b-r7urtkfdeb] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .customer-card-grid[b-r7urtkfdeb] {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Customer Card --- */
.customer-card[b-r7urtkfdeb] {
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    cursor: pointer;
}

    .customer-card:hover[b-r7urtkfdeb] {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    .customer-card h4[b-r7urtkfdeb] {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: #111827;
    }

    .customer-card p[b-r7urtkfdeb] {
        margin-top: auto;
        color: #1f2937;
        font-weight: 500;
    }

    /* --- Card Actions --- */
    .customer-card .card-actions[b-r7urtkfdeb] {
        display: flex;
        justify-content: flex-end;
        gap: 0.5rem;
    }

        .customer-card .card-actions button[b-r7urtkfdeb] {
            padding: 0.4rem 0.75rem;
        }

/* --- Form Containers --- */
.customer-form-container[b-r7urtkfdeb] {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
}

.add-edit-customer-form[b-r7urtkfdeb] {
    background-color: var(--background-light);
    border: 1px solid var(--section-border-light);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-top: 1rem;
}

    .add-edit-customer-form input[b-r7urtkfdeb],
    .add-edit-customer-form select[b-r7urtkfdeb] {
        width: 100%;
        padding: 0.4rem 0.6rem;
        margin: 0.25rem 0;
        border: 1px solid var(--section-border-light);
        border-radius: var(--border-radius);
        font-size: 0.95rem;
    }

        .add-edit-customer-form input:focus[b-r7urtkfdeb],
        .add-edit-customer-form select:focus[b-r7urtkfdeb] {
            outline: none;
            border-color: var(--color-primary);
            box-shadow: 0 0 0 2px rgba(0, 115, 230, 0.2);
        }

/* --- Customer Details Panel --- */
.customer-details-panel[b-r7urtkfdeb] {
    flex: 1;
    max-width: 30%;
    padding: 1rem;
    border-left: 1px solid var(--section-border-light);
    display: none;
}

    .customer-details-panel.show[b-r7urtkfdeb] {
        display: block;
    }

    .customer-details-panel h4[b-r7urtkfdeb] {
        margin-top: 1rem;
        font-size: 1.2rem;
    }

    .customer-details-panel p[b-r7urtkfdeb] {
        margin: 0.25rem 0;
    }

    .customer-details-panel strong[b-r7urtkfdeb] {
        font-weight: bold;
    }

    .customer-details-panel .button-container[b-r7urtkfdeb] {
        margin-top: 1rem;
        text-align: center;
    }

        .customer-details-panel .button-container button[b-r7urtkfdeb] {
            background-color: var(--color-accent);
            color: var(--text-light);
            padding: 0.5rem 1rem;
            border: none;
            cursor: pointer;
        }

            .customer-details-panel .button-container button:hover[b-r7urtkfdeb] {
                background-color: #218838;
            }

/* --- Utility Classes --- */
.width-100px[b-r7urtkfdeb] {
    width: 100px;
}

.min-width-220[b-r7urtkfdeb] {
    min-width: 220px;
}

/* --- Error Messages --- */
.error-message[b-r7urtkfdeb] {
    color: #a10000;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .customer-card-grid[b-r7urtkfdeb] {
        justify-content: center;
    }

    .customer-card[b-r7urtkfdeb] {
        width: 100%;
        max-width: 350px;
    }

    .customer-details-panel[b-r7urtkfdeb] {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .customer-layout[b-r7urtkfdeb] {
        flex-direction: column;
        padding: 0.5rem;
    }

    .customer-form-container[b-r7urtkfdeb] {
        padding: 0.75rem;
    }

    .customer-card-grid[b-r7urtkfdeb] {
        grid-template-columns: repeat(2, 1fr);
    }

    .customer-list-panel[b-r7urtkfdeb],
    .customer-details-panel[b-r7urtkfdeb] {
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
        border-left: none;
    }
}
/* /Pages/Home/Index.razor.rz.scp.css */
.dashboard-kpi-grid[b-ncwksiucgy] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card[b-ncwksiucgy] {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

    .kpi-card:hover[b-ncwksiucgy] {
        transform: translateY(-2px);
    }

.kpi-icon[b-ncwksiucgy] {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.kpi-label[b-ncwksiucgy] {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.kpi-value[b-ncwksiucgy] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.dashboard-main-grid[b-ncwksiucgy] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.dashboard-card[b-ncwksiucgy] {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--color-muted);
}

    .dashboard-card.wide[b-ncwksiucgy] {
        grid-column: span 2;
    }

.dashboard-card-title[b-ncwksiucgy] {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.dashboard-links li[b-ncwksiucgy] {
    margin-bottom: 0.5rem;
}

.dashboard-list li[b-ncwksiucgy] {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.chart-placeholder[b-ncwksiucgy] {
    height: 200px;
    background: #f3f4f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

@media (max-width: 400px) {
    .dashboard-card.wide[b-ncwksiucgy] {
        grid-column: span 1;
    }
}




.modal-backdrop[b-ncwksiucgy] {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
}

.modal-dialog[b-ncwksiucgy] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-background, #fff);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 90%;
    z-index: 1050;
    padding: 1rem;
}

.modal-header[b-ncwksiucgy],
.modal-footer[b-ncwksiucgy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title[b-ncwksiucgy] {
    margin: 0;
    font-weight: 700;
    font-size: 1.25rem;
}

.btn-close[b-ncwksiucgy] {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body[b-ncwksiucgy] {
    margin: 1rem 0;
    max-height: 300px;
    overflow-y: auto;
}

.btn-link[b-ncwksiucgy] {
    background: none;
    border: none;
    color: var(--color-primary, #007bff);
    cursor: pointer;
    padding: 0;
    font-weight: 600;
    text-decoration: underline;
}
/* /Pages/Home/Layout/DashboardLayout.razor.rz.scp.css */
/* Dashboard Layout */
.dashboard-layout[b-wvgd1f401t] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

/* Section Navigation Cards */
.dashboard-section-cards[b-wvgd1f401t] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem; /* smaller gap between cards */
    justify-content: center; /* center the cards in each row */
    align-items: stretch;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}


.dashboard-nav-card[b-wvgd1f401t] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--background-light);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1rem; /* slightly smaller padding */
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow var(--transition-speed);
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    max-width: none; /* remove strict max width to fill space */
}


    .dashboard-nav-card i[b-wvgd1f401t] {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
        color: var(--color-primary);
    }

    .dashboard-nav-card:hover[b-wvgd1f401t] {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
        color: var(--color-primary-dark);
    }

    .dashboard-nav-card span[b-wvgd1f401t] {
        display: block;
        margin-top: 0.25rem;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-section-cards[b-wvgd1f401t] {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .dashboard-nav-card[b-wvgd1f401t] {
        padding: 0.8rem;
        font-size: 0.85rem;
        max-width: 140px;
    }

        .dashboard-nav-card i[b-wvgd1f401t] {
            font-size: 1.4rem;
        }
}
/* /Pages/Marketing/PromotionList.razor.rz.scp.css */
/* Promotions Table */
.promotions-table[b-xl8ph1y18d] {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d1d5db; /* gray border */
    border-radius: var(--border-radius);
    overflow: hidden;
    font-size: 0.95rem;
    background-color: var(--background-light);
}

    .promotions-table thead[b-xl8ph1y18d] {
        background-color: #f3f4f6; /* light gray header */
    }

    .promotions-table th[b-xl8ph1y18d],
    .promotions-table td[b-xl8ph1y18d] {
        padding: 0.75rem 1rem;
        text-align: left;
        border-bottom: 1px solid #e5e7eb; /* light separator */
    }

    .promotions-table th[b-xl8ph1y18d] {
        font-weight: 600;
        color: #111827; /* gray-900 */
    }

    .promotions-table tr:hover[b-xl8ph1y18d] {
        background-color: #f9fafb; /* subtle hover */
    }

    .promotions-table .card-actions[b-xl8ph1y18d] {
        display: flex;
        gap: 0.5rem;
    }

    .promotions-table .btn[b-xl8ph1y18d] {
        padding: 0.35rem 0.65rem;
        font-size: 0.875rem;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .promotions-table th[b-xl8ph1y18d],
    .promotions-table td[b-xl8ph1y18d] {
        padding: 0.5rem 0.75rem;
    }

    .promotions-table .card-actions[b-xl8ph1y18d] {
        flex-direction: column;
        gap: 0.25rem;
    }
}
/* /Pages/Orders/OrderManagement.razor.rz.scp.css */
/* =========================
   Orders Page / Shared Card Style
   ========================= */

/* Controls */
.controls-container[b-dnncejpgjx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.view-toggle[b-dnncejpgjx] {
    display: flex;
    gap: 0.5rem;
}

.search-container[b-dnncejpgjx] {
    display: flex;
    gap: 0.5rem;
}

    .search-container input[b-dnncejpgjx] {
        padding: 8px 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 0.95rem;
        flex: 1;
    }

    .search-container button[b-dnncejpgjx] {
        padding: 8px 12px;
        font-size: 0.95rem;
    }

/* Card Grid */
.product-card-grid[b-dnncejpgjx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Card */
.product-card[b-dnncejpgjx] {
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .product-card:hover[b-dnncejpgjx] {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.product-card-body[b-dnncejpgjx] {
    padding: 1rem;
}

.product-card-title[b-dnncejpgjx] {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.product-card-text[b-dnncejpgjx] {
    font-size: 0.95rem;
    margin: 0.25rem 0;
    color: #495057;
}

.product-card-footer[b-dnncejpgjx] {
    margin-top: 0.75rem;
}

    /* Badge / Pill for Status or Date — INLINE now */
    .pill-badge[b-dnncejpgjx],
    .product-card-footer .badge[b-dnncejpgjx] {
        display: inline-block;
        background-color: #0d6efd; /* primary blue */
        color: #fff;
        font-size: 0.75rem;
        font-weight: 600;
        padding: 2px 8px;
        border-radius: 12px;
        line-height: 1;
        vertical-align: middle;
        text-align: center;
        white-space: nowrap;
    }

/* Table View */
.product-table[b-dnncejpgjx] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

    .product-table th[b-dnncejpgjx],
    .product-table td[b-dnncejpgjx] {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
        font-size: 0.95rem;
    }

    .product-table th[b-dnncejpgjx] {
        background-color: #f8f9fa;
        font-weight: 600;
    }

.clickable-row[b-dnncejpgjx] {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .clickable-row:hover[b-dnncejpgjx] {
        background-color: #f1f3f5;
    }

/* Status Colors */
.bg-warning[b-dnncejpgjx] {
    background-color: #ffc107;
    color: #212529;
}

.bg-info[b-dnncejpgjx] {
    background-color: #0dcaf0;
}

.bg-primary[b-dnncejpgjx] {
    background-color: #0d6efd;
}

.bg-success[b-dnncejpgjx] {
    background-color: #198754;
}

.bg-danger[b-dnncejpgjx] {
    background-color: #dc3545;
}

.bg-secondary[b-dnncejpgjx] {
    background-color: #6c757d;
}

/* Context Panel Override */
.context-panel[b-dnncejpgjx] {
    background-color: #fdfdfd;
    border-left: 3px solid #0d6efd;
    box-shadow: -3px 0 12px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-card-grid[b-dnncejpgjx] {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .search-container input[b-dnncejpgjx] {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .controls-container[b-dnncejpgjx] {
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-card-grid[b-dnncejpgjx] {
        grid-template-columns: 1fr;
    }

    .product-table th[b-dnncejpgjx],
    .product-table td[b-dnncejpgjx] {
        font-size: 0.85rem;
        padding: 8px;
    }

    .pill-badge[b-dnncejpgjx] {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}
/* /Pages/Products/Layout/ProductsLayout.razor.rz.scp.css */
/* =======================================
   Layout Section Wrapper
   Applied to the layout file wrapping @Body
======================================= */
.layout-section-wrapper[b-6pagygkdij] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto; /* fill available space in layout */
    min-height: 0; /* crucial for proper flex scrolling */
    overflow-y: auto; /* scroll only if content exceeds */
    gap: 1rem; /* optional spacing between internal blocks */
}
/* /Pages/Products/ProductDetails.razor.rz.scp.css */
/* === Product Details Page === */
.details-page[b-81efhe3hvo] {
    padding: 1.5rem; /* Desktop default */
    max-width: 1400px;
    margin: 0 auto;
}

/* Loading */
.loading-container[b-81efhe3hvo] {
    text-align: center;
    margin-top: 3rem;
}

.loading-spinner[b-81efhe3hvo] {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 4px solid var(--color-muted);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin-b-81efhe3hvo 1s linear infinite;
}

@keyframes spin-b-81efhe3hvo {
    to {
        transform: rotate(360deg);
    }
}

.loading-text[b-81efhe3hvo] {
    color: var(--text-subtitle);
    font-weight: 500;
}

/* === Product Header Section === */
.product-header[b-81efhe3hvo] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-light);
    border: 1px solid var(--section-border-light);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.product-gallery[b-81efhe3hvo] {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.main-image img[b-81efhe3hvo] {
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--section-border-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.thumbnails[b-81efhe3hvo] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbnail[b-81efhe3hvo] {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
    background: var(--background-light);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    .thumbnail:hover[b-81efhe3hvo] {
        transform: scale(1.05);
        border-color: var(--color-primary);
    }

    .thumbnail.active[b-81efhe3hvo] {
        border-color: var(--color-primary);
    }

/* === Product Info Section === */
.product-info[b-81efhe3hvo] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .product-info h1[b-81efhe3hvo] {
        font-size: 1.6rem;
        font-weight: 600;
        color: var(--color-primary-dark);
        border-bottom: 3px solid var(--color-accent);
        padding-bottom: 0.4rem;
        margin-bottom: 0.5rem;
    }

.product-description[b-81efhe3hvo] {
    color: var(--text-primary);
    line-height: 1.6;
}

.product-category[b-81efhe3hvo] {
    font-size: 0.95rem;
    color: var(--text-subtitle-dark);
}

    .product-category span[b-81efhe3hvo] {
        font-weight: 600;
        color: var(--text-primary);
    }

.product-price-section[b-81efhe3hvo] {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.product-stock[b-81efhe3hvo] {
    font-size: 0.9rem;
    color: var(--text-subtitle-dark);
}

    .product-stock span[b-81efhe3hvo] {
        font-weight: 600;
        color: var(--text-primary);
    }

/* === Actions Section === */
.product-actions[b-81efhe3hvo] {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* === Price Tiers Section === */
.product-tiers[b-81efhe3hvo] {
    margin: 2rem 0;
    padding: 1.2rem;
    background: var(--background-neutral);
    border-radius: var(--border-radius);
    border: 1px solid var(--section-border-light);
}

.styled-table[b-81efhe3hvo] {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius);
    overflow: hidden;
    font-size: 0.9rem;
    border: 1px solid var(--section-border-light);
}

    .styled-table th[b-81efhe3hvo],
    .styled-table td[b-81efhe3hvo] {
        padding: 0.8rem 1rem;
        text-align: left;
        border-bottom: 1px solid var(--section-border-light);
    }

    .styled-table thead[b-81efhe3hvo] {
        background: var(--color-primary);
        color: var(--text-light);
    }

    .styled-table tbody tr:hover[b-81efhe3hvo] {
        background: var(--background-muted);
    }

/* === Variants Section === */
.product-variants[b-81efhe3hvo] {
    margin: 2rem 0;
    padding: 1.2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--section-border-light);
}

.variants-grid[b-81efhe3hvo] {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1fr; /* Mobile-first */
}

.variant-card[b-81efhe3hvo] {
    background: var(--background-neutral);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--section-border-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .variant-card:hover[b-81efhe3hvo] {
        transform: translateY(-3px);
        box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    }

    .variant-card h4[b-81efhe3hvo] {
        margin-bottom: 0.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--color-primary);
    }

/* === Responsive Breakpoints === */

/* Tablet (≤ 900px) */
@media (max-width: 900px) {

    .main-image img[b-81efhe3hvo] {
        width:100%;
    }

    .details-page[b-81efhe3hvo] {
        padding: 1rem; /* reduce padding */
        max-width: 100%;
    }

    .product-header[b-81efhe3hvo] {
        flex-direction: column;
        gap: 1rem;
    }

    .product-info h1[b-81efhe3hvo] {
        font-size: 1.8rem;
    }

    .product-price-section[b-81efhe3hvo] {
        font-size: 1.3rem;
    }

    .variants-grid[b-81efhe3hvo] {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
    .details-page[b-81efhe3hvo] {
        padding: 0.6rem; /* tighter padding */
    }

    .product-info h1[b-81efhe3hvo] {
        font-size: 1.4rem;
    }

    .product-price-section[b-81efhe3hvo] {
        font-size: 1.2rem;
    }

    .variants-grid[b-81efhe3hvo] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Products/ProductForm.razor.rz.scp.css */
.form-section[b-y93h2rgvdk] {
    background: #fff;
    border: 1px solid #e1e1e1;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.section-title[b-y93h2rgvdk] {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
}

.grid-2[b-y93h2rgvdk], .grid-3[b-y93h2rgvdk] {
    display: grid;
    gap: 1rem;
}

.grid-2[b-y93h2rgvdk] {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3[b-y93h2rgvdk] {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.form-actions[b-y93h2rgvdk] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.tooltip-icon i[b-y93h2rgvdk] {
    font-size: 1.1rem;
    cursor: pointer;
}
/* /Pages/Products/ProductManagement.razor.rz.scp.css */
.saving-overlay[b-33urv57tgb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px; /* or your form height */
    font-size: 1.2rem;
    color: #555;
}

/* --- Product card grid --- */
.product-card-grid[b-33urv57tgb] {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .product-card-grid[b-33urv57tgb] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-card-grid[b-33urv57tgb] {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Product card --- */
.product-card[b-33urv57tgb] {
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .product-card:hover[b-33urv57tgb] {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .product-card h4[b-33urv57tgb] {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: #111827;
    }

    .product-card p.price[b-33urv57tgb] {
        font-weight: 700;
        margin-top: auto;
        color: #1f2937;
    }

/* --- Image gallery --- */
.image-gallery[b-33urv57tgb] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

    .image-gallery img[b-33urv57tgb] {
        width: 200px;
        border-radius: 0.375rem;
        border: 1px solid #e5e7eb;
    }

/* --- Card actions --- */
.card-actions[b-33urv57tgb] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* --- Product table --- */
.product-table[b-33urv57tgb] {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d1d5db;
}

    .product-table th[b-33urv57tgb],
    .product-table td[b-33urv57tgb] {
        border: 1px solid #d1d5db;
        padding: 0.5rem 1rem;
        text-align: left;
    }

    .product-table thead tr[b-33urv57tgb] {
        background-color: #f3f4f6;
    }

/* --- Utility layouts --- */
.controls-row[b-33urv57tgb] {
    display: flex;
    width: 100%;
}

.space-between[b-33urv57tgb] {
    justify-content: space-between;
}

.align-center[b-33urv57tgb] {
    align-items: center;
}

.gap[b-33urv57tgb] {
    gap: 0.5rem;
}

/* --- View toggle --- */
.view-toggle[b-33urv57tgb] {
    display: flex;
    gap: 0.5rem;
}

/* --- Filters and layout --- */
.filter-bar[b-33urv57tgb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-controls[b-33urv57tgb] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-inline[b-33urv57tgb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-group[b-33urv57tgb] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Inputs and selects --- */
.input[b-33urv57tgb],
.select[b-33urv57tgb] {
    border: 1px solid var(--section-border-light);
    border-radius: var(--border-radius);
    padding: 0.4rem 0.6rem;
    font-size: 0.95rem;
    background-color: var(--background-light);
    color: var(--text-primary);
}

    .input:focus[b-33urv57tgb],
    .select:focus[b-33urv57tgb] {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 2px rgba(0, 115, 230, 0.2);
    }

.width-100px[b-33urv57tgb] {
    width: 100px;
}

.min-width-220[b-33urv57tgb] {
    min-width: 220px;
}

/* --- Pagination --- */
.pagination[b-33urv57tgb] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* --- Messages --- */
.alert.error[b-33urv57tgb] {
    background-color: #ffe5e5;
    color: #a10000;
    border: 1px solid #ffb3b3;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
}

.no-results[b-33urv57tgb] {
    text-align: center;
    color: #6b7280;
    padding: 1rem;
}
/* /Pages/Sales/Layout/POSLayout.razor.rz.scp.css */
/* ==============================
   POS Layout (Desktop & Tablet)
============================== */

/* Container */
.pos-layout[b-8clwrcf34a] {
    display: flex;
    flex-direction: column;
    height: 100dvh; /* anchor to viewport */
    min-height: 0;
    overflow: hidden;
}

/* Wrapper for Main + Receipt */
.pos-content-wrapper[b-8clwrcf34a] {
    display: flex;
    flex: 1 1 auto;
    gap: 1rem;
    height: 100%; /* fill parent height */
    min-height: 0;
    padding: 1rem;
    overflow: hidden;
}

/* ------------------------------
   MAIN PANEL (60% weight)
------------------------------ */
.pos-main[b-8clwrcf34a] {
    flex: 7 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--soft-shadow);
    min-height: 0; /* crucial for flex scrolling */
}

/* ------------------------------
   RECEIPT PANEL (40% weight)
------------------------------ */
.pos-cart[b-8clwrcf34a] {
    flex: 3 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--soft-shadow);
    min-height: 0; /* crucial for flex scrolling */
}

/* Mini overview hidden on desktop/tablet */
.mini-overview[b-8clwrcf34a] {
    display: none;
}

/* ==============================
   Tablet Refinement (768px–1024px)
============================== */
@media (max-width: 1024px) {

    /* Still two columns but tighter */
    .pos-main[b-8clwrcf34a] {
        flex: 5 1 0;
    }

    .pos-cart[b-8clwrcf34a] {
        flex: 3 1 0;
    }
}

/* ==============================
   Mobile Layout (Slide-Up Receipt)
============================== */
@media (max-width: 768px) {

    .pos-content-wrapper[b-8clwrcf34a] {
        flex-direction: column;
        height: 100vh; /* full viewport height */
        min-height: 0;
        overflow: hidden;
        padding: 0;
    }

    /* Main Panel */
    .pos-main[b-8clwrcf34a] {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 1rem;
        border-radius: 0;
        box-shadow: none;
        min-height: 0;
    }

    /* Fullscreen slide-up receipt */
    .pos-cart[b-8clwrcf34a] {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--background-light);
        border-top-left-radius: var(--border-radius);
        border-top-right-radius: var(--border-radius);
        box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
        transform: translateY(100%);
        transition: transform 0.35s ease;
        z-index: 2000;
        pointer-events: none;
        overflow-y: auto;
        padding: 1rem;
    }

        .pos-cart.show[b-8clwrcf34a] {
            transform: translateY(0);
            pointer-events: auto;
        }

    /* Mini Overview bar */
    .mini-overview[b-8clwrcf34a] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        background-color: var(--background-light);
        border-top: 1px solid var(--section-border-light);
        position: sticky;
        bottom: 0;
        z-index: 1500;
        font-family: var(--font-family-base);
    }

    .mini-overview-content[b-8clwrcf34a] {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        color: var(--text-primary);
        font-size: 0.95rem;
    }

    .mini-overview-info[b-8clwrcf34a] {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .mini-overview-label[b-8clwrcf34a] {
        font-size: 0.75rem;
        color: var(--text-subtitle);
        font-weight: 500;
    }

    .mini-overview-value[b-8clwrcf34a] {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    /* View Receipt Button */
    .open-receipt-btn[b-8clwrcf34a] {
        background: var(--color-primary);
        color: var(--btn-text);
        border: none;
        padding: 0.6rem 1.2rem;
        border-radius: 999px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        transition: background var(--transition-speed), transform 0.15s ease;
        white-space: nowrap;
    }

        .open-receipt-btn:hover[b-8clwrcf34a] {
            background: var(--color-primary-dark);
        }

        .open-receipt-btn:active[b-8clwrcf34a] {
            transform: scale(0.95);
            box-shadow: 0 1px 3px rgba(0,0,0,0.15);
        }
}
/* /Pages/Sales/Layout/SalesLayout.razor.rz.scp.css */
.offcanvas[b-wie8wu0pol] {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

    .offcanvas.show[b-wie8wu0pol] {
        transform: translateX(0);
    }
/* /Pages/Sales/SaleAdd.razor.rz.scp.css */
/* ========================= POS Add Sale Page Styles ========================= */

/* ----- Notifications ----- */
.notification-container[b-xv5s2y44j1] {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.notification[b-xv5s2y44j1] {
    background-color: var(--color-accent);
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: 500;
    min-width: 280px;
    max-width: 90vw;
    text-align: center;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

    .notification.show[b-xv5s2y44j1] {
        opacity: 1;
        transform: translateY(0);
    }

/* ========================= Tile Grid ========================= */
.tile-grid[b-xv5s2y44j1] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 2fr));
    justify-content: start; /* keeps items aligned left */
    gap: 1rem;
    margin-bottom: auto; /* pushes pagination down if there's space */
}


/* Tile */
.tile[b-xv5s2y44j1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: unset;
    border-radius: var(--border-radius);
    background-color: var(--background-muted);
    border: 1px solid var(--section-border-light);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    min-height: 150px;
}

    .tile:hover[b-xv5s2y44j1] {
        background-color: var(--background-muted);
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }

/* Tile Image */
.tile-image[b-xv5s2y44j1] {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
}

    .tile-image img[b-xv5s2y44j1] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--border-radius);
    }

/* Tile Name + Price */
.tile-name[b-xv5s2y44j1] {
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
}

.tile-price[b-xv5s2y44j1] {
    margin-top: 0.25rem;
}

.original-price[b-xv5s2y44j1] {
    text-decoration: line-through;
    color: #888;
    margin-right: 0.5rem;
}

.discounted-price[b-xv5s2y44j1] {
    color: #d9534f; /* Bootstrap danger red */
    font-weight: bold;
}

/* ========================= Categories ========================= */
.category-list[b-xv5s2y44j1] {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    padding: 0.25rem 0;
    overflow-x: auto;
}

.category-tile[b-xv5s2y44j1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--section-border-light);
    background-color: var(--background-light);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    flex: 0 0 auto;
}

    .category-tile.selected[b-xv5s2y44j1],
    .category-tile:hover[b-xv5s2y44j1] {
        background-color: var(--background-muted);
    }

/* ========================= Scrollbars ========================= */
.pos-main[b-xv5s2y44j1], .pos-cart[b-xv5s2y44j1] {
    scrollbar-width: thin;
    scrollbar-color: var(--background-muted) var(--background-light);
}

    .pos-main[b-xv5s2y44j1]::-webkit-scrollbar,
    .pos-cart[b-xv5s2y44j1]::-webkit-scrollbar {
        width: 8px;
    }

    .pos-main[b-xv5s2y44j1]::-webkit-scrollbar-track,
    .pos-cart[b-xv5s2y44j1]::-webkit-scrollbar-track {
        background: var(--background-light);
    }

    .pos-main[b-xv5s2y44j1]::-webkit-scrollbar-thumb,
    .pos-cart[b-xv5s2y44j1]::-webkit-scrollbar-thumb {
        background-color: var(--background-muted);
        border-radius: var(--border-radius);
    }

.pagination[b-xv5s2y44j1] {
    position: relative; /* stays inside its container flow */
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--background-muted);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-muted);
}




/* ==============================
   Mini Overview Content Styling
============================== */
.mini-overview[b-xv5s2y44j1] {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--background-muted);
    border-radius: var(--btn-radius);
    font-family: var(--font-family-base);
    font-size: 0.9rem;
    color: var(--text-primary);
    gap: 1rem;
    margin-top: 0.5rem; /* separation from button */
}

.overview-content[b-xv5s2y44j1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
}

.overview-item[b-xv5s2y44j1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .overview-item .icon[b-xv5s2y44j1] {
        font-size: 1.2rem;
        color: var(--color-accent);
        margin-bottom: 2px;
    }

    .overview-item .label[b-xv5s2y44j1] {
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--text-subtitle);
        margin-bottom: 2px;
        text-transform: uppercase;
    }

    .overview-item .value[b-xv5s2y44j1] {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--color-primary);
    }
/* /Pages/Sales/SaleDetails.razor.rz.scp.css */
/* ----------------------------
   Sale Details Container
---------------------------- */
.sale-details-container[b-scsrmeszv8] {
    width: 100%;
    padding: 1rem;
    background: var(--background-light); /* changed from neutral to light for contrast */
    border-radius: var(--border-radius);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-family: var(--font-family);
    color: var(--text-primary);
}

    .sale-details-container h2[b-scsrmeszv8],
    .sale-details-container h3[b-scsrmeszv8] {
        margin-bottom: 0.5rem;
        color: var(--text-primary-dark);
    }

.sale-info[b-scsrmeszv8] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

    .sale-info p[b-scsrmeszv8] {
        margin: 0;
        font-size: 0.95rem;
    }

/* ----------------------------
   Sale Items Table
---------------------------- */
.sale-items-table[b-scsrmeszv8] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

    .sale-items-table th[b-scsrmeszv8],
    .sale-items-table td[b-scsrmeszv8] {
        padding: 0.6rem 0.8rem;
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }

    .sale-items-table th[b-scsrmeszv8] {
        background: var(--background-neutral);
        font-weight: 600;
        color: var(--text-primary);
    }

    .sale-items-table td[b-scsrmeszv8] {
        font-size: 0.9rem;
        color: var(--text-primary);
    }

/* Bundle lines styling */
.bundle-lines[b-scsrmeszv8] {
    margin: 0.25rem 0 0 0.5rem;
    padding-left: 0;
    list-style-type: disc;
    font-size: 0.85rem;
    color: var(--text-muted);
}

    .bundle-lines li[b-scsrmeszv8] {
        margin-bottom: 0.1rem;
    }

/* ----------------------------
   Total Section
---------------------------- */
.sale-total[b-scsrmeszv8] {
    display: flex;
    justify-content: flex-end;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* ----------------------------
   Responsive Adjustments
---------------------------- */
@media (max-width: 768px) {
    .sale-details-container[b-scsrmeszv8] {
        padding: 0.75rem;
    }

    .sale-info[b-scsrmeszv8] {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sale-items-table th[b-scsrmeszv8],
    .sale-items-table td[b-scsrmeszv8] {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .sale-total[b-scsrmeszv8] {
        font-size: 1rem;
    }
}
/* /Pages/Sales/SalesManagement.razor.rz.scp.css */
/* Controls flex layouts */
.controls-row[b-skiwyuxvdx] {
    display: flex;
    width: 100%;
}

.space-between[b-skiwyuxvdx] {
    justify-content: space-between;
}

.align-center[b-skiwyuxvdx] {
    align-items: center;
}

.gap[b-skiwyuxvdx] {
    gap: 0.5rem;
}



/* === Sales Layout === */
.sales-layout[b-skiwyuxvdx] {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
}

/* === Responsive Grid for Sales Cards === */
.sales-card-grid[b-skiwyuxvdx] {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr; /* Default 1 column */
}

@media (min-width: 768px) {
    .sales-card-grid[b-skiwyuxvdx] {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium */
    }
}

@media (min-width: 1024px) {
    .sales-card-grid[b-skiwyuxvdx] {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on large */
    }
}

/* === Individual Sales Card === */
.sales-card[b-skiwyuxvdx] {
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    cursor: pointer;
}

    .sales-card:hover[b-skiwyuxvdx] {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }

/* === Card Content === */
.card-content h4[b-skiwyuxvdx] {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
}

.card-content p[b-skiwyuxvdx] {
    color: #374151;
}

/* === Card Actions === */
.card-actions[b-skiwyuxvdx] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* === Sale Form Container === */
.form-container[b-skiwyuxvdx] {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
    box-sizing: border-box;
}

/* === Sale Details Panel (e.g. Side Info Panel) === */
.sales-details-panel[b-skiwyuxvdx] {
    max-width: 30%;
    padding: 1rem;
    border-left: 1px solid #e5e7eb;
    display: none;
    background-color: #fafafa;
}

    .sales-details-panel.show[b-skiwyuxvdx] {
        display: block;
    }

    .sales-details-panel h4[b-skiwyuxvdx] {
        margin-top: 1rem;
        font-size: 1.2rem;
    }

    .sales-details-panel p[b-skiwyuxvdx] {
        margin: 5px 0;
    }

    .sales-details-panel strong[b-skiwyuxvdx] {
        font-weight: bold;
    }

    .sales-details-panel .button-container[b-skiwyuxvdx] {
        margin-top: 20px;
        text-align: center;
    }

        .sales-details-panel .button-container button[b-skiwyuxvdx] {
            background-color: #28a745;
            color: white;
            padding: 10px 20px;
            border: none;
            cursor: pointer;
            border-radius: 0.375rem;
            font-weight: 500;
            transition: background-color 0.2s ease;
        }

            .sales-details-panel .button-container button:hover[b-skiwyuxvdx] {
                background-color: #218838;
            }

/* === Mobile Responsiveness === */
@media (max-width: 768px) {
    .sales-layout[b-skiwyuxvdx] {
        padding: 10px;
    }

    .sales-card-grid[b-skiwyuxvdx] {
        grid-template-columns: repeat(2, 1fr);
    }

    .sales-list-panel[b-skiwyuxvdx],
    .sales-details-panel[b-skiwyuxvdx] {
        width: 100%;
        max-width: 100%;
    }

    .sales-details-panel[b-skiwyuxvdx] {
        border-left: none;
        margin-top: 1rem;
    }

        .sales-details-panel .button-container button[b-skiwyuxvdx] {
            font-size: 14px;
            padding: 12px;
        }
}
