.product-demo-section {
    position: relative;
    padding: 125px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%,
            rgba(219, 234, 254, 0.7),
            transparent 34%),
        #f8fafc;
}

.product-demo-heading {
    max-width: 820px;
    margin: 0 auto 55px;
    text-align: center;
}

.product-demo-heading h2 {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.product-demo-heading p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.product-demo-shell {
    overflow: hidden;
    background: var(--white);
    border: 1px solid #cbd5e1;
    border-radius: 26px;
    box-shadow:
        0 40px 90px rgba(15, 23, 42, 0.14),
        0 15px 35px rgba(37, 99, 235, 0.08);
}

.product-demo-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding: 10px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.product-demo-tab {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.product-demo-tab:hover {
    color: var(--primary);
    background: #eff6ff;
}

.product-demo-tab.is-active {
    color: var(--primary-dark);
    background: #dbeafe;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.product-demo-tab-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: currentColor;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 9px;
}

.product-demo-tab-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-demo-browser-bar {
    height: 54px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 18px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border);
}

.product-demo-window-buttons {
    display: flex;
    gap: 7px;
}

.product-demo-window-buttons span {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
}

.product-demo-window-buttons span:first-child {
    background: #fb7185;
}

.product-demo-window-buttons span:nth-child(2) {
    background: #fbbf24;
}

.product-demo-window-buttons span:nth-child(3) {
    background: #4ade80;
}

.product-demo-address {
    max-width: 330px;
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin-inline: auto;
    padding: 5px 12px;
    color: var(--muted);
    font-size: 11px;
    background: var(--white);
    border: 1px solid #dbe3ec;
    border-radius: 8px;
}

.product-demo-address svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-demo-avatar {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 10px;
    font-weight: 900;
    background: var(--primary);
    border-radius: 50%;
}

.product-demo-workspace {
    min-height: 600px;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
}

.product-demo-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 20px 10px;
    background:
        linear-gradient(180deg,
            #0f172a,
            #172554);
}

.product-demo-sidebar-logo {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 900;
    background: var(--primary);
    border-radius: 10px;
}

.product-demo-sidebar-item {
    width: 20px;
    height: 20px;
    background: #475569;
    border-radius: 6px;
}

.product-demo-sidebar-item.is-active {
    background: #60a5fa;
}

.product-demo-content {
    min-width: 0;
    padding: 34px;
    background: #f7f9fc;
}

.product-demo-panel {
    animation: productDemoEnter 0.35s ease both;
}

.product-demo-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.product-demo-panel-header div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-demo-panel-header span {
    color: var(--muted);
    font-size: 12px;
}

.product-demo-panel-header h3 {
    color: var(--secondary);
    font-size: 27px;
    letter-spacing: -0.8px;
}

.product-demo-period {
    padding: 9px 13px;
    color: #475569 !important;
    font-weight: 700;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.product-demo-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.product-demo-kpis article {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.product-demo-kpis span,
.product-demo-kpis small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.product-demo-kpis strong {
    display: block;
    margin: 11px 0 8px;
    color: var(--secondary);
    font-size: 21px;
}

.product-demo-kpis small.is-positive {
    color: var(--success);
    font-weight: 800;
}

.product-demo-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.7fr);
    gap: 17px;
    margin-top: 17px;
}

.product-demo-chart-card,
.product-demo-summary-card {
    min-height: 300px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.product-demo-chart-card {
    padding: 22px;
}

.product-demo-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.product-demo-card-heading div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.product-demo-card-heading span,
.product-demo-card-heading small {
    color: var(--muted);
    font-size: 11px;
}

.product-demo-card-heading strong {
    color: var(--secondary);
    font-size: 19px;
}

.product-demo-chart {
    height: 185px;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin-top: 24px;
    padding: 0 12px;
    border-bottom: 1px solid var(--border);
}

.product-demo-chart span {
    flex: 1;
    min-width: 16px;
    background:
        linear-gradient(180deg,
            #60a5fa,
            var(--primary));
    border-radius: 7px 7px 0 0;
}

.product-demo-chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px 0;
    color: var(--muted);
    font-size: 10px;
}

.product-demo-summary-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.product-demo-summary-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 21px;
    color: var(--success);
    font-size: 20px;
    font-weight: 900;
    background: #dcfce7;
    border-radius: 16px;
}

.product-demo-summary-card h4 {
    color: var(--secondary);
    font-size: 21px;
}

.product-demo-summary-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.product-demo-summary-card>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.product-demo-summary-card>div span {
    color: var(--muted);
    font-size: 12px;
}

.product-demo-summary-card>div strong {
    color: var(--success);
}

.product-demo-empty-state {
    min-height: 510px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.product-demo-empty-state>span {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 900;
    background: var(--primary-light);
    border-radius: 21px;
}

.product-demo-empty-state h3 {
    color: var(--secondary);
    font-size: 30px;
}

.product-demo-empty-state p {
    max-width: 580px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

@keyframes productDemoEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.demo-pos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 24px;
}

.demo-pos-header>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.demo-pos-header>div:first-child span {
    color: var(--muted);
    font-size: 12px;
}

.demo-pos-header h3 {
    color: var(--secondary);
    font-size: 27px;
    letter-spacing: -0.8px;
}

.demo-pos-header-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.demo-pos-invoice-type {
    display: grid;
    gap: 6px;
}

.demo-pos-invoice-type span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.demo-pos-invoice-type select,
.demo-pos-reset {
    min-height: 39px;
    padding: 8px 11px;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.demo-pos-reset {
    cursor: pointer;
}

.demo-pos-reset:hover {
    color: var(--primary);
    border-color: #bfdbfe;
}

.demo-pos-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
    gap: 16px;
}

.demo-pos-catalog,
.demo-pos-cart {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.demo-pos-toolbar {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid var(--border);
}

.demo-pos-search {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.demo-pos-search:focus-within {
    background: var(--white);
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.demo-inventory-search:focus-within,
.demo-ecf-search:focus-within,
.demo-financing-search:focus-within {
    background: var(--white);
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.demo-pos-search svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-pos-search input {
    width: 100%;
    color: var(--text);
    background: transparent;
    border: 0;
    outline: none;
}

.demo-pos-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.demo-pos-categories button {
    padding: 7px 11px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
}

.demo-pos-categories button:hover,
.demo-pos-categories button.is-active {
    color: var(--primary-dark);
    background: var(--primary-light);
    border-color: #bfdbfe;
}

.demo-pos-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: 470px;
    padding: 15px;
    overflow-y: auto;
}

.demo-pos-product {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: 49px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 13px;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.demo-pos-product:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

.demo-pos-product[hidden] {
    display: none;
}

.demo-pos-product-visual {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    font-size: 26px;
    background: #f8fafc;
    border-radius: 12px;
}

.demo-pos-product-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-pos-product-copy strong {
    overflow: hidden;
    color: var(--secondary);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-pos-product-copy small {
    color: var(--muted);
    font-size: 8px;
}

.demo-pos-product-copy>span {
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
}

.demo-pos-product-add {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 18px;
    font-weight: 500;
    background: var(--primary-light);
    border-radius: 8px;
}

.demo-pos-no-results {
    padding: 40px 20px;
    color: var(--muted);
    text-align: center;
}

.demo-pos-cart {
    display: flex;
    flex-direction: column;
    min-height: 580px;
}

.demo-pos-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px;
    border-bottom: 1px solid var(--border);
}

.demo-pos-cart-header>div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-pos-cart-header span,
.demo-pos-cart-header small {
    color: var(--muted);
    font-size: 9px;
}

.demo-pos-cart-header strong {
    overflow: hidden;
    color: var(--secondary);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-pos-cart-count {
    padding: 7px 9px;
    background: #f8fafc;
    border-radius: 8px;
    white-space: nowrap;
}

.demo-pos-cart-count strong {
    color: var(--primary);
}

.demo-pos-customer {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 12px;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 11px;
}

.demo-pos-customer-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 9px;
}

.demo-pos-customer-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-pos-customer div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-pos-customer small {
    color: var(--muted);
    font-size: 8px;
}

.demo-pos-customer strong {
    color: var(--secondary);
    font-size: 10px;
}

.demo-pos-customer button {
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    background: transparent;
    cursor: pointer;
}

.demo-pos-cart-lines {
    flex: 1;
    max-height: 235px;
    padding: 0 12px;
    overflow-y: auto;
}

.demo-pos-cart-empty {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-align: center;
}

.demo-pos-cart-empty[hidden] {
    display: none;
}

.product-demo-panel[hidden],
.demo-pos-no-results[hidden],
.demo-pos-payment-modal[hidden] {
    display: none !important;
}

.demo-pos-cart-empty>span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 14px;
}

.demo-pos-cart-empty svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-pos-cart-empty strong {
    color: var(--secondary);
    font-size: 12px;
}

.demo-pos-cart-empty p {
    margin-top: 5px;
    font-size: 9px;
}

.demo-pos-cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}

.demo-pos-cart-line-info {
    min-width: 0;
}

.demo-pos-cart-line-info strong {
    display: block;
    overflow: hidden;
    color: var(--secondary);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-pos-cart-line-info small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 8px;
}

.demo-pos-cart-line-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.demo-pos-cart-line-actions button {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-weight: 900;
    background: var(--primary-light);
    border-radius: 7px;
    cursor: pointer;
}

.demo-pos-cart-line-actions button[data-cart-remove] {
    color: #dc2626;
    background: #fee2e2;
}

.demo-pos-cart-line-actions span {
    min-width: 21px;
    color: var(--secondary);
    font-size: 10px;
    font-weight: 900;
    text-align: center;
}

.demo-pos-totals {
    display: grid;
    gap: 8px;
    padding: 14px 17px;
    background: #f8fafc;
    border-top: 1px solid var(--border);
}

.demo-pos-totals>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.demo-pos-totals span {
    color: var(--muted);
    font-size: 9px;
}

.demo-pos-totals strong {
    color: var(--secondary);
    font-size: 10px;
}

.demo-pos-grand-total {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.demo-pos-grand-total span {
    color: var(--secondary);
    font-weight: 800;
}

.demo-pos-grand-total strong {
    color: var(--primary);
    font-size: 17px;
}

.demo-pos-pay-button {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 0 12px 12px;
    padding: 11px 15px;
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    background: var(--primary);
    border-radius: 11px;
    cursor: pointer;
}

.demo-pos-pay-button:disabled {
    color: #94a3b8;
    background: #e2e8f0;
    cursor: not-allowed;
}

.demo-pos-pay-button strong {
    color: inherit;
    font-size: 13px;
}

.demo-pos-payment-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
}

.demo-pos-payment-modal[hidden] {
    display: none;
}

.demo-pos-payment-dialog {
    position: relative;
    width: min(100%, 430px);
    padding: 38px;
    text-align: center;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3);
}

.demo-pos-payment-close {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
    color: var(--muted);
    font-size: 25px;
    background: #f1f5f9;
    border-radius: 50%;
    cursor: pointer;
}

.demo-pos-payment-success {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    color: var(--success);
    background: #dcfce7;
    border-radius: 50%;
}

.demo-pos-payment-success svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-pos-payment-dialog h3 {
    color: var(--secondary);
    font-size: 25px;
}

.demo-pos-payment-dialog p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.65;
}

.demo-pos-payment-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding: 18px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 13px;
}

.demo-pos-payment-summary span {
    color: var(--muted);
    font-size: 13px;
}

.demo-pos-payment-summary strong {
    color: var(--primary);
    font-size: 22px;
}

.demo-pos-new-sale {
    width: 100%;
    margin-top: 20px;
}

.demo-inventory-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.demo-inventory-header>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.demo-inventory-header>div:first-child span {
    color: var(--muted);
    font-size: 12px;
}

.demo-inventory-header h3 {
    color: var(--secondary);
    font-size: 27px;
    letter-spacing: -0.8px;
}

.demo-inventory-header-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.demo-inventory-location {
    display: grid;
    gap: 6px;
}

.demo-inventory-location span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.demo-inventory-location select,
.demo-inventory-export {
    min-height: 39px;
    padding: 8px 11px;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.demo-inventory-export {
    color: var(--primary);
    cursor: pointer;
}

.demo-inventory-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 25px;
}

.demo-inventory-kpis article {
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.demo-inventory-kpis span,
.demo-inventory-kpis small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.demo-inventory-kpis strong {
    display: block;
    margin: 10px 0 7px;
    color: var(--secondary);
    font-size: 22px;
}

.demo-inventory-kpis small.is-warning {
    color: #d97706;
    font-weight: 800;
}

.demo-inventory-kpis small.is-danger {
    color: #dc2626;
    font-weight: 800;
}

.demo-inventory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 15px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px 15px 0 0;
}

.demo-inventory-search {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    max-width: 390px;
    padding: 0 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.demo-inventory-search svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-inventory-search input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
}

.demo-inventory-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.demo-inventory-filters button {
    padding: 7px 10px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
}

.demo-inventory-filters button:hover,
.demo-inventory-filters button.is-active {
    color: var(--primary-dark);
    background: var(--primary-light);
    border-color: #bfdbfe;
}

.demo-inventory-table-wrapper {
    position: relative;
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 15px 15px;
}

.demo-inventory-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}

.demo-inventory-table th,
.demo-inventory-table td {
    padding: 14px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.demo-inventory-table th {
    color: var(--muted);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    background: #f8fafc;
}

.demo-inventory-table td {
    color: #475569;
    font-size: 10px;
}

.demo-inventory-table tbody tr:hover {
    background: #f8fbff;
}

.demo-inventory-table tbody tr[hidden] {
    display: none;
}

.demo-inventory-product {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-inventory-product>span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 21px;
    background: #f8fafc;
    border-radius: 10px;
}

.demo-inventory-product div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-inventory-product strong {
    overflow: hidden;
    color: var(--secondary);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-inventory-product small {
    color: var(--muted);
    font-size: 8px;
}

.demo-inventory-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    font-size: 8px;
    font-weight: 900;
    border-radius: 999px;
}

.demo-inventory-status::before {
    width: 7px;
    height: 7px;
    content: "";
    background: currentColor;
    border-radius: 50%;
}

.demo-inventory-status.is-available {
    color: #15803d;
    background: #dcfce7;
}

.demo-inventory-status.is-low {
    color: #b45309;
    background: #fef3c7;
}

.demo-inventory-status.is-out {
    color: #b91c1c;
    background: #fee2e2;
}

.demo-inventory-status.is-service {
    color: #1d4ed8;
    background: #dbeafe;
}

.demo-inventory-empty {
    padding: 45px 20px;
    color: var(--muted);
    text-align: center;
}

.demo-inventory-empty[hidden] {
    display: none;
}

.demo-reports-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.demo-reports-header>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.demo-reports-header>div:first-child span {
    color: var(--muted);
    font-size: 12px;
}

.demo-reports-header h3 {
    color: var(--secondary);
    font-size: 27px;
    letter-spacing: -0.8px;
}

.demo-reports-header-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.demo-reports-header-actions label {
    display: grid;
    gap: 6px;
}

.demo-reports-header-actions label span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.demo-reports-header-actions select {
    min-height: 39px;
    padding: 8px 11px;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.demo-reports-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 25px;
}

.demo-reports-kpis article {
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.demo-reports-kpis span,
.demo-reports-kpis small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.demo-reports-kpis strong {
    display: block;
    margin: 10px 0 7px;
    color: var(--secondary);
    font-size: 21px;
}

.demo-reports-kpis small.is-positive {
    color: var(--success);
    font-weight: 800;
}

.demo-reports-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    gap: 16px;
    margin-top: 17px;
}

.demo-reports-sales-card,
.demo-reports-category-card,
.demo-reports-products-card,
.demo-reports-performance-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 17px;
}

.demo-reports-sales-card,
.demo-reports-category-card {
    min-height: 320px;
    padding: 21px;
}

.demo-reports-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.demo-reports-card-heading>div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.demo-reports-card-heading span {
    color: var(--muted);
    font-size: 10px;
}

.demo-reports-card-heading strong {
    color: var(--secondary);
    font-size: 16px;
}

.demo-reports-card-heading button {
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    background: transparent;
    cursor: pointer;
}

.demo-reports-legend {
    display: flex;
    gap: 13px;
}

.demo-reports-legend span {
    position: relative;
    padding-left: 12px;
}

.demo-reports-legend span::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    border-radius: 50%;
    transform: translateY(-50%);
}

.demo-reports-legend .is-sales::before {
    background: var(--primary);
}

.demo-reports-legend .is-costs::before {
    background: #94a3b8;
}

.demo-reports-chart {
    height: 225px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 15px;
    margin-top: 27px;
    padding: 0 8px;
    border-bottom: 1px solid var(--border);
}

.demo-reports-chart-group {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 9px;
}

.demo-reports-bars {
    height: 185px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}

.demo-reports-bars span {
    width: 15px;
    min-height: 5px;
    border-radius: 5px 5px 0 0;
    transition: height 0.35s ease;
}

.demo-report-bar-sales {
    background: linear-gradient(180deg,
            #60a5fa,
            var(--primary));
}

.demo-report-bar-costs {
    background: #cbd5e1;
}

.demo-reports-chart-group small {
    color: var(--muted);
    font-size: 8px;
    text-align: center;
}

.demo-reports-donut-wrapper {
    display: grid;
    place-items: center;
    gap: 24px;
    margin-top: 27px;
}

.demo-reports-donut {
    width: 158px;
    height: 158px;
    display: grid;
    place-items: center;
    background:
        conic-gradient(var(--primary) 0 42%,
            #38bdf8 42% 70%,
            #8b5cf6 70% 88%,
            #f59e0b 88% 100%);
    border-radius: 50%;
}

.demo-reports-donut>div {
    width: 105px;
    height: 105px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    text-align: center;
    background: var(--white);
    border-radius: 50%;
}

.demo-reports-donut strong {
    color: var(--secondary);
    font-size: 17px;
}

.demo-reports-donut span {
    color: var(--muted);
    font-size: 8px;
}

.demo-reports-category-list {
    width: 100%;
    display: grid;
    gap: 10px;
}

.demo-reports-category-list>div {
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.category-color {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.category-one {
    background: var(--primary);
}

.category-two {
    background: #38bdf8;
}

.category-three {
    background: #8b5cf6;
}

.category-four {
    background: #f59e0b;
}

.demo-reports-category-list span {
    color: var(--muted);
    font-size: 9px;
}

.demo-reports-category-list strong {
    color: var(--secondary);
    font-size: 9px;
}

.demo-reports-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.7fr);
    gap: 16px;
    margin-top: 16px;
}

.demo-reports-products-card,
.demo-reports-performance-card {
    padding: 20px;
}

.demo-reports-products-list {
    display: grid;
    margin-top: 17px;
}

.demo-reports-products-list>div {
    display: grid;
    grid-template-columns: 26px 36px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}

.demo-reports-products-list>div:last-child {
    border-bottom: 0;
}

.demo-report-product-position {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 9px;
    font-weight: 900;
    background: #f1f5f9;
    border-radius: 7px;
}

.demo-report-product-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    font-size: 19px;
    background: #f8fafc;
    border-radius: 9px;
}

.demo-reports-products-list div>div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-reports-products-list div>div strong {
    overflow: hidden;
    color: var(--secondary);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-reports-products-list div>div small,
.demo-reports-products-list>div>span:nth-last-child(2) {
    color: var(--muted);
    font-size: 8px;
}

.demo-reports-products-list>div>strong:last-child {
    color: var(--secondary);
    font-size: 9px;
}

.demo-reports-performance-list {
    display: grid;
    gap: 10px;
    margin-top: 19px;
}

.demo-reports-performance-list>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.demo-reports-performance-list span {
    color: var(--muted);
    font-size: 9px;
}

.demo-reports-performance-list strong {
    color: var(--secondary);
    font-size: 10px;
}

.demo-reports-performance-list .is-total {
    padding-top: 5px;
    border-bottom: 0;
}

.demo-reports-performance-list .is-total span {
    color: var(--secondary);
    font-weight: 800;
}

.demo-reports-performance-list .is-total strong {
    color: var(--success);
    font-size: 14px;
}

.demo-reports-progress {
    margin-top: 22px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
}

.demo-reports-progress>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-reports-progress div span {
    color: var(--muted);
    font-size: 9px;
}

.demo-reports-progress div strong {
    color: var(--secondary);
    font-size: 11px;
}

.demo-reports-progress>span {
    height: 8px;
    display: block;
    margin-top: 10px;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 999px;
}

.demo-reports-progress i {
    width: 37%;
    height: 100%;
    display: block;
    background: linear-gradient(90deg,
            var(--primary),
            #38bdf8);
    border-radius: inherit;
    transition: width 0.35s ease;
}

.demo-ecf-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.demo-ecf-header>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.demo-ecf-header>div:first-child span {
    color: var(--muted);
    font-size: 12px;
}

.demo-ecf-header h3 {
    color: var(--secondary);
    font-size: 27px;
    letter-spacing: -0.8px;
}

.demo-ecf-header-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.demo-ecf-header-actions label {
    display: grid;
    gap: 6px;
}

.demo-ecf-header-actions label span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.demo-ecf-header-actions select,
.demo-ecf-refresh {
    min-height: 39px;
    padding: 8px 11px;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.demo-ecf-refresh {
    color: var(--primary);
    cursor: pointer;
}

.demo-ecf-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 25px;
}

.demo-ecf-kpis article {
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.demo-ecf-kpis span,
.demo-ecf-kpis small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.demo-ecf-kpis strong {
    display: block;
    margin: 10px 0 7px;
    color: var(--secondary);
    font-size: 22px;
}

.demo-ecf-kpis small.is-success {
    color: var(--success);
    font-weight: 800;
}

.demo-ecf-kpis small.is-warning {
    color: #d97706;
    font-weight: 800;
}

.demo-ecf-kpis small.is-danger {
    color: #dc2626;
    font-weight: 800;
}

.demo-ecf-flow {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.demo-ecf-flow>i {
    height: 2px;
    display: block;
    background: #cbd5e1;
}

.demo-ecf-flow-step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-ecf-flow-step>span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    background: #f1f5f9;
    border-radius: 50%;
}

.demo-ecf-flow-step.is-complete>span {
    color: #15803d;
    background: #dcfce7;
}

.demo-ecf-flow-step.is-active>span {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.11);
}

.demo-ecf-flow-step div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-ecf-flow-step strong {
    color: var(--secondary);
    font-size: 9px;
}

.demo-ecf-flow-step small {
    color: var(--muted);
    font-size: 7px;
}

.demo-ecf-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 15px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px 15px 0 0;
}

.demo-ecf-search {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    max-width: 390px;
    padding: 0 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.demo-ecf-search svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-ecf-search input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
}

.demo-ecf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.demo-ecf-filters button {
    padding: 7px 10px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
}

.demo-ecf-filters button:hover,
.demo-ecf-filters button.is-active {
    color: var(--primary-dark);
    background: var(--primary-light);
    border-color: #bfdbfe;
}

.demo-ecf-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 15px 15px;
}

.demo-ecf-list {
    max-height: 440px;
    padding: 11px;
    overflow-y: auto;
    border-right: 1px solid var(--border);
}

.demo-ecf-document {
    width: 100%;
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-align: left;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
}

.demo-ecf-document:hover,
.demo-ecf-document.is-selected {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.demo-ecf-document[hidden] {
    display: none;
}

.demo-ecf-type {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    background: var(--primary-light);
    border-radius: 11px;
}

.demo-ecf-document-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-ecf-document-copy strong {
    color: var(--secondary);
    font-size: 10px;
}

.demo-ecf-document-copy small {
    overflow: hidden;
    color: var(--muted);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-ecf-document-copy span {
    color: var(--primary);
    font-size: 9px;
    font-weight: 900;
}

.demo-ecf-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    font-size: 8px;
    font-weight: 900;
    border-radius: 999px;
}

.demo-ecf-status::before {
    width: 7px;
    height: 7px;
    content: "";
    background: currentColor;
    border-radius: 50%;
}

.demo-ecf-status.is-accepted {
    color: #15803d;
    background: #dcfce7;
}

.demo-ecf-status.is-pending {
    color: #b45309;
    background: #fef3c7;
}

.demo-ecf-status.is-rejected {
    color: #b91c1c;
    background: #fee2e2;
}

.demo-ecf-detail {
    padding: 20px;
}

.demo-ecf-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.demo-ecf-detail-header div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-ecf-detail-header div span {
    color: var(--muted);
    font-size: 9px;
}

.demo-ecf-detail-header div strong {
    overflow: hidden;
    color: var(--secondary);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-ecf-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 21px;
}

.demo-ecf-detail-grid>div {
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.demo-ecf-detail-grid span {
    display: block;
    color: var(--muted);
    font-size: 8px;
}

.demo-ecf-detail-grid strong {
    display: block;
    margin-top: 5px;
    color: var(--secondary);
    font-size: 9px;
    line-height: 1.45;
}

.demo-ecf-detail-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 11px;
}

.demo-ecf-detail-total span {
    color: var(--muted);
    font-size: 10px;
}

.demo-ecf-detail-total strong {
    color: var(--primary);
    font-size: 18px;
}

.demo-ecf-response {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 15px;
    padding: 14px;
    border-radius: 11px;
}

.demo-ecf-response>span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
}

.demo-ecf-response svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-ecf-response div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.demo-ecf-response strong {
    font-size: 10px;
}

.demo-ecf-response p {
    font-size: 9px;
    line-height: 1.55;
}

.demo-ecf-response.is-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.demo-ecf-response.is-success>span {
    background: #dcfce7;
}

.demo-ecf-response.is-warning {
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.demo-ecf-response.is-warning>span {
    background: #fef3c7;
}

.demo-ecf-response.is-danger {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.demo-ecf-response.is-danger>span {
    background: #fee2e2;
}

.demo-ecf-detail-actions {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.demo-ecf-detail-actions button {
    min-height: 38px;
    padding: 8px 11px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 9px;
    cursor: pointer;
}

.demo-ecf-detail-actions .demo-ecf-retry {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.demo-ecf-detail-actions button[hidden] {
    display: none;
}

.demo-ecf-empty {
    padding: 45px 20px;
    color: var(--muted);
    text-align: center;
}

.demo-ecf-empty[hidden] {
    display: none;
}

.demo-ecf-refresh.is-loading {
    pointer-events: none;
    opacity: 0.65;
}

.demo-financing-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.demo-financing-header>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.demo-financing-header>div:first-child span {
    color: var(--muted);
    font-size: 12px;
}

.demo-financing-header h3 {
    color: var(--secondary);
    font-size: 27px;
    letter-spacing: -0.8px;
}

.demo-financing-header-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.demo-financing-header-actions label {
    display: grid;
    gap: 6px;
}

.demo-financing-header-actions label span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.demo-financing-header-actions select,
.demo-financing-header-actions button {
    min-height: 39px;
    padding: 8px 11px;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.demo-financing-header-actions button {
    color: var(--primary);
    cursor: pointer;
}

.demo-financing-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 25px;
}

.demo-financing-kpis article {
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.demo-financing-kpis span,
.demo-financing-kpis small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.demo-financing-kpis strong {
    display: block;
    margin: 10px 0 7px;
    color: var(--secondary);
    font-size: 21px;
}

.demo-financing-kpis .is-success {
    color: var(--success);
    font-weight: 800;
}

.demo-financing-kpis .is-danger {
    color: #dc2626;
    font-weight: 800;
}

.demo-financing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 15px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px 15px 0 0;
}

.demo-financing-search {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    max-width: 390px;
    padding: 0 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.demo-financing-search svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-financing-search input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
}

.demo-financing-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.demo-financing-filters button {
    padding: 7px 10px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
}

.demo-financing-filters button:hover,
.demo-financing-filters button.is-active {
    color: var(--primary-dark);
    background: var(--primary-light);
    border-color: #bfdbfe;
}

.demo-financing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.75fr);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 15px 15px;
}

.demo-financing-contracts {
    max-height: 440px;
    padding: 11px;
    overflow-y: auto;
    border-right: 1px solid var(--border);
}

.demo-financing-contract {
    width: 100%;
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-align: left;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
}

.demo-financing-contract:hover,
.demo-financing-contract.is-selected {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.demo-financing-contract[hidden] {
    display: none;
}

.demo-financing-avatar,
.demo-financing-detail-avatar {
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 10px;
    font-weight: 900;
    background: linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));
    border-radius: 12px;
}

.demo-financing-avatar {
    width: 43px;
    height: 43px;
}

.demo-financing-contract>div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-financing-contract div strong {
    overflow: hidden;
    color: var(--secondary);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-financing-contract div small {
    color: var(--muted);
    font-size: 8px;
}

.demo-financing-contract div span {
    color: var(--primary);
    font-size: 9px;
    font-weight: 900;
}

.demo-financing-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    font-size: 8px;
    font-weight: 900;
    border-radius: 999px;
}

.demo-financing-status::before {
    width: 7px;
    height: 7px;
    content: "";
    background: currentColor;
    border-radius: 50%;
}

.demo-financing-status.is-current {
    color: #15803d;
    background: #dcfce7;
}

.demo-financing-status.is-warning {
    color: #b45309;
    background: #fef3c7;
}

.demo-financing-status.is-overdue {
    color: #b91c1c;
    background: #fee2e2;
}

.demo-financing-detail {
    padding: 20px;
}

.demo-financing-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.demo-financing-detail-header div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-financing-detail-header span {
    color: var(--muted);
    font-size: 9px;
}

.demo-financing-detail-header strong {
    color: var(--secondary);
    font-size: 15px;
}

.demo-financing-client {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 13px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 11px;
}

.demo-financing-detail-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.demo-financing-client div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-financing-client strong {
    color: var(--secondary);
    font-size: 11px;
}

.demo-financing-client small {
    color: var(--muted);
    font-size: 8px;
}

.demo-financing-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.demo-financing-detail-grid>div {
    padding: 11px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.demo-financing-detail-grid span {
    display: block;
    color: var(--muted);
    font-size: 8px;
}

.demo-financing-detail-grid strong {
    display: block;
    margin-top: 5px;
    color: var(--secondary);
    font-size: 9px;
    line-height: 1.45;
}

.demo-financing-balance {
    margin-top: 15px;
    padding: 15px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 11px;
}

.demo-financing-balance>div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.demo-financing-balance span {
    color: var(--muted);
    font-size: 9px;
}

.demo-financing-balance>div:first-child strong {
    color: var(--primary);
    font-size: 18px;
}

.demo-financing-progress {
    margin-top: 15px;
}

.demo-financing-progress>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-financing-progress>div strong {
    color: var(--secondary);
    font-size: 9px;
}

.demo-financing-progress>span {
    height: 7px;
    display: block;
    margin-top: 8px;
    overflow: hidden;
    background: #dbeafe;
    border-radius: 999px;
}

.demo-financing-progress i {
    height: 100%;
    display: block;
    background: linear-gradient(90deg,
            var(--primary),
            #38bdf8);
    border-radius: inherit;
    transition: width 0.3s ease;
}

.demo-financing-next-payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding: 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 11px;
}

.demo-financing-next-payment div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-financing-next-payment span {
    color: #4b7d5b;
    font-size: 8px;
}

.demo-financing-next-payment strong {
    color: #166534;
    font-size: 14px;
}

.demo-financing-next-payment button {
    min-height: 36px;
    padding: 8px 11px;
    color: var(--white);
    font-size: 9px;
    font-weight: 800;
    background: var(--success);
    border-radius: 9px;
    cursor: pointer;
}

.demo-financing-amortization {
    margin-top: 16px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.demo-financing-amortization-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.demo-financing-amortization-heading>div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-financing-amortization-heading span {
    color: var(--muted);
    font-size: 9px;
}

.demo-financing-amortization-heading strong {
    color: var(--secondary);
    font-size: 13px;
}

.demo-financing-table-wrapper {
    overflow-x: auto;
}

.demo-financing-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.demo-financing-table th,
.demo-financing-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.demo-financing-table th {
    color: var(--muted);
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    background: #f8fafc;
}

.demo-financing-table td {
    color: #475569;
    font-size: 9px;
}

.demo-financing-payment-state {
    width: fit-content;
    display: inline-flex;
    padding: 5px 8px;
    font-size: 8px;
    font-weight: 900;
    border-radius: 999px;
}

.demo-financing-payment-state.is-paid {
    color: #15803d;
    background: #dcfce7;
}

.demo-financing-payment-state.is-pending {
    color: #b45309;
    background: #fef3c7;
}

.demo-financing-payment-state.is-overdue {
    color: #b91c1c;
    background: #fee2e2;
}

.demo-financing-empty {
    padding: 45px 20px;
    color: var(--muted);
    text-align: center;
}

.demo-financing-empty[hidden],
.demo-financing-payment-modal[hidden] {
    display: none;
}

.demo-financing-payment-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.66);
    backdrop-filter: blur(8px);
}

.demo-financing-payment-dialog {
    position: relative;
    width: min(100%, 420px);
    padding: 36px;
    text-align: center;
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3);
}

.demo-financing-payment-dialog>button:first-child {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
    color: var(--muted);
    font-size: 24px;
    background: #f1f5f9;
    border-radius: 50%;
    cursor: pointer;
}

.demo-financing-payment-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    color: var(--success);
    background: #dcfce7;
    border-radius: 50%;
}

.demo-financing-payment-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-financing-payment-dialog h3 {
    color: var(--secondary);
    font-size: 24px;
}

.demo-financing-payment-dialog p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.65;
}

.demo-financing-payment-dialog>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding: 17px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
}

.demo-financing-payment-dialog div span {
    color: var(--muted);
    font-size: 12px;
}

.demo-financing-payment-dialog div strong {
    color: var(--primary);
    font-size: 20px;
}

.demo-financing-payment-dialog .button {
    width: 100%;
    margin-top: 18px;
}

.product-demo-intro-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
    padding: 18px 22px;
    color: var(--white);
    background:
        linear-gradient(135deg,
            #0f172a,
            #172554);
    border: 1px solid rgba(96, 165, 250, 0.24);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}

.product-demo-intro-strip>div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-demo-intro-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--white);
    background: var(--primary);
    border-radius: 13px;
}

.product-demo-intro-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.product-demo-intro-strip div>div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-demo-intro-strip strong {
    color: var(--white);
    font-size: 15px;
}

.product-demo-intro-strip div>div span {
    color: #cbd5e1;
    font-size: 12px;
}

.product-demo-intro-badge {
    padding: 7px 11px;
    color: #bfdbfe;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.25);
    border-radius: 999px;
    white-space: nowrap;
}

.product-demo-shell {
    position: relative;
}

.product-demo-shell::before {
    position: absolute;
    z-index: -1;
    inset: 35px -28px -35px;
    content: "";
    pointer-events: none;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 35px;
    filter: blur(35px);
}