/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-1vd4cc9jz6] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1vd4cc9jz6] {
    flex: 1;
}

.sidebar[b-1vd4cc9jz6] {
    background-image: linear-gradient(180deg, #2b3445 0%, #1e2738 100%);
}

.top-row[b-1vd4cc9jz6] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-1vd4cc9jz6]  a, .top-row[b-1vd4cc9jz6]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-1vd4cc9jz6]  a:hover, .top-row[b-1vd4cc9jz6]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-1vd4cc9jz6]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-1vd4cc9jz6] {
        justify-content: space-between;
    }

    .top-row[b-1vd4cc9jz6]  a, .top-row[b-1vd4cc9jz6]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-1vd4cc9jz6] {
        flex-direction: row;
    }

    .sidebar[b-1vd4cc9jz6] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-1vd4cc9jz6] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-1vd4cc9jz6]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-1vd4cc9jz6], article[b-1vd4cc9jz6] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0nviqcujon] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-0nviqcujon] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-0nviqcujon] {
    font-size: 1.1rem;
}

.bi[b-0nviqcujon] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-0nviqcujon] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-0nviqcujon] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-0nviqcujon] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-0nviqcujon] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-0nviqcujon] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-0nviqcujon] {
        padding-bottom: 1rem;
    }

    .nav-item[b-0nviqcujon]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-0nviqcujon]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-0nviqcujon]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-0nviqcujon] {
        display: none;
    }

    .collapse[b-0nviqcujon] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-0nviqcujon] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Dasboard/AddVendas.razor.rz.scp.css */
/* ROOT */
.pos-root[b-0ktfdou0rx] {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #f0f2f5;
    color: #212121;
    font-family: 'Segoe UI', system-ui, sans-serif;
    z-index: 200;
    overflow: hidden;
}

/* TOP BAR */
.pos-topbar[b-0ktfdou0rx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 52px;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.pos-logo[b-0ktfdou0rx] {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #5cb85c;
}

.pos-topbar-center[b-0ktfdou0rx] {
    font-size: 13px;
    color: #757575;
}

.pos-topbar-right[b-0ktfdou0rx] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pos-clock[b-0ktfdou0rx] {
    font-size: 13px;
    font-family: 'Cascadia Code', 'Courier New', monospace;
    color: #555;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 5px 12px;
    border-radius: 8px;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

.pos-avatar[b-0ktfdou0rx] {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #5cb85c, #4cae4c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
}

.pos-operator[b-0ktfdou0rx] {
    font-size: 13px;
    color: #555;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* MAIN */
.pos-main[b-0ktfdou0rx] {
    display: grid;
    grid-template-columns: 1fr 380px;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* LEFT */
.pos-left[b-0ktfdou0rx] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 14px;
    gap: 12px;
    min-height: 0;
}

/* Search */
.pos-search-wrap[b-0ktfdou0rx] {
    flex: none;
}

/* Categories */
.pos-cats[b-0ktfdou0rx] {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    flex-shrink: 0;
    scrollbar-width: none;
}

.pos-cats[b-0ktfdou0rx]::-webkit-scrollbar { display: none; }

.pos-cat[b-0ktfdou0rx] {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #e0e0e0;
    color: #757575;
    background: #ffffff;
    transition: all 0.18s;
    font-family: inherit;
}

.pos-cat:hover:not(.pos-cat-active)[b-0ktfdou0rx] {
    border-color: #bdbdbd;
    color: #212121;
}

.pos-cat-active[b-0ktfdou0rx] {
    background: #5cb85c;
    border-color: #5cb85c !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(92,184,92,0.3);
}

/* Product Grid */
.pos-grid[b-0ktfdou0rx] {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 10px;
    overflow-y: auto;
    min-height: 0;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
    align-content: start;
}

.pos-card[b-0ktfdou0rx] {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 12px;
    cursor: pointer;
    transition: all 0.18s;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    user-select: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.pos-card:hover[b-0ktfdou0rx] {
    border-color: #5cb85c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(92,184,92,0.15);
}

.pos-card:active[b-0ktfdou0rx] { transform: scale(0.97); }

.pos-card-out[b-0ktfdou0rx] {
    opacity: 0.4;
    pointer-events: none;
}

.pos-card-add[b-0ktfdou0rx] {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background: #5cb85c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.18s;
    line-height: 1;
}

.pos-card:hover .pos-card-add[b-0ktfdou0rx] {
    opacity: 1;
    transform: scale(1);
}

.pos-card-name[b-0ktfdou0rx] {
    font-size: 13px;
    font-weight: 600;
    color: #212121;
    line-height: 1.3;
}

.pos-card-stock[b-0ktfdou0rx] {
    font-size: 11px;
    color: #9e9e9e;
}

.pos-stock-low[b-0ktfdou0rx] { color: #f57c00 !important; }

.pos-card-price[b-0ktfdou0rx] {
    font-size: 14px;
    font-weight: 700;
    color: #4cae4c;
    margin-top: auto;
}

.pos-no-products[b-0ktfdou0rx] {
    grid-column: 1/-1;
    text-align: center;
    color: #bdbdbd;
    padding: 40px;
    font-size: 14px;
}

/* RIGHT */
.pos-right[b-0ktfdou0rx] {
    background: #ffffff;
    border-left: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

/* Cart Header */
.pos-cart-header[b-0ktfdou0rx] {
    padding: 14px 18px 12px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.pos-cart-title[b-0ktfdou0rx] {
    font-size: 14px;
    font-weight: 700;
    color: #212121;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pos-cart-badge[b-0ktfdou0rx] {
    background: #5cb85c;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    font-family: monospace;
}

.pos-cart-clear[b-0ktfdou0rx] {
    font-size: 12px;
    color: #bdbdbd;
    cursor: pointer;
    transition: color 0.18s;
}

.pos-cart-clear:hover[b-0ktfdou0rx] { color: #e53935; }

/* Section */
.pos-section[b-0ktfdou0rx] {
    padding: 10px 18px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.pos-section-label[b-0ktfdou0rx] {
    font-size: 10px;
    font-weight: 700;
    color: #9e9e9e;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Doc Type */
.pos-doctype-row[b-0ktfdou0rx] {
    display: flex;
    gap: 6px;
    padding: 10px 18px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.pos-doctype[b-0ktfdou0rx] {
    flex: 1;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    color: #757575;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 4px;
    border-radius: 7px;
    cursor: pointer;
    text-align: center;
    transition: all 0.18s;
    letter-spacing: 0.3px;
    font-family: inherit;
}

.pos-doctype:hover:not(.pos-doctype-active)[b-0ktfdou0rx] {
    border-color: #bdbdbd;
    color: #212121;
}

.pos-doctype-active[b-0ktfdou0rx] {
    background: rgba(76,175,80,0.1);
    border-color: #5cb85c !important;
    color: #4cae4c !important;
}

/* Cart Items */
.pos-cart-items[b-0ktfdou0rx] {
    flex: 1;
    overflow-y: auto;
    padding: 10px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}

.pos-cart-empty[b-0ktfdou0rx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #bdbdbd;
    font-size: 13px;
    text-align: center;
    padding: 30px 0;
}

.pos-cart-empty-icon[b-0ktfdou0rx] {
    font-size: 40px !important;
    opacity: 0.3;
}

.pos-cart-item[b-0ktfdou0rx] {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pos-ci-icon[b-0ktfdou0rx] {
    font-size: 20px !important;
    flex-shrink: 0;
    color: #9e9e9e;
}

.pos-ci-info[b-0ktfdou0rx] {
    flex: 1;
    min-width: 0;
}

.pos-ci-name[b-0ktfdou0rx] {
    font-size: 13px;
    font-weight: 600;
    color: #212121;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pos-ci-price[b-0ktfdou0rx] {
    font-size: 11px;
    color: #9e9e9e;
    font-family: monospace;
    margin-top: 2px;
}

.pos-ci-qty[b-0ktfdou0rx] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pos-qty-btn[b-0ktfdou0rx] {
    width: 24px;
    height: 24px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #424242;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    font-family: inherit;
    line-height: 1;
}

.pos-qty-btn:hover[b-0ktfdou0rx] {
    background: #5cb85c;
    border-color: #5cb85c;
    color: white;
}

.pos-qty-num[b-0ktfdou0rx] {
    font-size: 13px;
    min-width: 20px;
    text-align: center;
    font-family: monospace;
    color: #212121;
}


/* Totals */
.pos-totals[b-0ktfdou0rx] {
    padding: 12px 18px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
    background: #fafafa;
}

.pos-total-row[b-0ktfdou0rx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #757575;
}

.pos-total-main[b-0ktfdou0rx] {
    font-size: 17px !important;
    font-weight: 800;
    color: #212121 !important;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.pos-total-val[b-0ktfdou0rx] { font-family: 'Cascadia Code', monospace; }

.pos-total-val-main[b-0ktfdou0rx] {
    color: #4cae4c;
    font-size: 18px;
}

/* Payment */
.pos-payment[b-0ktfdou0rx] {
    padding: 12px 18px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.pos-pay-methods[b-0ktfdou0rx] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    margin-bottom: 12px;
}

.pos-pay-method[b-0ktfdou0rx] {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

.pos-pay-method:hover[b-0ktfdou0rx] { border-color: #5cb85c; }

.pos-pay-active[b-0ktfdou0rx] {
    background: rgba(92,184,92,0.08);
    border-color: #5cb85c !important;
}

.pos-pay-label[b-0ktfdou0rx] {
    font-size: 10px;
    font-weight: 700;
    color: #757575;
    letter-spacing: 0.5px;
}

.pos-pay-active .pos-pay-label[b-0ktfdou0rx] { color: #5cb85c; }

.pos-checkout-btn[b-0ktfdou0rx] {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #5cb85c, #4cae4c);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    box-shadow: 0 3px 12px rgba(92,184,92,0.3);
    font-family: inherit;
}

.pos-checkout-btn:hover:not(:disabled)[b-0ktfdou0rx] {
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(92,184,92,0.4);
}

.pos-checkout-btn:active:not(:disabled)[b-0ktfdou0rx] { transform: scale(0.99); }

.pos-checkout-btn:disabled[b-0ktfdou0rx] {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

/* Status Bar */
.pos-statusbar[b-0ktfdou0rx] {
    height: 26px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 20px;
    flex-shrink: 0;
}

.pos-status-item[b-0ktfdou0rx] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: #9e9e9e;
    font-family: monospace;
}

.pos-status-right[b-0ktfdou0rx] { margin-left: auto; }

.pos-status-dot[b-0ktfdou0rx] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pos-dot-green[b-0ktfdou0rx]  { background: #5cb85c; }
.pos-dot-yellow[b-0ktfdou0rx] { background: #ffc107; }
.pos-dot-red[b-0ktfdou0rx]    { background: #f44336; }

.pos-status-brand[b-0ktfdou0rx] {
    font-size: 11px;
    font-weight: 700;
    color: #5cb85c;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
