/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page-topbar[b-21lpaabao6] {
    min-height: 100vh;
    background: #f5f6fa;
    display: flex;
    flex-direction: column;
}

.main-content[b-21lpaabao6] {
    min-height: calc(100vh - 80px - 50px);
    padding-bottom: 1rem;
}

.content[b-21lpaabao6] {
    padding-top: 1.1rem;
    max-width: 1600px;
    margin: 0 auto;
}

#blazor-error-ui[b-21lpaabao6] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-21lpaabao6] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.app-footer[b-21lpaabao6] {
    background: #1a237e;
    color: #fff;
    padding: 0.6rem 1.5rem;
    margin-top: auto;
}

.app-footer-inner[b-21lpaabao6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 1600px;
    margin: 0 auto;
    font-size: 0.8rem;
}

.app-footer-about[b-21lpaabao6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-footer-about strong[b-21lpaabao6] {
    color: #90caf9;
}

.app-footer-support[b-21lpaabao6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.app-footer-support a[b-21lpaabao6] {
    color: #80cbc4;
    text-decoration: none;
    transition: color 0.15s;
}

.app-footer-support a:hover[b-21lpaabao6] {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .main-content[b-21lpaabao6] {
        min-height: calc(100vh - 56px - 50px);
    }

    .content[b-21lpaabao6] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .app-footer-inner[b-21lpaabao6] {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
}

@media print {
    .topbar-nav[b-21lpaabao6] {
        display: none !important;
    }
    .app-footer[b-21lpaabao6] {
        display: none !important;
    }
    .page-topbar[b-21lpaabao6] {
        background: #fff !important;
    }
    .main-content[b-21lpaabao6] {
        min-height: auto !important;
        padding-bottom: 0 !important;
    }
    .content[b-21lpaabao6] {
        padding-top: 0 !important;
        max-width: 100% !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.topbar-nav[b-gpa9w9nov4] {
    display: flex;
    align-items: center;
    height: 80px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 1030;
    gap: 0.5rem;
}

.topbar-brand[b-gpa9w9nov4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.topbar-logo[b-gpa9w9nov4] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.topbar-logo-img[b-gpa9w9nov4] {
    width: 150px;
    height: 80px;
    border-radius: 8px;
    object-fit: contain;
}

.topbar-brand-text[b-gpa9w9nov4] {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a237e;
    white-space: nowrap;
}

.topbar-menu[b-gpa9w9nov4] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    overflow: visible;
    white-space: nowrap;
}

.topbar-link[b-gpa9w9nov4] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

    .topbar-link:hover[b-gpa9w9nov4] {
        background: rgba(0, 0, 0, 0.05);
        color: #333;
        text-decoration: none;
    }

.topbar-icon[b-gpa9w9nov4] {
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.topbar-caret[b-gpa9w9nov4] {
    font-size: 0.65rem;
    margin-left: 0.15rem;
    opacity: 0.6;
}

.topbar-link-home[b-gpa9w9nov4] { color: #1565c0; }
.topbar-link-home:hover[b-gpa9w9nov4] { background: #e3f2fd; }

.topbar-link-sales[b-gpa9w9nov4] { color: #2e7d32; }
.topbar-link-sales:hover[b-gpa9w9nov4] { background: #e8f5e9; }

.topbar-link-purchase[b-gpa9w9nov4] { color: #e65100; }
.topbar-link-purchase:hover[b-gpa9w9nov4] { background: #fff3e0; }

.topbar-link-projects[b-gpa9w9nov4] { color: #3949ab; }
.topbar-link-projects:hover[b-gpa9w9nov4] { background: #e8eaf6; }

.topbar-link-inventory[b-gpa9w9nov4] { color: #6a1b9a; }
.topbar-link-inventory:hover[b-gpa9w9nov4] { background: #f3e5f5; }

.topbar-link-accounting[b-gpa9w9nov4] { color: #00695c; }
.topbar-link-accounting:hover[b-gpa9w9nov4] { background: #e0f2f1; }

.topbar-link-reports[b-gpa9w9nov4] { color: #c62828; }
.topbar-link-reports:hover[b-gpa9w9nov4] { background: #ffebee; }

.topbar-link-settings[b-gpa9w9nov4] { color: #546e7a; }
.topbar-link-settings:hover[b-gpa9w9nov4] { background: #eceff1; }

/* CSS-only hover dropdown */
.topbar-dropdown[b-gpa9w9nov4] {
    position: relative;
}

.topbar-dropdown-menu[b-gpa9w9nov4] {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    padding: 0.35rem;
    min-width: 200px;
    z-index: 1050;
    display: none;
}

.topbar-dropdown:hover .topbar-dropdown-menu[b-gpa9w9nov4],
.topbar-dropdown:focus-within .topbar-dropdown-menu[b-gpa9w9nov4] {
    display: block;
}

.topbar-dropdown-item[b-gpa9w9nov4] {
    display: block;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-size: 0.83rem;
    text-decoration: none;
    transition: all 0.12s ease;
}

    .topbar-dropdown-item i.bi[b-gpa9w9nov4] {
        margin-right: 0.4rem;
        font-size: 0.9rem;
    }

    .topbar-dropdown-item:hover[b-gpa9w9nov4] {
        background: #f5f5f5;
        text-decoration: none;
        filter: brightness(1.15);
    }

.text-purple[b-gpa9w9nov4] { color: #6a1b9a !important; }
.text-teal[b-gpa9w9nov4] { color: #00695c !important; }

.topbar-dropdown-divider[b-gpa9w9nov4] {
    height: 1px;
    background: #e0e0e0;
    margin: 0.4rem 0.75rem;
}

/* Sub-dropdown (opens to the right) */
.topbar-subdropdown[b-gpa9w9nov4] {
    position: relative;
}

.topbar-subdropdown-toggle[b-gpa9w9nov4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.topbar-sub-caret[b-gpa9w9nov4] {
    font-size: 0.6rem;
    margin-left: 0.5rem;
    opacity: 0.6;
}

.topbar-subdropdown-menu[b-gpa9w9nov4] {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 2px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    padding: 0.35rem;
    min-width: 180px;
    z-index: 1051;
    display: none;
}

.topbar-subdropdown:hover .topbar-subdropdown-menu[b-gpa9w9nov4],
.topbar-subdropdown:focus-within .topbar-subdropdown-menu[b-gpa9w9nov4] {
    display: block;
}

.topbar-subdropdown-toggle:hover[b-gpa9w9nov4] {
    background: #f5f5f5;
    color: #1a237e;
}

.topbar-dropdown-sales[b-gpa9w9nov4] { border-top: 3px solid #66bb6a; }
.topbar-dropdown-purchase[b-gpa9w9nov4] { border-top: 3px solid #ff9800; }
.topbar-dropdown-projects[b-gpa9w9nov4] { border-top: 3px solid #5c6bc0; }
.topbar-dropdown-inventory[b-gpa9w9nov4] { border-top: 3px solid #ab47bc; }
.topbar-dropdown-accounting[b-gpa9w9nov4] { border-top: 3px solid #26a69a; }
.topbar-dropdown-reports[b-gpa9w9nov4] { border-top: 3px solid #ef5350; }
.topbar-dropdown-settings[b-gpa9w9nov4] { border-top: 3px solid #78909c; }

.topbar-right[b-gpa9w9nov4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
}

.topbar-user[b-gpa9w9nov4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-user-avatar[b-gpa9w9nov4] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.topbar-user-name[b-gpa9w9nov4] {
    font-size: 0.83rem;
    color: #555;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-logout-form[b-gpa9w9nov4] {
    margin: 0;
}

.topbar-logout-btn[b-gpa9w9nov4] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    color: #e53935;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

    .topbar-logout-btn:hover[b-gpa9w9nov4] {
        background: #ffebee;
        border-color: #ef9a9a;
    }

@media (max-width: 768px) {
    .topbar-nav[b-gpa9w9nov4] {
        height: auto;
        min-height: 56px;
        flex-wrap: wrap;
        padding: 0.5rem 0.75rem;
    }

    .topbar-brand-text[b-gpa9w9nov4] { display: none; }
    .topbar-logo-img[b-gpa9w9nov4] { width: 100px; height: 48px; }

    .topbar-hamburger[b-gpa9w9nov4] {
        display: flex;
        margin-left: auto;
    }

    .topbar-menu[b-gpa9w9nov4] {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0.5rem 0;
        order: 3;
    }

    .topbar-nav-open .topbar-menu[b-gpa9w9nov4] {
        display: flex;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }

    .topbar-link[b-gpa9w9nov4] {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: flex-start;
    }

    .topbar-icon[b-gpa9w9nov4] { font-size: 1.1rem; }
    .topbar-caret[b-gpa9w9nov4] { display: inline; }

    .topbar-dropdown[b-gpa9w9nov4] {
        width: 100%;
    }

    .topbar-dropdown-menu[b-gpa9w9nov4] {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0 0 0 1.5rem;
        min-width: 100%;
        background: #f8f9fa;
    }

    .topbar-dropdown:hover .topbar-dropdown-menu[b-gpa9w9nov4],
    .topbar-dropdown:focus-within .topbar-dropdown-menu[b-gpa9w9nov4] {
        display: block;
    }

    .topbar-subdropdown-menu[b-gpa9w9nov4] {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0 0 0 1rem;
        min-width: 100%;
        background: #f0f0f0;
    }

    .topbar-subdropdown:hover .topbar-subdropdown-menu[b-gpa9w9nov4],
    .topbar-subdropdown:focus-within .topbar-subdropdown-menu[b-gpa9w9nov4] {
        display: block;
    }

    .topbar-right[b-gpa9w9nov4] {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
        padding-top: 0.5rem;
        border-top: 1px solid #eee;
        order: 2;
    }

    .topbar-user-name[b-gpa9w9nov4] { display: none; }
}

.topbar-hamburger[b-gpa9w9nov4] {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

    .topbar-hamburger span[b-gpa9w9nov4] {
        display: block;
        width: 26px;
        height: 3px;
        background: #1a237e;
        border-radius: 2px;
        transition: all 0.25s ease;
    }

    .topbar-hamburger:hover span[b-gpa9w9nov4] {
        background: #3949ab;
    }

@media (max-width: 768px) {
    .topbar-hamburger[b-gpa9w9nov4] {
        display: flex;
    }
}

@media print {
    .topbar-nav[b-gpa9w9nov4] {
        display: none !important;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-by26wupe1e],
.components-reconnect-repeated-attempt-visible[b-by26wupe1e],
.components-reconnect-failed-visible[b-by26wupe1e],
.components-pause-visible[b-by26wupe1e],
.components-resume-failed-visible[b-by26wupe1e],
.components-rejoining-animation[b-by26wupe1e] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-by26wupe1e],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-by26wupe1e],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-by26wupe1e],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-by26wupe1e],
#components-reconnect-modal.components-reconnect-retrying[b-by26wupe1e],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-by26wupe1e],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-by26wupe1e],
#components-reconnect-modal.components-reconnect-failed[b-by26wupe1e],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-by26wupe1e] {
    display: block;
}


#components-reconnect-modal[b-by26wupe1e] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-by26wupe1e 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-by26wupe1e 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-by26wupe1e 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-by26wupe1e]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-by26wupe1e 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-by26wupe1e {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-by26wupe1e {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-by26wupe1e {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-by26wupe1e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-by26wupe1e] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-by26wupe1e] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-by26wupe1e] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-by26wupe1e] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-by26wupe1e] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-by26wupe1e] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-by26wupe1e 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-by26wupe1e] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-by26wupe1e {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/BackupRestore.razor.rz.scp.css */
/* ===== Backup & Restore Page ===== */

.backup-action-card[b-mxrfq8sw64] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.backup-action-card:hover[b-mxrfq8sw64] {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #c7d2fe;
}

.backup-action-icon[b-mxrfq8sw64] {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.backup-icon-blue[b-mxrfq8sw64] { background: #dbeafe; color: #2563eb; }
.backup-icon-green[b-mxrfq8sw64] { background: #d1fae5; color: #059669; }
.backup-icon-amber[b-mxrfq8sw64] { background: #fef3c7; color: #d97706; }
.backup-icon-purple[b-mxrfq8sw64] { background: #ede9fe; color: #7c3aed; }
.backup-icon-red[b-mxrfq8sw64] { background: #fee2e2; color: #dc2626; }
.backup-icon-cyan[b-mxrfq8sw64] { background: #cffafe; color: #0891b2; }

.backup-action-card h6[b-mxrfq8sw64] {
    font-weight: 700;
    color: #1a237e;
    margin: 0;
    font-size: 0.95rem;
}

.backup-action-card p[b-mxrfq8sw64] {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
    flex: 1;
}

.backup-btn[b-mxrfq8sw64] {
    border: none;
    border-radius: 10px;
    padding: 0.55rem 1.25rem;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.backup-btn-primary[b-mxrfq8sw64] {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.backup-btn-primary:hover:not(:disabled)[b-mxrfq8sw64] {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.backup-btn-success[b-mxrfq8sw64] {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.backup-btn-success:hover:not(:disabled)[b-mxrfq8sw64] {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.backup-btn-danger[b-mxrfq8sw64] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.backup-btn-danger:hover:not(:disabled)[b-mxrfq8sw64] {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}

.backup-btn-outline[b-mxrfq8sw64] {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #475569;
}

.backup-btn-outline:hover:not(:disabled)[b-mxrfq8sw64] {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.backup-btn:disabled[b-mxrfq8sw64] {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.3);
}

/* Quick action chips */
.backup-chip[b-mxrfq8sw64] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.backup-chip i[b-mxrfq8sw64] {
    font-size: 1rem;
}

.backup-chip-success[b-mxrfq8sw64] {
    background: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
}

.backup-chip-success:hover:not(:disabled)[b-mxrfq8sw64] {
    background: #d1fae5;
    transform: translateY(-1px);
}

.backup-chip-info[b-mxrfq8sw64] {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.backup-chip-info:hover:not(:disabled)[b-mxrfq8sw64] {
    background: #dbeafe;
    transform: translateY(-1px);
}

.backup-chip:disabled[b-mxrfq8sw64] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Stat tiles */
.backup-stat-tile[b-mxrfq8sw64] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: transform 0.15s;
}

.backup-stat-tile:hover[b-mxrfq8sw64] {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.backup-stat-icon[b-mxrfq8sw64] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.backup-stat-value[b-mxrfq8sw64] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a237e;
    line-height: 1.1;
}

.backup-stat-label[b-mxrfq8sw64] {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Table styling */
.backup-table[b-mxrfq8sw64] {
    margin: 0;
}

.backup-table thead th[b-mxrfq8sw64] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding: 0.6rem 0.75rem;
    background: #f8fafc;
}

.backup-table tbody td[b-mxrfq8sw64] {
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
    vertical-align: middle;
    border-bottom: 1px solid #f5f5f5;
}

.backup-table tbody tr[b-mxrfq8sw64] {
    transition: background 0.15s;
}

.backup-table tbody tr:hover[b-mxrfq8sw64] {
    background: #f8fafc;
}

.backup-table tbody tr:last-child td[b-mxrfq8sw64] {
    border-bottom: none;
}

.backup-badge[b-mxrfq8sw64] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
}

.backup-badge-db[b-mxrfq8sw64] {
    background: #dbeafe;
    color: #2563eb;
}

.backup-badge-uploads[b-mxrfq8sw64] {
    background: #cffafe;
    color: #0891b2;
}

.backup-file-name[b-mxrfq8sw64] {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}

.backup-action-btn[b-mxrfq8sw64] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.15s;
    cursor: pointer;
}

.backup-action-btn:hover[b-mxrfq8sw64] {
    transform: translateY(-2px);
}

.backup-action-download[b-mxrfq8sw64] {
    background: #d1fae5;
    color: #059669;
}

.backup-action-download:hover[b-mxrfq8sw64] {
    background: #a7f3d0;
}

.backup-action-delete[b-mxrfq8sw64] {
    background: #fee2e2;
    color: #dc2626;
}

.backup-action-delete:hover[b-mxrfq8sw64] {
    background: #fecaca;
}

/* Restore drop zone */
.restore-dropzone[b-mxrfq8sw64] {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
    background: #f8fafc;
}

.restore-dropzone:hover[b-mxrfq8sw64] {
    border-color: #2563eb;
    background: #eff6ff;
}

.restore-dropzone-icon[b-mxrfq8sw64] {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.restore-dropzone-title[b-mxrfq8sw64] {
    font-weight: 700;
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.restore-dropzone-sub[b-mxrfq8sw64] {
    font-size: 0.78rem;
    color: #94a3b8;
}

.restore-selected-bar[b-mxrfq8sw64] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    margin-top: 0.75rem;
}

.restore-selected-bar i[b-mxrfq8sw64] {
    color: #dc2626;
    font-size: 1.2rem;
}

.restore-selected-name[b-mxrfq8sw64] {
    flex: 1;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
}

/* Section divider */
.backup-section-divider[b-mxrfq8sw64] {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 1.25rem 0;
}

/* Cloud provider cards */
.cloud-provider-card[b-mxrfq8sw64] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.cloud-provider-card:hover[b-mxrfq8sw64] {
    border-color: #c7d2fe;
    background: #f8fafc;
}

.cloud-provider-card.active[b-mxrfq8sw64] {
    border-color: #2563eb;
    background: #eff6ff;
}

.cloud-provider-icon[b-mxrfq8sw64] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cloud-provider-name[b-mxrfq8sw64] {
    font-weight: 700;
    color: #1a237e;
    font-size: 0.85rem;
}

.cloud-provider-desc[b-mxrfq8sw64] {
    font-size: 0.72rem;
    color: #94a3b8;
}

/* Empty state */
.backup-empty-state[b-mxrfq8sw64] {
    text-align: center;
    padding: 2.5rem 1rem;
}

.backup-empty-state i[b-mxrfq8sw64] {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    display: block;
}

.backup-empty-state p[b-mxrfq8sw64] {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

/* Toggle switch styling */
.backup-toggle[b-mxrfq8sw64] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.backup-toggle-label[b-mxrfq8sw64] {
    font-weight: 600;
    color: #475569;
    font-size: 0.85rem;
}

.backup-toggle-desc[b-mxrfq8sw64] {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}

/* Progress bar for busy state */
.backup-progress-bar[b-mxrfq8sw64] {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.backup-progress-fill[b-mxrfq8sw64] {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    border-radius: 2px;
    animation: backupProgress-b-mxrfq8sw64 1.5s ease-in-out infinite;
}

@keyframes backupProgress-b-mxrfq8sw64 {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Responsive */
@media (max-width: 768px) {
    .backup-action-card[b-mxrfq8sw64] {
        padding: 1rem 0.75rem;
    }
}
/* /Components/Pages/DeliveryNotePrint.razor.rz.scp.css */
.dn-print-container[b-pvvzff6of5] {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    background: white;
    padding: 15mm;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #000;
}

.dn-title[b-pvvzff6of5] {
    text-align: center;
    border-bottom: 3px solid #1a3a7a;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.dn-title h2[b-pvvzff6of5] {
    color: #1a3a7a;
    font-size: 18px;
    margin: 0;
}

.dn-header-section[b-pvvzff6of5] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.dn-seller-left[b-pvvzff6of5] {
    flex: 1;
    text-align: left;
}

.dn-company-names h3[b-pvvzff6of5] {
    margin: 0;
    color: #1a3a7a;
    font-size: 16px;
}

.dn-company-names h4[b-pvvzff6of5] {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.dn-company-detail[b-pvvzff6of5] {
    margin: 2px 0;
    font-size: 11px;
    color: #666;
}

.dn-logo-center[b-pvvzff6of5] {
    text-align: center;
    flex-shrink: 0;
}

.dn-company-logo[b-pvvzff6of5] {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dn-company-logo img[b-pvvzff6of5] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dn-company-right[b-pvvzff6of5] {
    flex: 1;
    text-align: right;
}

.dn-meta-section[b-pvvzff6of5] {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.dn-meta-box[b-pvvzff6of5] {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    background: #fafafa;
}

.dn-meta-row[b-pvvzff6of5] {
    display: flex;
    justify-content: space-between;
    margin: 3px 0;
    font-size: 11px;
}

.dn-meta-label[b-pvvzff6of5] {
    font-weight: 600;
    color: #555;
}

.dn-meta-value[b-pvvzff6of5] {
    color: #000;
}

.dn-driver-section[b-pvvzff6of5] {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    background: #fafafa;
    margin-bottom: 15px;
    display: flex;
    gap: 30px;
}

.dn-items-table[b-pvvzff6of5] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.dn-items-table thead[b-pvvzff6of5] {
    background: #1a3a7a;
    color: #fff;
}

.dn-items-table th[b-pvvzff6of5] {
    padding: 8px 6px;
    font-size: 11px;
    text-align: center;
    border: 1px solid #1a3a7a;
}

.dn-items-table td[b-pvvzff6of5] {
    padding: 6px;
    font-size: 11px;
    border: 1px solid #ddd;
    text-align: center;
}

.dn-items-table tbody tr:nth-child(even)[b-pvvzff6of5] {
    background: #f9f9f9;
}

.dn-total-row[b-pvvzff6of5] {
    background: #e8eaf6;
    font-size: 12px;
}

.dn-total-row td[b-pvvzff6of5] {
    padding: 8px 6px;
    border: 1px solid #c5cae9;
}

.dn-notes-section[b-pvvzff6of5] {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 20px;
    background: #fafafa;
}

.dn-notes-section p[b-pvvzff6of5] {
    margin: 5px 0 0 0;
    font-size: 11px;
}

.dn-signature-section[b-pvvzff6of5] {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    gap: 20px;
}

.dn-signature-box[b-pvvzff6of5] {
    text-align: center;
    flex: 1;
}

.dn-signature-box p[b-pvvzff6of5] {
    font-size: 11px;
    color: #555;
    margin: 0 0 30px 0;
}

.dn-signature-line[b-pvvzff6of5] {
    border-top: 1px solid #999;
    width: 100%;
}

.dn-print-actions[b-pvvzff6of5] {
    margin-top: 20px;
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
}

@media print {
    .dn-print-actions[b-pvvzff6of5] {
        display: none;
    }
    .dn-print-container[b-pvvzff6of5] {
        border: none;
        width: 100%;
        min-height: auto;
        padding: 0;
    }
}
/* /Components/Pages/ManualInvoice.razor.rz.scp.css */
.invoice-header-card[b-tuxrjquzjr] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-header-card .form-label[b-tuxrjquzjr] {
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.invoice-header-card .form-control-sm[b-tuxrjquzjr],
.invoice-header-card .form-select-sm[b-tuxrjquzjr] {
    min-height: 30px;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    font-size: 0.8rem;
}

.invoice-items-table[b-tuxrjquzjr] {
    table-layout: fixed;
}

.invoice-items-table td[b-tuxrjquzjr] {
    position: relative;
    vertical-align: middle;
    padding: 0.4rem;
    overflow: visible;
}

.invoice-items-table input.form-control-sm[b-tuxrjquzjr] {
    height: 31px;
}

.invoice-items-card[b-tuxrjquzjr] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-summary-card[b-tuxrjquzjr] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-actions[b-tuxrjquzjr] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.doc-type-selector[b-tuxrjquzjr] {
    display: flex;
    gap: 0.35rem;
    background: #f5f7fa;
    border-radius: 0.4rem;
    padding: 0.25rem;
}

.doc-type-btn[b-tuxrjquzjr] {
    border: none;
    background: transparent;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.doc-type-btn:hover[b-tuxrjquzjr] {
    background: rgba(255,255,255,0.7);
    color: #1a237e;
}

.doc-type-btn.active[b-tuxrjquzjr] {
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.doc-type-btn.active.doc-invoice[b-tuxrjquzjr] { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
.doc-type-btn.active.doc-quotation[b-tuxrjquzjr] { background: linear-gradient(135deg, #f57c00, #e65100); }
.doc-type-btn.active.doc-proforma[b-tuxrjquzjr] { background: linear-gradient(135deg, #0277bd, #01579b); }

.customer-search-dropdown[b-tuxrjquzjr] {
    position: absolute;
    z-index: 1050;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 250px;
    overflow-y: auto;
    width: 100%;
    min-width: 250px;
}

.customer-search-item[b-tuxrjquzjr] {
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

    .customer-search-item:hover[b-tuxrjquzjr] {
        background: #e7f1ff;
    }
/* /Components/Pages/ManualInvoicePrint.razor.rz.scp.css */
.invoice-print-container[b-yo9n9fv9ta] {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    background: white;
    padding: 15mm;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.template-zatca[b-yo9n9fv9ta],
.template-classic[b-yo9n9fv9ta] {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #000;
}

.invoice-title[b-yo9n9fv9ta] {
    text-align: center;
    border-bottom: 3px solid #1a3a7a;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.invoice-title h2[b-yo9n9fv9ta] {
    color: #1a3a7a;
    font-size: 18px;
    margin: 0;
}

.header-section[b-yo9n9fv9ta] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.seller-left[b-yo9n9fv9ta] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.company-logo[b-yo9n9fv9ta] {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img[b-yo9n9fv9ta] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-names h3[b-yo9n9fv9ta] {
    margin: 0;
    color: #1a3a7a;
    font-size: 16px;
}

.company-names h4[b-yo9n9fv9ta] {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.qr-center[b-yo9n9fv9ta] {
    text-align: center;
}

.qr-code[b-yo9n9fv9ta] {
    width: 120px;
    height: 120px;
}

.company-right[b-yo9n9fv9ta] {
    text-align: right;
    flex: 1;
}

.company-right p[b-yo9n9fv9ta] {
    margin: 2px 0;
}

.details-section[b-yo9n9fv9ta] {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.details-box[b-yo9n9fv9ta] {
    flex: 1;
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
}

.details-box h4[b-yo9n9fv9ta] {
    color: #1a3a7a;
    font-size: 13px;
    margin-bottom: 10px;
    border-bottom: 1px solid #1a3a7a;
    padding-bottom: 5px;
}

.details-row[b-yo9n9fv9ta] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.details-row .label[b-yo9n9fv9ta] {
    color: #555;
    font-size: 11px;
}

.details-row .value[b-yo9n9fv9ta] {
    font-weight: 600;
    font-size: 11px;
}

.invoice-bar[b-yo9n9fv9ta] {
    background-color: #eef2f7;
    padding: 8px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 11px;
}

.invoice-table[b-yo9n9fv9ta] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 11px;
}

.invoice-table thead[b-yo9n9fv9ta] {
    background-color: #1a3a7a;
    color: white;
}

.invoice-table th[b-yo9n9fv9ta],
.invoice-table td[b-yo9n9fv9ta] {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center;
}

.invoice-table th[b-yo9n9fv9ta] {
    font-size: 10px;
}

.invoice-table td:nth-child(2)[b-yo9n9fv9ta] {
    text-align: left;
}

.summary-section[b-yo9n9fv9ta] {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.amount-in-words[b-yo9n9fv9ta] {
    flex: 1;
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
}

.amount-in-words h5[b-yo9n9fv9ta] {
    color: #1a3a7a;
    font-size: 12px;
    margin-bottom: 5px;
}

.summary-box[b-yo9n9fv9ta] {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.summary-row[b-yo9n9fv9ta] {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    border-bottom: 1px solid #ddd;
}

.summary-row:last-child[b-yo9n9fv9ta] {
    border-bottom: none;
}

.summary-row.total[b-yo9n9fv9ta] {
    background-color: #1a3a7a;
    color: white;
    font-weight: bold;
}

.summary-row.due[b-yo9n9fv9ta] {
    background-color: #1a3a7a;
    color: white;
    font-weight: bold;
}

.bank-section[b-yo9n9fv9ta] {
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
    margin-top: 15px;
}

.bank-section h5[b-yo9n9fv9ta] {
    color: #1a3a7a;
    font-size: 12px;
    margin-bottom: 8px;
}

.bank-row[b-yo9n9fv9ta] {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 11px;
}

.bank-row span:first-child[b-yo9n9fv9ta] {
    font-weight: 600;
    min-width: 120px;
}

.company-header-classic[b-yo9n9fv9ta] {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.company-logo-classic[b-yo9n9fv9ta] {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-classic img[b-yo9n9fv9ta] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-info-classic[b-yo9n9fv9ta] {
    flex: 1;
}

.invoice-table-classic[b-yo9n9fv9ta] {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.invoice-table-classic thead[b-yo9n9fv9ta] {
    background-color: #1a3a7a;
    color: white;
}

.invoice-table-classic th[b-yo9n9fv9ta],
.invoice-table-classic td[b-yo9n9fv9ta] {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.invoice-summary-classic[b-yo9n9fv9ta] {
    text-align: right;
    margin-top: 20px;
}

.invoice-summary-classic p[b-yo9n9fv9ta] {
    margin: 5px 0;
}

.no-print[b-yo9n9fv9ta] {
    display: block;
}

@media print {
    .no-print[b-yo9n9fv9ta] {
        display: none !important;
    }

    .invoice-print-container[b-yo9n9fv9ta] {
        border: none;
        padding: 0;
        width: 210mm;
        min-height: 297mm;
        margin: 0;
    }

    body[b-yo9n9fv9ta] {
        background: white;
        margin: 0;
    }

    @page {
        size: A4;
        margin: 10mm;
    }
}

.template-design3[b-yo9n9fv9ta] {
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #000;
    line-height: 1.4;
}

.design3-top-company[b-yo9n9fv9ta] {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.top-company-en[b-yo9n9fv9ta],
.top-company-ar[b-yo9n9fv9ta] {
    width: 40%;
    padding: 5px;
}

.top-company-en[b-yo9n9fv9ta] {
    text-align: left;
}

.top-company-ar[b-yo9n9fv9ta] {
    text-align: right;
    direction: rtl;
}

.top-company-logo[b-yo9n9fv9ta] {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.top-company-logo img[b-yo9n9fv9ta] {
    max-width: 90px;
    max-height: 70px;
    object-fit: contain;
}

.top-company-en h4[b-yo9n9fv9ta],
.top-company-ar h4[b-yo9n9fv9ta] {
    margin: 0 0 3px 0;
    font-size: 14px;
    font-weight: bold;
}

.top-company-en p[b-yo9n9fv9ta],
.top-company-ar p[b-yo9n9fv9ta] {
    margin: 1px 0;
    font-size: 9px;
}

.design3-title[b-yo9n9fv9ta] {
    text-align: center;
    border: 2px solid #000;
    border-bottom: 1px solid #000;
    padding: 8px;
    margin-bottom: 0;
    background-color: #f8f8f8;
}

.design3-title h2[b-yo9n9fv9ta] {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.design3-meta-line[b-yo9n9fv9ta] {
    display: flex;
    border: 2px solid #000;
    border-top: none;
    border-bottom: 1px solid #000;
    padding: 8px;
    margin-bottom: 0;
    gap: 15px;
    background-color: #f8f8f8;
}

.meta-item[b-yo9n9fv9ta] {
    flex: 1;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    border-right: 1px solid #ccc;
    padding-right: 10px;
}

.meta-item:last-child[b-yo9n9fv9ta] {
    border-right: none;
    padding-right: 0;
}

.meta-item span[b-yo9n9fv9ta] {
    color: #333;
    font-weight: normal;
}

.meta-item strong[b-yo9n9fv9ta] {
    font-weight: bold;
}

.design3-info-row[b-yo9n9fv9ta] {
    display: flex;
    border: 2px solid #000;
    border-top: none;
    margin-bottom: 10px;
}

.info-company[b-yo9n9fv9ta],
.info-customer[b-yo9n9fv9ta] {
    width: 50%;
    padding: 8px;
    font-size: 9px;
}

.info-company[b-yo9n9fv9ta] {
    border-right: 2px solid #000;
}

.info-company h5[b-yo9n9fv9ta],
.info-customer h5[b-yo9n9fv9ta] {
    margin: 0 0 4px 0;
    font-size: 10px;
    font-weight: bold;
    text-decoration: underline;
}

.info-company p[b-yo9n9fv9ta],
.info-customer p[b-yo9n9fv9ta] {
    margin: 1px 0;
    font-size: 9px;
}

.design3-table[b-yo9n9fv9ta] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    font-size: 9px;
    border: 2px solid #000;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.design3-table thead[b-yo9n9fv9ta] {
    background-color: #fff;
    color: #000;
    display: table;
    width: 100%;
    table-layout: fixed;
}

.design3-table tbody[b-yo9n9fv9ta] {
    display: table;
    width: 100%;
    table-layout: fixed;
    min-height: 270px;
}

.design3-table th[b-yo9n9fv9ta],
.design3-table td[b-yo9n9fv9ta] {
    border: 1px solid #000;
    padding: 4px;
    text-align: center;
    vertical-align: top;
}

.design3-table th[b-yo9n9fv9ta] {
    font-weight: bold;
    font-size: 9px;
    border-bottom: 2px solid #000;
}

.design3-table th:nth-child(1)[b-yo9n9fv9ta],
.design3-table td:nth-child(1)[b-yo9n9fv9ta] {
    width: 4%;
}

.design3-table th:nth-child(2)[b-yo9n9fv9ta],
.design3-table td:nth-child(2)[b-yo9n9fv9ta] {
    width: 32%;
    text-align: left;
}

.design3-table th:nth-child(3)[b-yo9n9fv9ta],
.design3-table td:nth-child(3)[b-yo9n9fv9ta],
.design3-table th:nth-child(4)[b-yo9n9fv9ta],
.design3-table td:nth-child(4)[b-yo9n9fv9ta],
.design3-table th:nth-child(5)[b-yo9n9fv9ta],
.design3-table td:nth-child(5)[b-yo9n9fv9ta],
.design3-table th:nth-child(6)[b-yo9n9fv9ta],
.design3-table td:nth-child(6)[b-yo9n9fv9ta],
.design3-table th:nth-child(7)[b-yo9n9fv9ta],
.design3-table td:nth-child(7)[b-yo9n9fv9ta],
.design3-table th:nth-child(8)[b-yo9n9fv9ta],
.design3-table td:nth-child(8)[b-yo9n9fv9ta],
.design3-table th:nth-child(9)[b-yo9n9fv9ta],
.design3-table td:nth-child(9)[b-yo9n9fv9ta] {
    width: 8%;
}

.design3-table thead th small[b-yo9n9fv9ta] {
    font-weight: normal;
    color: #333;
    font-size: 8px;
}

.design3-totals[b-yo9n9fv9ta] {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.design3-qr[b-yo9n9fv9ta] {
    width: 120px;
    height: 120px;
    border: 2px solid #000;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.design3-qr img[b-yo9n9fv9ta] {
    width: 100%;
    height: 100%;
}

.design3-totals-grid[b-yo9n9fv9ta] {
    flex: 1;
    border: 2px solid #000;
    display: flex;
    flex-direction: column;
}

.total-row[b-yo9n9fv9ta] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    border-bottom: 1px solid #000;
    font-size: 9px;
    flex: 1;
}

.total-row:last-child[b-yo9n9fv9ta] {
    border-bottom: none;
}

.total-row-dark[b-yo9n9fv9ta] {
    background-color: #1a237e;
    color: white;
    font-weight: bold;
}

.total-row-dark .total-label[b-yo9n9fv9ta] {
    color: white;
}

.total-label[b-yo9n9fv9ta] {
    flex: 1;
    color: #333;
    padding-right: 10px;
}

.total-values[b-yo9n9fv9ta] {
    display: flex;
    gap: 15px;
    min-width: 120px;
    justify-content: flex-end;
}

.total-values strong[b-yo9n9fv9ta] {
    min-width: 60px;
    text-align: right;
}

.design3-words-bank[b-yo9n9fv9ta] {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.design3-words[b-yo9n9fv9ta] {
    flex: 1;
    border: 2px solid #000;
    padding: 8px;
    font-size: 9px;
}

.design3-bank[b-yo9n9fv9ta] {
    flex: 1;
    border: 2px solid #000;
    padding: 8px;
    font-size: 9px;
}

.design3-words h5[b-yo9n9fv9ta],
.design3-bank h5[b-yo9n9fv9ta] {
    margin: 0 0 4px 0;
    font-size: 10px;
    font-weight: bold;
}

.design3-words p[b-yo9n9fv9ta] {
    margin: 0;
    font-size: 9px;
}

.design3-bank .bank-row[b-yo9n9fv9ta] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
    font-size: 9px;
}

.design3-signatures[b-yo9n9fv9ta] {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid #000;
    padding-top: 8px;
    font-size: 10px;
    font-weight: bold;
}

/* =======================================================
   TEMPLATE 4: CONTRACTOR / ENGINEERING TAX INVOICE
   Exact match to Image 1 design
   ======================================================= */
.template-contractor[b-yo9n9fv9ta] {
    width: 100%;
    font-family: Arial, "Segoe UI", Tahoma, sans-serif;
    color: #000;
    font-size: 10.5px;
    line-height: 1.35;
    background: #fff;
    border: 2px solid #000;
    box-sizing: border-box;
}

/* 1. Top Header Bar (3 boxes) */
.contractor-header-table[b-yo9n9fv9ta] {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 2px solid #000;
}

.contractor-header-table td[b-yo9n9fv9ta] {
    border: 1px solid #000;
    padding: 6px 10px;
    vertical-align: middle;
}

.ch-ref[b-yo9n9fv9ta] {
    width: 33%;
}

.ch-title[b-yo9n9fv9ta] {
    width: 34%;
    text-align: center;
    background-color: #fafafa;
}

.ch-title h2[b-yo9n9fv9ta] {
    margin: 0;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #000;
}

.ch-date[b-yo9n9fv9ta] {
    width: 33%;
}

.ch-flex[b-yo9n9fv9ta] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ch-flex-end[b-yo9n9fv9ta] {
    justify-content: flex-end;
}

.ch-label[b-yo9n9fv9ta] {
    font-size: 10px;
    font-weight: normal;
    color: #000;
    text-transform: uppercase;
}

.ch-val[b-yo9n9fv9ta] {
    font-size: 11px;
    font-weight: bold;
    color: #000;
}

/* 2. Party Table (FROM / TO) */
.contractor-party-table[b-yo9n9fv9ta] {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 2px solid #000;
}

.contractor-party-table td.cp-col[b-yo9n9fv9ta] {
    width: 50%;
    vertical-align: top;
    padding: 0;
    border: 1px solid #000;
}

.cp-inner-table[b-yo9n9fv9ta] {
    width: 100%;
    border-collapse: collapse;
}

.cp-inner-table td[b-yo9n9fv9ta] {
    border: 1px solid #000;
    padding: 3px 6px;
    font-size: 10px;
    vertical-align: top;
}

.cp-lbl[b-yo9n9fv9ta] {
    width: 28%;
    font-weight: normal;
    color: #000;
}

.cp-val[b-yo9n9fv9ta] {
    width: 72%;
    color: #000;
}

.cp-head-lbl[b-yo9n9fv9ta] {
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    background: #fdfdfd;
}

.cp-head-val[b-yo9n9fv9ta] {
    background: #fdfdfd;
}

.cp-ar-head-row td:first-child[b-yo9n9fv9ta] {
    text-align: center;
    font-size: 11px;
    font-weight: bold;
}

.cp-name-en[b-yo9n9fv9ta] {
    font-weight: bold;
    font-size: 12px;
}

.cp-name-ar[b-yo9n9fv9ta] {
    font-weight: bold;
    font-size: 11px;
    direction: rtl;
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
}

.cp-ar-val[b-yo9n9fv9ta] {
    direction: rtl;
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
}

/* 3. Project Banner */
.contractor-project-banner[b-yo9n9fv9ta] {
    border-bottom: 2px solid #000;
    padding: 6px 10px;
    font-size: 10.5px;
    text-align: center;
    background: #fff;
    line-height: 1.4;
}

.cpb-desc[b-yo9n9fv9ta] {
    font-weight: bold;
    margin-bottom: 3px;
}

.cpb-po[b-yo9n9fv9ta] {
    font-size: 11px;
    font-weight: bold;
}

/* 4. Items Table */
.contractor-items-table[b-yo9n9fv9ta] {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 2px solid #000;
}

.contractor-items-table th[b-yo9n9fv9ta],
.contractor-items-table td[b-yo9n9fv9ta] {
    border: 1px solid #000;
    padding: 4px 6px;
    font-size: 10px;
}

.cit-top-header th[b-yo9n9fv9ta] {
    border-bottom: 2px solid #000;
    padding: 4px 6px;
    font-size: 11px;
    font-weight: bold;
    background: #fff;
}

.cit-th-num[b-yo9n9fv9ta] {
    width: 4%;
}

.cit-th-desc-title[b-yo9n9fv9ta] {
    width: 52%;
}

.cit-split-header[b-yo9n9fv9ta] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
}

.cit-sh-en[b-yo9n9fv9ta] {
    font-size: 12px;
    font-weight: bold;
}

.cit-sh-ar[b-yo9n9fv9ta] {
    font-size: 12px;
    font-weight: bold;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
}

.cit-th-qty[b-yo9n9fv9ta] {
    width: 12%;
    text-align: center;
}

.cit-th-rate[b-yo9n9fv9ta] {
    width: 14%;
    text-align: center;
    line-height: 1.2;
}

.cit-th-amt[b-yo9n9fv9ta] {
    width: 18%;
    text-align: right;
}

.cit-col-num[b-yo9n9fv9ta] {
    text-align: center;
    font-weight: bold;
}

.cit-col-desc[b-yo9n9fv9ta] {
    text-align: left;
    padding-left: 6px;
}

.cit-desc-text[b-yo9n9fv9ta] {
    font-size: 10px;
}

.cit-header-item-name[b-yo9n9fv9ta] {
    font-weight: bold;
    font-size: 10.5px;
}

.cit-col-qty[b-yo9n9fv9ta] {
    text-align: center;
    font-size: 10px;
}

.cit-col-rate[b-yo9n9fv9ta] {
    text-align: right;
    font-size: 10px;
}

.cit-col-amt[b-yo9n9fv9ta] {
    text-align: right;
    font-size: 10px;
    font-weight: 500;
}

.cit-row-total td[b-yo9n9fv9ta] {
    font-weight: bold;
    font-size: 11px;
    border-top: 2px solid #000;
    padding: 5px 6px;
}

.cit-total-label[b-yo9n9fv9ta] {
    text-align: right;
    padding-right: 15px;
    letter-spacing: 1px;
}

.cit-total-val[b-yo9n9fv9ta] {
    text-align: right;
}

/* 5. Payment Details Table */
.contractor-payment-table[b-yo9n9fv9ta] {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 2px solid #000;
}

.contractor-payment-table th[b-yo9n9fv9ta],
.contractor-payment-table td[b-yo9n9fv9ta] {
    border: 1px solid #000;
    padding: 4px 8px;
    font-size: 10.5px;
}

.cpt-header th[b-yo9n9fv9ta] {
    font-weight: bold;
    font-size: 11px;
    background: #fff;
}

.cpt-th-en[b-yo9n9fv9ta],
.cpt-td-en[b-yo9n9fv9ta] {
    width: 42%;
    text-align: left;
}

.cpt-th-en[b-yo9n9fv9ta] {
    text-decoration: underline;
}

.cpt-th-amt[b-yo9n9fv9ta],
.cpt-td-amt[b-yo9n9fv9ta] {
    width: 25%;
    text-align: right;
    font-weight: 600;
}

.cpt-th-ar[b-yo9n9fv9ta],
.cpt-td-ar[b-yo9n9fv9ta] {
    width: 33%;
    text-align: right;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
}

.cpt-th-ar[b-yo9n9fv9ta] {
    text-decoration: underline;
}

.cpt-net-row td[b-yo9n9fv9ta] {
    font-weight: bold;
    font-size: 11px;
}

/* 6. Words Box */
.contractor-words-box[b-yo9n9fv9ta] {
    border-bottom: 2px solid #000;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    background: #fff;
    letter-spacing: 0.2px;
}

/* 7. Footer Table (Regards / Bank / QR) */
.contractor-footer-table[b-yo9n9fv9ta] {
    width: 100%;
    border-collapse: collapse;
}

.contractor-footer-table td.cf-col[b-yo9n9fv9ta] {
    vertical-align: top;
    padding: 8px 10px;
    border: 1px solid #000;
}

.cf-regards[b-yo9n9fv9ta] {
    width: 26%;
    font-size: 11px;
}

.cf-regards-title[b-yo9n9fv9ta] {
    font-size: 11px;
    font-weight: normal;
    margin-bottom: 24px;
}

.cf-manager-title[b-yo9n9fv9ta] {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 2px;
}

.cf-manager-name[b-yo9n9fv9ta] {
    font-size: 11px;
    font-weight: normal;
}

.cf-bank[b-yo9n9fv9ta] {
    width: 48%;
    font-size: 10.5px;
    text-align: center;
}

.cf-bank-header[b-yo9n9fv9ta] {
    font-size: 11px;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 4px;
}

.cf-bank-company[b-yo9n9fv9ta] {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 3px;
}

.cf-bank-acc[b-yo9n9fv9ta] {
    font-size: 10px;
    margin-bottom: 3px;
}

.cf-bank-iban[b-yo9n9fv9ta] {
    font-size: 10.5px;
    font-weight: bold;
    margin-bottom: 6px;
}

.cf-bank-logo[b-yo9n9fv9ta] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #0b5e28;
    letter-spacing: 1px;
}

.cf-bank-ar-name[b-yo9n9fv9ta] {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 16px;
}

.cf-bank-en-name[b-yo9n9fv9ta] {
    font-size: 18px;
    font-weight: 900;
}

.cf-qr[b-yo9n9fv9ta] {
    width: 26%;
    text-align: center;
    vertical-align: middle !important;
}

.cf-qr-img[b-yo9n9fv9ta] {
    width: 110px;
    height: 110px;
    display: block;
    margin: 0 auto;
}

/* /Components/Pages/PurchaseInvoicePage.razor.rz.scp.css */
.invoice-header-card[b-w4wohlughl] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-header-card .form-label[b-w4wohlughl] {
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.invoice-header-card .form-control-sm[b-w4wohlughl],
.invoice-header-card .form-select-sm[b-w4wohlughl] {
    min-height: 30px;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    font-size: 0.8rem;
}

.invoice-items-card[b-w4wohlughl] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-items-table[b-w4wohlughl] {
    table-layout: auto;
    min-width: 1500px;
}

.invoice-items-table td[b-w4wohlughl] {
    position: relative;
    vertical-align: middle;
    padding: 0.4rem;
    overflow: visible;
}

.invoice-items-table th[b-w4wohlughl] {
    font-size: 0.8rem;
    white-space: nowrap;
}

.invoice-items-table .item-name-cell[b-w4wohlughl] {
    min-width: 280px;
    width: 280px;
    overflow: visible;
}

.invoice-items-table .item-name-cell .product-search-wrapper[b-w4wohlughl] {
    display: flex;
    position: relative;
}

.invoice-items-table .item-name-cell .product-search-input-wrapper[b-w4wohlughl] {
    flex: 1;
    position: relative;
    min-width: 0;
}

.invoice-items-table .item-name-cell .product-search-input-wrapper input[b-w4wohlughl] {
    width: 100%;
    height: 31px;
}

.invoice-items-table .item-name-cell .product-search-dropdown[b-w4wohlughl] {
    position: fixed;
    z-index: 99999;
    max-height: 220px;
    overflow-y: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 2px;
    min-width: 280px;
}

.invoice-items-table .item-name-cell .product-search-item[b-w4wohlughl] {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.invoice-items-table .item-name-cell .product-search-item:last-child[b-w4wohlughl] {
    border-bottom: none;
}

.invoice-items-table .item-name-cell .product-search-item:hover[b-w4wohlughl],
.invoice-items-table .item-name-cell .product-search-item.active[b-w4wohlughl] {
    background-color: #e9f2ff;
    color: #0d6efd;
}

.invoice-items-table .item-name-cell .product-search-barcode[b-w4wohlughl] {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
}

.invoice-items-table .item-name-cell input[b-w4wohlughl] {
    width: 100%;
    height: 31px;
}

.invoice-items-table .barcode-cell[b-w4wohlughl] {
    min-width: 120px;
    width: 120px;
}

.invoice-items-table .barcode-cell input[b-w4wohlughl] {
    height: 31px;
}

.invoice-items-table input.form-control-sm[b-w4wohlughl] {
    height: 31px;
}

.invoice-summary-card[b-w4wohlughl] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-actions[b-w4wohlughl] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
/* /Components/Pages/PurchaseReturns.razor.rz.scp.css */
.purchase-return-list-card[b-1l9q4zi7jc] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-header-card[b-1l9q4zi7jc] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-items-card[b-1l9q4zi7jc] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-summary-card[b-1l9q4zi7jc] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-actions[b-1l9q4zi7jc] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
/* /Components/Pages/SalesInvoicePage.razor.rz.scp.css */
.invoice-header-card[b-j1pdtpzzyn] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-header-card .form-label[b-j1pdtpzzyn] {
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.invoice-header-card .form-control-sm[b-j1pdtpzzyn],
.invoice-header-card .form-select-sm[b-j1pdtpzzyn] {
    min-height: 30px;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    font-size: 0.8rem;
}

.invoice-items-card[b-j1pdtpzzyn] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-items-table[b-j1pdtpzzyn] {
    table-layout: auto;
    min-width: 1500px;
}

.invoice-items-table td[b-j1pdtpzzyn] {
    position: relative;
    vertical-align: middle;
    padding: 0.4rem;
    overflow: visible;
}

.invoice-items-table th[b-j1pdtpzzyn] {
    font-size: 0.8rem;
    white-space: nowrap;
}

.invoice-items-table .item-name-cell[b-j1pdtpzzyn] {
    min-width: 280px;
    width: 280px;
    overflow: visible;
}

.invoice-items-table .item-name-cell .position-relative[b-j1pdtpzzyn] {
    position: relative;
    width: 100%;
}

.invoice-items-table .item-name-cell .dropdown-menu.show[b-j1pdtpzzyn] {
    position: absolute;
    z-index: 9999;
    max-height: 220px;
    overflow-y: auto;
    width: 100%;
    display: block;
    top: 100%;
    left: 0;
    margin-top: 2px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: white;
}

.invoice-items-table .item-name-cell .dropdown-item[b-j1pdtpzzyn] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.invoice-items-table .item-name-cell .product-search-wrapper[b-j1pdtpzzyn] {
    display: flex;
    position: relative;
}

.invoice-items-table .item-name-cell .product-search-input-wrapper[b-j1pdtpzzyn] {
    flex: 1;
    position: relative;
    min-width: 0;
}

.invoice-items-table .item-name-cell .product-search-input-wrapper input[b-j1pdtpzzyn] {
    width: 100%;
    height: 31px;
}

.invoice-items-table .item-name-cell .product-search-dropdown[b-j1pdtpzzyn] {
    position: fixed;
    z-index: 99999;
    max-height: 220px;
    overflow-y: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 2px;
    min-width: 280px;
}

.invoice-items-table .item-name-cell .product-search-item[b-j1pdtpzzyn] {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    border-bottom: 1px solid #f0f0f0;
}

.invoice-items-table .item-name-cell .product-search-item-name[b-j1pdtpzzyn] {
    font-weight: 600;
    color: #1a237e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.invoice-items-table .item-name-cell .product-search-item-meta[b-j1pdtpzzyn] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.15rem;
    font-size: 0.75rem;
}

.invoice-items-table .item-name-cell .product-search-sku[b-j1pdtpzzyn] {
    color: #6c757d;
}

.invoice-items-table .item-name-cell .product-search-purchase[b-j1pdtpzzyn] {
    color: #c62828;
    font-weight: 700;
    margin-left: auto;
}

.invoice-items-table .item-name-cell .product-search-item:last-child[b-j1pdtpzzyn] {
    border-bottom: none;
}

.invoice-items-table .item-name-cell .product-search-item:hover[b-j1pdtpzzyn],
.invoice-items-table .item-name-cell .product-search-item.active[b-j1pdtpzzyn] {
    background-color: #e9f2ff;
    color: #0d6efd;
}

.invoice-items-table .item-name-cell .product-search-barcode[b-j1pdtpzzyn] {
    font-size: 0.75rem;
    color: #6c757d;
}

.invoice-items-table .item-name-cell input[b-j1pdtpzzyn] {
    width: 100%;
    height: 31px;
}

.invoice-items-table .barcode-cell[b-j1pdtpzzyn] {
    min-width: 120px;
    width: 120px;
}

.invoice-items-table .barcode-cell input[b-j1pdtpzzyn] {
    height: 31px;
}

.invoice-items-table input.form-control-sm[b-j1pdtpzzyn] {
    height: 31px;
}

/* Document Type Selector */
.doc-type-selector[b-j1pdtpzzyn] {
    display: flex;
    gap: 0.35rem;
    background: #f5f7fa;
    border-radius: 8px;
    padding: 0.25rem;
}

.doc-type-btn[b-j1pdtpzzyn] {
    border: none;
    background: transparent;
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #78909c;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.doc-type-btn:hover[b-j1pdtpzzyn] {
    background: rgba(255,255,255,0.7);
    color: #1a237e;
}

.doc-type-btn.active[b-j1pdtpzzyn] {
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.doc-type-btn.active.doc-invoice[b-j1pdtpzzyn] { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
.doc-type-btn.active.doc-quotation[b-j1pdtpzzyn] { background: linear-gradient(135deg, #f57c00, #e65100); }
.doc-type-btn.active.doc-proforma[b-j1pdtpzzyn] { background: linear-gradient(135deg, #0277bd, #01579b); }

/* Product Info Modal */
.pinfo-header[b-j1pdtpzzyn] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pinfo-header-icon[b-j1pdtpzzyn] {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pinfo-header-text[b-j1pdtpzzyn] {
    flex-grow: 1;
}

.pinfo-meta[b-j1pdtpzzyn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.pinfo-tag[b-j1pdtpzzyn] {
    font-size: 0.72rem;
    background: #e3f2fd;
    color: #1565c0;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 500;
}

.pinfo-stat-card[b-j1pdtpzzyn] {
    border-radius: 12px;
    padding: 0.9rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.15s;
}

.pinfo-stat-card:hover[b-j1pdtpzzyn] {
    transform: translateY(-2px);
}

.pinfo-stat-label[b-j1pdtpzzyn] {
    font-size: 0.72rem;
    color: #78909c;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pinfo-stat-value[b-j1pdtpzzyn] {
    font-size: 1.35rem;
    font-weight: 700;
}

.pinfo-stat-purchase[b-j1pdtpzzyn] { background: #f3e5f5; }
.pinfo-stat-purchase .pinfo-stat-value[b-j1pdtpzzyn] { color: #7b1fa2; }
.pinfo-stat-sales[b-j1pdtpzzyn] { background: #e8f5e9; }
.pinfo-stat-sales .pinfo-stat-value[b-j1pdtpzzyn] { color: #2e7d32; }
.pinfo-stat-current[b-j1pdtpzzyn] { background: #fff3e0; }
.pinfo-stat-current .pinfo-stat-value[b-j1pdtpzzyn] { color: #e65100; }
.pinfo-stat-available[b-j1pdtpzzyn] { background: #e3f2fd; }
.pinfo-stat-available .pinfo-stat-value[b-j1pdtpzzyn] { color: #1565c0; }

.pinfo-last-sold[b-j1pdtpzzyn] {
    background: #f5f7fa;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pinfo-section-title[b-j1pdtpzzyn] {
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.pinfo-supplier-table[b-j1pdtpzzyn] {
    border-radius: 8px;
    overflow: hidden;
}

.pinfo-supplier-table thead[b-j1pdtpzzyn] {
    background: #f5f7fa;
}

.pinfo-empty[b-j1pdtpzzyn] {
    text-align: center;
    color: #b0bec5;
    padding: 1.5rem;
    font-size: 0.85rem;
    background: #fafafa;
    border-radius: 8px;
}

.customer-search-dropdown[b-j1pdtpzzyn] {
    position: absolute;
    z-index: 1050;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 250px;
    overflow-y: auto;
    width: 100%;
    min-width: 250px;
}

.customer-search-item[b-j1pdtpzzyn] {
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

    .customer-search-item:hover[b-j1pdtpzzyn] {
        background: #e7f1ff;
    }

/* Sub-item row styling */
.parent-item-row[b-j1pdtpzzyn] {
    background-color: #fff;
}

.parent-item-row td[b-j1pdtpzzyn] {
    border-bottom: none;
}

.sub-item-row[b-j1pdtpzzyn] {
    background-color: #f8f9fa;
    font-size: 0.85em;
}

.sub-item-row td[b-j1pdtpzzyn] {
    border-top: 1px dashed #dee2e6;
    color: #555;
}

.sub-item-name-cell[b-j1pdtpzzyn] {
    padding-left: 1.5rem !important;
}

.sub-item-prefix[b-j1pdtpzzyn] {
    background-color: #e9ecef;
    color: #495057;
    font-weight: 600;
    font-size: 0.75rem;
    border-color: #ced4da;
}

.sub-item-row input[b-j1pdtpzzyn] {
    font-size: 0.85rem;
    padding: 0.2rem 0.4rem;
    background-color: #fff;
}

.sub-item-row input:focus[b-j1pdtpzzyn] {
    background-color: #fffde7;
    border-color: #ffc107;
}

.btn-group-sm .btn-outline-success[b-j1pdtpzzyn] {
    color: #198754;
    border-color: #198754;
}

.btn-group-sm .btn-outline-success:hover[b-j1pdtpzzyn] {
    background-color: #198754;
    color: #fff;
}
/* /Components/Pages/SalesInvoicePrint.razor.rz.scp.css */
.invoice-print-container[b-97s4spx6it] {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    background: white;
    padding: 15mm;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.template-zatca[b-97s4spx6it],
.template-classic[b-97s4spx6it] {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #000;
}

.invoice-title[b-97s4spx6it] {
    text-align: center;
    border-bottom: 3px solid #1a3a7a;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.invoice-title h2[b-97s4spx6it] {
    color: #1a3a7a;
    font-size: 18px;
    margin: 0;
}

.header-section[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.seller-left[b-97s4spx6it] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.company-logo[b-97s4spx6it] {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img[b-97s4spx6it] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-names h3[b-97s4spx6it] {
    margin: 0;
    color: #1a3a7a;
    font-size: 16px;
}

.company-names h4[b-97s4spx6it] {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.qr-center[b-97s4spx6it] {
    text-align: center;
}

.qr-code[b-97s4spx6it] {
    width: 120px;
    height: 120px;
}

.company-right[b-97s4spx6it] {
    text-align: right;
    flex: 1;
}

.company-right p[b-97s4spx6it] {
    margin: 2px 0;
}

.details-section[b-97s4spx6it] {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.details-box[b-97s4spx6it] {
    flex: 1;
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
}

.details-box h4[b-97s4spx6it] {
    color: #1a3a7a;
    font-size: 13px;
    margin-bottom: 10px;
    border-bottom: 1px solid #1a3a7a;
    padding-bottom: 5px;
}

.details-row[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.details-row .label[b-97s4spx6it] {
    color: #555;
    font-size: 11px;
}

.details-row .value[b-97s4spx6it] {
    font-weight: 600;
    font-size: 11px;
}

.invoice-bar[b-97s4spx6it] {
    background-color: #eef2f7;
    padding: 8px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 11px;
}

.invoice-table[b-97s4spx6it] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 11px;
}

.invoice-table thead[b-97s4spx6it] {
    background-color: #1a3a7a;
    color: white;
}

.invoice-table th[b-97s4spx6it],
.invoice-table td[b-97s4spx6it] {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center;
}

.invoice-table th[b-97s4spx6it] {
    font-size: 10px;
}

.invoice-table td:nth-child(2)[b-97s4spx6it] {
    text-align: left;
}

.summary-section[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.amount-in-words[b-97s4spx6it] {
    flex: 1;
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
}

.amount-in-words h5[b-97s4spx6it] {
    color: #1a3a7a;
    font-size: 12px;
    margin-bottom: 5px;
}

.summary-box[b-97s4spx6it] {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.summary-row[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    border-bottom: 1px solid #ddd;
}

.summary-row:last-child[b-97s4spx6it] {
    border-bottom: none;
}

.summary-row.total[b-97s4spx6it] {
    background-color: #1a3a7a;
    color: white;
    font-weight: bold;
}

.summary-row.due[b-97s4spx6it] {
    background-color: #1a3a7a;
    color: white;
    font-weight: bold;
}

.bank-section[b-97s4spx6it] {
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
    margin-top: 15px;
}

.bank-section h5[b-97s4spx6it] {
    color: #1a3a7a;
    font-size: 12px;
    margin-bottom: 8px;
}

.bank-row[b-97s4spx6it] {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 11px;
}

.bank-row span:first-child[b-97s4spx6it] {
    font-weight: 600;
    min-width: 120px;
}

.company-header-classic[b-97s4spx6it] {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.company-logo-classic[b-97s4spx6it] {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-classic img[b-97s4spx6it] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-info-classic[b-97s4spx6it] {
    flex: 1;
}

.invoice-table-classic[b-97s4spx6it] {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.invoice-table-classic thead[b-97s4spx6it] {
    background-color: #1a3a7a;
    color: white;
}

.invoice-table-classic th[b-97s4spx6it],
.invoice-table-classic td[b-97s4spx6it] {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.invoice-summary-classic[b-97s4spx6it] {
    text-align: right;
    margin-top: 20px;
}

.invoice-summary-classic p[b-97s4spx6it] {
    margin: 5px 0;
}

.no-print[b-97s4spx6it] {
    display: block;
}

@media print {
    .no-print[b-97s4spx6it] {
        display: none !important;
    }

    .invoice-print-container[b-97s4spx6it] {
        border: none;
        padding: 0;
        width: 210mm;
        min-height: 297mm;
        margin: 0;
    }

    body[b-97s4spx6it] {
        background: white;
        margin: 0;
    }

    @page {
        size: A4;
        margin: 10mm;
    }
}

.template-design3[b-97s4spx6it] {
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #000;
    line-height: 1.4;
}

.design3-top-company[b-97s4spx6it] {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.top-company-en[b-97s4spx6it],
.top-company-ar[b-97s4spx6it] {
    width: 40%;
    padding: 5px;
}

.top-company-en[b-97s4spx6it] {
    text-align: left;
}

.top-company-ar[b-97s4spx6it] {
    text-align: right;
    direction: rtl;
}

.top-company-logo[b-97s4spx6it] {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.top-company-logo img[b-97s4spx6it] {
    max-width: 90px;
    max-height: 70px;
    object-fit: contain;
}

.top-company-en h4[b-97s4spx6it],
.top-company-ar h4[b-97s4spx6it] {
    margin: 0 0 3px 0;
    font-size: 14px;
    font-weight: bold;
}

.top-company-en p[b-97s4spx6it],
.top-company-ar p[b-97s4spx6it] {
    margin: 1px 0;
    font-size: 9px;
}

.design3-title[b-97s4spx6it] {
    text-align: center;
    border: 2px solid #000;
    border-bottom: 1px solid #000;
    padding: 8px;
    margin-bottom: 0;
    background-color: #f8f8f8;
}

.design3-title h2[b-97s4spx6it] {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.design3-meta-line[b-97s4spx6it] {
    display: flex;
    border: 2px solid #000;
    border-top: none;
    border-bottom: 1px solid #000;
    padding: 8px;
    margin-bottom: 0;
    gap: 15px;
    background-color: #f8f8f8;
}

.meta-item[b-97s4spx6it] {
    flex: 1;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    border-right: 1px solid #ccc;
    padding-right: 10px;
}

.meta-item:last-child[b-97s4spx6it] {
    border-right: none;
    padding-right: 0;
}

.meta-item span[b-97s4spx6it] {
    color: #333;
    font-weight: normal;
}

.meta-item strong[b-97s4spx6it] {
    font-weight: bold;
}

.design3-info-row[b-97s4spx6it] {
    display: flex;
    border: 2px solid #000;
    border-top: none;
    margin-bottom: 10px;
}

.info-company[b-97s4spx6it],
.info-customer[b-97s4spx6it] {
    width: 50%;
    padding: 8px;
    font-size: 9px;
}

.info-company[b-97s4spx6it] {
    border-right: 2px solid #000;
}

.info-company h5[b-97s4spx6it],
.info-customer h5[b-97s4spx6it] {
    margin: 0 0 4px 0;
    font-size: 10px;
    font-weight: bold;
    text-decoration: underline;
}

.info-company p[b-97s4spx6it],
.info-customer p[b-97s4spx6it] {
    margin: 1px 0;
    font-size: 9px;
}

.design3-table[b-97s4spx6it] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    font-size: 9px;
    border: 2px solid #000;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.design3-table thead[b-97s4spx6it] {
    background-color: #fff;
    color: #000;
    display: table;
    width: 100%;
    table-layout: fixed;
}

.design3-table tbody[b-97s4spx6it] {
    display: table;
    width: 100%;
    table-layout: fixed;
    min-height: 270px;
}

.design3-table th[b-97s4spx6it],
.design3-table td[b-97s4spx6it] {
    border: 1px solid #000;
    padding: 4px;
    text-align: center;
    vertical-align: top;
}

.design3-table th[b-97s4spx6it] {
    font-weight: bold;
    font-size: 9px;
    border-bottom: 2px solid #000;
}

.design3-table th:nth-child(1)[b-97s4spx6it],
.design3-table td:nth-child(1)[b-97s4spx6it] {
    width: 4%;
}

.design3-table th:nth-child(2)[b-97s4spx6it],
.design3-table td:nth-child(2)[b-97s4spx6it] {
    width: 32%;
    text-align: left;
}

.design3-table th:nth-child(3)[b-97s4spx6it],
.design3-table td:nth-child(3)[b-97s4spx6it],
.design3-table th:nth-child(4)[b-97s4spx6it],
.design3-table td:nth-child(4)[b-97s4spx6it],
.design3-table th:nth-child(5)[b-97s4spx6it],
.design3-table td:nth-child(5)[b-97s4spx6it],
.design3-table th:nth-child(6)[b-97s4spx6it],
.design3-table td:nth-child(6)[b-97s4spx6it],
.design3-table th:nth-child(7)[b-97s4spx6it],
.design3-table td:nth-child(7)[b-97s4spx6it],
.design3-table th:nth-child(8)[b-97s4spx6it],
.design3-table td:nth-child(8)[b-97s4spx6it],
.design3-table th:nth-child(9)[b-97s4spx6it],
.design3-table td:nth-child(9)[b-97s4spx6it] {
    width: 8%;
}

.design3-table thead th small[b-97s4spx6it] {
    font-weight: normal;
    color: #333;
    font-size: 8px;
}

.design3-totals[b-97s4spx6it] {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.design3-qr[b-97s4spx6it] {
    width: 120px;
    height: 120px;
    border: 2px solid #000;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.design3-qr img[b-97s4spx6it] {
    width: 100%;
    height: 100%;
}

.design3-totals-grid[b-97s4spx6it] {
    flex: 1;
    border: 2px solid #000;
    display: flex;
    flex-direction: column;
}

.total-row[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    border-bottom: 1px solid #000;
    font-size: 9px;
    flex: 1;
}

.total-row:last-child[b-97s4spx6it] {
    border-bottom: none;
}

.total-row-dark[b-97s4spx6it] {
    background-color: #1a237e;
    color: white;
    font-weight: bold;
}

.total-row-dark .total-label[b-97s4spx6it] {
    color: white;
}

.total-label[b-97s4spx6it] {
    flex: 1;
    color: #333;
    padding-right: 10px;
}

.total-values[b-97s4spx6it] {
    display: flex;
    gap: 15px;
    min-width: 120px;
    justify-content: flex-end;
}

.total-values strong[b-97s4spx6it] {
    min-width: 60px;
    text-align: right;
}

.design3-words-bank[b-97s4spx6it] {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.design3-words[b-97s4spx6it] {
    flex: 1;
    border: 2px solid #000;
    padding: 8px;
    font-size: 9px;
}

.design3-bank[b-97s4spx6it] {
    flex: 1;
    border: 2px solid #000;
    padding: 8px;
    font-size: 9px;
}

.design3-words h5[b-97s4spx6it],
.design3-bank h5[b-97s4spx6it] {
    margin: 0 0 4px 0;
    font-size: 10px;
    font-weight: bold;
}

.design3-words p[b-97s4spx6it] {
    margin: 0;
    font-size: 9px;
}

.bank-row[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
    font-size: 9px;
}

.design3-signatures[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid #000;
    padding-top: 8px;
    font-size: 10px;
    font-weight: bold;
}

.template-a4-zatca[b-97s4spx6it] {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #000;
    line-height: 1.4;
}

.a4-company-header[b-97s4spx6it] {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
    border-bottom: 3px solid #1a3a7a;
    padding-bottom: 15px;
}

.a4-logo-left[b-97s4spx6it] {
    width: 100px;
    flex-shrink: 0;
}

.a4-logo-img[b-97s4spx6it] {
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
}

.a4-company-info[b-97s4spx6it] {
    flex: 1;
}

.a4-company-info-ar[b-97s4spx6it] {
    direction: rtl;
    text-align: right;
    margin-bottom: 8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.a4-company-info-ar h3[b-97s4spx6it] {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #1a3a7a;
}

.a4-company-info-ar p[b-97s4spx6it] {
    margin: 2px 0;
    font-size: 9px;
    color: #333;
}

.a4-company-info-en h3[b-97s4spx6it] {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #1a3a7a;
}

.a4-company-info-en p[b-97s4spx6it] {
    margin: 2px 0;
    font-size: 9px;
    color: #333;
}

.a4-logo-right[b-97s4spx6it] {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a4-qr-img[b-97s4spx6it] {
    width: 110px;
    height: 110px;
}

.a4-invoice-title[b-97s4spx6it] {
    text-align: center;
    margin-bottom: 15px;
}

.a4-invoice-title h2[b-97s4spx6it] {
    color: #1a3a7a;
    font-size: 18px;
    margin: 0;
    border-bottom: 2px solid #1a3a7a;
    padding-bottom: 8px;
}

.a4-meta-section[b-97s4spx6it] {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.a4-meta-box[b-97s4spx6it] {
    flex: 1;
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
}

.a4-meta-box h4[b-97s4spx6it] {
    color: #1a3a7a;
    font-size: 12px;
    margin: 0 0 8px 0;
    border-bottom: 1px solid #1a3a7a;
    padding-bottom: 5px;
}

.a4-meta-row[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
    font-size: 10px;
}

.a4-label[b-97s4spx6it] {
    color: #555;
}

.a4-value[b-97s4spx6it] {
    font-weight: 600;
}

.a4-meta-line[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    background-color: #eef2f7;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 15px;
    gap: 15px;
}

.a4-meta-item[b-97s4spx6it] {
    flex: 1;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
}

.a4-items-table[b-97s4spx6it] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 10px;
}

.a4-items-table thead[b-97s4spx6it] {
    background-color: #1a3a7a;
    color: white;
}

.a4-items-table th[b-97s4spx6it],
.a4-items-table td[b-97s4spx6it] {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center;
}

.a4-items-table th[b-97s4spx6it] {
    font-size: 9px;
}

.a4-items-table th small[b-97s4spx6it] {
    font-weight: normal;
    font-size: 8px;
    opacity: 0.9;
}

.a4-items-table td:nth-child(2)[b-97s4spx6it] {
    text-align: left;
}

.a4-main-item[b-97s4spx6it] {
    background-color: #f8f9fa;
}

.a4-main-item td[b-97s4spx6it] {
    font-weight: 600;
}

.a4-sub-item td[b-97s4spx6it] {
    font-size: 9px;
}

.a4-sub-desc[b-97s4spx6it] {
    padding-left: 20px !important;
    color: #444;
}

.a4-subtotal-row[b-97s4spx6it] {
    background-color: #e8f0fe;
    border-bottom: 2px solid #1a3a7a;
}

.a4-subtotal-row td[b-97s4spx6it] {
    padding: 5px 6px;
    font-size: 9px;
}

.a4-subtotal-label[b-97s4spx6it] {
    color: #1a3a7a;
    font-style: italic;
}

.a4-subtotal-value[b-97s4spx6it] {
    color: #1a3a7a;
    font-weight: bold;
}

.a4-totals-section[b-97s4spx6it] {
    margin-bottom: 15px;
}

.a4-totals-grid[b-97s4spx6it] {
    border: 2px solid #1a3a7a;
    border-radius: 5px;
    overflow: hidden;
}

.a4-total-row[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
    font-size: 11px;
}

.a4-total-row:last-child[b-97s4spx6it] {
    border-bottom: none;
}

.a4-grand-total[b-97s4spx6it] {
    background-color: #1a3a7a;
    color: white;
    font-weight: bold;
    font-size: 13px;
}

.a4-grand-total .a4-total-label[b-97s4spx6it] {
    color: white;
}

.a4-total-label[b-97s4spx6it] {
    color: #333;
    flex: 1;
    padding-right: 10px;
}

.a4-total-value[b-97s4spx6it] {
    min-width: 150px;
    text-align: right;
}

.a4-words[b-97s4spx6it] {
    font-size: 9px;
    font-style: italic;
    min-width: auto !important;
}

.a4-footer-section[b-97s4spx6it] {
    margin-top: 20px;
    border-top: 2px solid #1a3a7a;
    padding-top: 15px;
}

.a4-bank-details[b-97s4spx6it] {
    margin-bottom: 15px;
}

.a4-bank-details h5[b-97s4spx6it] {
    color: #1a3a7a;
    font-size: 12px;
    margin: 0 0 8px 0;
}

.a4-bank-details p[b-97s4spx6it] {
    margin: 3px 0;
    font-size: 10px;
}

.a4-signatures[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.a4-signature-box[b-97s4spx6it] {
    flex: 1;
    text-align: center;
}

.a4-signature-box span[b-97s4spx6it] {
    display: block;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 5px;
}

.a4-signature-line[b-97s4spx6it] {
    border-bottom: 1px solid #000;
    height: 40px;
    margin-top: 30px;
}

/* =======================================================
   TEMPLATE 4: CONTRACTOR / ENGINEERING TAX INVOICE
   Exact match to Image 1 design
   ======================================================= */
.template-contractor[b-97s4spx6it] {
    width: 100%;
    font-family: Arial, "Segoe UI", Tahoma, sans-serif;
    color: #000;
    font-size: 10.5px;
    line-height: 1.35;
    background: #fff;
    border: 2px solid #000;
    box-sizing: border-box;
}

/* 1. Top Header Bar (3 boxes) */
.contractor-header-table[b-97s4spx6it] {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 2px solid #000;
}

.contractor-header-table td[b-97s4spx6it] {
    border: 1px solid #000;
    padding: 6px 10px;
    vertical-align: middle;
}

.ch-ref[b-97s4spx6it] {
    width: 33%;
}

.ch-title[b-97s4spx6it] {
    width: 34%;
    text-align: center;
    background-color: #fafafa;
}

.ch-title h2[b-97s4spx6it] {
    margin: 0;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #000;
}

.ch-date[b-97s4spx6it] {
    width: 33%;
}

.ch-flex[b-97s4spx6it] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ch-flex-end[b-97s4spx6it] {
    justify-content: flex-end;
}

.ch-label[b-97s4spx6it] {
    font-size: 10px;
    font-weight: normal;
    color: #000;
    text-transform: uppercase;
}

.ch-val[b-97s4spx6it] {
    font-size: 11px;
    font-weight: bold;
    color: #000;
}

/* 2. Party Table (FROM / TO) */
.contractor-party-table[b-97s4spx6it] {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 2px solid #000;
}

.contractor-party-table td.cp-col[b-97s4spx6it] {
    width: 50%;
    vertical-align: top;
    padding: 0;
    border: 1px solid #000;
}

.cp-inner-table[b-97s4spx6it] {
    width: 100%;
    border-collapse: collapse;
}

.cp-inner-table td[b-97s4spx6it] {
    border: 1px solid #000;
    padding: 3px 6px;
    font-size: 10px;
    vertical-align: top;
}

.cp-lbl[b-97s4spx6it] {
    width: 28%;
    font-weight: normal;
    color: #000;
}

.cp-val[b-97s4spx6it] {
    width: 72%;
    color: #000;
}

.cp-head-lbl[b-97s4spx6it] {
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    background: #fdfdfd;
}

.cp-head-val[b-97s4spx6it] {
    background: #fdfdfd;
}

.cp-ar-head-row td:first-child[b-97s4spx6it] {
    text-align: center;
    font-size: 11px;
    font-weight: bold;
}

.cp-name-en[b-97s4spx6it] {
    font-weight: bold;
    font-size: 12px;
}

.cp-name-ar[b-97s4spx6it] {
    font-weight: bold;
    font-size: 11px;
    direction: rtl;
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
}

.cp-ar-val[b-97s4spx6it] {
    direction: rtl;
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
}

/* 3. Project Banner */
.contractor-project-banner[b-97s4spx6it] {
    border-bottom: 2px solid #000;
    padding: 6px 10px;
    font-size: 10.5px;
    text-align: center;
    background: #fff;
    line-height: 1.4;
}

.cpb-desc[b-97s4spx6it] {
    font-weight: bold;
    margin-bottom: 3px;
}

.cpb-po[b-97s4spx6it] {
    font-size: 11px;
    font-weight: bold;
}

/* 4. Items Table */
.contractor-items-table[b-97s4spx6it] {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 2px solid #000;
}

.contractor-items-table th[b-97s4spx6it],
.contractor-items-table td[b-97s4spx6it] {
    border: 1px solid #000;
    padding: 4px 6px;
    font-size: 10px;
}

.cit-top-header th[b-97s4spx6it] {
    border-bottom: 2px solid #000;
    padding: 4px 6px;
    font-size: 11px;
    font-weight: bold;
    background: #fff;
}

.cit-th-num[b-97s4spx6it] {
    width: 4%;
}

.cit-th-desc-title[b-97s4spx6it] {
    width: 52%;
}

.cit-split-header[b-97s4spx6it] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
}

.cit-sh-en[b-97s4spx6it] {
    font-size: 12px;
    font-weight: bold;
}

.cit-sh-ar[b-97s4spx6it] {
    font-size: 12px;
    font-weight: bold;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
}

.cit-th-qty[b-97s4spx6it] {
    width: 12%;
    text-align: center;
}

.cit-th-rate[b-97s4spx6it] {
    width: 14%;
    text-align: center;
    line-height: 1.2;
}

.cit-th-amt[b-97s4spx6it] {
    width: 18%;
    text-align: right;
}

.cit-col-num[b-97s4spx6it] {
    text-align: center;
    font-weight: bold;
}

.cit-col-desc[b-97s4spx6it] {
    text-align: left;
    padding-left: 6px;
}

.cit-desc-text[b-97s4spx6it] {
    font-size: 10px;
}

.cit-header-item-name[b-97s4spx6it] {
    font-weight: bold;
    font-size: 10.5px;
}

.cit-col-qty[b-97s4spx6it] {
    text-align: center;
    font-size: 10px;
}

.cit-col-rate[b-97s4spx6it] {
    text-align: right;
    font-size: 10px;
}

.cit-col-amt[b-97s4spx6it] {
    text-align: right;
    font-size: 10px;
    font-weight: 500;
}

.cit-row-header-only td[b-97s4spx6it] {
    font-weight: bold;
}

.cit-row-sub td[b-97s4spx6it] {
    font-size: 9.5px;
    background: #fff;
}

.cit-sub-desc[b-97s4spx6it] {
    padding-left: 18px !important;
}

.cit-sub-num[b-97s4spx6it] {
    font-size: 9px;
    font-weight: normal;
}

.cit-sn[b-97s4spx6it] {
    font-size: 8.5px;
    color: #444;
}

.cit-row-total td[b-97s4spx6it] {
    font-weight: bold;
    font-size: 11px;
    border-top: 2px solid #000;
    padding: 5px 6px;
}

.cit-total-label[b-97s4spx6it] {
    text-align: right;
    padding-right: 15px;
    letter-spacing: 1px;
}

.cit-total-val[b-97s4spx6it] {
    text-align: right;
}

/* 5. Payment Details Table */
.contractor-payment-table[b-97s4spx6it] {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 2px solid #000;
}

.contractor-payment-table th[b-97s4spx6it],
.contractor-payment-table td[b-97s4spx6it] {
    border: 1px solid #000;
    padding: 4px 8px;
    font-size: 10.5px;
}

.cpt-header th[b-97s4spx6it] {
    font-weight: bold;
    font-size: 11px;
    background: #fff;
}

.cpt-th-en[b-97s4spx6it],
.cpt-td-en[b-97s4spx6it] {
    width: 42%;
    text-align: left;
}

.cpt-th-en[b-97s4spx6it] {
    text-decoration: underline;
}

.cpt-th-amt[b-97s4spx6it],
.cpt-td-amt[b-97s4spx6it] {
    width: 25%;
    text-align: right;
    font-weight: 600;
}

.cpt-th-ar[b-97s4spx6it],
.cpt-td-ar[b-97s4spx6it] {
    width: 33%;
    text-align: right;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
}

.cpt-th-ar[b-97s4spx6it] {
    text-decoration: underline;
}

.cpt-net-row td[b-97s4spx6it] {
    font-weight: bold;
    font-size: 11px;
}

/* 6. Words Box */
.contractor-words-box[b-97s4spx6it] {
    border-bottom: 2px solid #000;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    background: #fff;
    letter-spacing: 0.2px;
}

/* 7. Footer Table (Regards / Bank / QR) */
.contractor-footer-table[b-97s4spx6it] {
    width: 100%;
    border-collapse: collapse;
}

.contractor-footer-table td.cf-col[b-97s4spx6it] {
    vertical-align: top;
    padding: 8px 10px;
    border: 1px solid #000;
}

.cf-regards[b-97s4spx6it] {
    width: 26%;
    font-size: 11px;
}

.cf-regards-title[b-97s4spx6it] {
    font-size: 11px;
    font-weight: normal;
    margin-bottom: 24px;
}

.cf-manager-title[b-97s4spx6it] {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 2px;
}

.cf-manager-name[b-97s4spx6it] {
    font-size: 11px;
    font-weight: normal;
}

.cf-bank[b-97s4spx6it] {
    width: 48%;
    font-size: 10.5px;
    text-align: center;
}

.cf-bank-header[b-97s4spx6it] {
    font-size: 11px;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 4px;
}

.cf-bank-company[b-97s4spx6it] {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 3px;
}

.cf-bank-acc[b-97s4spx6it] {
    font-size: 10px;
    margin-bottom: 3px;
}

.cf-bank-iban[b-97s4spx6it] {
    font-size: 10.5px;
    font-weight: bold;
    margin-bottom: 6px;
}

.cf-bank-logo[b-97s4spx6it] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #0b5e28;
    letter-spacing: 1px;
}

.cf-bank-ar-name[b-97s4spx6it] {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 16px;
}

.cf-bank-en-name[b-97s4spx6it] {
    font-size: 18px;
    font-weight: 900;
}

.cf-qr[b-97s4spx6it] {
    width: 26%;
    text-align: center;
    vertical-align: middle !important;
}

.cf-qr-img[b-97s4spx6it] {
    width: 110px;
    height: 110px;
    display: block;
    margin: 0 auto;
}

/* /Components/Pages/SalesReturnPrint.razor.rz.scp.css */
.invoice-print-container[b-m4f3yokc97] {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    background: white;
    padding: 15mm;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.template-zatca[b-m4f3yokc97] {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #000;
}

.invoice-title[b-m4f3yokc97] {
    text-align: center;
    border-bottom: 3px solid #1a3a7a;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.invoice-title h2[b-m4f3yokc97] {
    color: #1a3a7a;
    font-size: 18px;
    margin: 0;
}

.header-section[b-m4f3yokc97] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.seller-left[b-m4f3yokc97] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.company-logo[b-m4f3yokc97] {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img[b-m4f3yokc97] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-names h3[b-m4f3yokc97] {
    margin: 0;
    color: #1a3a7a;
    font-size: 16px;
}

.company-names h4[b-m4f3yokc97] {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.qr-center[b-m4f3yokc97] {
    text-align: center;
}

.qr-code[b-m4f3yokc97] {
    width: 120px;
    height: 120px;
}

.company-right[b-m4f3yokc97] {
    text-align: right;
    flex: 1;
}

.company-right p[b-m4f3yokc97] {
    margin: 2px 0;
}

.details-section[b-m4f3yokc97] {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.details-box[b-m4f3yokc97] {
    flex: 1;
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
}

.details-box h4[b-m4f3yokc97] {
    color: #1a3a7a;
    font-size: 13px;
    margin-bottom: 10px;
    border-bottom: 1px solid #1a3a7a;
    padding-bottom: 5px;
}

.details-row[b-m4f3yokc97] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.details-row .label[b-m4f3yokc97] {
    color: #555;
    font-size: 11px;
}

.details-row .value[b-m4f3yokc97] {
    font-weight: 600;
    font-size: 11px;
}

.invoice-bar[b-m4f3yokc97] {
    background-color: #eef2f7;
    padding: 8px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 11px;
}

.return-notes[b-m4f3yokc97] {
    background-color: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 11px;
}

.invoice-table[b-m4f3yokc97] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 11px;
}

.invoice-table thead[b-m4f3yokc97] {
    background-color: #1a3a7a;
    color: white;
}

.invoice-table th[b-m4f3yokc97],
.invoice-table td[b-m4f3yokc97] {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center;
}

.invoice-table th[b-m4f3yokc97] {
    font-size: 10px;
}

.invoice-table td:nth-child(2)[b-m4f3yokc97] {
    text-align: left;
}

.summary-section[b-m4f3yokc97] {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.amount-in-words[b-m4f3yokc97] {
    flex: 1;
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
}

.amount-in-words h5[b-m4f3yokc97] {
    color: #1a3a7a;
    font-size: 12px;
    margin-bottom: 5px;
}

.summary-box[b-m4f3yokc97] {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.summary-row[b-m4f3yokc97] {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    border-bottom: 1px solid #ddd;
}

.summary-row:last-child[b-m4f3yokc97] {
    border-bottom: none;
}

.summary-row.total[b-m4f3yokc97] {
    background-color: #1a3a7a;
    color: white;
    font-weight: bold;
}

.return-info[b-m4f3yokc97] {
    margin-bottom: 15px;
}

.return-info-box[b-m4f3yokc97] {
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
}

.return-info-box h5[b-m4f3yokc97] {
    color: #1a3a7a;
    font-size: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #1a3a7a;
    padding-bottom: 5px;
}

.return-info-row[b-m4f3yokc97] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 11px;
}

.bank-section[b-m4f3yokc97] {
    border: 1px solid #1a3a7a;
    border-radius: 5px;
    padding: 10px;
    margin-top: 15px;
}

.bank-section h5[b-m4f3yokc97] {
    color: #1a3a7a;
    font-size: 12px;
    margin-bottom: 8px;
}

.bank-row[b-m4f3yokc97] {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 11px;
}

.bank-row span:first-child[b-m4f3yokc97] {
    font-weight: 600;
    min-width: 120px;
}

.no-print[b-m4f3yokc97] {
    display: block;
}

@media print {
    .no-print[b-m4f3yokc97] {
        display: none !important;
    }

    .invoice-print-container[b-m4f3yokc97] {
        border: none;
        padding: 0;
        width: 210mm;
        min-height: 297mm;
        margin: 0;
    }

    body[b-m4f3yokc97] {
        background: white;
        margin: 0;
    }

    @page {
        size: A4;
        margin: 10mm;
    }
}
/* /Components/Pages/SalesReturns.razor.rz.scp.css */
.sales-return-list-card[b-5y191wy61s] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-header-card[b-5y191wy61s] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-items-card[b-5y191wy61s] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-summary-card[b-5y191wy61s] {
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-actions[b-5y191wy61s] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
