/* ========================================
   HOUSE OF DREAMZ - BRAND COLORS
   Primary: #C79A4B (Gold)
   Dark: #1E1A17 (Charcoal)
   Light: #F7F1E5 (Cream)
   Soft: #E7DCCB (Soft Beige)
   Accent: #A67C3D (Deep Gold)
   ======================================== */

:root {
    /* Brand Colors */
    --brand-gold: #C79A4B;
    --brand-gold-dark: #A67C3D;
    --brand-gold-light: #D9B06A;
    --brand-charcoal: #1E1A17;
    --brand-cream: #F7F1E5;
    --brand-soft-beige: #E7DCCB;
    --brand-deep-gold: #A67C3D;
    /* MudBlazor Overrides - ONLY COLOR CHANGES */
    --mud-palette-primary: #C79A4B;
    --mud-palette-primary-darken: #A67C3D;
    --mud-palette-primary-light: #D9B06A;
    --mud-palette-primary-rgb: 199, 154, 75;
    --mud-palette-surface: #FFFFFF;
    --mud-palette-background: #F7F1E5;
    --mud-palette-background-grey: #F4F0EA;
    --mud-palette-text-primary: #1E1A17;
    --mud-palette-text-secondary: #5A5045;
    --mud-palette-text-disabled: #9A8E80;
    --mud-palette-lines-default: #E7DCCB;
    --mud-palette-error: #C62828;
    --mud-palette-success: #2E7D32;
    --mud-palette-warning: #F57C00;
    --mud-palette-info: #1565C0;
}

/* Base styles - PRESERVED */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
    transition: color 0.2s ease;
}

    a:hover, .btn-link:hover {
        color: #005a9e;
        text-decoration: underline;
    }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
    transition: all 0.2s ease;
}

    .btn-primary:hover {
        background-color: #155a9e;
        border-color: #124d87;
    }

/* Focus styles for accessibility */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.mud-button:focus-visible,
.mud-input:focus-visible {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Ensure focus is visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--mud-palette-primary, #1b6ec2);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Content area */
.content {
    padding-top: 1.1rem;
}

/* Validation styles */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Blazor error UI */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

/* Blazor error boundary */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* Loading progress indicator */
.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/* Code styling */
code {
    color: #c02d76;
}

/* Form floating */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Receipt printing styles */
.receipt-container {
    width: 320px;
    margin: auto;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 12px;
}



/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .blazor-error-boundary {
        background-color: #ff4444;
        color: #fff;
    }

    .validation-message {
        color: #ff6b6b;
    }

    .invalid {
        outline: 1px solid #ff6b6b;
    }
}

/* Smooth transitions for better UX */
.mud-paper,
.mud-button,
.mud-input {
    transition: all 0.2s ease-in-out;
}

/* Prevent layout shift during loading */
.mud-progress-circular {
    vertical-align: middle;
}

/* Better mobile touch targets */
@media (max-width: 600px) {
    .mud-button,
    .mud-icon-button,
    .mud-link {
        min-height: 44px;
    }

    .mud-paper {
        margin: 1rem;
    }
}

/* ========================================
   HOUSE OF DREAMZ - APP BAR (GOLD THEME)
   ======================================== */

.main-appbar {
    background: linear-gradient(135deg, #C79A4B 0%, #A67C3D 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.app-title {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white !important;
}

.menu-button {
    color: white !important;
    transition: transform 0.2s ease;
}

    .menu-button:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        transform: scale(1.1);
    }

.user-greeting {
    color: white !important;
    font-weight: 500;
}

/* ========================================
   HOUSE OF DREAMZ - NAV MENU (GOLD THEME)
   ======================================== */

.nav-header {
    padding: 20px 16px 16px;
    background: linear-gradient(135deg, #C79A4B 0%, #A67C3D 100%) !important;
    margin-bottom: 8px;
}

.nav-brand-text {
    color: white !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    font-size: 1.2rem !important;
}

.nav-section-title {
    color: #C79A4B !important;
    opacity: 0.8;
}

.nav-link-item {
    margin: 2px 12px;
    border-radius: 12px !important;
    transition: all 0.2s ease;
}

    .nav-link-item:hover {
        background-color: rgba(199, 154, 75, 0.08);
        transform: translateX(4px);
    }

    .nav-link-item .mud-nav-link {
        border-radius: 12px;
        padding: 10px 16px;
        color: #1E1A17;
        font-weight: 500;
        font-size: 0.875rem;
    }

    .nav-link-item .mud-icon-root {
        color: #5A5045;
        transition: color 0.2s ease;
    }

    .nav-link-item:hover .mud-icon-root {
        color: #C79A4B;
    }

    .nav-link-item.active {
        background: linear-gradient(135deg, #C79A4B 0%, #A67C3D 100%) !important;
        box-shadow: 0 2px 8px rgba(199, 154, 75, 0.3);
    }

        .nav-link-item.active .mud-nav-link {
            color: white !important;
        }

        .nav-link-item.active .mud-icon-root {
            color: white !important;
        }

/* ========================================
   HOUSE OF DREAMZ - USER AVATAR (GOLD)
   ======================================== */

.user-avatar {
    background: linear-gradient(135deg, #C79A4B 0%, #A67C3D 100%) !important;
    color: white !important;
}

.primary-avatar {
    background: linear-gradient(135deg, #C79A4B 0%, #A67C3D 100%);
}

.user-role-chip {
    background: #C79A4B !important;
    color: white !important;
}

/* ========================================
   HOUSE OF DREAMZ - DASHBOARD (GOLD THEME)
   ======================================== */

.dashboard-title {
    background: linear-gradient(135deg, #C79A4B 0%, #A67C3D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Stat Cards - Gold Theme */
.stat-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #FFFFFF;
    border: 1px solid #E7DCCB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(199, 154, 75, 0.15);
    }

.stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.2;
    color: #C79A4B;
}

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

.stat-value {
    font-weight: 700;
    margin-bottom: 4px;
    color: #1E1A17;
}

.stat-subtitle {
    color: #5A5045;
}

/* Card Variations - Gold Accents */
.stat-card-sales {
    border-top: 4px solid #C79A4B;
}

.stat-card-transactions {
    border-top: 4px solid #D9B06A;
}

.stat-card-products {
    border-top: 4px solid #A67C3D;
}

.stat-card-lowstock {
    border-top: 4px solid #C62828;
}

/* ========================================
   HOUSE OF DREAMZ - BUTTONS (GOLD THEME)
   ======================================== */

/* MudBlazor Primary Button */
.mud-button-filled-primary {
    background-color: #C79A4B !important;
    color: #fff !important;
}

    .mud-button-filled-primary:hover {
        background-color: #A67C3D !important;
    }

.mud-button-outlined-primary {
    color: #C79A4B !important;
    border-color: #C79A4B !important;
}

    .mud-button-outlined-primary:hover {
        background-color: rgba(199, 154, 75, 0.1) !important;
    }

.mud-button-text-primary {
    color: #C79A4B !important;
}

    .mud-button-text-primary:hover {
        background-color: rgba(199, 154, 75, 0.1) !important;
    }

/* Custom Action Buttons */
.add-button,
.generate-button,
.refresh-button,
.save-button {
    background-color: #C79A4B !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

    .add-button:hover,
    .generate-button:hover,
    .refresh-button:hover,
    .save-button:hover {
        background-color: #A67C3D !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(199, 154, 75, 0.3);
    }

/* Quick Action Buttons */
.quick-actions-buttons .mud-button-filled-primary {
    background-color: #C79A4B !important;
    color: white !important;
}

    .quick-actions-buttons .mud-button-filled-primary:hover {
        background-color: #A67C3D !important;
    }

/* ========================================
   HOUSE OF DREAMZ - AVATARS (GOLD)
   ======================================== */

.client-avatar,
.product-avatar,
.cashier-avatar,
.category-avatar,
.inventory-avatar {
    background: linear-gradient(135deg, #C79A4B 0%, #A67C3D 100%) !important;
    color: white !important;
}

/* ========================================
   HOUSE OF DREAMZ - CHIPS (GOLD)
   ======================================== */

.mud-chip-filled {
    background-color: #C79A4B !important;
    color: #fff !important;
}

.mud-chip-outlined {
    color: #C79A4B !important;
    border-color: #C79A4B !important;
}

/* ========================================
   HOUSE OF DREAMZ - PAYMENT BADGES
   ======================================== */

.payment-cash {
    background: rgba(199, 154, 75, 0.15);
    color: #C79A4B;
}

/* ========================================
   HOUSE OF DREAMZ - INPUT FOCUS (GOLD)
   ======================================== */

.mud-input:focus-within {
    border-color: #C79A4B !important;
    box-shadow: 0 0 0 2px rgba(199, 154, 75, 0.15);
}

/* ========================================
   HOUSE OF DREAMZ - SCROLLBAR (GOLD)
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F4F0EA;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #C79A4B;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #A67C3D;
    }

/* ========================================
   HOUSE OF DREAMZ - FORM TITLES
   ======================================== */

.form-title {
    color: #C79A4B;
}

/* ========================================
   HOUSE OF DREAMZ - UTILITY CLASSES
   ======================================== */

.text-gold {
    color: #C79A4B !important;
}

.text-charcoal {
    color: #1E1A17 !important;
}

.text-cream {
    color: #F7F1E5 !important;
}

.bg-gold {
    background-color: #C79A4B !important;
}

.bg-charcoal {
    background-color: #1E1A17 !important;
}

.bg-cream {
    background-color: #F7F1E5 !important;
}

.border-gold {
    border-color: #C79A4B !important;
}

/* ========================================
   DARK MODE - GOLD THEME
   ======================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --mud-palette-surface: #1E1A17;
        --mud-palette-background: #2D2823;
        --mud-palette-background-grey: #2A2520;
        --mud-palette-text-primary: #F7F1E5;
        --mud-palette-text-secondary: #C4B8A8;
        --mud-palette-lines-default: #3D3730;
    }

    .main-content {
        background-color: #2A2520 !important;
    }

    .stat-card {
        background: #2D2823;
        border-color: #3D3730;
    }

    .stat-value {
        color: #F7F1E5;
    }

    .stat-label {
        color: #C4B8A8;
    }

    .stat-subtitle {
        color: #C4B8A8;
    }

    .stat-icon {
        opacity: 0.1;
    }

    .search-paper {
        background: #2D2823;
        border-color: #3D3730;
    }

    .form-paper {
        background: #2D2823;
        border-color: #3D3730;
    }

    .quick-actions-paper {
        background: #2D2823;
        border-color: #3D3730;
    }

    .table-paper {
        background: #2D2823;
        border-color: #3D3730;
    }

    .nav-link-item .mud-nav-link {
        color: #F7F1E5;
    }

    .nav-link-item .mud-icon-root {
        color: #C4B8A8;
    }

    .user-name {
        color: #F7F1E5;
    }
}

/* ========================================
   ORIGINAL STYLES - PRESERVED BELOW
   ======================================== */

/* NavMenu Styles */
.primary-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
}

.logout-link {
    margin-top: 8px;
    color: var(--mud-palette-error) !important;
}

    .logout-link:hover {
        background-color: rgba(220, 53, 69, 0.1) !important;
    }

/* MainLayout Styles */
.mud-appbar {
    position: sticky;
    top: 0;
    z-index: 10;
}

.mud-main-content {
    min-height: calc(100vh - 64px);
    background-color: var(--mud-palette-background-grey);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .mud-main-content .mud-container {
        padding: 12px !important;
    }
}

/* User info section spacing */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Loading State */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

/* Stat Cards */
.stat-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}

    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

.stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.2;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 8px;
}

.stat-value {
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-subtitle {
    color: var(--mud-palette-text-secondary);
}

/* Card Variations */
.stat-card-sales {
    border-top: 4px solid #4caf50;
}

.stat-card-transactions {
    border-top: 4px solid #2196f3;
}

.stat-card-products {
    border-top: 4px solid #ff9800;
}

.stat-card-lowstock {
    border-top: 4px solid #f44336;
}

.text-error {
    color: #f44336 !important;
}

/* Custom Table */
.custom-table {
    border-radius: 12px;
    overflow: hidden;
}

.mud-table-container {
    border-radius: 12px;
}

/* Cashier Avatar */
.cashier-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Quick Actions Styling */
.gap-3 {
    gap: 12px;
}

/* Responsive Adjustments */
@media (max-width: 960px) {
    .stat-card {
        padding: 16px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .dashboard-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 600px) {
    .stat-icon {
        display: none;
    }

    .quick-actions {
        flex-wrap: wrap;
    }

    .mud-table-container {
        overflow-x: auto;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

    .stat-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .stat-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .stat-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .stat-card:nth-child(4) {
        animation-delay: 0.4s;
    }

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .stat-card {
        background: var(--mud-palette-surface);
    }

    .stat-icon {
        opacity: 0.1;
    }
}

/* Categories Page Styles */
.categories-container {
    max-width: 1400px;
    margin: 0 auto;
}

.categories-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Form Paper */
.form-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    animation: fadeInUp 0.3s ease;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

/* Categories Table */
.categories-table {
    border-radius: 12px;
}

/* Category Avatar */
.category-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 960px) {
    .categories-title {
        font-size: 1.75rem;
    }

    .add-button {
        width: 100%;
        margin-top: 16px;
    }

    .d-flex.justify-end {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .form-paper {
        padding: 16px !important;
    }

    .empty-state {
        padding: 40px 16px;
    }

    .categories-table .mud-table-container {
        overflow-x: auto;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }

    .form-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }
}

/* POS Page Styles */
.pos-container {
    max-width: 1600px;
    margin: 0 auto;
}

.pos-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Scanner Card */
.scanner-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
}

.barcode-field {
    transition: all 0.2s ease;
}

    .barcode-field:focus-within {
        transform: translateY(-1px);
    }

/* Receipt Card */
.receipt-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-primary-light) 5%);
    animation: slideInUp 0.3s ease;
}

/* Cart Card */
.cart-paper {
    border-radius: 16px;
    min-height: 600px;
}

/* Empty Cart */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

    .empty-cart .mud-icon-root {
        font-size: 80px;
        opacity: 0.3;
    }

/* Cart Table */
.cart-table {
    border-radius: 12px;
}

.product-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

.quantity-field {
    max-width: 100px;
    margin: 0 auto;
}

/* Summary Paper */
.summary-paper {
    border-radius: 12px;
    background: var(--mud-palette-primary-light);
}

/* Payment Select */
.payment-select {
    width: 100%;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 960px) {
    .pos-title {
        font-size: 1.75rem;
    }

    .scanner-paper,
    .cart-paper {
        padding: 16px !important;
    }
}

@media (max-width: 600px) {
    .cart-table .mud-table-container {
        overflow-x: auto;
    }

    .quantity-field {
        max-width: 80px;
    }

    .summary-paper {
        padding: 12px !important;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .scanner-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }

    .receipt-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(27, 110, 194, 0.1) 100%);
    }

    .summary-paper {
        background: var(--mud-palette-primary-dark);
    }
}

/* Hover Effects */
.add-button:hover,
.complete-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
}

/* Numeric Field Spinner Hide */
.quantity-field input[type=number]::-webkit-inner-spin-button,
.quantity-field input[type=number]::-webkit-outer-spin-button {
    opacity: 0.5;
}

/* Products Page Styles */
.products-container {
    max-width: 1600px;
    margin: 0 auto;
}

.products-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Add Button */
.add-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .add-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Form Paper */
.form-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    animation: fadeInUp 0.3s ease;
}

.form-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

/* Products Table */
.products-table {
    border-radius: 12px;
}

/* Product Avatar */
.product-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Category Avatar Small */
.category-avatar-small {
    background: linear-gradient(135deg, var(--mud-palette-info) 0%, var(--mud-palette-info-darken) 100%);
    font-weight: 600;
    font-size: 0.7rem;
    width: 28px;
    height: 28px;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Status Switch */
.status-switch {
    padding: 12px 0;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.text-success {
    color: var(--mud-palette-success);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 960px) {
    .products-title {
        font-size: 1.75rem;
    }

    .add-button {
        width: 100%;
        margin-top: 16px;
    }

    .d-flex.justify-end {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .form-paper {
        padding: 16px !important;
    }

    .empty-state {
        padding: 40px 16px;
    }

    .products-table .mud-table-container {
        overflow-x: auto;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }

    .form-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }
}

/* Table Row Hover Effect */
.products-table .mud-table-row:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
}

/* Stock Page Styles */
.stock-container {
    max-width: 1600px;
    margin: 0 auto;
}

.stock-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Form Paper */
.form-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
}

.form-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

/* Product Select Dropdown */
.product-select {
    width: 100%;
}

.product-avatar-select {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.7rem;
    width: 28px;
    height: 28px;
}

/* Quantity Field */
.quantity-field {
    width: 100%;
}

/* Remarks Field */
.remarks-field {
    width: 100%;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

/* Movements Table */
.movements-table {
    border-radius: 12px;
}

/* Product Avatar */
.product-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 960px) {
    .stock-title {
        font-size: 1.75rem;
    }

    .form-paper {
        padding: 16px !important;
    }
}

@media (max-width: 600px) {
    .movements-table .mud-table-container {
        overflow-x: auto;
    }

    .form-paper {
        padding: 12px !important;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .form-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }
}

/* Table Row Hover Effect */
.movements-table .mud-table-row:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
}

/* Numeric Field Spin Button Styling */
.quantity-field input[type=number]::-webkit-inner-spin-button,
.quantity-field input[type=number]::-webkit-outer-spin-button {
    opacity: 0.5;
}

/* Select Dropdown Item Hover */
.mud-select-item:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.08);
}

/* Form Button Styling */
.form-paper .mud-button-filled {
    transition: all 0.3s ease;
}

    .form-paper .mud-button-filled:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Movement Type Indicators */
.mud-chip-filled {
    font-weight: 500;
}

/* Date Column Styling */
.movements-table .mud-table-cell:first-child {
    font-weight: 500;
}

/* Movement Types Order */
.movements-table tbody tr td:nth-child(4) {
    text-align: center;
}

/* Sales Page Styles */
.sales-container {
    max-width: 1600px;
    margin: 0 auto;
}

.sales-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Refresh Button */
.refresh-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .refresh-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

/* Sales Table */
.sales-table {
    border-radius: 12px;
}

/* Cashier Avatar */
.cashier-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Receipt Preview */
.receipt-preview {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px;
    background: white;
    color: black;
    border-radius: 8px;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 960px) {
    .sales-title {
        font-size: 1.75rem;
    }

    .refresh-button {
        width: 100%;
        margin-top: 16px;
    }

    .d-flex.justify-end {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .sales-table .mud-table-container {
        overflow-x: auto;
    }

    .receipt-preview {
        padding: 12px;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }

    .receipt-preview {
        background: var(--mud-palette-surface);
        color: var(--mud-palette-text-primary);
    }
}

/* Table Row Hover Effect */
.sales-table .mud-table-row:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    cursor: pointer;
}

/* Dialog Content Styling */
.mud-dialog-content {
    padding: 20px;
}

/* Scrollbar Styling for Receipt Preview */
.receipt-preview::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.receipt-preview::-webkit-scrollbar-track {
    background: var(--mud-palette-background-grey);
    border-radius: 4px;
}

.receipt-preview::-webkit-scrollbar-thumb {
    background: var(--mud-palette-primary);
    border-radius: 4px;
}

    .receipt-preview::-webkit-scrollbar-thumb:hover {
        background: var(--mud-palette-primary-darken);
    }

/* ========================================
   HOUSE OF DREAMZ - LOGIN PAGE (GOLD THEME)
   ======================================== */

/* Login Wrapper */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

/* Animated Background Particles - Charcoal */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #1E1A17 0%, #2D2823 100%);
}

.particle {
    position: absolute;
    background: rgba(199, 154, 75, 0.08);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

    .particle:nth-child(1) {
        width: 80px;
        height: 80px;
        top: 10%;
        left: 10%;
        animation-delay: 0s;
    }

    .particle:nth-child(2) {
        width: 120px;
        height: 120px;
        top: 70%;
        left: 85%;
        animation-delay: 1s;
    }

    .particle:nth-child(3) {
        width: 60px;
        height: 60px;
        top: 80%;
        left: 15%;
        animation-delay: 2s;
    }

    .particle:nth-child(4) {
        width: 100px;
        height: 100px;
        top: 20%;
        left: 80%;
        animation-delay: 0.5s;
    }

    .particle:nth-child(5) {
        width: 40px;
        height: 40px;
        top: 50%;
        left: 5%;
        animation-delay: 1.5s;
    }

    .particle:nth-child(6) {
        width: 90px;
        height: 90px;
        top: 40%;
        left: 70%;
        animation-delay: 2.5s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Login Card */
.login-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 48px 40px 32px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .login-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 30px 60px -15px rgba(199, 154, 75, 0.2);
    }

/* Brand Section */
.brand-section {
    text-align: center;
    margin-bottom: 24px;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}

.logo-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    margin: -110px 0 0 -110px;
    background: rgba(199, 154, 75, 0.08);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Brand Logo Image */
.brand-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
}

.brand-logo-image {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    background: #1E1A17;
    padding: 20px 32px 16px;
}

    .brand-logo-image:hover {
        transform: scale(1.02);
    }

/* Brand Subtitle */
.brand-subtitle {
    margin-top: 12px;
    color: #5A5045;
    font-weight: 400;
    font-size: 1.1rem !important;
}

/* Divider - Gold */
.divider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C79A4B, transparent);
}

.divider-text {
    white-space: nowrap;
    color: #5A5045;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Form Section */
.form-section {
    margin-bottom: 24px;
}

.login-input {
    margin-bottom: 20px;
}

    .login-input .mud-input-root {
        border-radius: 12px;
        transition: all 0.3s ease;
    }

        .login-input .mud-input-root:hover {
            transform: translateY(-1px);
        }

        .login-input .mud-input-root:focus-within {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(199, 154, 75, 0.15);
        }

    .login-input .mud-input-adornment .mud-icon-root {
        color: #C79A4B !important;
    }

/* Error Alert */
.error-alert {
    border-radius: 12px;
    margin-bottom: 24px;
    animation: shake 0.5s ease-in-out;
    border-left: 4px solid #C62828;
    background-color: rgba(198, 40, 40, 0.08) !important;
}

    .error-alert .mud-alert-message {
        color: #C62828 !important;
    }

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Login Button - Gold */
.login-button {
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 12px;
    height: 48px;
    background-color: #C79A4B !important;
    color: #fff !important;
}

    .login-button:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(199, 154, 75, 0.4);
        background-color: #A67C3D !important;
    }

    .login-button:active:not(:disabled) {
        transform: translateY(0);
    }

    .login-button .mud-button-label {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .login-button .mud-icon-root {
        color: #fff !important;
    }

/* Login Footer */
.login-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #E7DCCB;
}

    .login-footer .mud-typography {
        color: #5A5045 !important;
    }

.footer-brand {
    color: #C79A4B;
    font-weight: 600;
}

/* Login Dark Mode */
@media (prefers-color-scheme: dark) {
    .login-card {
        background: rgba(30, 26, 23, 0.95);
    }

    .brand-subtitle {
        color: #C4B8A8;
    }

    .divider-line {
        background: linear-gradient(90deg, transparent, #C79A4B, transparent);
    }

    .divider-text {
        color: #C4B8A8;
    }

    .login-footer {
        border-top-color: #3D3730;
    }

        .login-footer .mud-typography {
            color: #C4B8A8 !important;
        }

    .error-alert {
        background-color: rgba(198, 40, 40, 0.2) !important;
    }

    .brand-logo-image {
        background: #2D2823;
        border: 1px solid #3D3730;
    }

    .particles-bg {
        background: linear-gradient(135deg, #1E1A17 0%, #2D2823 100%);
    }
}

/* Login Responsive */
@media (max-width: 640px) {
    .login-card {
        padding: 32px 24px 28px;
        margin: 16px;
    }

    .brand-logo-image {
        max-width: 200px;
        padding: 16px 20px 12px;
    }

    .brand-subtitle {
        font-size: 0.95rem !important;
    }

    .divider-text {
        font-size: 0.75rem;
    }

    .logo-ripple {
        width: 180px;
        height: 180px;
        margin: -90px 0 0 -90px;
    }
}

@media (max-width: 400px) {
    .login-card {
        padding: 24px 16px 20px;
    }

    .brand-logo-image {
        max-width: 160px;
        padding: 12px 16px 10px;
    }

    .brand-subtitle {
        font-size: 0.85rem !important;
    }

    .divider-container {
        gap: 10px;
    }

    .divider-text {
        font-size: 0.65rem;
    }
}

/* ========================================
   REMAINING ORIGINAL STYLES
   ======================================== */

/* Monthly Sales Report Styles */
.report-container {
    max-width: 1400px;
    margin: 0 auto;
}

.report-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Controls Paper */
.controls-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.year-field, .month-select {
    width: 100%;
}

.generate-btn, .print-btn {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

    .generate-btn:hover, .print-btn:hover {
        transform: translateY(-2px);
    }

/* Summary Cards */
.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

    .summary-card:hover {
        transform: translateY(-4px);
    }

.summary-card-primary {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdef5 100%);
}

.summary-card-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.summary-card-info {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

.summary-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.7;
}

.summary-value {
    font-weight: 700;
    margin-top: 4px;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-title {
    font-weight: 600;
}

/* Sales Table */
.sales-table {
    border-radius: 12px;
}

    .sales-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Cashier Avatar */
.cashier-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Payment Badges */
.payment-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    gap: 4px;
}

.payment-cash {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.payment-card {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
}

.payment-mobile {
    background: rgba(156, 39, 176, 0.15);
    color: #9c27b0;
}

.payment-bank {
    background: rgba(0, 150, 136, 0.15);
    color: #009688;
}

.payment-default {
    background: rgba(158, 158, 158, 0.15);
    color: #9e9e9e;
}

/* Date Cell */
.date-cell {
    display: flex;
    flex-direction: column;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Print Styles */
.report-header-print, .report-footer-print {
    display: none;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.text-success {
    color: #4caf50;
}

/* Responsive */
@media (max-width: 960px) {
    .report-title {
        font-size: 1.75rem;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .generate-btn, .print-btn {
        width: 100%;
    }

    .sales-table .mud-table-container {
        overflow-x: auto;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Low Stock Report Styles */
.lowstock-container {
    max-width: 1400px;
    margin: 0 auto;
}

.lowstock-title {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Refresh Paper */
.refresh-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    border-left: 4px solid #ff9800;
}

.refresh-title {
    font-weight: 600;
    color: #ff9800;
}

.refresh-button {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .refresh-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Low Stock Table */
.lowstock-table {
    border-radius: 12px;
}

    .lowstock-table .mud-table-row:hover {
        background-color: rgba(255, 152, 0, 0.05);
    }

/* Product Avatar */
.product-avatar {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Stock Status */
.stock-status {
    display: inline-block;
}

/* Empty State with Success */
.empty-state-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.success-bg {
    background: rgba(76, 175, 80, 0.15);
}

.empty-state-icon .mud-icon-root {
    font-size: 48px;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.text-success {
    color: #4caf50;
}

/* Responsive */
@media (max-width: 960px) {
    .lowstock-title {
        font-size: 1.75rem;
    }

    .refresh-button {
        width: 100%;
        margin-top: 16px;
    }

    .refresh-paper .mud-stack {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .lowstock-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .refresh-title {
        font-size: 1rem;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .refresh-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }

    .empty-state-icon .mud-icon-root {
        color: #4caf50;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top Selling Products Styles */
.topselling-container {
    max-width: 1400px;
    margin: 0 auto;
}

.topselling-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Refresh Paper */
.refresh-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    border-left: 4px solid var(--mud-palette-primary);
}

.refresh-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.refresh-button {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .refresh-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Top Selling Table */
.topselling-table {
    border-radius: 12px;
}

    .topselling-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Rank Badges */
.rank-badge {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #5d4037;
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
    color: #333;
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b8692a 100%);
    color: white;
}

/* Product Avatar */
.product-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

    .product-avatar.gold {
        background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
        color: #5d4037;
    }

    .product-avatar.silver {
        background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
        color: #333;
    }

    .product-avatar.bronze {
        background: linear-gradient(135deg, #cd7f32 0%, #b8692a 100%);
        color: white;
    }

/* Quantity Sold */
.quantity-sold {
    display: inline-block;
}

/* Performance Bar */
.performance-bar {
    width: 120px;
    height: 8px;
    background: rgba(var(--mud-palette-primary-rgb), 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: inline-block;
}

.performance-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-light) 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.performance-percentage {
    position: absolute;
    right: -25px;
    top: -8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--mud-palette-primary);
    white-space: nowrap;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.text-success {
    color: #4caf50;
}

/* Responsive */
@media (max-width: 960px) {
    .topselling-title {
        font-size: 1.75rem;
    }

    .refresh-button {
        width: 100%;
        margin-top: 16px;
    }

    .refresh-paper .mud-stack {
        flex-direction: column;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }

    .performance-bar {
        width: 80px;
    }
}

@media (max-width: 600px) {
    .topselling-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .performance-bar {
        width: 60px;
    }

    .performance-percentage {
        font-size: 0.6rem;
        right: -20px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .refresh-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }

    .rank-2 {
        background: linear-gradient(135deg, #808080 0%, #606060 100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Performance Bar Styles */
.performance-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.performance-bar-wrapper {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.performance-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.performance-percentage {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4caf50;
    min-width: 40px;
    text-align: right;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .performance-bar-wrapper {
        background: rgba(255, 255, 255, 0.15);
    }

    .performance-percentage {
        color: #8bc34a;
    }
}

/* Responsive */
@media (max-width: 960px) {
    .performance-container {
        min-width: 120px;
    }
}

@media (max-width: 600px) {
    .performance-container {
        min-width: 100px;
    }

    .performance-percentage {
        font-size: 0.7rem;
        min-width: 35px;
    }
}

/* Settings Page Styles */
.settings-container {
    max-width: 1000px;
    margin: 0 auto;
}

.settings-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Settings Paper */
.settings-paper {
    border-radius: 20px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    border: 1px solid rgba(var(--mud-palette-primary-rgb), 0.1);
}

.settings-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.settings-form-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.settings-field {
    transition: all 0.2s ease;
}

    .settings-field:hover {
        transform: translateY(-1px);
    }

.footer-field {
    margin-bottom: 8px;
}

/* Settings Actions */
.settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--mud-palette-lines-default);
}

.save-button, .reset-button {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .save-button:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    }

    .reset-button:hover {
        transform: translateY(-2px);
    }

/* Preview Paper */
.preview-paper {
    border-radius: 20px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    border: 1px solid rgba(var(--mud-palette-primary-rgb), 0.1);
}

.preview-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.preview-title {
    font-weight: 600;
    color: var(--mud-palette-info);
}

/* Receipt Preview Box */
.receipt-preview-box {
    max-width: 350px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    color: black;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.receipt-header-preview {
    text-align: center;
    margin-bottom: 15px;
}

.receipt-store-name {
    font-size: 14px;
    font-weight: bold;
    margin: 8px 0 4px;
}

.receipt-address, .receipt-phone {
    font-size: 10px;
    color: #666;
    margin: 2px 0;
}

.receipt-divider {
    border: none;
    border-top: 1px dashed #ccc;
    margin: 10px 0;
}

.receipt-sample-items {
    margin: 15px 0;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-weight: bold;
}

.receipt-footer-preview {
    text-align: center;
}

.receipt-footer-text {
    font-size: 10px;
    color: #666;
    margin-top: 10px;
}

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .receipt-preview-box {
        background: #1e1e1e;
        color: #e0e0e0;
    }

    .receipt-address, .receipt-phone, .receipt-footer-text {
        color: #aaa;
    }

    .receipt-divider {
        border-top-color: #444;
    }
}

/* Responsive */
@media (max-width: 960px) {
    .settings-title {
        font-size: 1.75rem;
    }

    .settings-paper {
        padding: 20px !important;
    }

    .receipt-preview-box {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .settings-actions {
        flex-direction: column-reverse;
    }

    .save-button, .reset-button {
        width: 100%;
    }

    .settings-paper {
        padding: 16px !important;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Users Page Styles */
.users-container {
    max-width: 1400px;
    margin: 0 auto;
}

.users-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Add Button */
.add-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .add-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Form Paper */
.form-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    animation: fadeInUp 0.3s ease;
}

.form-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.form-field {
    width: 100%;
}

.role-select {
    width: 100%;
}

.role-avatar {
    background: linear-gradient(135deg, var(--mud-palette-info) 0%, var(--mud-palette-info-darken) 100%);
    font-weight: 600;
    font-size: 0.7rem;
    width: 28px;
    height: 28px;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Users Table */
.users-table {
    border-radius: 12px;
}

.user-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Status Toggle */
.status-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-switch {
    margin: 0;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 960px) {
    .users-title {
        font-size: 1.75rem;
    }

    .add-button {
        width: 100%;
        margin-top: 16px;
    }

    .d-flex.justify-end {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .form-paper {
        padding: 16px !important;
    }

    .users-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .status-toggle {
        justify-content: flex-start;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }

    .form-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }
}

.users-table .mud-table-row:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
}

/* Categories Page Additional Styles */
.form-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.form-field {
    width: 100%;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

.description-text {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 600px) {
    .description-text {
        max-width: 150px;
    }
}

/* Page Size Select */
.page-size-select {
    width: 100%;
}

/* Products Table */
.products-table {
    border-radius: 12px;
}

    .products-table .mud-table-container {
        max-height: 70vh;
        overflow-y: auto;
    }

/* Pagination Styling */
.mud-pagination {
    margin-top: 20px;
    padding: 10px;
}

/* Scrollbar for table */
.products-table .mud-table-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.products-table .mud-table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.products-table .mud-table-container::-webkit-scrollbar-thumb {
    background: var(--mud-palette-primary);
    border-radius: 4px;
}

    .products-table .mud-table-container::-webkit-scrollbar-thumb:hover {
        background: var(--mud-palette-primary-darken);
    }

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .products-table .mud-table-container::-webkit-scrollbar-track {
        background: #333;
    }
}

/* Search Autocomplete Styles */
.search-autocomplete {
    width: 100%;
}

.product-search-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

.search-input-wrapper {
    margin-bottom: 16px;
}

/* ===================================
   RECEIPT PRINTING
   =================================== */

.receipt-print-area {
    display: none;
}

@media print {

    body * {
        visibility: hidden !important;
    }

    .receipt-print-area,
    .receipt-print-area * {
        visibility: visible !important;
    }

    .receipt-print-area {
        display: block !important;
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 80mm !important;
        padding: 10px !important;
        margin: 0 !important;
        background: white !important;
        color: black !important;
        font-family: Arial, sans-serif !important;
        font-size: 12px !important;
    }

    .no-print {
        display: none !important;
    }

    @page {
        size: 80mm auto;
        margin: 5mm;
    }
}

/* Receipt Print Container */
.receipt-print-container {
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

/* Professional Receipt Styles - Same as POS */
.professional-receipt {
    max-width: 350px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: white;
    color: #333;
}

.receipt-store-header {
    text-align: center;
    margin-bottom: 15px;
}

.store-name {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.store-address, .store-phone {
    font-size: 10px;
    color: #666;
}

.receipt-divider {
    text-align: center;
    color: #999;
    font-size: 10px;
    margin: 10px 0;
    letter-spacing: 2px;
}

.receipt-info {
    margin: 10px 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.info-label {
    font-weight: 600;
    color: #555;
}

.payment-method {
    font-weight: 600;
    color: #27ae60;
}

.receipt-items-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

    .receipt-items-table th {
        border-bottom: 1px dashed #ddd;
        padding-bottom: 5px;
    }

    .receipt-items-table td {
        padding: 6px 0;
    }

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.receipt-totals {
    margin: 10px 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.discount-row {
    color: #e74c3c;
}

.total-divider {
    border-top: 1px dashed #ddd;
    margin: 8px 0;
}

.grand-total {
    margin-top: 5px;
}

    .grand-total .total-label {
        font-weight: 700;
        font-size: 13px;
    }

.grand-total-amount {
    font-weight: 700;
    font-size: 13px;
    color: #27ae60;
}

.receipt-footer {
    text-align: center;
    margin: 10px 0;
}

.footer-message {
    font-size: 10px;
    color: #666;
    font-style: italic;
}

.receipt-thankyou {
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: #27ae60;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

/* Scrollbar */
.receipt-print-container::-webkit-scrollbar {
    width: 8px;
}

.receipt-print-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.receipt-print-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

/* Print Styles - Hide everything except the receipt container */
@media print {
    /* Hide dialog buttons and title */
    .mud-dialog-actions,
    .mud-dialog-title,
    .mud-dialog-header,
    button,
    .mud-button,
    .close-button {
        display: none !important;
    }

    /* Hide everything in the body except the receipt container */
    body * {
        visibility: hidden !important;
    }

    /* Show only the receipt container */
    #receiptContainer,
    #receiptContainer * {
        visibility: visible !important;
    }

    /* Position the receipt at the top */
    #receiptContainer {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        background: white !important;
    }

    /* Ensure receipt content is visible */
    .professional-receipt {
        visibility: visible !important;
        background: white !important;
        color: black !important;
    }
}

/* Sales By User Report Styles */
.salesbyuser-container {
    max-width: 1400px;
    margin: 0 auto;
}

.salesbyuser-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Filter Paper */
.filter-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.filter-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.filter-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.date-picker {
    width: 100%;
}

.generate-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

    .generate-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Sales By User Table */
.salesbyuser-table {
    border-radius: 12px;
}

    .salesbyuser-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* User Avatar */
.user-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

    .user-avatar.top-performer {
        background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
        color: #5d4037;
    }

/* Performance Bar Container */
.performance-bar-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.performance-bar-bg {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.performance-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.performance-percentage {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4caf50;
    min-width: 40px;
    text-align: right;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.text-success {
    color: #4caf50;
}

/* Responsive */
@media (max-width: 960px) {
    .salesbyuser-title {
        font-size: 1.75rem;
    }

    .generate-button {
        width: 100%;
        margin-top: 16px;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }

    .performance-bar-container {
        min-width: 120px;
    }
}

@media (max-width: 600px) {
    .salesbyuser-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .performance-bar-container {
        min-width: 100px;
    }

    .performance-percentage {
        font-size: 0.7rem;
        min-width: 35px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .filter-paper {
        background: var(--mud-palette-surface);
    }

    .performance-bar-bg {
        background: rgba(255, 255, 255, 0.15);
    }

    .performance-percentage {
        color: #8bc34a;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sales By Payment Method Styles */
.payment-container {
    max-width: 1400px;
    margin: 0 auto;
}

.payment-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Filter Paper */
.filter-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.filter-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.filter-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.date-picker {
    width: 100%;
}

.generate-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

    .generate-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Payment Table */
.payment-table {
    border-radius: 12px;
}

    .payment-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Payment Avatar */
.payment-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Percentage Container */
.percentage-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.percentage-bar-bg {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.percentage-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.percentage-value {
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 45px;
    text-align: right;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.text-success {
    color: #4caf50;
}

/* Responsive */
@media (max-width: 960px) {
    .payment-title {
        font-size: 1.75rem;
    }

    .generate-button {
        width: 100%;
        margin-top: 16px;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }

    .percentage-container {
        min-width: 120px;
    }
}

@media (max-width: 600px) {
    .payment-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .percentage-container {
        min-width: 100px;
    }

    .percentage-value {
        font-size: 0.7rem;
        min-width: 40px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .filter-paper {
        background: var(--mud-palette-surface);
    }

    .percentage-bar-bg {
        background: rgba(255, 255, 255, 0.15);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sales By Product Report Styles */
.salesbyproduct-container {
    max-width: 1400px;
    margin: 0 auto;
}

.salesbyproduct-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Filter Paper */
.filter-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.filter-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.filter-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.date-picker {
    width: 100%;
}

.generate-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

    .generate-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Sales By Product Table */
.salesbyproduct-table {
    border-radius: 12px;
}

    .salesbyproduct-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Rank Badges */
.rank-badge {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #5d4037;
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
    color: #333;
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b8692a 100%);
    color: white;
}

/* Product Avatar */
.product-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

    .product-avatar.gold {
        background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
        color: #5d4037;
    }

    .product-avatar.silver {
        background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
        color: #333;
    }

    .product-avatar.bronze {
        background: linear-gradient(135deg, #cd7f32 0%, #b8692a 100%);
        color: white;
    }

/* Performance Container */
.performance-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.performance-bar-wrapper {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.performance-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.performance-percentage {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4caf50;
    min-width: 40px;
    text-align: right;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.text-success {
    color: #4caf50;
}

/* Responsive */
@media (max-width: 960px) {
    .salesbyproduct-title {
        font-size: 1.75rem;
    }

    .generate-button {
        width: 100%;
        margin-top: 16px;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }

    .performance-container {
        min-width: 120px;
    }
}

@media (max-width: 600px) {
    .salesbyproduct-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .performance-container {
        min-width: 100px;
    }

    .performance-percentage {
        font-size: 0.7rem;
        min-width: 35px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .filter-paper {
        background: var(--mud-palette-surface);
    }

    .performance-bar-wrapper {
        background: rgba(255, 255, 255, 0.15);
    }

    .performance-percentage {
        color: #8bc34a;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inventory Valuation Report Styles */
.inventory-container {
    max-width: 1400px;
    margin: 0 auto;
}

.inventory-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Refresh Paper */
.refresh-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    border-left: 4px solid var(--mud-palette-primary);
}

.refresh-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.refresh-button {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .refresh-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Inventory Table */
.inventory-table {
    border-radius: 12px;
}

    .inventory-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Inventory Avatar */
.inventory-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Footer Totals */
.footer-total-label {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

.footer-total-value {
    font-weight: 700;
    font-size: 1rem;
    color: #4caf50;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.text-success {
    color: #4caf50;
}

/* Responsive */
@media (max-width: 960px) {
    .inventory-title {
        font-size: 1.75rem;
    }

    .refresh-button {
        width: 100%;
        margin-top: 16px;
    }

    .refresh-paper .mud-stack {
        flex-direction: column;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .inventory-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .refresh-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }

    .footer-total-value {
        color: #8bc34a;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profit Report Styles */
.profit-container {
    max-width: 1400px;
    margin: 0 auto;
}

.profit-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Filter Paper */
.filter-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.filter-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.filter-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.date-picker {
    width: 100%;
}

.generate-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

    .generate-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Summary Cards */
.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

    .summary-card:hover {
        transform: translateY(-4px);
    }

.summary-card-primary {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdef5 100%);
}

.summary-card-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.summary-card-info {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

.summary-card-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.summary-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.7;
}

.summary-value {
    font-weight: 700;
    margin-top: 4px;
}

.text-success {
    color: #4caf50;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Profit Table */
.profit-table {
    border-radius: 12px;
}

    .profit-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Rank Badges */
.rank-badge {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #5d4037;
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
    color: #333;
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b8692a 100%);
    color: white;
}

/* Product Avatar */
.product-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

    .product-avatar.gold {
        background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
        color: #5d4037;
    }

    .product-avatar.silver {
        background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
        color: #333;
    }

    .product-avatar.bronze {
        background: linear-gradient(135deg, #cd7f32 0%, #b8692a 100%);
        color: white;
    }

/* Profit Text Colors */
.profit-high {
    color: #2e7d32;
    font-weight: 700;
}

.profit-medium {
    color: #4caf50;
    font-weight: 600;
}

.profit-low {
    color: #8bc34a;
    font-weight: 500;
}

.text-error {
    color: #f44336;
}

/* Margin Container */
.margin-container {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.margin-bar-wrapper {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.margin-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.margin-bar-high {
    background: linear-gradient(90deg, #4caf50 0%, #2e7d32 100%);
}

.margin-bar-medium {
    background: linear-gradient(90deg, #ff9800 0%, #f57c00 100%);
}

.margin-bar-low {
    background: linear-gradient(90deg, #f44336 0%, #d32f2f 100%);
}

.margin-percentage {
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

.margin-text-high {
    color: #2e7d32;
}

.margin-text-medium {
    color: #f57c00;
}

.margin-text-low {
    color: #d32f2f;
}

/* Footer Totals */
.footer-total-label {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

.footer-total-value {
    font-weight: 700;
    font-size: 1rem;
}

.profit-total {
    color: #4caf50;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 960px) {
    .profit-title {
        font-size: 1.75rem;
    }

    .generate-button {
        width: 100%;
        margin-top: 16px;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 600px) {
    .profit-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .margin-container {
        min-width: 80px;
    }

    .margin-percentage {
        font-size: 0.65rem;
        min-width: 35px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .filter-paper {
        background: var(--mud-palette-surface);
    }

    .summary-card-primary {
        background: linear-gradient(135deg, #1a237e 0%, #0d1b40 100%);
    }

    .summary-card-success {
        background: linear-gradient(135deg, #1b5e20 0%, #0d3b0f 100%);
    }

    .summary-card-info {
        background: linear-gradient(135deg, #006064 0%, #00363a 100%);
    }

    .summary-card-warning {
        background: linear-gradient(135deg, #e65100 0%, #bf360c 100%);
    }

    .margin-bar-wrapper {
        background: rgba(255, 255, 255, 0.15);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Summary Cards - Improved Readability */
.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

/* Sales Card - Blue Theme */
.sales-card {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.sales-icon {
    background: rgba(255, 255, 255, 0.2);
}

.sales-card .summary-label {
    color: rgba(255, 255, 255, 0.85);
}

.sales-card .summary-value {
    color: white;
}

/* Cost Card - Orange Theme */
.cost-card {
    background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
}

.cost-icon {
    background: rgba(255, 255, 255, 0.2);
}

.cost-card .summary-label {
    color: rgba(255, 255, 255, 0.85);
}

.cost-card .summary-value {
    color: white;
}

/* Profit Card - Green Theme */
.profit-card {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
}

.profit-icon {
    background: rgba(255, 255, 255, 0.2);
}

.profit-card .summary-label {
    color: rgba(255, 255, 255, 0.85);
}

.profit-value {
    color: white !important;
}

/* Margin Card - Purple Theme */
.margin-card {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
}

.margin-icon {
    background: rgba(255, 255, 255, 0.2);
}

.margin-card .summary-label {
    color: rgba(255, 255, 255, 0.85);
}

.margin-value {
    color: white !important;
}

/* Summary Icon */
.summary-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.summary-value {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
}

/* Profit Text Colors */
.profit-text {
    font-weight: 600;
}

.profit-high {
    color: #2e7d32;
    font-weight: 700;
}

.profit-medium {
    color: #4caf50;
    font-weight: 600;
}

.profit-low {
    color: #8bc34a;
    font-weight: 500;
}

.profit-negative {
    color: #f44336;
    font-weight: 600;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .sales-card {
        background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    }

    .cost-card {
        background: linear-gradient(135deg, #ef6c00 0%, #e65100 100%);
    }

    .profit-card {
        background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    }

    .margin-card {
        background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
    }
}

/* Stock Movement Report Styles */
.stockmovement-container {
    max-width: 1600px;
    margin: 0 auto;
}

.stockmovement-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Filter Paper */
.filter-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.filter-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.filter-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.date-picker {
    width: 100%;
}

.generate-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

    .generate-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Summary Cards */
.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

/* Stock In Card */
.stockin-card {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
}

/* Stock Out Card */
.stockout-card {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
}

/* Products Card */
.products-card {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
}

/* Net Card */
.net-card {
    background: linear-gradient(135deg, #fb8c00 0%, #ef6c00 100%);
}

.summary-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.summary-value {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    line-height: 1.2;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Stock Movement Table */
.stockmovement-table {
    border-radius: 12px;
}

    .stockmovement-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Date Cell */
.date-cell {
    display: flex;
    flex-direction: column;
}

/* Product Avatar */
.product-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* User Avatar */
.user-avatar {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    font-weight: 600;
    font-size: 0.75rem;
    width: 28px;
    height: 28px;
}

/* Remarks Text */
.remarks-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-success {
    color: #4caf50 !important;
}

.text-error {
    color: #f44336 !important;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 960px) {
    .stockmovement-title {
        font-size: 1.75rem;
    }

    .generate-button {
        width: 100%;
        margin-top: 16px;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 600px) {
    .stockmovement-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .remarks-text {
        max-width: 120px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .filter-paper {
        background: var(--mud-palette-surface);
    }

    .stockin-card {
        background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    }

    .stockout-card {
        background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    }

    .products-card {
        background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    }

    .net-card {
        background: linear-gradient(135deg, #ef6c00 0%, #e65100 100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Dashboard Container */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Stats Cards */
.stats-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .stats-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

/* Sales Card */
.sales-card {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.sales-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

/* Transactions Card */
.transactions-card {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
}

.transactions-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

/* Inventory Card */
.inventory-card {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
}

.inventory-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

/* Products Card */
.products-card {
    background: linear-gradient(135deg, #fb8c00 0%, #ef6c00 100%);
}

.products-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

/* Low Stock Card */
.lowstock-card {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    cursor: pointer;
}

.lowstock-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

/* Top Product Card */
.topproduct-card {
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
}

.topproduct-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

/* Best Cashier Card */
.best-cashier-card {
    background: linear-gradient(135deg, #5d4037 0%, #4e342e 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 24px 32px;
}

.best-cashier-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.best-cashier-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.best-cashier-label {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.best-cashier-name {
    color: white;
    font-weight: 700;
    margin-bottom: 4px;
}

.best-cashier-stats {
    color: rgba(255, 255, 255, 0.7);
}

.best-cashier-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
}

/* Stats Icon */
.stats-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.stats-content {
    flex: 1;
}

.stats-label {
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stats-value {
    color: white;
    font-weight: 700;
    margin-bottom: 4px;
}

.stats-product-name {
    color: white;
    font-weight: 600;
    margin-bottom: 4px;
    word-break: break-word;
}

.stats-trend {
    color: rgba(255, 255, 255, 0.7);
}

.stats-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

/* Quick Actions */
.quick-actions-paper {
    border-radius: 20px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}

.quick-actions-title {
    font-weight: 600;
    margin-bottom: 16px;
}

.quick-actions-buttons {
    gap: 12px;
}

/* Text Colors */
.text-success {
    color: #a5d6a7 !important;
}

.text-warning {
    color: #ffe082 !important;
}

.text-error {
    color: #ef9a9a !important;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Alert Message */
.alert-message {
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 960px) {
    .dashboard-title {
        font-size: 1.75rem;
    }

    .stats-card {
        padding: 20px;
    }

    .stats-icon {
        width: 48px;
        height: 48px;
    }

    .stats-value {
        font-size: 1.5rem;
    }

    .best-cashier-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .best-cashier-content {
        flex-direction: column;
    }

    .quick-actions-buttons {
        flex-direction: column;
    }

        .quick-actions-buttons .mud-button {
            width: 100%;
        }
}

@media (max-width: 600px) {
    .stats-card {
        padding: 16px;
    }

    .stats-icon {
        width: 40px;
        height: 40px;
    }

    .stats-value {
        font-size: 1.25rem;
    }

    .best-cashier-icon {
        width: 48px;
        height: 48px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .quick-actions-paper {
        background: var(--mud-palette-surface);
    }
}

/* Quick Actions */
.quick-actions-paper {
    border-radius: 20px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}

.quick-actions-title {
    font-weight: 600;
    margin-bottom: 16px;
}

.quick-actions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .quick-actions-buttons .mud-button {
        min-width: 140px;
    }

@media (max-width: 960px) {
    .quick-actions-buttons .mud-button {
        width: 100%;
    }
}


/* Clients Page Styles */
.clients-container {
    max-width: 1600px;
    margin: 0 auto;
}

.clients-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Add Button */
.add-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .add-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Form Paper */
.form-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    animation: fadeInUp 0.3s ease;
}

.form-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.form-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.form-field {
    width: 100%;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Clients Table */
.clients-table {
    border-radius: 12px;
}

    .clients-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Client Avatar */
.client-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Status Switch */
.status-switch {
    padding: 12px 0;
}

/* Utility Classes */
.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 960px) {
    .clients-title {
        font-size: 1.75rem;
    }

    .add-button {
        width: 100%;
        margin-top: 16px;
    }

    .d-flex.justify-end {
        margin-top: 0;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .form-paper {
        padding: 16px !important;
    }

    .clients-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .empty-state {
        padding: 40px 16px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }

    .form-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Appointments Page Styles */
.appointments-container {
    max-width: 1600px;
    margin: 0 auto;
}

.appointments-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Add Button */
.add-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .add-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Appointments Table */
.appointments-table {
    border-radius: 12px;
}

    .appointments-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Client Avatar */
.client-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

.client-avatar-small {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.7rem;
    width: 28px;
    height: 28px;
}

/* Date Cell */
.date-cell {
    display: flex;
    flex-direction: column;
}

/* Remarks Preview */
.remarks-preview {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Form Field */
.form-field {
    width: 100%;
}

/* Date Picker */
.date-picker {
    width: 100%;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 960px) {
    .appointments-title {
        font-size: 1.75rem;
    }

    .add-button {
        width: 100%;
        margin-top: 16px;
    }

    .d-flex.justify-end {
        margin-top: 0;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .appointments-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .empty-state {
        padding: 40px 16px;
    }

    .remarks-preview {
        max-width: 100px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bookings Page Styles */
.bookings-container {
    max-width: 1600px;
    margin: 0 auto;
}

.bookings-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Summary Cards */
.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .summary-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

.total-card {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.confirmed-card {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
}

.amount-card {
    background: linear-gradient(135deg, #fb8c00 0%, #ef6c00 100%);
}

.outstanding-card {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
}

.summary-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.summary-value {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    line-height: 1.2;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Add Button */
.add-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Bookings Table */
.bookings-table {
    border-radius: 12px;
}

    .bookings-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Client Avatar */
.client-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

.client-avatar-small {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.7rem;
    width: 28px;
    height: 28px;
}

/* Date Cell */
.date-cell {
    display: flex;
    flex-direction: column;
}

/* Gap Utility */
.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

/* Text Colors */
.text-success {
    color: #4caf50 !important;
}

.text-warning {
    color: #ff9800 !important;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Responsive */
@media (max-width: 960px) {
    .bookings-title {
        font-size: 1.75rem;
    }

    .add-button {
        width: 100%;
        margin-top: 16px;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 600px) {
    .bookings-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .empty-state {
        padding: 40px 16px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bookings Page Styles */
.bookings-container {
    max-width: 1600px;
    margin: 0 auto;
}

.bookings-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Summary Cards */
.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .summary-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

.total-card {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.confirmed-card {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
}

.amount-card {
    background: linear-gradient(135deg, #fb8c00 0%, #ef6c00 100%);
}

.outstanding-card {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
}

.summary-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.summary-value {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    line-height: 1.2;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Form Paper */
.form-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    position: relative;
}

.form-header {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.form-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.form-close-btn {
    position: absolute;
    top: 0;
    right: 0;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Bookings Table */
.bookings-table {
    border-radius: 12px;
}

    .bookings-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Client Avatar */
.client-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

.client-avatar-small {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.7rem;
    width: 28px;
    height: 28px;
}

/* Date Cell */
.date-cell {
    display: flex;
    flex-direction: column;
}

/* Gap Utility */
.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

/* Text Colors */
.text-success {
    color: #4caf50 !important;
}

.text-warning {
    color: #ff9800 !important;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Responsive */
@media (max-width: 960px) {
    .bookings-title {
        font-size: 1.75rem;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-value {
        font-size: 1.25rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .bookings-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .empty-state {
        padding: 40px 16px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add Button */
.add-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .add-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

.font-weight-bold {
    font-weight: 700;
}

.gap-2 {
    gap: 8px;
}

.text-center {
    text-align: center;
}

/* Event Payments Page Styles */
.eventpayments-container {
    max-width: 1600px;
    margin: 0 auto;
}

.eventpayments-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Summary Cards */
.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .summary-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

.total-card {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.received-card {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
}

.outstanding-card {
    background: linear-gradient(135deg, #fb8c00 0%, #ef6c00 100%);
}

.summary-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.summary-value {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    line-height: 1.2;
}

.text-warning {
    color: #ff9800 !important;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Payments Table */
.payments-table {
    border-radius: 12px;
}

    .payments-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Client Avatar */
.client-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Cashier Avatar */
.cashier-avatar {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    font-weight: 600;
    font-size: 0.75rem;
    width: 28px;
    height: 28px;
}

/* Payment Badges */
.payment-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    gap: 4px;
}

.payment-cash {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.payment-card {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
}

.payment-mobile {
    background: rgba(156, 39, 176, 0.15);
    color: #9c27b0;
}

.payment-bank {
    background: rgba(0, 150, 136, 0.15);
    color: #009688;
}

.payment-default {
    background: rgba(158, 158, 158, 0.15);
    color: #9e9e9e;
}

/* Date Cell */
.date-cell {
    display: flex;
    flex-direction: column;
}

/* Text Colors */
.text-success {
    color: #4caf50 !important;
}

.text-warning {
    color: #ff9800 !important;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 960px) {
    .eventpayments-title {
        font-size: 1.75rem;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-value {
        font-size: 1.25rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .payments-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .empty-state {
        padding: 40px 16px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Event Calendar Styles */
.calendar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Premium Header */
.premium-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left {
    flex: 1;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--mud-palette-primary-rgb), 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--mud-palette-primary);
}

.premium-title {
    font-weight: 700;
    background: linear-gradient(135deg, var(--mud-palette-text-primary) 0%, var(--mud-palette-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header-right {
    display: flex;
    gap: 16px;
}

.stat-card-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--mud-palette-surface);
    border-radius: 12px;
    border: 1px solid var(--mud-palette-lines-default);
}

.stat-icon-mini {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.stat-label-mini {
    font-size: 0.7rem;
    color: var(--mud-palette-text-secondary);
}

.stat-value-mini {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
}

/* Premium Navigation */
.premium-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--mud-palette-surface);
    border-radius: 20px;
    padding: 12px 20px;
    margin-bottom: 24px;
    border: 1px solid var(--mud-palette-lines-default);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-icon-btn {
    transition: all 0.3s ease;
}

    .nav-icon-btn:hover {
        background: rgba(var(--mud-palette-primary-rgb), 0.1);
        transform: scale(1.05);
    }

.month-display {
    text-align: center;
    min-width: 140px;
}

.month-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mud-palette-primary);
}

.year {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.today-btn {
    border-radius: 12px;
    text-transform: none;
    font-weight: 500;
}

/* Weekday Grid */
.weekday-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.weekday-cell {
    text-align: center;
    padding: 12px 8px;
    background: var(--mud-palette-surface);
    border-radius: 12px;
    font-weight: 600;
}

.weekday-name {
    display: none;
}

.weekday-full {
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

/* Calendar Grid Premium */
.calendar-grid-premium {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 32px;
}

.calendar-cell {
    min-height: 140px;
    background: var(--mud-palette-surface);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--mud-palette-lines-default);
    display: flex;
    flex-direction: column;
}

    .calendar-cell:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-color: var(--mud-palette-primary);
    }

    .calendar-cell.today-cell {
        border: 2px solid var(--mud-palette-primary);
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(var(--mud-palette-primary-rgb), 0.05) 100%);
    }

    .calendar-cell.has-events {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(var(--mud-palette-primary-rgb), 0.02) 100%);
    }

.empty-cell {
    background: transparent;
    border: 1px dashed var(--mud-palette-lines-default);
    opacity: 0.6;
}

    .empty-cell:hover {
        transform: none;
        box-shadow: none;
    }

/* Cell Header */
.cell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.cell-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

    .cell-date.muted {
        color: var(--mud-palette-text-disabled);
    }

.event-badge {
    background: var(--mud-palette-primary-light);
    color: var(--mud-palette-primary);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.today-cell .cell-date {
    color: var(--mud-palette-primary);
    font-size: 1rem;
    font-weight: 700;
}

/* Cell Events */
.cell-events {
    flex: 1;
    overflow-y: auto;
    max-height: 100px;
}

/* Event Card */
.event-card {
    background: var(--mud-palette-background);
    border-left: 3px solid;
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .event-card:hover {
        transform: translateX(2px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.event-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 4px;
}

.event-title {
    font-weight: 600;
    font-size: 0.7rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-client {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.more-events {
    font-size: 0.6rem;
    color: var(--mud-palette-primary);
    text-align: center;
    padding: 4px;
    margin-top: 4px;
    cursor: pointer;
}

    .more-events:hover {
        text-decoration: underline;
    }

/* Scrollbar */
.cell-events::-webkit-scrollbar {
    width: 3px;
}

.cell-events::-webkit-scrollbar-track {
    background: var(--mud-palette-background-grey);
    border-radius: 2px;
}

.cell-events::-webkit-scrollbar-thumb {
    background: var(--mud-palette-primary);
    border-radius: 2px;
}

/* Legend Premium */
.legend-premium {
    background: var(--mud-palette-surface);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--mud-palette-lines-default);
}

.legend-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.legend-items-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legend-item-premium {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
}

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Responsive */
@media (min-width: 1200px) {
    .calendar-grid-premium {
        gap: 12px;
    }

    .calendar-cell {
        min-height: 160px;
    }
}

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

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .stat-card-mini {
        flex: 1;
    }

    .weekday-full {
        display: none;
    }

    .weekday-name {
        display: inline;
        font-size: 0.7rem;
    }

    .calendar-grid-premium {
        gap: 6px;
    }

    .calendar-cell {
        min-height: 100px;
        padding: 6px;
    }

    .cell-date {
        font-size: 0.7rem;
    }

    .event-card {
        display: none;
    }

    .event-badge {
        display: inline-block;
    }

    .legend-items-premium {
        gap: 12px;
    }

    .legend-item-premium {
        font-size: 0.65rem;
    }

    .premium-nav {
        padding: 8px 16px;
    }

    .month-display {
        min-width: 100px;
    }

    .month-year {
        font-size: 0.9rem;
    }
}

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

    .stat-card-mini {
        width: 100%;
    }

    .nav-controls {
        gap: 8px;
    }

    .month-display {
        min-width: 80px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .calendar-cell {
        background: var(--mud-palette-surface);
    }

        .calendar-cell.today-cell {
            background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(var(--mud-palette-primary-rgb), 0.15) 100%);
        }

    .event-card {
        background: var(--mud-palette-background);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Event Dashboard Styles */
.event-dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Stats Cards */
.stats-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .stats-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

.stats-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.stats-content {
    flex: 1;
}

.stats-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.stats-value {
    font-weight: 700;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 4px;
}

.stats-trend {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.stats-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

/* Card Colors */
.clients-card {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.clients-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

.appointments-card {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
}

.appointments-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

.bookings-card {
    background: linear-gradient(135deg, #fb8c00 0%, #ef6c00 100%);
}

.bookings-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

.pending-card {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
}

.pending-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

.payments-card {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.payments-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

.outstanding-card {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
}

.outstanding-icon-bg {
    background: rgba(255, 255, 255, 0.2);
}

/* Text Colors */
.text-success {
    color: #a5d6a7 !important;
}

.text-warning {
    color: #ffe082 !important;
}

.text-error {
    color: #ef9a9a !important;
}

/* Quick Actions */
.quick-actions-paper {
    border-radius: 20px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}

.quick-actions-title {
    font-weight: 600;
    margin-bottom: 16px;
}

.quick-actions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .quick-actions-buttons .mud-button {
        min-width: 140px;
    }

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Responsive */
@media (max-width: 960px) {
    .dashboard-title {
        font-size: 1.75rem;
    }

    .stats-card {
        padding: 20px;
    }

    .stats-icon {
        width: 48px;
        height: 48px;
    }

    .stats-value {
        font-size: 1.5rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }

    .quick-actions-buttons .mud-button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .stats-card {
        padding: 16px;
    }

    .stats-icon {
        width: 40px;
        height: 40px;
    }

    .stats-value {
        font-size: 1.25rem;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .quick-actions-paper {
        background: var(--mud-palette-surface);
    }
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

/* Event Packages Page Styles */
.eventpackages-container {
    max-width: 1400px;
    margin: 0 auto;
}

.eventpackages-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Form Paper */
.form-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
}

.form-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.form-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.form-field {
    width: 100%;
}

/* Status Switch */
.status-switch {
    padding: 12px 0;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Packages Table */
.packages-table {
    border-radius: 12px;
}

    .packages-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Package Avatar */
.package-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Description Text */
.description-text {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

.text-success {
    color: #4caf50 !important;
}

/* Responsive */
@media (max-width: 960px) {
    .eventpackages-title {
        font-size: 1.75rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }

    .description-text {
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .packages-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .form-paper {
        padding: 16px !important;
    }

    .empty-state {
        padding: 40px 16px;
    }

    .description-text {
        max-width: 150px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .form-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Package Avatar Small */
.package-avatar-small {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    font-weight: 600;
    font-size: 0.7rem;
    width: 28px;
    height: 28px;
}

/* Outstanding Balances Page Styles */
.outstanding-container {
    max-width: 1400px;
    margin: 0 auto;
}

.outstanding-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Refresh Button */
.refresh-button {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .refresh-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Summary Cards */
.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .summary-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

/* Customers Card - Purple Theme */
.customers-card {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Outstanding Card - Orange/Warning Theme */
.outstanding-card {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

/* Paid Card - Green Theme */
.paid-card {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.summary-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.customers-icon-bg {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.outstanding-icon-bg {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.paid-icon-bg {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.summary-content {
    flex: 1;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.summary-value {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    line-height: 1.2;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Outstanding Table */
.outstanding-table {
    border-radius: 12px;
    overflow-x: auto;
}

    .outstanding-table .mud-table-row:hover {
        background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Client Avatar Small */
.client-avatar-small {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.7rem;
    width: 28px;
    height: 28px;
}

/* Date Cell */
.date-cell {
    display: flex;
    flex-direction: column;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 960px) {
    .outstanding-title {
        font-size: 1.75rem;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-value {
        font-size: 1.25rem;
    }

    .summary-icon {
        width: 48px;
        height: 48px;
    }

    .d-flex.justify-space-between {
        flex-direction: column;
        gap: 12px;
    }

    .refresh-button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .outstanding-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .summary-card {
        padding: 12px;
    }

    .summary-value {
        font-size: 1.1rem;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }

    .customers-card {
        background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    }

    .outstanding-card {
        background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    }

    .paid-card {
        background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Invoice Page Styles */
.invoice-container {
    max-width: 1000px;
    margin: 0 auto;
}

.invoice-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Buttons */
.back-button,
.print-button {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .back-button:hover,
    .print-button:hover {
        transform: translateY(-2px);
    }

    .print-button:hover {
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Loading Paper */
.loading-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Invoice Paper */
.invoice-paper {
    border-radius: 20px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}

/* Invoice Header */
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.invoice-header-left {
    display: flex;
    align-items: center;
}

.invoice-logo {
    display: flex;
    align-items: center;
}

.purple-gradient-text {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Info Papers */
.info-paper {
    border-radius: 12px;
    background: var(--mud-palette-background);
    border: 1px solid var(--mud-palette-lines-default);
    height: 100%;
}

.purple-text {
    color: #7c3aed !important;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

    .info-row:last-child {
        border-bottom: none;
    }

.info-label {
    color: var(--mud-palette-text-secondary);
    min-width: 120px;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0;
}

.client-avatar-large {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 700;
    font-size: 1.5rem;
    width: 64px;
    height: 64px;
}

/* Event Paper */
.event-paper {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(124, 58, 237, 0.03) 100%);
    border: 1px solid var(--mud-palette-lines-default);
}

.event-detail-item {
    padding: 8px 0;
}

/* Payment Paper */
.payment-paper {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(124, 58, 237, 0.03) 100%);
    border: 1px solid var(--mud-palette-lines-default);
}

.payment-table {
    border-radius: 8px;
}

    .payment-table .mud-table-row:last-child {
        background: rgba(var(--mud-palette-primary-rgb), 0.05);
    }

/* Balance Section */
.balance-section {
    padding: 16px 0;
}

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Invoice Footer */
.invoice-footer {
    padding: 0 8px;
}

/* Text Colors */
.text-success {
    color: #22c55e !important;
}

.text-error {
    color: #ef4444 !important;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden !important;
    }

    #invoiceArea,
    #invoiceArea * {
        visibility: visible !important;
    }

    #invoiceArea {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 20px !important;
        margin: 0 !important;
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        border: none !important;
    }

    .back-button,
    .print-button,
    .alert-message,
    .invoice-footer {
        display: none !important;
    }

    .info-paper,
    .event-paper,
    .payment-paper {
        border: 1px solid #e5e7eb !important;
        background: white !important;
    }

    .purple-text,
    .purple-gradient-text {
        color: #7c3aed !important;
    }

    @page {
        size: A4;
        margin: 10mm;
    }
}

/* Responsive */
@media (max-width: 960px) {
    .invoice-title {
        font-size: 1.75rem;
    }

    .invoice-header {
        flex-direction: column;
    }

    .d-flex.justify-space-between:first-child {
        flex-direction: column;
        gap: 12px;
    }

    .d-flex.gap-2 {
        flex-direction: column;
        width: 100%;
    }

    .back-button,
    .print-button {
        width: 100%;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 600px) {
    .invoice-paper {
        padding: 16px !important;
    }

    .client-avatar-large {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .invoice-logo {
        flex-direction: column;
        text-align: center;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .info-paper,
    .event-paper,
    .payment-paper {
        background: var(--mud-palette-background);
    }

    .event-paper,
    .payment-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(124, 58, 237, 0.1) 100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Bookings Page Styles */
.bookings-container {
    max-width: 1600px;
    margin: 0 auto;
}

.bookings-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Summary Cards */
.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .summary-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

.total-card {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.confirmed-card {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.amount-card {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.outstanding-card {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.summary-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.total-icon-bg {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.confirmed-icon-bg {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.amount-icon-bg {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.outstanding-icon-bg {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.summary-content {
    flex: 1;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.summary-value {
    font-weight: 700;
    font-size: 1.75rem;
    color: white;
    line-height: 1.2;
}

.text-warning {
    color: #fbbf24 !important;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Add Button */
.add-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .add-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Form Paper */
.form-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    position: relative;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.form-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.form-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Bookings Table */
.bookings-table-wrapper {
    border-radius: 12px;
    overflow-x: auto;
}

.bookings-table .mud-table-row:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
}

/* Client Avatar */
.client-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Date Cell */
.date-cell {
    display: flex;
    flex-direction: column;
}

/* Text Colors */
.text-success {
    color: #22c55e !important;
}

.text-warning {
    color: #f59e0b !important;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Utility Classes */
.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 960px) {
    .bookings-title {
        font-size: 1.75rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }

    .d-flex.justify-space-between:first-child {
        flex-direction: column;
        gap: 12px;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-value {
        font-size: 1.25rem;
    }

    .summary-icon {
        width: 48px;
        height: 48px;
    }

    .add-button {
        width: 100%;
        margin-top: 16px;
    }

    .search-paper .mud-grid-item:last-child {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .bookings-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .form-paper {
        padding: 16px !important;
    }

    .empty-state {
        padding: 40px 16px;
    }

    .summary-card {
        padding: 12px;
    }

    .summary-value {
        font-size: 1.1rem;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }

    .form-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }

    .total-card {
        background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    }

    .confirmed-card {
        background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    }

    .amount-card {
        background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    }

    .outstanding-card {
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quotations Page Styles */
.quotations-container {
    max-width: 1600px;
    margin: 0 auto;
}

.quotations-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.header-stats {
    display: flex;
    gap: 12px;
}

/* Summary Cards */
.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .summary-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

.total-card {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.converted-card {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.pending-card {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.amount-card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.summary-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.total-icon-bg,
.converted-icon-bg,
.pending-icon-bg,
.amount-icon-bg {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.summary-content {
    flex: 1;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.summary-value {
    font-weight: 700;
    font-size: 1.75rem;
    color: white;
    line-height: 1.2;
}

/* Search Paper */
.search-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.search-field {
    transition: all 0.2s ease;
}

    .search-field:focus-within {
        transform: translateY(-1px);
    }

/* Add Button */
.add-button {
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .add-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Form Paper */
.form-paper {
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, var(--mud-palette-background) 100%);
    position: relative;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.form-title {
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.form-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
}

/* Table Paper */
.table-paper {
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.table-title {
    font-weight: 600;
}

/* Quotations Table */
.quotations-table-wrapper {
    border-radius: 12px;
    overflow-x: auto;
}

.quotations-table .mud-table-row:hover {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.05);
}

/* Client Avatar */
.client-avatar {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Date Cell */
.date-cell {
    display: flex;
    flex-direction: column;
}

/* Text Colors */
.text-success {
    color: #22c55e !important;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

    .empty-state .mud-icon-root {
        font-size: 64px;
        opacity: 0.5;
    }

/* Utility Classes */
.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 960px) {
    .quotations-title {
        font-size: 1.75rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 8px;
    }

    .d-flex.justify-space-between:first-child {
        flex-direction: column;
        gap: 12px;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-value {
        font-size: 1.25rem;
    }

    .summary-icon {
        width: 48px;
        height: 48px;
    }

    .add-button {
        width: 100%;
        margin-top: 16px;
    }
}

@media (max-width: 600px) {
    .quotations-table .mud-table-container {
        overflow-x: auto;
    }

    .table-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .form-paper {
        padding: 16px !important;
    }

    .empty-state {
        padding: 40px 16px;
    }

    .summary-card {
        padding: 12px;
    }

    .summary-value {
        font-size: 1.1rem;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .search-paper {
        background: var(--mud-palette-surface);
    }

    .form-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(0,0,0,0.3) 100%);
    }

    .total-card {
        background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    }

    .converted-card {
        background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    }

    .pending-card {
        background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    }

    .amount-card {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quotation Print Page Styles */
.quotation-print-container {
    max-width: 1000px;
    margin: 0 auto;
}

.quotation-print-title {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Buttons */
.back-button,
.print-button {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .back-button:hover,
    .print-button:hover {
        transform: translateY(-2px);
    }

    .print-button:hover {
        box-shadow: 0 4px 12px rgba(var(--mud-palette-primary-rgb), 0.3);
    }

/* Loading Paper */
.loading-paper {
    border-radius: 16px;
    background: var(--mud-palette-surface);
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Alert Message */
.alert-message {
    border-radius: 12px;
    animation: slideInDown 0.3s ease;
}

/* Quotation Paper */
.quotation-paper {
    border-radius: 20px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}

/* Quotation Header */
.quotation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.quotation-header-left {
    display: flex;
    align-items: center;
}

.quotation-logo {
    display: flex;
    align-items: center;
}

.purple-gradient-text {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Info Papers */
.info-paper {
    border-radius: 12px;
    background: var(--mud-palette-background);
    border: 1px solid var(--mud-palette-lines-default);
    height: 100%;
}

.purple-text {
    color: #7c3aed !important;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

    .info-row:last-child {
        border-bottom: none;
    }

.info-label {
    color: var(--mud-palette-text-secondary);
    min-width: 120px;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0;
}

.client-avatar-large {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    font-weight: 700;
    font-size: 1.5rem;
    width: 64px;
    height: 64px;
}

/* Event Paper */
.event-paper {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(124, 58, 237, 0.03) 100%);
    border: 1px solid var(--mud-palette-lines-default);
}

.event-detail-item {
    padding: 8px 0;
}

/* Amount Paper */
.amount-paper {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid var(--mud-palette-lines-default);
}

.amount-display {
    text-align: center;
    padding: 16px 0;
}

/* Notes Paper */
.notes-paper {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(124, 58, 237, 0.03) 100%);
    border: 1px solid var(--mud-palette-lines-default);
}

/* Quotation Footer */
.quotation-footer {
    padding: 0 8px;
}

/* Text Colors */
.text-success {
    color: #22c55e !important;
}

/* Utility Classes */
.gap-2 {
    gap: 8px;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-bold {
    font-weight: 700;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden !important;
    }

    #quotationArea,
    #quotationArea * {
        visibility: visible !important;
    }

    #quotationArea {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 20px !important;
        margin: 0 !important;
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        border: none !important;
    }

    .no-print {
        display: none !important;
    }

    .info-paper,
    .event-paper,
    .amount-paper,
    .notes-paper {
        border: 1px solid #e5e7eb !important;
        background: white !important;
    }

    .purple-text,
    .purple-gradient-text {
        color: #7c3aed !important;
    }

    .text-success {
        color: #22c55e !important;
    }

    @page {
        size: A4;
        margin: 10mm;
    }
}

/* Responsive */
@media (max-width: 960px) {
    .quotation-print-title {
        font-size: 1.75rem;
    }

    .quotation-header {
        flex-direction: column;
    }

    .d-flex.justify-space-between:first-child {
        flex-direction: column;
        gap: 12px;
    }

    .d-flex.gap-2 {
        flex-direction: column;
        width: 100%;
    }

    .back-button,
    .print-button {
        width: 100%;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 600px) {
    .quotation-paper {
        padding: 16px !important;
    }

    .client-avatar-large {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .quotation-logo {
        flex-direction: column;
        text-align: center;
    }

    .amount-display .mud-typography-h3 {
        font-size: 1.5rem;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .info-paper,
    .event-paper,
    .amount-paper,
    .notes-paper {
        background: var(--mud-palette-background);
    }

    .event-paper,
    .amount-paper,
    .notes-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(124, 58, 237, 0.1) 100%);
    }

    .amount-paper {
        background: linear-gradient(135deg, var(--mud-palette-surface) 0%, rgba(34, 197, 94, 0.1) 100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* NavMenu Styles */
.nav-menu {
    padding: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Nav Header */
.nav-header {
    padding: 24px 16px 16px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    margin-bottom: 8px;
}

.nav-brand {
    gap: 12px;
}

.nav-logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
}

.nav-brand-text {
    color: white !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    font-size: 1.2rem !important;
}

/* Nav Section Titles */
.nav-section-title {
    padding: 12px 20px 6px;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7c3aed !important;
    opacity: 0.8;
}

/* Nav Links */
.nav-link-item {
    margin: 2px 12px;
    border-radius: 12px !important;
    transition: all 0.2s ease;
}

    .nav-link-item:hover {
        background-color: rgba(124, 58, 237, 0.08);
        transform: translateX(4px);
    }

    .nav-link-item .mud-nav-link {
        border-radius: 12px;
        padding: 10px 16px;
        color: var(--mud-palette-text-primary);
        font-weight: 500;
        font-size: 0.875rem;
    }

    .nav-link-item.active {
        background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
        box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    }

        .nav-link-item.active .mud-nav-link {
            color: white !important;
        }

        .nav-link-item.active .mud-icon-root {
            color: white !important;
        }

    .nav-link-item .mud-icon-root {
        color: var(--mud-palette-text-secondary);
        transition: color 0.2s ease;
    }

    .nav-link-item:hover .mud-icon-root {
        color: #7c3aed;
    }

/* User Profile Section */
.user-profile-section {
    padding: 16px 12px;
    margin-top: auto;
}

.user-avatar {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role-chip {
    font-size: 0.65rem !important;
    height: 20px !important;
    font-weight: 600;
}

/* Logout Link */
.logout-link {
    margin: 4px 12px 8px;
    border-radius: 12px !important;
    transition: all 0.2s ease;
    color: var(--mud-palette-error) !important;
}

    .logout-link:hover {
        background-color: rgba(239, 68, 68, 0.08);
        transform: translateX(4px);
    }

        .logout-link:hover .mud-icon-root {
            color: var(--mud-palette-error) !important;
        }

    .logout-link .mud-icon-root {
        color: var(--mud-palette-error) !important;
    }

/* Utility Classes */
.gap-3 {
    gap: 12px;
}

.px-2 {
    padding-left: 8px;
    padding-right: 8px;
}

/* Scrollbar for NavMenu */
.nav-menu::-webkit-scrollbar {
    width: 4px;
}

.nav-menu::-webkit-scrollbar-track {
    background: transparent;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.3);
    border-radius: 2px;
}

    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(124, 58, 237, 0.5);
    }

/* Responsive */
@media (max-width: 600px) {
    .nav-header {
        padding: 16px 12px 12px;
    }

    .nav-logo-icon {
        width: 36px;
        height: 36px;
    }

    .nav-brand-text {
        font-size: 1rem !important;
    }

    .nav-link-item {
        margin: 2px 8px;
    }

        .nav-link-item .mud-nav-link {
            padding: 8px 12px;
            font-size: 0.8rem;
        }

    .nav-section-title {
        padding: 10px 16px 4px;
        font-size: 0.65rem !important;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .nav-link-item.active {
        background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    }
}


/* =========================================================
   Shared report presentation and print branding
   ========================================================= */
.report-page {
    width: 100%;
    max-width: 100%;
    padding: 24px !important;
    overflow-x: hidden;
}

.report-brand-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-bottom: 22px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid rgba(124, 58, 237, 0.14);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.report-brand-logo {
    width: 76px;
    height: 58px;
    object-fit: contain;
    flex: 0 0 auto;
}

.report-brand-copy {
    min-width: 0;
}

.report-brand-name {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--mud-palette-text-primary);
}

.report-brand-subtitle {
    margin-top: 3px;
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
}

.report-page .mud-grid {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.report-page .mud-table-container,
.report-page .mud-table-root {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.report-page .mud-table {
    min-width: 760px;
}

.report-page .mud-paper {
    max-width: 100%;
}

.report-page .mud-stack-row {
    flex-wrap: wrap;
}

.print-report-logo {
    display: block;
    width: 108px;
    height: 82px;
    margin: 0 auto 8px;
    object-fit: contain;
}

@media (max-width: 960px) {
    .report-page {
        padding: 16px !important;
    }

    .report-page > .mud-stack:first-of-type,
    .report-page .header-stats,
    .report-page .table-header {
        align-items: flex-start !important;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .report-page {
        padding: 10px !important;
    }

    .report-brand-strip {
        padding: 10px 12px;
        margin-bottom: 14px;
        border-radius: 10px;
    }

    .report-brand-logo {
        width: 58px;
        height: 46px;
    }

    .report-brand-name {
        font-size: 0.95rem;
    }

    .report-brand-subtitle {
        font-size: 0.7rem;
    }

    .report-page .mud-typography-h4 {
        font-size: 1.45rem;
        line-height: 1.25;
    }

    .report-page .mud-button-root {
        width: 100%;
    }

    .report-page .mud-stack-row {
        width: 100%;
    }
}

@media print {
    .report-page {
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    .report-brand-strip {
        display: flex !important;
        box-shadow: none !important;
        border: 0 !important;
        border-bottom: 1px solid #d1d5db !important;
        border-radius: 0 !important;
        margin: 0 0 12px !important;
        padding: 0 0 10px !important;
        break-inside: avoid;
    }

    .report-brand-logo {
        width: 82px !important;
        height: 62px !important;
    }

    .report-brand-name,
    .report-brand-subtitle {
        color: #000 !important;
    }

    .report-page .mud-table-container,
    .report-page .mud-table-root {
        overflow: visible !important;
    }

    .report-page .mud-table {
        min-width: 0 !important;
        width: 100% !important;
        font-size: 9pt !important;
    }

    .report-page .mud-table-cell {
        padding: 5px 6px !important;
        white-space: normal !important;
    }

    .report-page .mud-paper {
        box-shadow: none !important;
        border: 1px solid #d1d5db !important;
        break-inside: avoid;
    }

    .report-page button,
    .report-page .generate-btn,
    .report-page .print-btn,
    .report-page .refresh-button,
    .report-page .controls-paper,
    .report-page .alert-message {
        display: none !important;
    }
}

/* =========================================================
   SmartPOS document, receipt and core sales report corrections
   ========================================================= */
.receipt-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 8px;
}

.receipt-logo {
    display: block;
    width: 78px;
    height: 58px;
    object-fit: contain;
}

.document-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.document-brand-logo {
    display: block;
    width: 92px;
    height: 70px;
    object-fit: contain;
    flex: 0 0 auto;
}

.document-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.quotation-paper,
.invoice-paper {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 32px !important;
}

.quotation-header,
.invoice-header {
    align-items: center;
    padding-bottom: 4px;
}

.quotation-paper .mud-svg-icon,
.invoice-paper .mud-svg-icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

.report-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.report-content .summary-card {
    min-height: 118px;
    height: 100%;
    padding: 20px !important;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
}

.report-content .summary-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
}

.report-content .summary-icon svg,
.report-content .summary-icon .mud-svg-icon,
.report-content .payment-badge svg,
.report-content .payment-badge .mud-svg-icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    font-size: 20px !important;
}

.report-content .summary-content {
    min-width: 0;
    flex: 1 1 auto;
}

.report-content .summary-value,
.report-content .mud-typography-h3 {
    font-size: clamp(1.45rem, 2.1vw, 2rem) !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere;
}

.report-content .table-paper {
    width: 100%;
    padding: 20px !important;
    overflow: hidden;
}

.report-content .sales-table {
    width: 100%;
}

.report-content .sales-table .mud-table-cell {
    vertical-align: middle;
    padding: 10px 12px;
}

@media (max-width: 700px) {
    .document-brand-logo {
        width: 72px;
        height: 56px;
    }

    .document-brand .mud-typography-h4 {
        font-size: 1.45rem !important;
    }

    .quotation-paper,
    .invoice-paper {
        padding: 18px !important;
    }

    .report-content .summary-card {
        min-height: 96px;
        padding: 14px !important;
    }
}

@media print {
    .receipt-logo {
        width: 68px !important;
        height: 50px !important;
    }

    .document-brand-logo {
        width: 80px !important;
        height: 60px !important;
    }

    .quotation-paper,
    .invoice-paper {
        max-width: none !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .quotation-header,
    .invoice-header {
        border-bottom: 1px solid #d1d5db;
        padding-bottom: 12px;
        margin-bottom: 14px;
    }

    .report-content .summary-card {
        min-height: 82px !important;
        padding: 10px 12px !important;
    }

    .report-content .summary-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        flex-basis: 36px !important;
    }

    .report-content .summary-icon svg,
    .report-content .summary-icon .mud-svg-icon,
    .report-content svg,
    .report-content .mud-svg-icon {
        width: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
    }

    .report-content .summary-value,
    .report-content .mud-typography-h3 {
        font-size: 16pt !important;
    }

    .report-content .table-paper {
        padding: 10px !important;
        border: 1px solid #d1d5db !important;
    }
}
