/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/AuthDialog.razor.rz.scp.css */
.package-card[b-ifai9rok82] {
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

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

.package-card.selected[b-ifai9rok82] {
    border-color: var(--mud-palette-primary);
    background-color: var(--mud-palette-primary-hover);
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/CookieConsentDialog.razor.rz.scp.css */
/* Professional Cookie Consent Dialog Styles */
.cookie-consent-overlay[b-k65v9hcnrb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent-overlay.show[b-k65v9hcnrb] {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-dialog[b-k65v9hcnrb] {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-consent-dialog.show[b-k65v9hcnrb] {
    transform: translateY(0);
}

.cookie-consent-content[b-k65v9hcnrb] {
    padding: 20px;
}

/* Compact Header Styles */
.cookie-consent-header-compact[b-k65v9hcnrb] {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-icon-compact[b-k65v9hcnrb] {
    background: white;
    border-radius: 10px;
    padding: 8px;
    color: white;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

/* Compact Body Styles */
.cookie-consent-body-compact[b-k65v9hcnrb] {
    margin-bottom: 16px;
}

.cookie-options-compact[b-k65v9hcnrb] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-option-row[b-k65v9hcnrb] {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cookie-option-row:last-child[b-k65v9hcnrb] {
    border-bottom: none;
}

/* Compact Actions Styles */
.cookie-consent-actions-compact[b-k65v9hcnrb] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.cookie-btn-secondary[b-k65v9hcnrb] {
    min-width: 80px;
    height: 32px;
    border-radius: 6px;
    font-weight: 500;
    text-transform: none;
    transition: all 0.2s ease;
}

.cookie-btn-outlined[b-k65v9hcnrb] {
    min-width: 100px;
    height: 32px;
    border-radius: 6px;
    font-weight: 500;
    text-transform: none;
    transition: all 0.2s ease;
}

.cookie-btn-primary[b-k65v9hcnrb] {
    min-width: 100px;
    height: 32px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.cookie-btn-primary:hover[b-k65v9hcnrb] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
}

.cookie-btn-secondary:hover[b-k65v9hcnrb] {
    background-color: rgba(25, 118, 210, 0.08);
}

.cookie-btn-outlined:hover[b-k65v9hcnrb] {
    background-color: rgba(25, 118, 210, 0.08);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-dialog[b-k65v9hcnrb] {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
        border-radius: 12px;
    }
    
    .cookie-consent-content[b-k65v9hcnrb] {
        padding: 16px;
    }
    
    .cookie-consent-header-compact[b-k65v9hcnrb] {
        margin-bottom: 12px;
    }
    
    .cookie-consent-actions-compact[b-k65v9hcnrb] {
        flex-direction: column;
        gap: 6px;
    }
    
    .cookie-btn-secondary[b-k65v9hcnrb],
    .cookie-btn-outlined[b-k65v9hcnrb],
    .cookie-btn-primary[b-k65v9hcnrb] {
        width: 100%;
        min-width: unset;
        height: 36px;
    }
    
    .cookie-option-row[b-k65v9hcnrb] {
        padding: 12px 0;
    }
}

/* Enhanced Animation */
@keyframes slideUpBounce-b-k65v9hcnrb {
    0% {
        transform: translateY(120%) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateY(-10%) scale(1.02);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.cookie-consent-dialog.show[b-k65v9hcnrb] {
    animation: slideUpBounce-b-k65v9hcnrb 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .cookie-consent-dialog[b-k65v9hcnrb] {
        background: #1e1e1e;
        color: white;
        border-color: #404040;
    }
    
    .cookie-consent-header-compact[b-k65v9hcnrb] {
        border-bottom-color: #404040;
    }
    
    .cookie-option-row[b-k65v9hcnrb] {
        border-bottom-color: #404040;
    }


    .cookie-icon-compact[b-k65v9hcnrb] {
        background: white;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/CountdownBanner.razor.rz.scp.css */
/* ===== Countdown Banner ===== */

/* Banner flows naturally in document after navigation */
.si-banner[b-rtnezesbzg] {
    position: relative;
    width: 100%;
    pointer-events: auto;
    overflow: visible;
}

/* Tab-specific width overrides */
.si-banner-create-tab[b-rtnezesbzg] {
    width: 50%;
}

.si-banner-other-tabs[b-rtnezesbzg] {
    width: 100%;
}

/* Mobile override - always 100% width on mobile */
@media (max-width: 768px) {
    .si-banner-create-tab[b-rtnezesbzg],
    .si-banner-other-tabs[b-rtnezesbzg] {
        width: 100% !important;
    }
}

/* MudBlazor theme colors background */
.si-banner-bg[b-rtnezesbzg] {
    background-color: var(--mud-palette-secondary);
    color: var(--mud-palette-background);
}

/* Inner layout */
.si-banner-inner[b-rtnezesbzg] {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .si-banner-inner[b-rtnezesbzg] {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }
}

/* Left block (icon + text) */
.si-left[b-rtnezesbzg] {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    flex: 1;
}

.si-badge[b-rtnezesbzg] {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--mud-palette-background);
    color: var(--mud-palette-primary);
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

@media (min-width: 640px) {
    .si-badge[b-rtnezesbzg] {
        width: 3rem;
        height: 3rem;
    }
}

.si-icon[b-rtnezesbzg] {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--mud-palette-primary);
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}

@media (min-width: 640px) {
    .si-icon[b-rtnezesbzg] {
        width: 1.75rem;
        height: 1.75rem;
    }
}

.si-text .si-title[b-rtnezesbzg] {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: var(--mud-palette-background);
}

@media (min-width: 640px) {
    .si-text .si-title[b-rtnezesbzg] {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }
}

@media (min-width: 768px) {
    .si-text .si-title[b-rtnezesbzg] {
        font-size: 1.25rem;
    }
}

.si-text .si-message[b-rtnezesbzg] {
    font-size: 0.75rem;
    color: var(--mud-palette-background);
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 640px) {
    .si-text .si-message[b-rtnezesbzg] {
        font-size: 0.8125rem;
    }
}

/* Numeric countdown line */
.si-count[b-rtnezesbzg] {
    margin-top: .25rem;
    font-weight: 600;
    letter-spacing: .04em;
    font-size: 0.875rem;
    color: var(--mud-palette-background);
}

@media (min-width: 640px) {
    .si-count[b-rtnezesbzg] {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .si-count[b-rtnezesbzg] {
        font-size: 1.25rem;
    }
}

/* Close button: primary background with primary text */
.si-close-btn[b-rtnezesbzg] {
    font-weight: 700;
    padding: .25rem .5rem;
    border-radius: .375rem;
    line-height: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.25);
    text-transform: none;
    border: none;
    min-width: auto;
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .si-close-btn[b-rtnezesbzg] {
        padding: .35rem .85rem;
        gap: .35rem;
        font-size: 0.875rem;
    }
}

    .si-close-btn:hover[b-rtnezesbzg] {
        background: var(--mud-palette-secondary-darken) !important;
        color: var(--mud-palette-background) !important;
    }

.si-close-icon[b-rtnezesbzg] {
    font-size: 14px;
}

@media (min-width: 640px) {
    .si-close-icon[b-rtnezesbzg] {
        font-size: 18px;
    }
}

/* Right block (Close button + optional CTA) */
.si-right[b-rtnezesbzg] {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

/* CTA button: primary background with secondary text */
.si-cta[b-rtnezesbzg] {
    background: var(--mud-palette-primary) !important;
    color: var(--mud-palette-secondary) !important;
    font-weight: 700;
    padding: .5rem 1rem;
    border-radius: .5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: transform .12s ease, background .12s ease;
    border: none;
}

    .si-cta:hover[b-rtnezesbzg] {
        background: var(--mud-palette-primary-darken) !important;
        transform: scale(1.05);
    }

/* ===== Animations ===== */

@keyframes si-wiggle-b-rtnezesbzg {
    0%,100% {
        transform: rotate(-2deg)
    }

    50% {
        transform: rotate(2deg)
    }
}

.si-animate-wiggle[b-rtnezesbzg] {
    animation: si-wiggle-b-rtnezesbzg 1.2s ease-in-out infinite;
    transform-origin: 50% 70%;
}

@keyframes si-slide-down-b-rtnezesbzg {
    0% {
        transform: translateY(-12px);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

.si-animate-slide-down[b-rtnezesbzg] {
    animation: si-slide-down-b-rtnezesbzg .35s ease-out both;
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/CreateInvoice.razor.rz.scp.css */
/* CreateInvoice Component Styles */

/* ── Terms & Conditions formatting toolbar ─────────────────────────────── */
#terms-editor-wrap[b-ycxf5nq195] {
    display: flex;
    flex-direction: column;
}

.terms-toolbar[b-ycxf5nq195] {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px 4px;
    border: 1px solid rgba(0,0,0,0.12);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: var(--mud-palette-background-grey, #f5f5f5);
}

.terms-toolbar-btn[b-ycxf5nq195] {
    min-width: 32px !important;
    height: 32px !important;
    padding: 4px !important;
}

.terms-toolbar-separator[b-ycxf5nq195] {
    width: 1px;
    height: 20px;
    background: rgba(0,0,0,0.18);
    margin: 0 4px;
    flex-shrink: 0;
}

.terms-help-panel[b-ycxf5nq195] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 6px 10px;
    font-size: 0.78rem;
    border: 1px solid rgba(0,0,0,0.12);
    border-bottom: none;
    background: var(--mud-palette-background-grey, #f5f5f5);
    color: var(--mud-palette-text-secondary);
}

.terms-help-panel code[b-ycxf5nq195] {
    background: rgba(0,0,0,0.07);
    border-radius: 3px;
    padding: 0 3px;
    font-size: 0.77rem;
}

/* Connect the toolbar border to the MudTextField below */
#terms-editor-wrap .mud-input-outlined .mud-input-outlined-border[b-ycxf5nq195] {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.items-table-container[b-ycxf5nq195] {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    /* Prevent height fluctuations */
    min-height: 200px;
    transition: none !important;
}

/* Force table to take full width */
.items-table[b-ycxf5nq195] {
    width: 100% !important;
    min-width: 100% !important;
    table-layout: fixed !important;
    /* Prevent table height changes */
    height: auto !important;
    min-height: 0 !important;
    transition: none !important;
}

/* Override MudBlazor's default table styling */
.items-table .mud-table-root[b-ycxf5nq195] {
    width: 100% !important;
    min-width: 100% !important;
    transition: none !important;
}

.items-table .mud-table-container[b-ycxf5nq195] {
    width: 100% !important;
    min-width: 100% !important;
    overflow: visible !important;
    transition: none !important;
}

.items-table .mud-table-head[b-ycxf5nq195] {
    width: 100% !important;
    min-width: 100% !important;
    transition: none !important;
}

.items-table .mud-table-body[b-ycxf5nq195] {
    width: 100% !important;
    min-width: 100% !important;
    transition: none !important;
}

.items-table .mud-table-row[b-ycxf5nq195] {
    width: 100% !important;
    min-width: 100% !important;
    transition: none !important;
}

/* Force table cells to maintain proper widths */
.items-table .mud-table-cell[b-ycxf5nq195] {
    min-width: 120px !important;
    max-width: none !important;
    width: auto !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    padding: 8px 12px !important;
    /* Prevent cell height changes */
    height: auto !important;
    min-height: 48px !important;
    transition: none !important;
    vertical-align: top !important;
}

/* Specific column widths */
.items-table .mud-table-cell:nth-child(1)[b-ycxf5nq195] {
    min-width: 100px !important;
    width: 100px !important;
}

.items-table .mud-table-cell:nth-child(2)[b-ycxf5nq195] {
    min-width: 250px !important;
    width: 250px !important;
}

.items-table .mud-table-cell:nth-child(3)[b-ycxf5nq195] {
    min-width: 160px !important;
    width: 160px !important;
}

.items-table .mud-table-cell:nth-child(4)[b-ycxf5nq195] {
    min-width: 180px !important;
    width: 180px !important;
}

.items-table .mud-table-cell:nth-child(5)[b-ycxf5nq195] {
    min-width: 100px !important;
    width: 100px !important;
}

.items-table .mud-table-cell:nth-child(6)[b-ycxf5nq195] {
    min-width: 80px !important;
    width: 80px !important;
}

/* Description column specific styling */
.items-table .description-column[b-ycxf5nq195] {
    min-width: 250px !important;
    width: 250px !important;
    max-width: none !important;
}

/* Table header cells */
.items-table .mud-table-head .mud-table-cell[b-ycxf5nq195] {
    min-width: 120px !important;
    max-width: none !important;
    width: auto !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    padding: 12px !important;
    font-weight: 600 !important;
    /* Prevent header height changes */
    height: auto !important;
    min-height: 56px !important;
    transition: none !important;
}

/* Prevent MudBlazor animations and transitions */
.items-table *[b-ycxf5nq195],
.items-table-container *[b-ycxf5nq195] {
    transition: none !important;
    animation: none !important;
}

/* Ensure stable row heights */
.items-table .mud-table-row[b-ycxf5nq195] {
    height: auto !important;
    min-height: 48px !important;
    transition: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .items-table-container[b-ycxf5nq195] {
        max-height: none;
        overflow: visible;
        border: none;
        border-radius: 0;
        min-height: auto;
        transition: none !important;
    }
    
    .items-table[b-ycxf5nq195] {
        width: 100% !important;
        min-width: 100% !important;
        table-layout: auto !important;
        transition: none !important;
    }
    
    .items-table .mud-table-container[b-ycxf5nq195] {
        overflow: visible !important;
        transition: none !important;
    }
    
    /* Completely hide table headers on mobile */
    .items-table .mud-table-head[b-ycxf5nq195],
    .items-table .mud-table-head *[b-ycxf5nq195],
    .items-table thead[b-ycxf5nq195],
    .items-table thead *[b-ycxf5nq195],
    .items-table .mud-table-head .mud-table-cell[b-ycxf5nq195],
    .items-table .mud-table-head .mud-table-cell *[b-ycxf5nq195] {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
    }
    
    .items-table .mud-table-cell[b-ycxf5nq195] {
        min-width: auto !important;
        width: auto !important;
        max-width: none !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        padding: 8px !important;
        display: block !important;
        border-bottom: 1px solid #e2e8f0 !important;
        height: auto !important;
        min-height: auto !important;
        transition: none !important;
    }
    
    .items-table .mud-table-cell:last-child[b-ycxf5nq195] {
        border-bottom: none !important;
    }
    
    .items-table .description-column[b-ycxf5nq195] {
        min-width: auto !important;
        width: auto !important;
        max-width: none !important;
    }
    
    /* Make table rows stack vertically on mobile */
    .items-table .mud-table-row[b-ycxf5nq195] {
        display: block !important;
        margin-bottom: 16px !important;
        padding: 16px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        background: #f8fafc !important;
        height: auto !important;
        min-height: auto !important;
        transition: none !important;
    }
    
    /* Remove data-label display on mobile since we don't need it */
    .items-table .mud-table-cell[b-ycxf5nq195]::before {
        display: none !important;
        content: none !important;
    }
}

/* Advanced toggle card at the top of the form */
.advanced-toggle[b-ycxf5nq195] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--mud-palette-lines-default, rgba(0, 0, 0, 0.12));
    background: var(--mud-palette-background-gray, rgba(0, 0, 0, 0.03));
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.advanced-toggle.is-on[b-ycxf5nq195] {
    border-color: var(--mud-palette-primary);
    background: rgba(var(--mud-palette-primary-rgb, 89, 74, 226), 0.06);
}

.advanced-toggle__text[b-ycxf5nq195] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.advanced-toggle__title[b-ycxf5nq195] {
    font-weight: 700;
    font-size: 0.98rem;
}

.advanced-toggle__desc[b-ycxf5nq195] {
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--mud-palette-text-secondary);
}

.pro-badge[b-ycxf5nq195] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 6px;
    padding: 1px 7px 1px 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: none;
}

.pro-badge[b-ycxf5nq195]  svg {
    width: 12px;
    height: 12px;
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/Header.razor.rz.scp.css */
/* Header Component Styling */

/* Header Container */
.header-container[b-j9igq613vi] {
    background: var(--mud-palette-surface);
    border-bottom: 1px solid var(--mud-palette-divider);
}

/* Header Paper */
.header-paper[b-j9igq613vi] {
    background: white !important;
}

[data-theme="dark"] .header-paper[b-j9igq613vi] {
    background: var(--mud-palette-surface) !important;
}

/* Mobile Page Header Settings Icon Styling */
@media (max-width: 768px) {
    /* Ensure mobile page header settings icon is properly positioned */
    .header-paper .mud-paper .d-flex.justify-space-between[b-j9igq613vi] {
        align-items: center !important;
    }
    
    /* Mobile settings icon styling in header */
    .header-paper .mud-paper .mud-icon-button[b-j9igq613vi] {
        flex-shrink: 0 !important;
        margin-left: 0.5rem !important;
    }
    
    /* Ensure proper spacing for mobile page header */
    .header-paper .mud-paper .mud-typography-h6[b-j9igq613vi] {
        margin: 0 !important;
        flex: 1 !important;
    }
}

/* Extra small mobile page header adjustments */
@media (max-width: 480px) {
    .header-paper .mud-paper .mud-icon-button[b-j9igq613vi] {
        margin-left: 0.375rem !important;
    }
}

/* Settings Panel Styling */
.settings-overlay[b-j9igq613vi] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.settings-overlay.active[b-j9igq613vi] {
    opacity: 1;
    visibility: visible;
}

.settings-panel[b-j9igq613vi] {
    position: fixed;
    top: 0;
    right: -576px;
    width: 576px;
    height: 100%;
    background: var(--mud-palette-surface);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.settings-panel.active[b-j9igq613vi] {
    right: 0;
}

.settings-header[b-j9igq613vi] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    /* stays in view while the panel scrolls, so Close is always one tap away */
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Settings close button styling for better visibility */
.settings-header .settings-close-button[b-j9igq613vi] {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-radius: 50%;
    transition: all 0.2s ease;
    color: white !important;
}

.settings-header .settings-close-button .mud-icon-root[b-j9igq613vi] {
    color: white !important;
}

.settings-header .settings-close-button:hover[b-j9igq613vi] {
    background-color: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.1);
}

.settings-header .settings-close-button:active[b-j9igq613vi] {
    transform: scale(0.95);
}

.settings-content[b-j9igq613vi] {
    padding: 1rem;
}

.settings-section[b-j9igq613vi] {
    margin-bottom: 2rem;
}

.settings-section:last-child[b-j9igq613vi] {
    margin-bottom: 0;
}

.theme-button-active[b-j9igq613vi] {
    background: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .settings-panel[b-j9igq613vi] {
        width: 100%;
        right: -100%;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/InvoiceSectionToggles.razor.rz.scp.css */
.section-toggles__title[b-zdkfukmgeh] {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.98rem;
}

.section-toggles__chips[b-zdkfukmgeh] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.section-chip[b-zdkfukmgeh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 10px 6px 10px;
    border-radius: 999px;
    border: 1.5px solid var(--mud-palette-lines-default, rgba(0, 0, 0, 0.15));
    background: var(--mud-palette-surface, #fff);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.section-chip:active[b-zdkfukmgeh] {
    transform: scale(0.96);
}

.section-chip__icon[b-zdkfukmgeh] {
    display: inline-flex;
    color: var(--mud-palette-primary);
}

.section-chip__icon[b-zdkfukmgeh]  svg {
    width: 18px;
    height: 18px;
}

.section-chip__state[b-zdkfukmgeh]  svg {
    width: 14px;
    height: 14px;
}

.section-chip__state[b-zdkfukmgeh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--mud-palette-text-secondary, #888);
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
    font-weight: 800;
}

.section-chip.is-on[b-zdkfukmgeh] {
    border-color: var(--mud-palette-primary);
    background: rgba(var(--mud-palette-primary-rgb, 89, 74, 226), 0.1);
}

.section-chip.is-on .section-chip__state[b-zdkfukmgeh] {
    background: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text, #fff);
    animation: section-chip-pop-b-zdkfukmgeh 0.3s ease-out;
}

.section-toggles__help[b-zdkfukmgeh] {
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
}

@keyframes section-chip-pop-b-zdkfukmgeh {
    0% { transform: scale(0.6); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .section-chip.is-on .section-chip__state[b-zdkfukmgeh] {
        animation: none;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/LogoLibraryDialog.razor.rz.scp.css */
.logo-library-grid[b-sc0ekxeiev] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 600px) {
    .logo-library-grid[b-sc0ekxeiev] {
        grid-template-columns: repeat(2, 1fr);
    }
}

.logo-library-item[b-sc0ekxeiev] {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
    user-select: none;
}

.logo-library-item:hover:not(.locked)[b-sc0ekxeiev] {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.logo-library-item.selected[b-sc0ekxeiev] {
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-primary-lighten);
    box-shadow: 0 0 0 3px rgba(var(--mud-palette-primary-rgb), 0.2);
}

.logo-library-item.locked[b-sc0ekxeiev] {
    cursor: default;
    opacity: 0.85;
}

.logo-library-img-wrap[b-sc0ekxeiev] {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
}

.logo-library-img-wrap.transparent-bg[b-sc0ekxeiev] {
    background-color: #fff;
    background-image:
        linear-gradient(45deg, #d0d0d0 25%, transparent 25%),
        linear-gradient(-45deg, #d0d0d0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #d0d0d0 75%),
        linear-gradient(-45deg, transparent 75%, #d0d0d0 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
}

.logo-transparent-badge[b-sc0ekxeiev] {
    position: absolute;
    bottom: 4px;
    left: 4px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 3px;
    pointer-events: none;
    z-index: 1;
}

.logo-library-img[b-sc0ekxeiev] {
    max-width: 100%;
    max-height: 76px;
    object-fit: contain;
    transition: filter 0.2s;
}

.logo-blurred[b-sc0ekxeiev] {
    filter: blur(3px) grayscale(60%);
}

.logo-lock-overlay[b-sc0ekxeiev],
.logo-selected-overlay[b-sc0ekxeiev] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.logo-lock-overlay[b-sc0ekxeiev] {
    background: rgba(0, 0, 0, 0.45);
}

.logo-selected-overlay[b-sc0ekxeiev] {
    background: rgba(255, 255, 255, 0.55);
}

.logo-library-name[b-sc0ekxeiev] {
    margin-top: 6px;
    text-align: center;
    max-width: 100%;
    font-size: 0.75rem;
    color: #555;
}

.logo-page-indicator[b-sc0ekxeiev] {
    min-width: 56px;
    text-align: center;
    font-weight: 500;
    color: #555;
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/MyCustomers.razor.rz.scp.css */
/* MyCustomers Component Styles */

/* Search controls container - responsive layout */
.search-controls-container[b-9pxne2735u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Search controls left side */
.search-controls-left[b-9pxne2735u] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Search controls right side */
.search-controls-right[b-9pxne2735u] {
    flex-shrink: 0;
}

/* Button hover effects - matching the main application style */
.search-controls-left .mud-button.mud-button-filled-primary:hover[b-9pxne2735u] {
    background: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.search-controls-left .mud-button.mud-button-outlined:hover[b-9pxne2735u] {
    background: #e2e8f0 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.search-controls-left .mud-button.mud-button-text:hover[b-9pxne2735u] {
    background: #f8f9fa !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.search-controls-right .mud-button.mud-button-filled-primary:hover[b-9pxne2735u] {
    background: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .search-controls-container[b-9pxne2735u] {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .search-controls-left[b-9pxne2735u] {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .search-controls-right[b-9pxne2735u] {
        width: 100%;
    }
    
    /* Make search input smaller on mobile */
    .search-controls-left .mud-input-control[b-9pxne2735u] {
        max-width: 250px;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    .search-controls-left[b-9pxne2735u] {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .search-controls-left .mud-input-control[b-9pxne2735u] {
        max-width: 200px;
    }
    
    .search-controls-left .mud-button[b-9pxne2735u] {
        width: 100%;
        max-width: 200px;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/MyDocuments.razor.rz.scp.css */
/* MyInvoices Component Styles */

/* Search controls container - responsive layout */
.search-controls-container[b-dhy8hfn23y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Search controls left side */
.search-controls-left[b-dhy8hfn23y] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Search controls right side */
.search-controls-right[b-dhy8hfn23y] {
    flex-shrink: 0;
}

/* Button hover effects - matching the main application style */
.search-controls-left .mud-button.mud-button-filled-primary:hover[b-dhy8hfn23y] {
    background: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.search-controls-left .mud-button.mud-button-outlined:hover[b-dhy8hfn23y] {
    background: #e2e8f0 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.search-controls-left .mud-button.mud-button-text:hover[b-dhy8hfn23y] {
    background: #f8f9fa !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.search-controls-right .mud-button.mud-button-filled-primary:hover[b-dhy8hfn23y] {
    background: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .search-controls-container[b-dhy8hfn23y] {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .search-controls-left[b-dhy8hfn23y] {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .search-controls-right[b-dhy8hfn23y] {
        width: 100%;
    }
    
    /* Make search input smaller on mobile */
    .search-controls-left .mud-input-control[b-dhy8hfn23y] {
        max-width: 250px;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
    .search-controls-left[b-dhy8hfn23y] {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .search-controls-left .mud-input-control[b-dhy8hfn23y] {
        max-width: 200px;
    }
    
    .search-controls-left .mud-button[b-dhy8hfn23y] {
        width: 100%;
        max-width: 200px;
    }
}

/* Phone card list for documents */
.doc-cards[b-dhy8hfn23y] {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.doc-card[b-dhy8hfn23y] {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--mud-palette-lines-default, rgba(0, 0, 0, 0.12));
    background: var(--mud-palette-surface, #fff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.doc-card__top[b-dhy8hfn23y] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.doc-card__title[b-dhy8hfn23y] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.doc-card__number[b-dhy8hfn23y] {
    font-weight: 700;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.doc-card__type[b-dhy8hfn23y] {
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
}

.doc-card__amount[b-dhy8hfn23y] {
    font-weight: 800;
    font-size: 1.1rem;
    white-space: nowrap;
}

.doc-card__customer[b-dhy8hfn23y] {
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--mud-palette-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-card__meta[b-dhy8hfn23y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-top: 10px;
}

.doc-card__due[b-dhy8hfn23y] {
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.doc-card__actions[b-dhy8hfn23y] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.doc-card__actions[b-dhy8hfn23y]  .doc-card__primary {
    flex: 1 1 auto;
    min-height: 44px;
    border-radius: 10px;
    text-transform: none;
    font-weight: 700;
}

/* Phone list + action sheet styles are global (wwwroot/css/app.css: .doc-rows / .doc-sheet) */
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/PackageSelection.razor.rz.scp.css */
/* Plan picker — phone-first: stacked radio cards, single sticky Continue button.
   Two columns from tablet width up. No transforms/negative margins so cards never overlap. */

.plan-picker[b-7c5c6vnr0k] {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    box-sizing: border-box;
}

.plan-picker__header[b-7c5c6vnr0k] {
    text-align: center;
    margin-bottom: 16px;
}

.plan-list[b-7c5c6vnr0k] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

@media (min-width: 720px) {
    .plan-list[b-7c5c6vnr0k] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        align-items: stretch;
    }
}

.plan-card[b-7c5c6vnr0k] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
    border-radius: 16px;
    border: 2px solid var(--mud-palette-lines-default, rgba(0, 0, 0, 0.12));
    background: var(--mud-palette-surface, #fff);
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    box-sizing: border-box;
}

.plan-card:hover[b-7c5c6vnr0k] {
    border-color: var(--mud-palette-primary-lighten, var(--mud-palette-primary));
}

.plan-card:focus-visible[b-7c5c6vnr0k] {
    outline: 3px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.plan-card.is-featured:not(.is-selected)[b-7c5c6vnr0k] {
    border-color: rgba(102, 126, 234, 0.45);
}

/* Selected: thick primary ring + tinted background + filled radio + "Selected" pill */
.plan-card.is-selected[b-7c5c6vnr0k] {
    border-color: var(--mud-palette-primary);
    background: linear-gradient(0deg, rgba(var(--mud-palette-primary-rgb, 89, 74, 226), 0.07), rgba(var(--mud-palette-primary-rgb, 89, 74, 226), 0.07)), var(--mud-palette-surface, #fff);
    box-shadow: 0 0 0 2px var(--mud-palette-primary), 0 8px 24px rgba(0, 0, 0, 0.12);
}

.plan-card__head[b-7c5c6vnr0k] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.plan-radio[b-7c5c6vnr0k] {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    margin-top: 2px;
    border-radius: 50%;
    border: 2px solid var(--mud-palette-text-secondary, #888);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mud-palette-primary-text, #fff);
    box-sizing: border-box;
}

.plan-card.is-selected .plan-radio[b-7c5c6vnr0k] {
    background: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
}

.plan-radio[b-7c5c6vnr0k]  svg {
    width: 18px;
    height: 18px;
}

.plan-card__title[b-7c5c6vnr0k] {
    flex: 1 1 auto;
    min-width: 0;
}

.plan-card__name[b-7c5c6vnr0k] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.plan-card__badges[b-7c5c6vnr0k] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.plan-badge[b-7c5c6vnr0k] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

.plan-badge[b-7c5c6vnr0k]  svg {
    width: 14px;
    height: 14px;
}

.plan-badge--selected[b-7c5c6vnr0k] {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text, #fff);
}

.plan-badge--current[b-7c5c6vnr0k] {
    background: #2e7d32;
    color: #fff;
}

.plan-badge--featured[b-7c5c6vnr0k] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.plan-card__price[b-7c5c6vnr0k] {
    flex: 0 0 auto;
    text-align: right;
    line-height: 1.1;
}

.plan-card__amount[b-7c5c6vnr0k] {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--mud-palette-primary);
}

.plan-card__period[b-7c5c6vnr0k] {
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.plan-card__tagline[b-7c5c6vnr0k] {
    margin: 10px 0 8px 38px;
    font-size: 0.9rem;
    color: var(--mud-palette-text-secondary);
}

.plan-features[b-7c5c6vnr0k] {
    list-style: none;
    margin: 0 0 0 38px;
    padding: 0;
    display: grid;
    gap: 6px;
    flex: 1 1 auto;
}

.plan-feature[b-7c5c6vnr0k] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.92rem;
    line-height: 1.35;
}

.plan-feature--no[b-7c5c6vnr0k] {
    color: var(--mud-palette-text-secondary);
}

.plan-feature__icon[b-7c5c6vnr0k] {
    flex: 0 0 auto;
    display: inline-flex;
    margin-top: 1px;
}

.plan-feature__icon[b-7c5c6vnr0k]  svg {
    width: 18px;
    height: 18px;
}

.plan-feature__icon--yes[b-7c5c6vnr0k] {
    color: #2e7d32;
}

.plan-feature__icon--no[b-7c5c6vnr0k] {
    color: var(--mud-palette-error, #d32f2f);
}

.plan-card__footnote[b-7c5c6vnr0k] {
    margin: 12px 0 0 38px;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--mud-palette-text-secondary);
}

/* Sticky bottom action bar, like a native checkout sheet. Respects iOS/Android safe areas. */
.plan-cta[b-7c5c6vnr0k] {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin: 16px -8px 0; /* matches the 8px phone page gutter */
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--mud-palette-surface, #fff);
    border-top: 1px solid var(--mud-palette-lines-default, rgba(0, 0, 0, 0.12));
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
}

.plan-cta__inner[b-7c5c6vnr0k] {
    max-width: 480px;
    margin: 0 auto;
}

.plan-cta__summary[b-7c5c6vnr0k] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.plan-cta__name[b-7c5c6vnr0k] {
    font-weight: 700;
}

.plan-cta__price[b-7c5c6vnr0k] {
    color: var(--mud-palette-text-secondary);
}

.plan-cta[b-7c5c6vnr0k]  .plan-cta__button {
    min-height: 52px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: none;
    font-size: 1rem;
}

@media (min-width: 720px) {
    .plan-cta[b-7c5c6vnr0k] {
        margin-left: 0;
        margin-right: 0;
        border-radius: 16px 16px 0 0;
    }
}

/* Very narrow phones (Galaxy S at 360px and below) */
@media (max-width: 380px) {
    .plan-card[b-7c5c6vnr0k] {
        padding: 14px 12px;
    }

    .plan-card__tagline[b-7c5c6vnr0k],
    .plan-features[b-7c5c6vnr0k],
    .plan-card__footnote[b-7c5c6vnr0k] {
        margin-left: 0;
    }

    .plan-card__amount[b-7c5c6vnr0k] {
        font-size: 1.4rem;
    }
}

/* Free plan: make it unmistakable that sending and payments need the paid plan */
.plan-lock[b-7c5c6vnr0k] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(237, 108, 2, 0.45);
    background: rgba(237, 108, 2, 0.1);
    color: var(--mud-palette-text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.plan-lock__icon[b-7c5c6vnr0k] {
    flex: 0 0 auto;
    display: inline-flex;
    color: #ed6c02;
}

.plan-lock__icon[b-7c5c6vnr0k]  svg {
    width: 18px;
    height: 18px;
}


/* ===== Playful plan cards: coloured header band, big price, ticks in circles, lift + glow when selected ===== */
.plan-card[b-7c5c6vnr0k] {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.plan-card:hover[b-7c5c6vnr0k] {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.plan-card.is-selected[b-7c5c6vnr0k] {
    transform: translateY(-3px);
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-surface, #fff);
    box-shadow: 0 0 0 4px rgba(var(--mud-palette-primary-rgb, 89, 74, 226), 0.18), 0 16px 36px rgba(17, 24, 39, 0.16);
}

.plan-card.is-featured:not(.is-selected)[b-7c5c6vnr0k] {
    border-color: rgba(118, 75, 162, 0.35);
}

/* Header band */
.plan-hero[b-7c5c6vnr0k] {
    position: relative;
    overflow: hidden;
    padding: 18px 18px 16px;
    color: #fff;
}

.plan-card--freetier .plan-hero[b-7c5c6vnr0k] {
    background: linear-gradient(135deg, #26a69a 0%, #43c6ac 55%, #7be0c3 100%);
}

.plan-card--basic .plan-hero[b-7c5c6vnr0k] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.plan-card--premium .plan-hero[b-7c5c6vnr0k] {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    color: #3b2a00;
}

/* Soft decorative circles for a bit of play */
.plan-hero__bubble[b-7c5c6vnr0k] {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.plan-hero__bubble--one[b-7c5c6vnr0k] {
    width: 140px;
    height: 140px;
    top: -60px;
    right: -40px;
}

.plan-hero__bubble--two[b-7c5c6vnr0k] {
    width: 70px;
    height: 70px;
    bottom: -30px;
    right: 70px;
    background: rgba(255, 255, 255, 0.1);
}

.plan-hero__top[b-7c5c6vnr0k] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-hero .plan-radio[b-7c5c6vnr0k] {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
}

.plan-card.is-selected .plan-hero .plan-radio[b-7c5c6vnr0k] {
    background: #fff;
    border-color: #fff;
    color: var(--mud-palette-primary);
}

.plan-hero__icon[b-7c5c6vnr0k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.22);
}

.plan-hero__icon[b-7c5c6vnr0k]  svg {
    width: 22px;
    height: 22px;
    color: inherit;
}

.plan-hero__name[b-7c5c6vnr0k] {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.plan-hero__price[b-7c5c6vnr0k] {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 12px;
}

.plan-hero__amount[b-7c5c6vnr0k] {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}

.plan-hero__period[b-7c5c6vnr0k] {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
}

.plan-hero__tagline[b-7c5c6vnr0k] {
    position: relative;
    margin-top: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.95;
}

.plan-hero .plan-card__badges[b-7c5c6vnr0k] {
    position: relative;
    margin-top: 10px;
}

.plan-hero .plan-badge[b-7c5c6vnr0k] {
    background: rgba(255, 255, 255, 0.24);
    color: inherit;
    backdrop-filter: blur(4px);
}

.plan-hero .plan-badge--selected[b-7c5c6vnr0k] {
    background: #fff;
    color: var(--mud-palette-primary);
}

/* "Most popular" ribbon */
.plan-ribbon[b-7c5c6vnr0k] {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: -34px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 40px;
    transform: rotate(35deg);
    background: #ffd54f;
    color: #4a3500;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.plan-ribbon[b-7c5c6vnr0k]  svg {
    width: 14px;
    height: 14px;
}

/* Body */
.plan-body[b-7c5c6vnr0k] {
    padding: 16px 18px 18px;
}

.plan-body .plan-features[b-7c5c6vnr0k] {
    margin-left: 0;
    gap: 9px;
}

.plan-feature__icon[b-7c5c6vnr0k] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.plan-feature__icon--yes[b-7c5c6vnr0k] {
    background: #e8f5e9;
}

.plan-feature__icon--no[b-7c5c6vnr0k] {
    background: #fdecea;
}

.plan-feature__icon[b-7c5c6vnr0k]  svg {
    width: 15px;
    height: 15px;
}

.plan-body .plan-card__footnote[b-7c5c6vnr0k] {
    margin-left: 0;
}

.plan-body .plan-lock[b-7c5c6vnr0k] {
    margin-top: 14px;
}

@media (max-width: 380px) {
    .plan-hero__amount[b-7c5c6vnr0k] {
        font-size: 2.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .plan-card[b-7c5c6vnr0k],
    .plan-card:hover[b-7c5c6vnr0k],
    .plan-card.is-selected[b-7c5c6vnr0k] {
        transition: none;
        transform: none;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/PackageSelectionDialog.razor.rz.scp.css */
.package-card[b-5hjxo2fp73] {
    transition: all 0.3s ease;
    cursor: pointer;
}

.package-card:hover[b-5hjxo2fp73] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.package-card.selected-package[b-5hjxo2fp73] {
    border: 2px solid var(--mud-palette-primary) !important;
    background-color: var(--mud-palette-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.featured-package[b-5hjxo2fp73] {
    border: 2px solid var(--mud-palette-primary);
}

.text-left[b-5hjxo2fp73] {
    text-align: left;
}

.mb-1[b-5hjxo2fp73] {
    margin-bottom: 0.25rem;
}

.mb-2[b-5hjxo2fp73] {
    margin-bottom: 0.5rem;
}

.mr-1[b-5hjxo2fp73] {
    margin-right: 0.25rem;
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/PaymentStateBadge.razor.rz.scp.css */
.pay-badge-wrap[b-sd3fbrv8ry] {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.pay-badge[b-sd3fbrv8ry] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px 3px 6px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.pay-badge[b-sd3fbrv8ry]  svg {
    width: 16px;
    height: 16px;
}

.pay-badge--paid[b-sd3fbrv8ry] {
    background: #e8f5e9;
    color: #1b5e20;
}

.pay-badge--unpaid[b-sd3fbrv8ry] {
    background: #fff4e5;
    color: #8a4b00;
}

.pay-badge--overdue[b-sd3fbrv8ry] {
    background: #fdecea;
    color: #b71c1c;
}

.pay-badge--partpaid[b-sd3fbrv8ry] {
    background: #e3f2fd;
    color: #0d47a1;
}

.pay-badge--na[b-sd3fbrv8ry] {
    color: var(--mud-palette-text-disabled, #9e9e9e);
    padding: 0;
}

.pay-badge__note[b-sd3fbrv8ry] {
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
    padding-left: 6px;
}

.pay-badge--notsent[b-sd3fbrv8ry] {
    background: #eceff1;
    color: #455a64;
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/PreviewInvoice.razor.rz.scp.css */
.preview-container[b-m83closqtm] {
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem 0;
}

.preview-document[b-m83closqtm] {
    width: 94%;
    height: auto;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.preview-document img:first-child[b-m83closqtm] {
    object-fit: fill;
    width: 100%;
}

.invoice-image[b-m83closqtm] {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hide templates button on mobile */
.templates-button-container[b-m83closqtm] {
    display: block;
}

@media (max-width: 760px) {
    .preview-container[b-m83closqtm] {
        padding: 0.5rem 0;
    }

    .preview-document[b-m83closqtm] {
        width: 100%;
    }

    .preview-document img:first-child[b-m83closqtm] {
        object-fit: contain;
        width: 100%;
        height: auto;
        cursor: zoom-in;
    }

    .preview-document.preview-zoomed[b-m83closqtm] {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .preview-document.preview-zoomed img:first-child[b-m83closqtm] {
        width: 800px;
        max-width: none;
        cursor: zoom-out;
    }
    
    .templates-button-container[b-m83closqtm] {
        display: none !important;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/SavedTick.razor.rz.scp.css */
.saved-tick[b-c1ww1ot278] {
    display: inline-flex;
    flex: 0 0 auto;
    vertical-align: middle;
}

.saved-tick svg[b-c1ww1ot278] {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.saved-tick__circle[b-c1ww1ot278] {
    stroke: currentColor;
    stroke-width: 4;
    stroke-dasharray: 145;
    stroke-dashoffset: 145;
    animation: saved-tick-draw-b-c1ww1ot278 0.45s ease-out forwards;
}

.saved-tick__check[b-c1ww1ot278] {
    stroke: currentColor;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: saved-tick-draw-b-c1ww1ot278 0.3s 0.4s ease-out forwards;
}

@keyframes saved-tick-draw-b-c1ww1ot278 {
    to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .saved-tick__circle[b-c1ww1ot278],
    .saved-tick__check[b-c1ww1ot278] {
        animation: none;
        stroke-dashoffset: 0;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/SendInvoiceDialog.razor.rz.scp.css */
/* SendInvoiceDialog Component Styles */

/* Override MudBlazor's default dialog sizing - multiple selectors to ensure it applies */
.send-invoice-dialog[b-3in1fai9ac],
.mud-dialog.send-invoice-dialog[b-3in1fai9ac],
.mud-dialog-container .send-invoice-dialog[b-3in1fai9ac],
[b-3in1fai9ac] .send-invoice-dialog {
    width: 95vw !important;
    max-width: 500px !important;
}

@media (max-width: 599.98px) {
    .send-invoice-dialog[b-3in1fai9ac],
    .mud-dialog.send-invoice-dialog[b-3in1fai9ac],
    [b-3in1fai9ac] .send-invoice-dialog {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        zoom: 1 !important;
    }
}

@media (min-width: 600px) {
    .send-invoice-dialog[b-3in1fai9ac],
    .mud-dialog.send-invoice-dialog[b-3in1fai9ac],
    .mud-dialog-container .send-invoice-dialog[b-3in1fai9ac],
    [b-3in1fai9ac] .send-invoice-dialog {
        width: 850px !important;
        max-width: 850px !important;
    }
}

@media (min-width: 900px) {
    .send-invoice-dialog[b-3in1fai9ac],
    .mud-dialog.send-invoice-dialog[b-3in1fai9ac],
    .mud-dialog-container .send-invoice-dialog[b-3in1fai9ac],
    [b-3in1fai9ac] .send-invoice-dialog {
        width: 1200px !important;
        max-width: 1200px !important;
    }
}

/* Also target the paper wrapper */
.send-invoice-dialog .mud-paper[b-3in1fai9ac],
.send-invoice-dialog.mud-paper[b-3in1fai9ac] {
    width: 100% !important;
    max-width: 100% !important;
}

/* Override MudBlazor's container max-width */
.send-invoice-dialog-content.mud-container-maxwidth-lg[b-3in1fai9ac] {
    max-width: none !important;
    width: 100% !important;
}

.send-invoice-dialog-actions.mud-container-maxwidth-lg[b-3in1fai9ac] {
    max-width: none !important;
    width: 100% !important;
}

.send-invoice-dialog-content[b-3in1fai9ac] {
    padding: 8px;
    width: 100%;
}

@media (min-width: 600px) {
    .send-invoice-dialog-content[b-3in1fai9ac] {
        padding: 16px;
        width: 100%;
    }
}

.send-invoice-dialog-actions[b-3in1fai9ac] {
    padding: 8px;
    width: 100%;
}

@media (min-width: 600px) {
    .send-invoice-dialog-actions[b-3in1fai9ac] {
        padding: 16px;
        width: 100%;
    }
}

.email-field-container[b-3in1fai9ac] {
    margin-bottom: 8px;
    width: 100%;
}

@media (min-width: 600px) {
    .email-field-container[b-3in1fai9ac] {
        margin-bottom: 12px;
        width: 100%;
    }
}

.recipient-email-field[b-3in1fai9ac] {
    min-width: 0;
    width: 100%;
}

@media (min-width: 600px) {
    .recipient-email-field[b-3in1fai9ac] {
        min-width: 500px;
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .recipient-email-field[b-3in1fai9ac] {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
}

.add-recipient-button[b-3in1fai9ac] {
    margin-top: 8px;
}

/* Mobile optimizations */
@media (max-width: 600px) {
    .send-invoice-dialog-content[b-3in1fai9ac] {
        padding: 12px 16px;
    }

    .send-invoice-dialog-actions[b-3in1fai9ac] {
        padding: 8px 16px;
    }

    .email-field-container[b-3in1fai9ac] {
        margin-bottom: 8px;
    }

    .add-recipient-button[b-3in1fai9ac] {
        margin-top: 8px;
    }

    .email-field-container .mud-item:first-child[b-3in1fai9ac] {
        padding-right: 4px;
    }

    .email-field-container .mud-item:last-child[b-3in1fai9ac] {
        padding-left: 4px;
    }

    .email-field-container .mud-icon-button[b-3in1fai9ac] {
        min-width: 48px;
        height: 48px;
    }
}

/* Ensure proper spacing for MudBlazor components */
.send-invoice-dialog-content .mud-container[b-3in1fai9ac] {
    padding: 0;
    width: 100%;
}

.send-invoice-dialog-content .mud-grid[b-3in1fai9ac] {
    margin: 0;
    width: 100%;
}

.send-invoice-dialog-content .mud-item[b-3in1fai9ac] {
    padding: 0;
}

/* reCAPTCHA styling */
.recaptcha-container[b-3in1fai9ac] {
    margin-top: 16px;
    margin-bottom: 16px;
}

.recaptcha-widget-wrapper[b-3in1fai9ac] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.recaptcha-widget[b-3in1fai9ac] {
    margin-bottom: 8px;
}

.recaptcha-widget > div[b-3in1fai9ac] {
    transform: scale(0.9);
    transform-origin: 0 0;
    margin-bottom: 0;
}

.recaptcha-help-text[b-3in1fai9ac] {
    text-align: left;
    margin-top: 0;
    margin-left: 0;
    padding-left: 0;
    display: block;
    align-self: flex-start;
}

@media (max-width: 600px) {
    .recaptcha-widget > div[b-3in1fai9ac] {
        transform: none;
    }

    .recaptcha-widget-wrapper[b-3in1fai9ac] {
        align-items: center;
    }

    .recaptcha-help-text[b-3in1fai9ac] {
        text-align: center;
        align-self: center;
    }
}

@media (max-width: 339.98px) {
    .recaptcha-widget > div[b-3in1fai9ac] {
        transform: scale(0.9);
        transform-origin: center;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/SettingsHint.razor.rz.scp.css */
/* Phone: bottom sheet. Tablet/desktop: centred card. Sits above the form, below the settings panel. */

.settings-hint__backdrop[b-7eiee8nsjd] {
    position: fixed;
    inset: 0;
    z-index: 1390;
    background: rgba(0, 0, 0, 0.45);
    animation: settings-hint-fade-b-7eiee8nsjd 0.15s ease-out;
}

.settings-hint__sheet[b-7eiee8nsjd] {
    position: fixed;
    z-index: 1391;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 85vh;
    overflow-y: auto;
    padding: 8px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 20px 20px 0 0;
    background: var(--mud-palette-surface, #fff);
    color: var(--mud-palette-text-primary);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    animation: settings-hint-slide-b-7eiee8nsjd 0.2s ease-out;
}

.settings-hint__grabber[b-7eiee8nsjd] {
    width: 40px;
    height: 4px;
    margin: 4px auto 12px;
    border-radius: 2px;
    background: var(--mud-palette-lines-default, rgba(0, 0, 0, 0.2));
}

.settings-hint__head[b-7eiee8nsjd] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.settings-hint__icon[b-7eiee8nsjd] {
    display: inline-flex;
    color: var(--mud-palette-warning, #f9a825);
}

.settings-hint__sheet[b-7eiee8nsjd]  .settings-hint__title {
    font-weight: 700;
    line-height: 1.3;
}

.settings-hint__sheet[b-7eiee8nsjd]  .settings-hint__body {
    line-height: 1.5;
}

.settings-hint__path[b-7eiee8nsjd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--mud-palette-background-gray, rgba(0, 0, 0, 0.06));
}

.settings-hint__sheet[b-7eiee8nsjd]  .settings-hint__note {
    display: block;
}

.settings-hint__actions[b-7eiee8nsjd] {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    margin-top: 16px;
}

@media (min-width: 600px) {
    .settings-hint__actions[b-7eiee8nsjd] {
        flex-direction: row;
    }
}

.settings-hint__actions[b-7eiee8nsjd]  .settings-hint__btn {
    flex: 1 1 0;
    min-height: 48px;
    border-radius: 12px;
    text-transform: none;
    font-weight: 600;
}

@media (min-width: 600px) {
    .settings-hint__sheet[b-7eiee8nsjd] {
        left: 50%;
        right: auto;
        bottom: auto;
        top: 50%;
        width: min(440px, calc(100vw - 32px));
        transform: translate(-50%, -50%);
        border-radius: 16px;
        padding: 20px 24px;
        animation: settings-hint-fade-b-7eiee8nsjd 0.15s ease-out;
    }

    .settings-hint__grabber[b-7eiee8nsjd] {
        display: none;
    }
}

@keyframes settings-hint-fade-b-7eiee8nsjd {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes settings-hint-slide-b-7eiee8nsjd {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/SettingsTip.razor.rz.scp.css */
.settings-tip[b-pga5ufqtwc] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(var(--mud-palette-info-rgb, 33, 150, 243), 0.08);
    border: 1px solid rgba(var(--mud-palette-info-rgb, 33, 150, 243), 0.3);
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--mud-palette-text-primary);
}

.settings-tip__icon[b-pga5ufqtwc] {
    flex: 0 0 auto;
    display: inline-flex;
    margin-top: 1px;
    color: var(--mud-palette-warning, #f9a825);
}

.settings-tip__icon[b-pga5ufqtwc]  svg {
    width: 18px;
    height: 18px;
}

.settings-tip__text[b-pga5ufqtwc] {
    min-width: 0;
}

.settings-tip__link[b-pga5ufqtwc] {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin: 2px 0 -8px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    color: var(--mud-palette-primary);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.settings-tip__link[b-pga5ufqtwc]  svg {
    width: 18px;
    height: 18px;
}

.settings-tip__actions[b-pga5ufqtwc] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.settings-tip__link--primary[b-pga5ufqtwc] {
    gap: 4px;
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/SignatureDialog.razor.rz.scp.css */
.sig-type-preview[b-r4keglqmyu] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.sig-type-text[b-r4keglqmyu] {
    font-size: 2.8rem;
    line-height: 1;
    color: #111;
    white-space: nowrap;
}

.sig-type-placeholder[b-r4keglqmyu] {
    color: #bbb;
    font-size: 0.9rem;
    font-style: italic;
}

.sig-upload-preview[b-r4keglqmyu] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.sig-upload-dropzone[b-r4keglqmyu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    border: 2px dashed #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
    gap: 4px;
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/TermsSuggestions.razor.rz.scp.css */
/* "Common terms" opener: a friendly pill rather than a plain outlined button */
.terms-suggest__open[b-5hs785npe3] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 14px;
    border: 1.5px dashed var(--mud-palette-primary);
    border-radius: 999px;
    background: rgba(var(--mud-palette-primary-rgb, 89, 74, 226), 0.06);
    color: var(--mud-palette-primary);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s ease, background-color 0.15s ease;
}

.terms-suggest__open:hover[b-5hs785npe3] {
    background: rgba(var(--mud-palette-primary-rgb, 89, 74, 226), 0.12);
}

.terms-suggest__open:active[b-5hs785npe3] {
    transform: scale(0.97);
}

.terms-suggest__count[b-5hs785npe3] {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text, #fff);
    font-size: 0.75rem;
    line-height: 22px;
    text-align: center;
}

/* Slide-out panel from the right: full screen on phones, side panel on larger screens */
.terms-suggest__backdrop[b-5hs785npe3] {
    position: fixed;
    inset: 0;
    z-index: 1390;
    background: rgba(0, 0, 0, 0.45);
    animation: terms-suggest-fade-b-5hs785npe3 0.2s ease-out;
}

.terms-suggest__sheet[b-5hs785npe3] {
    position: fixed;
    z-index: 1391;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(480px, 100vw);
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--mud-palette-surface, #fff);
    color: var(--mud-palette-text-primary);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    animation: terms-suggest-slide-b-5hs785npe3 0.25s ease-out;
}

.terms-suggest__grabber[b-5hs785npe3] {
    display: none;
}

.terms-suggest__head[b-5hs785npe3] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 10px 8px 18px;
    border-bottom: 1px solid var(--mud-palette-lines-default, rgba(0, 0, 0, 0.08));
}

.terms-suggest__title[b-5hs785npe3] {
    font-weight: 800;
    font-size: 1.15rem;
}

.terms-suggest__help[b-5hs785npe3] {
    margin-top: 2px;
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
}

/* Clause chips: tap to add, tap again to remove */
.terms-suggest__chips[b-5hs785npe3] {
    flex: 0 1 auto;
    max-height: 48%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
}

.terms-chip[b-5hs785npe3] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 12px 8px 10px;
    border-radius: 16px;
    border: 1.5px solid var(--mud-palette-lines-default, rgba(0, 0, 0, 0.12));
    background: var(--mud-palette-background-gray, rgba(0, 0, 0, 0.03));
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: 0.86rem;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.terms-chip:active[b-5hs785npe3] {
    transform: scale(0.97);
}

.terms-chip__icon[b-5hs785npe3] {
    flex: 0 0 auto;
    display: inline-flex;
    color: var(--mud-palette-primary);
}

.terms-chip__icon[b-5hs785npe3]  svg {
    width: 20px;
    height: 20px;
}

.terms-chip__state[b-5hs785npe3]  svg {
    width: 16px;
    height: 16px;
}

.terms-suggest__open-icon[b-5hs785npe3] {
    display: inline-flex;
}

.terms-suggest__open-icon[b-5hs785npe3]  svg {
    width: 18px;
    height: 18px;
}

.terms-chip__text[b-5hs785npe3] {
    flex: 1 1 auto;
    min-width: 0;
}

.terms-chip__state[b-5hs785npe3] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--mud-palette-text-secondary, #888);
    color: var(--mud-palette-text-secondary);
    font-weight: 800;
    font-size: 0.85rem;
}

.terms-chip.is-on[b-5hs785npe3] {
    border-color: var(--mud-palette-primary);
    background: rgba(var(--mud-palette-primary-rgb, 89, 74, 226), 0.1);
}

.terms-chip.is-on .terms-chip__state[b-5hs785npe3] {
    background: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text, #fff);
}

.terms-chip.just-toggled .terms-chip__state[b-5hs785npe3] {
    animation: terms-chip-pop-b-5hs785npe3 0.35s ease-out;
}

.terms-chip.just-toggled.is-on .terms-chip__icon[b-5hs785npe3] {
    animation: terms-chip-wiggle-b-5hs785npe3 0.45s ease-out;
}

.terms-suggest__preview[b-5hs785npe3] {
    flex: 1 1 auto;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    padding: 4px 16px 8px;
}

.terms-suggest__preview-label[b-5hs785npe3] {
    margin: 4px 0 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.terms-suggest__preview-text[b-5hs785npe3] {
    flex: 1 1 auto;
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border-radius: 12px;
    border: 1.5px solid var(--mud-palette-lines-inputs, rgba(0, 0, 0, 0.25));
    background: var(--mud-palette-background, #fafafa);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: 16px; /* no iOS focus zoom */
    line-height: 1.5;
    resize: none;
    overflow-y: auto;
    box-sizing: border-box;
}

.terms-suggest__preview-text:focus[b-5hs785npe3] {
    outline: none;
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 3px rgba(var(--mud-palette-primary-rgb, 89, 74, 226), 0.15);
}

.terms-suggest__footer[b-5hs785npe3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--mud-palette-lines-default, rgba(0, 0, 0, 0.08));
}

.terms-suggest__added[b-5hs785npe3] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.terms-suggest__footer[b-5hs785npe3]  .terms-suggest__done {
    min-height: 46px;
    min-width: 120px;
    border-radius: 12px;
    text-transform: none;
    font-weight: 700;
}

@keyframes terms-suggest-slide-b-5hs785npe3 {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes terms-suggest-fade-b-5hs785npe3 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes terms-chip-pop-b-5hs785npe3 {
    0% { transform: scale(0.6); }
    60% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

@keyframes terms-chip-wiggle-b-5hs785npe3 {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-12deg) scale(1.15); }
    50% { transform: rotate(10deg) scale(1.15); }
    75% { transform: rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .terms-chip.just-toggled .terms-chip__state[b-5hs785npe3],
    .terms-chip.just-toggled.is-on .terms-chip__icon[b-5hs785npe3],
    .terms-suggest__sheet[b-5hs785npe3] {
        animation: none;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/UpgradePromptCard.razor.rz.scp.css */
.upgrade-card[b-e6453djat5] {
    color: var(--mud-palette-text-primary);
}

.upgrade-card__hero[b-e6453djat5] {
    padding: 28px 24px 22px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.upgrade-card__badge[b-e6453djat5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
    animation: upgrade-pulse-b-e6453djat5 2.4s ease-in-out infinite;
}

.upgrade-card__badge[b-e6453djat5]  svg {
    width: 34px;
    height: 34px;
    color: #fff;
}

.upgrade-card__title[b-e6453djat5] {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
}

.upgrade-card__message[b-e6453djat5] {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.92;
}

.upgrade-card__body[b-e6453djat5] {
    padding: 20px 20px 0;
}

/* Price and the Upgrade button stay pinned at the bottom of the dialog while the benefits scroll */
.upgrade-card__footer[b-e6453djat5] {
    position: sticky;
    bottom: 0;
    z-index: 1;
    margin: 0 -20px;
    padding: 12px 20px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--mud-palette-surface, #fff);
    border-top: 1px solid var(--mud-palette-lines-default, rgba(0, 0, 0, 0.08));
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.06);
}

.upgrade-card__benefits[b-e6453djat5] {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.upgrade-card__benefit[b-e6453djat5] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    background: var(--mud-palette-background-gray, rgba(0, 0, 0, 0.03));
    border: 1px solid var(--mud-palette-lines-default, rgba(0, 0, 0, 0.08));
}

.upgrade-card__benefit-icon[b-e6453djat5] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.upgrade-card__benefit-icon[b-e6453djat5]  svg {
    width: 22px;
    height: 22px;
}

.upgrade-card__benefit-text[b-e6453djat5] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.upgrade-card__benefit-title[b-e6453djat5] {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
}

.upgrade-card__benefit-desc[b-e6453djat5] {
    margin-top: 2px;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--mud-palette-text-secondary);
}

.upgrade-card__tagline[b-e6453djat5] {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.upgrade-card__price[b-e6453djat5] {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin-bottom: 10px;
}

.upgrade-card__price-amount[b-e6453djat5] {
    font-size: 2rem;
    font-weight: 800;
    color: #5e35b1;
    line-height: 1;
}

.upgrade-card__price-period[b-e6453djat5] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.upgrade-card__price-note[b-e6453djat5] {
    flex-basis: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.upgrade-card__detail[b-e6453djat5] {
    margin-bottom: 14px;
    font-size: 0.82rem;
    color: var(--mud-palette-text-secondary);
    text-align: center;
}

.upgrade-card__cta[b-e6453djat5] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.45);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.upgrade-card__cta:hover[b-e6453djat5],
.upgrade-card__cta:focus-visible[b-e6453djat5] {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.55);
}

.upgrade-card__arrow[b-e6453djat5] {
    display: inline-flex;
    animation: upgrade-nudge-b-e6453djat5 1.4s ease-in-out infinite;
}

.upgrade-card__arrow[b-e6453djat5]  svg {
    width: 22px;
    height: 22px;
}

.upgrade-card__later[b-e6453djat5] {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    border: 0;
    background: none;
    color: var(--mud-palette-text-secondary);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
}

@keyframes upgrade-nudge-b-e6453djat5 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

@keyframes upgrade-pulse-b-e6453djat5 {
    0%, 100% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08); }
    50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.04); }
}

@media (prefers-reduced-motion: reduce) {
    .upgrade-card__arrow[b-e6453djat5],
    .upgrade-card__badge[b-e6453djat5] {
        animation: none;
    }
}

/* Reassure: downloading stays free (watermarked); sending is what the plan unlocks */
.upgrade-card__free[b-e6453djat5] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(46, 125, 50, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.25);
    font-size: 0.85rem;
    line-height: 1.4;
}

.upgrade-card__free-icon[b-e6453djat5] {
    flex: 0 0 auto;
    display: inline-flex;
    color: #2e7d32;
}

.upgrade-card__free-icon[b-e6453djat5]  svg {
    width: 18px;
    height: 18px;
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Components/ValidationToast.razor.rz.scp.css */
.validation-toast[b-wv5faw8hz7] {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 9999;
    min-width: 420px;
    max-width: 520px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #1e293b;
    overflow: hidden;
    animation: slideIn-b-wv5faw8hz7 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.validation-toast.closing[b-wv5faw8hz7] {
    animation: slideOut-b-wv5faw8hz7 0.3s cubic-bezier(0.7, 0, 0.84, 0);
}

@keyframes slideIn-b-wv5faw8hz7 {
    from {
        transform: translateX(440px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOut-b-wv5faw8hz7 {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(440px) scale(0.95);
        opacity: 0;
    }
}

.validation-toast-header[b-wv5faw8hz7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: none;
}

.validation-toast-title[b-wv5faw8hz7] {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
    color: white;
    letter-spacing: 0.3px;
}

.validation-toast-close[b-wv5faw8hz7] {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.validation-toast-close:hover[b-wv5faw8hz7] {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.validation-toast-body[b-wv5faw8hz7] {
    padding: 20px 24px;
    background: white;
}

.validation-toast-list[b-wv5faw8hz7] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.validation-toast-list li[b-wv5faw8hz7] {
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.validation-toast-list li[b-wv5faw8hz7]::before {
    content: "•";
    position: absolute;
    left: 10px;
    font-size: 18px;
    font-weight: bold;
}

.validation-toast-more[b-wv5faw8hz7] {
    margin: 14px 0 0 0;
    padding-left: 28px;
    font-style: italic;
    opacity: 0.75;
    color: #64748b;
    font-size: 13px;
}

.validation-toast-footer[b-wv5faw8hz7] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Theme: Teal */
.validation-toast.theme-teal[b-wv5faw8hz7] {
    border: 1px solid rgba(220, 38, 38, 0.6);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4), 0 0 10px rgba(220, 38, 38, 0.3), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.validation-toast.theme-teal .validation-toast-header[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #204B5E 0%, #204B5E 100%);
}

.validation-toast.theme-teal .validation-toast-list li[b-wv5faw8hz7]::before {
    color: #204B5E;
}

.validation-toast.theme-teal .validation-toast-footer[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #204B5E;
}

/* Theme: Ocean */
.validation-toast.theme-ocean[b-wv5faw8hz7] {
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.validation-toast.theme-ocean .validation-toast-header[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.validation-toast.theme-ocean .validation-toast-list li[b-wv5faw8hz7]::before {
    color: #0891b2;
}

.validation-toast.theme-ocean .validation-toast-footer[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    color: #0e7490;
}

/* Theme: Blue */
.validation-toast.theme-blue[b-wv5faw8hz7] {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.validation-toast.theme-blue .validation-toast-header[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.validation-toast.theme-blue .validation-toast-list li[b-wv5faw8hz7]::before {
    color: #2563eb;
}

.validation-toast.theme-blue .validation-toast-footer[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
}

/* Theme: Green */
.validation-toast.theme-green[b-wv5faw8hz7] {
    border-color: rgba(22, 163, 74, 0.2);
    box-shadow: 0 12px 40px rgba(22, 163, 74, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.validation-toast.theme-green .validation-toast-header[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
}

.validation-toast.theme-green .validation-toast-list li[b-wv5faw8hz7]::before {
    color: #16a34a;
}

.validation-toast.theme-green .validation-toast-footer[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #15803d;
}

/* Theme: Light */
.validation-toast.theme-light[b-wv5faw8hz7] {
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.validation-toast.theme-light .validation-toast-header[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 100%);
}

.validation-toast.theme-light .validation-toast-list li[b-wv5faw8hz7]::before {
    color: #64748b;
}

.validation-toast.theme-light .validation-toast-footer[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #475569;
}

/* Theme: Dark */
.validation-toast.theme-dark[b-wv5faw8hz7] {
    background: #1e293b;
    border-color: rgba(100, 116, 139, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.validation-toast.theme-dark .validation-toast-header[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

.validation-toast.theme-dark .validation-toast-body[b-wv5faw8hz7] {
    background: #1e293b;
}

.validation-toast.theme-dark .validation-toast-list li[b-wv5faw8hz7] {
    color: #cbd5e1;
}

.validation-toast.theme-dark .validation-toast-list li[b-wv5faw8hz7]::before {
    color: #94a3b8;
}

.validation-toast.theme-dark .validation-toast-footer[b-wv5faw8hz7] {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #94a3b8;
}

@media (max-width: 768px) {
    .validation-toast[b-wv5faw8hz7] {
        right: 12px;
        left: 12px;
        min-width: auto;
        max-width: none;
        border-radius: 10px;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Layout/MainLayoutMud.razor.rz.scp.css */
.page[b-qrosppoosm] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-qrosppoosm] {
    flex: 1;
}

.sidebar[b-qrosppoosm] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-qrosppoosm] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-qrosppoosm]  a, .top-row[b-qrosppoosm]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-qrosppoosm]  a:hover, .top-row[b-qrosppoosm]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-qrosppoosm]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-qrosppoosm] {
        justify-content: space-between;
    }

    .top-row[b-qrosppoosm]  a, .top-row[b-qrosppoosm]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-qrosppoosm] {
        flex-direction: row;
    }

    .sidebar[b-qrosppoosm] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-qrosppoosm] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-qrosppoosm]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-qrosppoosm], article[b-qrosppoosm] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/AssemblysoftTradeModuleInvoicingMudBlazor/Pages/InvoicePage.razor.rz.scp.css */
/* Custom styles to ensure MudBlazor maintains the exact same design */

/* Fixed Navigation Container */
.navigation-container[b-xuimwmhbjt] {
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    background: var(--mud-palette-surface);
}

[data-theme="dark"] .navigation-container[b-xuimwmhbjt] {
    border-bottom-color: var(--mud-palette-divider);
}

/* Upload areas with dashed borders */
.upload-area[b-xuimwmhbjt] {
    border: 2px dashed #d1d5db !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.upload-area:hover[b-xuimwmhbjt] {
    border-color: #3b82f6 !important;
    background: #f8fafc !important;
}

/* Template cards styling */
.template-card[b-xuimwmhbjt] {
    min-width: 200px !important;
    cursor: pointer !important;
    transition: transform 0.2s !important;
}

.template-card:hover[b-xuimwmhbjt] {
    transform: translateY(-2px) !important;
}

/* Template preview content */
.template-preview-content[b-xuimwmhbjt] {
    font-size: 0.625rem !important;
    color: #64748b !important;
    line-height: 1.2 !important;
}

/* Template table grid */
.template-table[b-xuimwmhbjt] {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 0.25rem !important;
}

/* Custom tabs styling */
.custom-tabs .mud-tab[b-xuimwmhbjt] {
    text-transform: none !important;
    font-weight: 600 !important;
    padding: 1rem 1.5rem !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.2s !important;
}

.custom-tabs .mud-tab:hover[b-xuimwmhbjt] {
    color: #3b82f6 !important;
}

.custom-tabs .mud-tab.mud-selected[b-xuimwmhbjt] {
    color: #3b82f6 !important;
    border-bottom-color: #3b82f6 !important;
}

/* Dark theme custom tabs */
[data-theme="dark"] .custom-tabs .mud-tab[b-xuimwmhbjt] {
    background-color: transparent !important;
    color: var(--mud-palette-text-primary) !important;
}

[data-theme="dark"] .custom-tabs .mud-tab:hover[b-xuimwmhbjt] {
    color: var(--mud-palette-primary) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .custom-tabs .mud-tab.mud-selected[b-xuimwmhbjt] {
    color: var(--mud-palette-primary) !important;
    border-bottom-color: var(--mud-palette-primary) !important;
    background-color: transparent !important;
}

/* Ensure proper spacing and layout */
.mud-container[b-xuimwmhbjt] {
    max-width: none !important;
    padding: 0 !important;
}

.mud-paper[b-xuimwmhbjt] {
    border-radius: 0 !important;
}

/* Text areas with proper height */
.mud-input-control .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt] {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Small inputs for non-textarea controls */
.mud-numeric-field[b-xuimwmhbjt],
.mud-text-field[b-xuimwmhbjt] {
    font-size: 0.875rem !important;
}

/* Table styling */
.mud-table[b-xuimwmhbjt] {
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.mud-table .mud-table-head .mud-th[b-xuimwmhbjt] {
    background: #f8fafc !important;
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 0.875rem !important;
    padding: 0.5rem !important;
}

.mud-table .mud-table-body .mud-td[b-xuimwmhbjt] {
    padding: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
}

/* Items table specific styling */
.items-table .description-column[b-xuimwmhbjt] {
    width: 40% !important;
    min-width: 200px !important;
}

.items-table .mud-table-head .mud-th:not(.description-column)[b-xuimwmhbjt],
.items-table .mud-table-body .mud-td:not(.description-column)[b-xuimwmhbjt] {
    width: 12% !important;
}

/* Button styling */
.mud-button[b-xuimwmhbjt] {
    font-weight: 600 !important;
    transition: all 0.2s !important;
    font-size: 0.875rem !important;
}

.mud-button.mud-button-filled-primary[b-xuimwmhbjt] {
    background: #3b82f6 !important;
    color: white !important;
}

.mud-button.mud-button-filled-primary:hover[b-xuimwmhbjt] {
    background: #2563eb !important;
}

.mud-button.mud-button-outlined[b-xuimwmhbjt] {
    background: #f1f5f9 !important;
    color: #374151 !important;
}

.mud-button.mud-button-outlined:hover[b-xuimwmhbjt] {
    background: #e2e8f0 !important;
}

/* Summary section styling */
.mud-divider[b-xuimwmhbjt] {
    margin: 0.5rem 0 !important;
}

.sm-template-container[b-xuimwmhbjt]{
    height: 4rem; 
    align-items: center;
}

/* Responsive design */
@media (max-width: 1024px) {
    .flex-grow-1[b-xuimwmhbjt] {
        flex: none !important;
    }
}

@media (max-width: 768px) {
    .pa-4[b-xuimwmhbjt] {
        padding: 1rem !important;
    }
    
    .d-flex.justify-space-between[b-xuimwmhbjt] {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: flex-start !important;
    }
}

/* Mobile-specific font sizing for better mobile UX */
@media (max-width: 768px) {
    /* Reduce MudBlazor component font sizes on mobile - keep readable */
    .mud-typography-h1[b-xuimwmhbjt] {
        font-size: 1.875rem !important;
        line-height: 1.3 !important;
    }
    
    .mud-typography-h2[b-xuimwmhbjt] {
        font-size: 1.625rem !important;
        line-height: 1.3 !important;
    }
    
    .mud-typography-h3[b-xuimwmhbjt] {
        font-size: 1.375rem !important;
        line-height: 1.3 !important;
    }
    
    .mud-typography-h4[b-xuimwmhbjt] {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }
    
    .mud-typography-h5[b-xuimwmhbjt] {
        font-size: 1.125rem !important;
        line-height: 1.3 !important;
    }
    
    .mud-typography-h6[b-xuimwmhbjt] {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    
    .mud-typography-body1[b-xuimwmhbjt] {
        font-size: 1.125rem !important;
        line-height: 1.4 !important;
    }
    
    .mud-typography-body2[b-xuimwmhbjt] {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }
    
    .mud-typography-subtitle1[b-xuimwmhbjt] {
        font-size: 1.125rem !important;
        line-height: 1.3 !important;
    }
    
    .mud-typography-subtitle2[b-xuimwmhbjt] {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    
    /* Reduce button font sizes on mobile - keep readable */
    .mud-button[b-xuimwmhbjt] {
        font-size: 1rem !important;
    }
    
    /* Reduce input field font sizes on mobile - keep readable */
    .mud-text-field .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt],
    .mud-text-field .mud-input-root .mud-input-slot .mud-input-label[b-xuimwmhbjt],
    .mud-text-field .mud-input-root .mud-input-slot .mud-input-helper-text[b-xuimwmhbjt] {
        font-size: 1rem !important;
    }
    
    /* Reduce table font sizes on mobile */
    .mud-table .mud-table-head .mud-th[b-xuimwmhbjt],
    .mud-table .mud-table-body .mud-td[b-xuimwmhbjt] {
        font-size: 1rem !important;
    }
    
    /* Reduce navigation tab font sizes on mobile */
    .navigation-container .mud-button[b-xuimwmhbjt] {
        font-size: 1rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    /* Reduce mobile drawer font sizes */
    .mud-drawer .mud-nav-link[b-xuimwmhbjt] {
        font-size: 1.125rem !important;
    }
    
    /* Reduce template card text sizes */
    .template-card .mud-text[b-xuimwmhbjt] {
        font-size: 1rem !important;
    }
    
    /* Improved MudBlazor Navigation Design - Smaller and More Appealing */
    .mud-drawer .mud-nav-menu[b-xuimwmhbjt] {
        padding: 0.5rem !important;
    }
    
    .mud-drawer .mud-nav-link[b-xuimwmhbjt] {
        font-size: 0.875rem !important;
        font-weight: 500 !important;
        padding: 0.5rem 0.75rem !important;
        margin: 0.125rem 0 !important;
        border-radius: 8px !important;
        transition: all 0.2s ease !important;
        color: #374151 !important;
        background: transparent !important;
        border: 1px solid transparent !important;
    }
    
    .mud-drawer .mud-nav-link:hover[b-xuimwmhbjt] {
        background: #f3f4f6 !important;
        color: #1f2937 !important;
        border-color: #d1d5db !important;
        transform: translateX(4px) !important;
    }
    
    .mud-drawer .mud-nav-link.mud-nav-link-active[b-xuimwmhbjt] {
        background: #3b82f6 !important;
        color: white !important;
        border-color: #2563eb !important;
        box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2) !important;
    }
    
    .mud-drawer .mud-nav-link .mud-nav-link-icon[b-xuimwmhbjt] {
        font-size: 1rem !important;
        margin-right: 0.5rem !important;
        opacity: 0.8 !important;
    }
    
    .mud-drawer .mud-nav-link:hover .mud-nav-link-icon[b-xuimwmhbjt] {
        opacity: 1 !important;
    }
    
    .mud-drawer .mud-nav-link.mud-nav-link-active .mud-nav-link-icon[b-xuimwmhbjt] {
        opacity: 1 !important;
    }
    
    /* Navigation section dividers */
    .mud-drawer .mud-divider[b-xuimwmhbjt] {
        margin: 0.75rem 0.5rem !important;
        opacity: 0.3 !important;
    }
    
    /* Navigation section headers */
    .mud-drawer .mud-typography-subtitle2[b-xuimwmhbjt] {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: #6b7280 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        padding: 0.5rem 0.75rem 0.25rem 0.75rem !important;
        margin: 0 !important;
    }
    
    /* Theme section styling */
    .mud-drawer .mud-nav-link[style*="color: #1976d2"][b-xuimwmhbjt] {
        background: rgba(25, 118, 210, 0.1) !important;
        border-color: rgba(25, 118, 210, 0.2) !important;
        color: #1976d2 !important;
    }
    
    .mud-drawer .mud-nav-link[style*="color: #a1a1a1"][b-xuimwmhbjt] {
        background: rgba(161, 161, 161, 0.1) !important;
        border-color: rgba(161, 161, 161, 0.2) !important;
        color: #6b7280 !important;
    }
    
    .mud-drawer .mud-nav-link[style*="color: #90caf9"][b-xuimwmhbjt] {
        background: rgba(144, 202, 249, 0.1) !important;
        border-color: rgba(144, 202, 249, 0.2) !important;
        color: #0288d1 !important;
    }
    
    .mud-drawer .mud-nav-link[style*="color: #14a800"][b-xuimwmhbjt] {
        background: rgba(20, 168, 0, 0.1) !important;
        border-color: rgba(20, 168, 0, 0.2) !important;
        color: #2e7d32 !important;
    }
    
    /* Hover effects for theme options */
    .mud-drawer .mud-nav-link[style*="color: #1976d2"]:hover[b-xuimwmhbjt] {
        background: rgba(25, 118, 210, 0.15) !important;
        border-color: rgba(25, 118, 210, 0.3) !important;
        transform: translateX(4px) !important;
    }
    
    .mud-drawer .mud-nav-link[style*="color: #a1a1a1"]:hover[b-xuimwmhbjt] {
        background: rgba(161, 161, 161, 0.15) !important;
        border-color: rgba(161, 161, 161, 0.3) !important;
        transform: translateX(4px) !important;
    }
    
    .mud-drawer .mud-nav-link[style*="color: #90caf9"]:hover[b-xuimwmhbjt] {
        background: rgba(144, 202, 249, 0.15) !important;
        border-color: rgba(144, 202, 249, 0.3) !important;
        transform: translateX(4px) !important;
    }
    
    .mud-drawer .mud-nav-link[style*="color: #14a800"]:hover[b-xuimwmhbjt] {
        background: rgba(20, 168, 0, 0.15) !important;
        border-color: rgba(20, 168, 0, 0.3) !important;
        transform: translateX(4px) !important;
    }
    
    /* Mobile form sizing - make forms more compact while keeping readable */
    .mud-text-field[b-xuimwmhbjt] {
        margin-bottom: 0.75rem !important;
    }
    
    .mud-text-field .mud-input-root[b-xuimwmhbjt] {
        min-height: 44px !important;
        max-height: 44px !important;
    }
    
    .mud-text-field .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt] {
        padding: 0.625rem 0.875rem !important;
        min-height: 44px !important;
        max-height: 44px !important;
        font-size: 1rem !important;
    }
    
    .mud-text-field .mud-input-root .mud-input-slot .mud-input-label[b-xuimwmhbjt] {
        font-size: 1rem !important;
        transform: translateY(-0.5rem) !important;
    }
    
    .mud-text-field .mud-input-root .mud-input-slot .mud-input-label.mud-floating[b-xuimwmhbjt] {
        transform: translateY(-1.25rem) scale(0.8) !important;
    }
    
    /* Reduce textarea heights on mobile - make more compact */
    .mud-input-control .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt] {
        min-height: 60px !important;
        max-height: 80px !important;
        padding: 0.625rem 0.875rem !important;
        font-size: 1rem !important;
    }
    
    /* Reduce button heights on mobile - keep touch-friendly */
    .mud-button[b-xuimwmhbjt] {
        height: 40px !important;
        min-height: 40px !important;
        padding: 0.375rem 0.875rem !important;
        font-size: 1rem !important;
    }
    
    .mud-button.mud-button-size-large[b-xuimwmhbjt] {
        height: 44px !important;
        min-height: 44px !important;
        padding: 0.5rem 1rem !important;
    }
    
    /* Reduce form spacing on mobile - make more compact */
    .mb-4[b-xuimwmhbjt] {
        margin-bottom: 1.25rem !important;
    }
    
    .mb-3[b-xuimwmhbjt] {
        margin-bottom: 1rem !important;
    }
    
    .mb-2[b-xuimwmhbjt] {
        margin-bottom: 0.75rem !important;
    }
    
    .mb-1[b-xuimwmhbjt] {
        margin-bottom: 0.5rem !important;
    }
    
    /* Reduce upload area heights on mobile - make more compact */
    .upload-area[b-xuimwmhbjt] {
        height: 70px !important;
        min-height: 70px !important;
    }
    
    /* Reduce template card heights on mobile - make more compact */
    .template-card[b-xuimwmhbjt] {
        height: 3.5rem !important;
        min-height: 3.5rem !important;
        min-width: 5.5rem !important;
    }
    
    /* Reduce form section spacing - make more compact */
    .mud-stack > div[b-xuimwmhbjt] {
        margin-bottom: 1rem !important;
    }
    
    /* Reduce numeric field heights on mobile */
    .mud-numeric-field .mud-input-root[b-xuimwmhbjt] {
        min-height: 44px !important;
        max-height: 44px !important;
    }
    
    .mud-numeric-field .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt] {
        padding: 0.625rem 0.875rem !important;
        min-height: 44px !important;
        max-height: 44px !important;
        font-size: 1rem !important;
    }
    
    /* Reduce select field heights on mobile */
    .mud-select .mud-input-root[b-xuimwmhbjt] {
        min-height: 44px !important;
        max-height: 44px !important;
    }
    
    .mud-select .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt] {
        padding: 0.625rem 0.875rem !important;
        min-height: 44px !important;
        max-height: 44px !important;
        font-size: 1rem !important;
    }
    
    /* Reduce date picker heights on mobile */
    .mud-date-picker .mud-input-root[b-xuimwmhbjt] {
        min-height: 44px !important;
        max-height: 44px !important;
    }
    
    .mud-date-picker .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt] {
        padding: 0.625rem 0.875rem !important;
        min-height: 44px !important;
        max-height: 44px !important;
        font-size: 1rem !important;
    }
    
    /* Reduce form group spacing */
    .mud-form-field[b-xuimwmhbjt] {
        margin-bottom: 1rem !important;
    }
    
    /* Reduce input adornment sizes */
    .mud-input-adornment[b-xuimwmhbjt] {
        height: 44px !important;
        min-height: 44px !important;
    }
    
    .mud-input-adornment .mud-icon-button[b-xuimwmhbjt] {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }
    
    /* Make form sections more compact */
    .mud-paper.pa-6[b-xuimwmhbjt] {
        padding: 1.5rem !important;
    }
    
    /* Reduce spacing between form elements */
    .mud-stack[b-xuimwmhbjt] {
        gap: 0.75rem !important;
    }
    
    /* Make form headings more compact */
    .mud-typography-h6.mb-2[b-xuimwmhbjt] {
        margin-bottom: 0.5rem !important;
    }
    
    /* Reduce spacing in form rows */
    .d-flex.gap-4[b-xuimwmhbjt] {
        gap: 1rem !important;
    }
    
    /* Make currency selector more compact */
    .mud-select .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt] {
        padding: 0.5rem 0.75rem !important;
    }
    
    /* Make quantity spinner more compact */
    .mud-numeric-field .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt] {
        padding: 0.5rem 0.75rem !important;
    }

    /* Mobile item field label improvements */
    .items-table .mud-input-root .mud-input-slot .mud-input-label[b-xuimwmhbjt] {
        font-size: 0.875rem !important;
        color: #374151 !important;
        font-weight: 500 !important;
    }
    
    .items-table .mud-input-root .mud-input-slot .mud-input-label.mud-floating[b-xuimwmhbjt] {
        transform: translateY(-1.25rem) scale(0.8) !important;
        background: white !important;
        padding: 0 0.25rem !important;
    }
    
    /* Ensure item field labels are visible on mobile */
    .items-table .mud-td .mud-input-root[b-xuimwmhbjt] {
        position: relative !important;
    }
    
    .items-table .mud-td .mud-input-root .mud-input-slot .mud-input-label[b-xuimwmhbjt] {
        position: absolute !important;
        top: -0.5rem !important;
        left: 0.5rem !important;
        font-size: 0.75rem !important;
        color: #6b7280 !important;
        background: white !important;
        padding: 0 0.25rem !important;
        z-index: 1 !important;
    }

    
    .items-table .mud-table-head[b-xuimwmhbjt] {
        display: none !important;
    }

    
    .items-table .mud-td[b-xuimwmhbjt] {
        display: block !important;
        width: 100% !important;
        margin-bottom: 0.5rem !important;
        padding: 0.25rem 0 !important;
    }
    
    .items-table .mud-td .mud-input-root[b-xuimwmhbjt] {
        width: 100% !important;
    }
    
    .items-table .mud-td .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt] {
        width: 100% !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .mud-typography-h1[b-xuimwmhbjt] {
        font-size: 1.25rem !important;
    }
    
    .mud-typography-h2[b-xuimwmhbjt] {
        font-size: 1.125rem !important;
    }
    
    .mud-typography-h3[b-xuimwmhbjt] {
        font-size: 1rem !important;
    }
    
    .mud-typography-h4[b-xuimwmhbjt] {
        font-size: 0.875rem !important;
    }
    
    .mud-typography-h5[b-xuimwmhbjt] {
        font-size: 0.75rem !important;
    }
    
    .mud-typography-h6[b-xuimwmhbjt] {
        font-size: 0.625rem !important;
    }
    
    .mud-typography-body1[b-xuimwmhbjt] {
        font-size: 0.75rem !important;
    }
    
    .mud-typography-body2[b-xuimwmhbjt] {
        font-size: 0.625rem !important;
    }
    
    .mud-button[b-xuimwmhbjt] {
        font-size: 0.625rem !important;
    }
    
    .mud-text-field .mud-input-root .mud-input-slot .mud-input[b-xuimwmhbjt],
    .mud-text-field .mud-input-root .mud-input-slot .mud-input-label[b-xuimwmhbjt],
    .mud-text-field .mud-input-root .mud-input-slot .mud-input-helper-text[b-xuimwmhbjt] {
        font-size: 0.625rem !important;
    }
    
    /* Extra small mobile item field label improvements */
    .items-table .mud-input-root .mud-input-slot .mud-input-label[b-xuimwmhbjt] {
        font-size: 0.5rem !important;
        top: -0.25rem !important;
        left: 0.25rem !important;
        padding: 0 0.125rem !important;
    }
    
    .items-table .mud-input-root .mud-input-slot .mud-input-label.mud-floating[b-xuimwmhbjt] {
        transform: translateY(-1rem) scale(0.6) !important;
    }
    
    /* Ensure item field labels are visible on very small mobile */
    .items-table .mud-td .mud-input-root .mud-input-slot .mud-input-label[b-xuimwmhbjt] {
        position: absolute !important;
        top: -0.25rem !important;
        left: 0.25rem !important;
        font-size: 0.5rem !important;
        color: #6b7280 !important;
        background: white !important;
        padding: 0 0.125rem !important;
        z-index: 1 !important;
    }
}

/* Theme-aware background classes */
.header-container[b-xuimwmhbjt] {
    background: var(--mud-palette-surface);
    border-bottom: 1px solid var(--mud-palette-divider);
}

.header-paper[b-xuimwmhbjt] {
    background: white !important;
}

[data-theme="dark"] .header-paper[b-xuimwmhbjt] {
    background: var(--mud-palette-surface) !important;
}

.navigation-container[b-xuimwmhbjt] {
    background: white !important;
}

[data-theme="dark"] .navigation-container[b-xuimwmhbjt] {
    background: var(--mud-palette-surface) !important;
}

.left-panel-paper[b-xuimwmhbjt] {
    background: white !important;
}

[data-theme="dark"] .left-panel-paper[b-xuimwmhbjt] {
    background: var(--mud-palette-surface) !important;
}

.right-panel-header[b-xuimwmhbjt] {
    background: white !important;
}

[data-theme="dark"] .right-panel-header[b-xuimwmhbjt] {
    background: var(--mud-palette-surface) !important;
} 

/* Mobile Floating Preview Button */
.mobile-preview-fab[b-xuimwmhbjt] {
    position: fixed !important;
    bottom: 12px !important;
    right: 12px !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

/* Force override MudBlazor default positioning */
.mobile-preview-fab.mud-fab[b-xuimwmhbjt] {
    position: fixed !important;
    bottom: 12px !important;
    right: 12px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}

/* Additional force override for MudBlazor */
.mud-fab.mobile-preview-fab[b-xuimwmhbjt] {
    position: fixed !important;
    bottom: 12px !important;
    right: 12px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}

.mobile-preview-fab:hover[b-xuimwmhbjt] {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Mobile Preview Overlay */
.mobile-preview-overlay[b-xuimwmhbjt] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1140 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.mobile-preview-overlay.active[b-xuimwmhbjt] {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Mobile Preview Panel */
.mobile-preview-panel[b-xuimwmhbjt] {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: -100% !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: white !important;
    z-index: 1150 !important;
    transition: right 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    padding-top: env(safe-area-inset-top) !important;
}

.mobile-preview-actions[b-xuimwmhbjt] {
    flex-shrink: 0 !important;
    padding: 0.5rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #e2e8f0 !important;
    background: inherit !important;
}

.mobile-preview-actions > div:first-child[b-xuimwmhbjt] {
    margin-top: 0 !important;
}

.mobile-preview-panel.active[b-xuimwmhbjt] {
    right: 0 !important;
}

/* Mobile Preview Header */
.mobile-preview-header[b-xuimwmhbjt] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    flex-shrink: 0 !important;
}

/* Mobile Preview Content */
.mobile-preview-content[b-xuimwmhbjt] {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 1rem !important;
    scroll-behavior: smooth !important;
}

/* Dark theme support for mobile preview */
[data-theme="dark"] .mobile-preview-panel[b-xuimwmhbjt] {
    background: var(--mud-palette-surface) !important;
}

[data-theme="dark"] .mobile-preview-header[b-xuimwmhbjt] {
    background: var(--mud-palette-surface) !important;
    border-bottom-color: var(--mud-palette-divider) !important;
}

/* Settings Panel (Sliding from Right) */
.settings-overlay[b-xuimwmhbjt] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1160 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.settings-overlay.active[b-xuimwmhbjt] {
    opacity: 1 !important;
    visibility: visible !important;
}

.settings-panel[b-xuimwmhbjt] {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 400px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: white !important;
    z-index: 1170 !important;
    transition: right 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15) !important;
}

.settings-panel.active[b-xuimwmhbjt] {
    right: 0 !important;
}

.settings-header[b-xuimwmhbjt] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.5rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    flex-shrink: 0 !important;
}

.settings-content[b-xuimwmhbjt] {
    flex: 1 !important;
    overflow: auto !important;
    padding: 1.5rem !important;
}

.settings-section[b-xuimwmhbjt] {
    margin-bottom: 2rem !important;
}

.settings-section:last-child[b-xuimwmhbjt] {
    margin-bottom: 0 !important;
}

/* Dark theme support for settings panel */
[data-theme="dark"] .settings-panel[b-xuimwmhbjt] {
    background: var(--mud-palette-surface) !important;
}

[data-theme="dark"] .settings-header[b-xuimwmhbjt] {
    background: var(--mud-palette-surface) !important;
    border-bottom-color: var(--mud-palette-divider) !important;
}

/* Hide floating button on desktop */
@media (min-width: 769px) {
    .mobile-preview-fab[b-xuimwmhbjt] {
        display: none !important;
    }
}

/* Mobile-specific preview panel adjustments */
@media (max-width: 768px) {
    .mobile-preview-panel[b-xuimwmhbjt] {
        width: 100% !important;
    }
    
    .mobile-preview-header[b-xuimwmhbjt] {
        padding: 0.75rem !important;
    }
    
    .mobile-preview-content[b-xuimwmhbjt] {
        padding: 0.75rem !important;
    }
    
    /* Mobile settings panel adjustments */
    .settings-panel[b-xuimwmhbjt] {
        width: 100% !important;
        right: -100% !important;
    }
    
    .settings-panel.active[b-xuimwmhbjt] {
        right: 0 !important;
    }
    
    .settings-header[b-xuimwmhbjt] {
        padding: 1rem !important;
    }
    
    .settings-content[b-xuimwmhbjt] {
        padding: 1rem !important;
    }
}

/* Extra small mobile preview adjustments */
@media (max-width: 480px) {
    .mobile-preview-fab[b-xuimwmhbjt] {
        right: 12px !important;
    }

    .mobile-preview-header[b-xuimwmhbjt] {
        padding: 0.5rem !important;
    }

    .mobile-preview-content[b-xuimwmhbjt] {
        padding: 0.5rem 0.25rem !important;
    }
    
    /* Extra small mobile settings panel adjustments */
    .settings-header[b-xuimwmhbjt] {
        padding: 0.75rem !important;
    }
    
    .settings-content[b-xuimwmhbjt] {
        padding: 0.75rem !important;
    }
} 

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .mud-drawer .mud-nav-menu[b-xuimwmhbjt] {
        padding: 0.25rem !important;
    }
    
    .mud-drawer .mud-nav-link[b-xuimwmhbjt] {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.5rem !important;
        margin: 0.0625rem 0 !important;
        border-radius: 6px !important;
    }
    
    .mud-drawer .mud-nav-link .mud-nav-link-icon[b-xuimwmhbjt] {
        font-size: 0.875rem !important;
        margin-right: 0.375rem !important;
    }
    
    .mud-drawer .mud-typography-subtitle2[b-xuimwmhbjt] {
        font-size: 0.625rem !important;
        padding: 0.375rem 0.5rem 0.125rem 0.5rem !important;
    }
    
    .mud-drawer .mud-divider[b-xuimwmhbjt] {
        margin: 0.5rem 0.25rem !important;
    }
}

/* Extra Small Mobile Navigation */
@media (max-width: 480px) {
    .mud-drawer .mud-nav-menu[b-xuimwmhbjt] {
        padding: 0.125rem !important;
    }
    
    .mud-drawer .mud-nav-link[b-xuimwmhbjt] {
        font-size: 0.625rem !important;
        padding: 0.25rem 0.375rem !important;
        margin: 0.03125rem 0 !important;
        border-radius: 4px !important;
    }
    
    .mud-drawer .mud-nav-link .mud-nav-link-icon[b-xuimwmhbjt] {
        font-size: 0.75rem !important;
        margin-right: 0.25rem !important;
    }
    
    .mud-drawer .mud-typography-subtitle2[b-xuimwmhbjt] {
        font-size: 0.5rem !important;
        padding: 0.25rem 0.375rem 0.125rem 0.375rem !important;
    }
    
    .mud-drawer .mud-divider[b-xuimwmhbjt] {
        margin: 0.375rem 0.125rem !important;
    }
} 

/* Mobile Page Header Settings Icon Styling */
@media (max-width: 768px) {
    /* Ensure mobile page header settings icon is properly positioned */
    .header-paper .mud-paper .d-flex.justify-space-between[b-xuimwmhbjt] {
        align-items: center !important;
    }
    
    /* Mobile settings icon styling in header */
    .header-paper .mud-paper .mud-icon-button[b-xuimwmhbjt] {
        flex-shrink: 0 !important;
        margin-left: 0.5rem !important;
    }
    
    /* Ensure proper spacing for mobile page header */
    .header-paper .mud-paper .mud-typography-h6[b-xuimwmhbjt] {
        margin: 0 !important;
        flex: 1 !important;
    }
}

/* Extra small mobile page header adjustments */
@media (max-width: 480px) {
    .header-paper .mud-paper .mud-icon-button[b-xuimwmhbjt] {
        margin-left: 0.375rem !important;
    }
} 

/* Hide Print button on mobile devices (temporary - until mobile print issue is resolved) */
@media (max-width: 960px) {
    .mobile-print-button[b-xuimwmhbjt] {
        display: none !important;
    }
}







