/* --------------------------------------topmenu code css page----------------------------------------------- */

body {
    background: #f4f4f4;
}

/* TOP BAR */
.navbar {
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 18px;
}

/* HEADER */
.menu-header {
    border-bottom: 1px solid #eee;
    padding: 14px 16px;
}

/* OFFCANVAS WIDTH FIX */
.offcanvas-start {
    width: 250px !important;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    background: #f8f9fa;
    /* light background */
    padding: 10px 0;
}

/* MAIN LINK */
.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    background: transparent;
}

.menu-link:hover {
    background: #eef5f0;
}

/* ICON */
.menu-link i {
    font-size: 18px;
    color: #2e7d32;
}

/* ACCORDION */
.menu-accordion input {
    display: none;
}

/* SECTION TITLE */
.menu-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #444;
    cursor: pointer;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.menu-title:hover {
    background: #eef5f0;
}

.menu-title i {
    font-size: 18px;
    color: #4caf50;
}

/* ARROW */
.menu-title .arrow {
    margin-left: auto;
    font-size: 13px;
    color: #777;
    transition: transform 0.3s ease;
}

/* SUBMENU */
.submenu {
    max-height: 0;
    overflow: hidden;
    background: #fdfdfd;
    transition: max-height 0.3s ease;
}

/* SUBMENU LINKS */
.submenu a {
    display: block;
    padding: 12px 42px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
}

.submenu a:hover {
    background: #e8f5e9;
    color: #2e7d32;
}

/* OPEN STATE */
.menu-accordion input:checked~.submenu {
    max-height: 320px;
}

.menu-accordion input:checked+.menu-title .arrow {
    transform: rotate(180deg);
}






/* ----------------------------------------pos page css code---------------------------------------------------------- */

/* SUBMIT */
.submit-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
    padding: 10px;
}

/* SUBMIT BUTTON */
.submit-btn {
    padding: 12px 18px;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    min-width: 160px;
}

/* ACTIVE PRESS EFFECT */
.submit-btn:active {
    transform: scale(0.97);
}

/* DISABLED STATE (OPTIONAL) */
.submit-btn:disabled {
    background: #cfcfcf;
    cursor: not-allowed;
}


/* OVERLAY */
.bill-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 9999;
}

/* BILL */
.bill {
    background: #fff;
    max-width: 480px;
    margin: auto;
    height: 100vh;
    overflow-y: auto;
    padding: 14px;
}

/* HEADER */
.bill-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

/* GOD IMAGE */
.bill-god img {
    width: 40px;
    height: auto;
    margin-left: 20px;
}

/* TITLE */
.bill-title {
    text-align: center;
    flex: 1;
    margin-right: 20px !important;
}

.bill-title h2 {
    color: green;
    margin: 2px 0;
   
}

.bill-title h5 {
    margin: 0;
    font-size: 14px;
}

.bill-title p {
    margin: 0;
    font-size: 12px;
}


/* INFO */
.bill-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 13px;
}

/* TABLE */
.bill-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 13px;
}

.bill-table th,
.bill-table td {
    border: 1px solid #ccc;
    padding: 6px;
    text-align: center;
}

.bill-table th {
    background: #f5f5f5;
}

.del {
    color: red;
    cursor: pointer;
}

/* TOTAL */
.bill-total {
    text-align: right;
    margin-top: 10px;
    font-weight: bold;
}

/* ACTION */
.bill-actions {
    display: flex;
    gap: 12px;
    padding: 16px;
}

.bill-btn {
    flex: 1;
    padding: 12px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #4caf50;
    background: #fff;
    color: #2e7d32;
    font-weight: 600;
}




/* PRINT BUTTON */
.bill-btn.print {
    border-color: #2e7d32 !important;
    color: #2e7d32 !important;
    font-weight: 600 !important;
}

.bill-btn.print:hover {
    background: #2e7d32 !important;
    color: #fff !important;
}

/* CLOSE BUTTON */
.bill-btn.close {
    border-color: #999 !important;
    color: #555 !important;
}

.bill-btn.close:hover {
    background: #eee !important;
}


/* =========================
   NORMAL DATE INPUT (SCREEN)
========================= */
input[type="date"] {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    border-bottom: 1px solid #000;
    padding: 2px 4px;
    font-size: 13px;
    background: transparent;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    display: block;
    cursor: pointer;
}


/* =========================
   PRINT MODE
========================= */
@media print {

    /* Hide everything */
    body * {
        visibility: hidden;
    }

    /* Show only bill print area */
    .bill-print-area,
    .bill-print-area * {
        visibility: visible;
    }

    /* Position bill at top */
    .bill-print-area {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    /* Remove popup background */
    .bill-overlay {
        background: none !important;
    }

    /* Hide action buttons */
    .bill-actions {
        display: none !important;
    }

    /* Hide screen-only columns */
    .no-print {
        display: none !important;
    }

    /* Show print-only columns */
    .print-only {
        display: table-cell !important;
    }

    /* Remove input borders */
    input {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    /* Table formatting */
    .bill-table th,
    .bill-table td {
        font-size: 12px;
        padding: 6px;
    }
}

/* SCREEN DEFAULT */
.print-only {
    display: none;
}


/* SCREEN DEFAULT */
.print-only {
    display: none;
}


/* SCREEN DEFAULT */
.print-only {
    display: none;
}


/* DEFAULT (SCREEN) */
.print-only {
    display: none;
}





.print-only {
    display: none;
}



.bill-input {
    border: none;
    border-bottom: 1px solid #000;
    outline: none;
    font-size: 13px;
    padding: 2px 4px;
    width: 125px;
    background: transparent;
}

.bill-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #2e7d32;
    /* bill green */
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #ddd;
}


/* PRODUCT LIST WRAPPER */
.product-list {
    background: #fff;
    border-top: 1px solid #ddd;
}

/* EACH PRODUCT ROW */
.product-row {
    display: grid;
    grid-template-columns: 2.2fr 1fr 0.8fr 1fr;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

/* PRODUCT NAME */
.product-name {
    font-weight: 600;
    color: #222;
}

/* PRICE */
.product-price {
    color: #2e7d32;
    font-weight: 600;
    text-align: right;
}

/* UNIT */
.product-unit {
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* QTY INPUT */
.product-input input {
    width: 100%;
    height: 32px;
    font-size: 13px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* REMOVE INPUT ARROWS (NUMBER) */
.product-input input::-webkit-outer-spin-button,
.product-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* .product-input input[type=number] {
    -moz-appearance: textfield;
} */

/* HOVER (OPTIONAL) */
.product-row:hover {
    background: #f9f9f9;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 480px) {
    .product-row {
        grid-template-columns: 1fr 1fr 0.7fr ;
        font-size: 13px;
    }
}

/* DELETE ICON */
.del {
    color: red;
    cursor: pointer;
    font-weight: bold;
}

/* BILL QTY INPUT */
.bill-qty {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
    font-size: 13px;
}

.bill-footer {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
}

.bill-slno {
    text-align: center;
    font-weight: 600;
}

/* TOP SEARCH BAR */
.pos-search-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

/* SEARCH ICON */
.pos-search-bar i {
    font-size: 18px;
    color: #666;
}

/* SEARCH INPUT */
.pos-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 6px 4px;
}

/* PLACEHOLDER */
.pos-search-bar input::placeholder {
    color: #aaa;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 480px) {
    .pos-search-bar {
        padding: 8px 10px;
    }

    .pos-search-bar input {
        font-size: 13px;
    }
}

/* MESSAGE BOX */
.pos-message {
    margin: 8px 12px;
    padding: 10px 12px;
    background: #fdecea;
    color: #c62828;
    border-left: 4px solid #c62828;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

/* TOP TITLE BAR */
.top-title-bar {
    background: linear-gradient(90deg, #2e7d32, #66bb6a);
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 12px;
    letter-spacing: 0.5px;
}

/* CATEGORY MENU WRAPPER */
.category-menu {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    overflow-x: auto;
    /* horizontal scroll */
    -webkit-overflow-scrolling: touch;
}

/* HIDE SCROLLBAR */
.category-menu::-webkit-scrollbar {
    display: none;
}

/* EACH CHIP */
.cat-item {
    flex-shrink: 0;
    padding: 8px 14px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

/* ACTIVE CHIP (MASALA) */
.cat-item.active {
    background: linear-gradient(135deg, #21a680, #69ec14) !important;

    color: #fff;
}

/* OPTIONAL HOVER */
.cat-item:hover {
    background: #e0e0e0;
}

.qty-total-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

/* QTY INPUT */
.qty-input {
    width: 55px;
    padding: 6px;
    text-align: center;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
}

/* RESERVED SPACE FOR TOTAL */
.qty-total-amount {
    width: 60px;
    /* 👈 FIXED WIDTH = SPACE RESERVED */
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
}




/* PRICE COLORS */
.price-low {
    color: #2e7d32 !important;
    /* red */
}

.price-high {
    color: #2e7d32;
    /* green */
}

/* QTY + TOTAL */
.qty-total-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.qty-input {
    width: 55px;
    padding: 6px;
    text-align: center;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
}

/* RESERVED SPACE FOR TOTAL */
.qty-total-amount {
    width: 60px;
    /* space always reserved */
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
}

/* RUPEE INPUT WRAPPER */
.rupee-input-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
}

/* ₹ SYMBOL */
.rupee-symbol {
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;
    /* follows red / green */
}

/* PRICE INPUT */
.price-input {
    width: 28px;
    border: none;
    /* border-bottom: 2px solid currentColor; */
    outline: none;
    background: transparent;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
}

/* BOTTOM BAR */
.split-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px;
    background: #fff;
    border-top: 1px solid #ddd;
}

/* RIGHT SIDE SUMMARY */
.submit-summary {
    display: flex;
    gap: 8px;
}

/* SMALL BOX */
.summary-box {
    min-width: 85px;
    padding: 6px 8px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

/* LABEL */
.summary-label {
    display: block;
    font-size: 11px;
    color: #666;
}

/* VALUE */
.summary-value {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

/* AMOUNT BOX HIGHLIGHT */
.summary-box.amount {
    background: #e8f5e9;
}

.summary-box.amount .summary-value {
    color: #2e7d32;
}

/* ----------------------------------------Add product page css code------------------------------------------ */

/* CARD */
.add-product-card {
    max-width: 980px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    font-family: system-ui, -apple-system, sans-serif;
}

/* HEADER */
.add-product-header {
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
    color: #fff;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FORM */
.add-product-form {
    padding: 20px;
}

/* GRID */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

/* GROUP */
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* PRICE */
.price-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.price-wrap span {
    padding: 0 14px;
    color: #555;
    font-weight: 600;
}

.price-wrap input {
    border: none;
    outline: none;
}

/* WEIGHT */
.weight-wrap {
    display: flex;
    gap: 10px;
}

.weight-wrap select {
    width: 110px;
}

/* BUTTON */
.form-action {
    margin-top: 10px;
    text-align: center;
}

.add-btn {
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
}

.add-btn:hover {
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
}

/* ---------------- DESKTOP ---------------- */
@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 767px) {

    .hide-mobile {
        display: none;
    }

    .add-product-form {
        padding: 16px;
    }
}


/* ---------------------------------------------------------------list product page css code---------------------------------- */

/* PAGE WRAPPER */
.pl-page {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f6fa;
    min-height: 100vh;
    padding-bottom: 20px;
}

/* ================= TOP BAR ================= */
.pl-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.pl-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

/* SEARCH (SMALL RIGHT) */
.pl-search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f0f2f5;
    padding: 6px 10px;
    border-radius: 20px;
    width: 130px;
}

.pl-search i {
    font-size: 14px;
    color: #777;
}

.pl-search input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    width: 90px;
}

/* ================= TABLE ================= */
.pl-table {
    margin: 12px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* ROW */
.pl-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    padding: 12px 14px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

/* TABLE HEAD */
.pl-head {
    background: #f3f4f6;
    font-weight: 600;
    color: #555;
}

/* LAST ROW BORDER REMOVE */
.pl-row:last-child {
    border-bottom: none;
}

/* PRODUCT NAME */
.pl-row span:first-child {
    font-weight: 600;
    color: #222;
}

/* PRICE */
.pl-row span:nth-child(2) {
    font-weight: 700;
    color: #2ecc71;
}

/* ACTIONS */
.pl-action {
    display: flex;
    gap: 14px;
}

/* EDIT ICON */
.edit-icon {
    color: #1e88e5;
    font-size: 17px;
    cursor: pointer;
}

/* DELETE ICON */
.delete-icon {
    color: #e74c3c;
    font-size: 17px;
    cursor: pointer;
}

/* ICON HOVER */
.edit-icon:hover {
    color: #1565c0;
}

.delete-icon:hover {
    color: #c0392b;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 480px) {
    .pl-title {
        font-size: 16px;
    }

    .pl-search input {
        width: 70px;
    }

    .pl-row {
        grid-template-columns: 2fr 1fr 1fr;
        font-size: 13px;
        padding: 10px 12px;
    }
}







/* -----------------------------------------------inventory stock in page css code------------------------------------------ */
/* CONTAINER */
.sir-container {
    max-width: 1100px;
    margin: auto;
    padding: 15px;
    font-family: system-ui, -apple-system, sans-serif;
}

/* CARD */
.sir-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* HEADER */
.sir-header {
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
}

/* FORM */
.sir-form {
    padding: 16px 18px;
    border-bottom: 1px solid #eee;
}

/* GRID */
.sir-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* FIELD */
.sir-field label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.sir-field input,
.sir-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* ACTION BTN */
.sir-action {
    margin-top: 12px;
    text-align: right;
}

.sir-action button {
    background: #2ecc71;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 14px;
}

/* TABLE */
.sir-table-wrap {
    width: 100%;
}

/* DATE */
.sir-table-date {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

/* HEAD + ROW */
.sir-table-head,
.sir-table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 80px 90px;
    padding: 12px 18px;
    align-items: center;
    font-size: 14px;
}

/* HEADER */
.sir-table-head {
    background: #f4f6fb;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

/* ROW */
.sir-table-row {
    border-bottom: 1px solid #eee;
}

/* TEXT */
.sir-table-head span,
.sir-table-row span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* QTY */
.sir-qty {
    text-align: center;
    font-weight: 600;
    margin-right: 40px;
}

/* ACTION ICONS */
/* ACTION ICON WRAP */
.sir-action-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-right: 25px;
}

/* EDIT ICON */
.edit-icon {
    color: #0984e3;
    font-size: 16px;
    cursor: pointer;
}

/* DELETE ICON */
.delete-icon {
    color: #e74c3c;
    font-size: 16px;
    cursor: pointer;
}

/* ICON HOVER */
.edit-icon:hover {
    color: #0652dd;
}

.delete-icon:hover {
    color: #c0392b;
}

.sir-table-head,
.sir-table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 80px 90px;
    align-items: center;
}

/* MOBILE */
@media (max-width: 768px) {
    .sir-form-grid {
        grid-template-columns: 1fr;
    }

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

    .sir-table-head,
    .sir-table-row {
        padding: 10px 12px;
        font-size: 13px;
        grid-template-columns: 1fr 2fr 60px 70px;
    }
}

/* FORCE TWO FIELDS IN ONE ROW */
.sir-row-fixed {
    display: flex;
    gap: 10px;
}

/* EACH FIELD */
.sir-row-fixed .sir-field {
    flex: 1;
}

/* INPUT STYLE */
.sir-field label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.sir-field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* -----------------------------------------------inventory stock check page css code------------------------------------------ */

/* CONTAINER */
.sc-container {
    max-width: 1100px;
    margin: auto;
    padding: 15px;
    font-family: system-ui, -apple-system, sans-serif;
}

/* CARD */
.sc-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* HEADER */
.sc-header {
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
}

/* TOP BAR */
.sc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    gap: 12px;
}

/* DATE TEXT */
.sc-date-text {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

/* CATEGORY SELECT */
.sc-category select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    min-width: 160px;
}

.sc-category109 select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    min-width: 160px;
}

/* TABLE */
.sc-table-head,
.sc-table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 100px;
    padding: 12px 18px;
    align-items: center;
    font-size: 14px;
}

/* HEADER */
.sc-table-head {
    background: #f4f6fb;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

/* ROW */
.sc-table-row {
    border-bottom: 1px solid #eee;
}

/* TEXT */
.sc-table-head span,
.sc-table-row span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* QTY */
.sc-qty {
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
}

/* MOBILE */
@media (max-width: 600px) {
    .sc-topbar {
        padding: 12px;
    }

    .sc-category select {
        min-width: 130px;
    }

    .sc-category109 select {
        min-width: 109px;
    }

    

    .sc-table-head,
    .sc-table-row {
        padding: 10px 12px;
        font-size: 13px;
        grid-template-columns: 1fr 2fr 70px;
    }
}

/* -----------------------------------------------inventory stock update page css code------------------------------------------ */


/* ================= CONTAINER ================= */
.su-container {
    max-width: 1100px;
    margin: auto;
    padding: 15px;
    font-family: system-ui, -apple-system, sans-serif;
}

/* ================= CARD ================= */
.su-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ================= HEADER ================= */
.su-header {
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
}

/* ================= TOP BAR ================= */
.su-topbar {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
}

/* DATE + CATEGORY WRAP */
.su-date,
.su-category {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* LABEL */
.su-date label,
.su-category label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #555;
}

/* INPUT & SELECT */
.su-date input[type="date"],
.su-category select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    outline: none;
}

/* FOCUS STATE */
.su-date input[type="date"]:focus,
.su-category select:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.15);
}

/* FIX MOBILE DATE OVERFLOW */
input[type="date"] {
    min-width: 0;
}

/* ================= TABLE ================= */
.su-table-head,
.su-table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 100px 90px;
    padding: 12px 18px;
    align-items: center;
    font-size: 14px;
}

/* TABLE HEADER */
.su-table-head {
    background: #f4f6fb;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

/* TABLE ROW */
.su-table-row {
    border-bottom: 1px solid #eee;
}

/* TEXT CONTROL */
.su-table-head span,
.su-table-row span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* QTY */
.su-qty {
    text-align: center;
    font-weight: 600;
    color: #2d3436;
}

/* ================= ACTION ICONS ================= */
.su-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-right: 25px;
}

/* EDIT ICON */
.su-edit {
    color: #0984e3;
    font-size: 16px;
    cursor: pointer;
}

.su-edit:hover {
    color: #0652dd;
}

/* DELETE ICON */
.su-delete {
    color: #e74c3c;
    font-size: 16px;
    cursor: pointer;
}

.su-delete:hover {
    color: #c0392b;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
    .su-topbar {
        padding: 12px;
        gap: 8px;
    }

    .su-date input[type="date"],
    .su-category select {
        font-size: 13px;
        padding: 9px 10px;
    }

    .su-table-head,
    .su-table-row {
        padding: 10px 12px;
        font-size: 13px;
        grid-template-columns: 1fr 2fr 70px 70px;
    }
}

/* --------------------------------------------orders page css code------------------------------------------------------------ */

/* PAGE */
.orders-container {
    padding: 14px;
    font-family: system-ui, -apple-system, sans-serif;

}

/* CARD */
.order-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* LEFT INFO */
.order-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-bill {
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
}

.order-date {
    font-size: 13px;
    color: #636e72;
}

.order-amount {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

/* DELETE BUTTON */
.order-delete {
    background: #ff4d4f;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

.order-delete:active {
    transform: scale(0.96);
}

/* MOBILE TIGHT VIEW */
@media (max-width: 480px) {
    .order-card {
        padding: 12px;
    }

    .order-amount {
        font-size: 16px;
    }

    .order-delete {
        padding: 7px 12px;
        font-size: 12px;
    }
}

.order-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* TOP BAR */
.orders-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 10;
    height: 56px;
}

/* TITLE */
.orders-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-left: 20px;
}

/* ACTION AREA */
.orders-actions {
    display: flex;
    align-items: center;
}

/* FILTER BUTTON */
/* SEARCH WRAPPER */
.orders-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 10px 16px;
    border-radius: 12px;
    background: #f3f5f8;
    border: 1px solid #e0e0e0;
    width: 147px;
}

/* ICON */
.orders-search-wrap i {
    font-size: 16px;
    color: #777;
}

/* INPUT */
.orders-search-wrap input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    width: 100%;
    color: #333;
}

/* PLACEHOLDER */
.orders-search-wrap input::placeholder {
    color: #999;
}

/* FOCUS EFFECT */
.orders-search-wrap:focus-within {
    border-color: #4caf50;
    background: #ffffff;
}

/* MOBILE */
@media (max-width: 480px) {
    .orders-search-wrap {
        margin: 8px 0px;
        padding: 7px 10px;
    }

    .orders-search-wrap i {
        font-size: 15px;
    }

    .orders-search-wrap input {
        font-size: 13px;
    }
}


/* MOBILE SAFE */
@media (max-width: 480px) {
    .orders-title {
        font-size: 16px;
    }

    .filter-btn {
        width: 36px;
        height: 36px;
    }
}



/* ----------------------------------------orders detial page css code------------------------------------------------ */

/* PAGE */
.order-detail-container {
    max-width: 420px;
    margin: auto;
    padding: 15px;
    font-family: system-ui, -apple-system, sans-serif;
    /* background: #f5f6fa; */
}

/* BILL CARD */
.order-bill-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

/* TOP */
.bill-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #2e7d32;
    margin-bottom: 10px;
}

/* HEADER */
.bill-head-print {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.bill-god img {
    width: 55px;
}

.bill-title h2 {
    font-size: 20px;
    margin: 2px 0;
    color: #1b5e20;
    width: 202px;
}

.bill-title h5 {
    font-size: 13px;
    margin: 0;
}

.bill-title p {
    font-size: 12px;
    margin: 0;
    color: #555;
}

/* INFO */
.bill-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin: 6px 0;
}

/* TABLE */
.bill-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 13px;
}

.bill-table th,
.bill-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.bill-table th {
    background: #f1f1f1;
    font-weight: 600;
}

/* TOTAL */
.bill-total {
    text-align: right;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}

/* FOOTER */
.bill-footer {
    text-align: center;
    font-size: 13px;
    margin-top: 12px;
    color: #555;
}

/* ACTIONS */
.order-actions {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}


.btn.back {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

/* PRINT */
@media print {
    body * {
        visibility: hidden;
    }

    .order-bill-card,
    .order-bill-card * {
        visibility: visible;
    }

    .order-bill-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .order-actions {
        display: none;
    }
}


/* ----------------------------------------------------Sales page css code--------------------------------------------------- */

/* CONTAINER */
.sales-container {
    padding: 14px;
    max-width: 520px;
    margin: auto;
    font-family: system-ui, -apple-system, sans-serif;
}

/* CARD */
.sales-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* LEFT SIDE */
.sales-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* DATE */
.sales-date {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

/* COUNT */
.sales-count {
    font-size: 13px;
    color: #666;
}

/* AMOUNT */
.sales-amount {
    font-size: 16px;
    font-weight: 700;
    color: #1e9e47;
}

/* MOBILE */
@media (max-width: 480px) {
    .sales-card {
        padding: 12px 14px;
    }

    .sales-date {
        font-size: 14px;
    }

    .sales-amount {
        font-size: 15px;
    }
}

/* TOP HEADER */
.sales-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 10;
    height: 56px;
}

/* TITLE */
.sales-page-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-left: 20px;
}

/* DATE FILTER */
.sales-date-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f3f5f8;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    width: 152px;
}

.sales-date-filter i {
    font-size: 16px;
    color: #666;
}

.sales-date-filter input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #333;
}

/* MOBILE FIX */
@media (max-width: 480px) {
    .sales-page-title {
        font-size: 16px;
    }

    .sales-date-filter {
        padding: 7px 10px;
    }

    .sales-date-filter input {
        font-size: 13px;
    }
}

/* ----------------------------------------------------Sales detial page css code-------------------------------------------- */

/* CONTAINER */
.sales-detail-container {
    max-width: 520px;
    margin: auto;
    padding: 14px;
    font-family: system-ui, -apple-system, sans-serif;

}

/* HEADER */
.sales-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.sales-detail-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

.sales-detail-date {
    font-size: 13px;
    color: #666;
}

/* LIST */
.sales-detail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ROW */
.sales-detail-row {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* LEFT */
.sd-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sd-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.sd-qty {
    font-size: 13px;
    color: #777;
}

/* AMOUNT */
.sd-amount {
    font-size: 16px;
    font-weight: 700;
    color: #1e9e47;
}

/* TOTAL */
.sales-detail-total {
    margin-top: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: #1e9e47;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* MOBILE */
@media (max-width: 480px) {
    .sd-name {
        font-size: 14px;
    }

    .sd-amount {
        font-size: 15px;
    }
}


/* --------------------------------------------------------Apptitle page css code-------------------------------------------- */

/* CONTAINER */
.at-container {
    max-width: 420px;
    margin: 40px auto;
    padding: 16px;
    font-family: system-ui, -apple-system, sans-serif;
}

/* CARD */
.at-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* HEADER */
.at-header {
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

/* FORM */
.at-form {
    padding: 18px;
}

/* FIELD */
.at-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.at-field label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.at-field input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    outline: none;
}

.at-field input:focus {
    border-color: #2ecc71;
}

/* ACTION */
.at-action {
    display: flex;
    justify-content: flex-end;
}

/* SUBMIT BUTTON */
.at-submit {
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #27ae60;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.at-submit:hover {
    background: #219150;
}

/* MOBILE */
@media (max-width: 480px) {
    .at-container {
        margin: 20px auto;
    }

    .at-header {
        font-size: 16px;
    }
}

/* ------------------------------------------App color page css code---------------------------------------------------- */

/* CONTAINER */
.tc-container {
    max-width: 420px;
    margin: 30px auto;
    padding: 12px;
    font-family: system-ui, -apple-system, sans-serif;
}

/* CARD */
.tc-card {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* HEADER */
.tc-header {
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
    color: #ffffff;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
}

/* BODY */
.tc-body {
    padding: 14px;
}

/* LABEL */
.tc-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* COLOR INPUT BOX */
.tc-color-box {
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 6px;
    background: #fff;
}

.tc-color-box input[type="color"] {
    width: 100%;
    height: 34px;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
}

/* ACTION */
.tc-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

/* BUTTON */
.tc-btn {
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

.tc-btn:hover {
    background: #5a6268;
}

/* MOBILE */
@media (max-width: 480px) {
    .tc-container {
        margin: 20px auto;
    }

    .tc-header {
        font-size: 14px;
    }

    .tc-btn {
        font-size: 12px;
        padding: 7px 14px;
    }
}


/* --------------------------------------------------print preview page css code------------------------------------------ */


.bp-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ================= FORM ================= */
.bp-form {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.bp-form label {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

.bp-form input,
.bp-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* ================= BILL ================= */
.bp-bill {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* TOP BAR */
.bill-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
}

/* ================= BILL HEADER ================= */
.bill-head {
    text-align: center;
    margin: 10px 0 12px;
}

/* LOGO */
.bill-head img {
    max-height: 123px;
    max-width: 70px;
    object-fit: contain;
}

/* TEXT */
.bill-head-text {
    text-align: left;
    line-height: 1.25;
}

/* SHOP NAME */
.bill-head-text h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1e8f3e;
    letter-spacing: 0.5px;
    text-align: center;
}

/* ADDRESS */
.bill-head-text p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #000;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
}

/* ================= INFO ================= */
.bill-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin: 10px 0;
}

/* ================= TABLE ================= */
.bill-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.bill-table th,
.bill-table td {
    padding: 6px 4px;
    border-bottom: 1px dashed #ccc;
    text-align: center;
}

.bill-table th:first-child,
.bill-table td:first-child {
    text-align: left;
}

/* ================= TOTAL ================= */
.bill-total {
    font-weight: bold;
    font-size: 15px;
    margin-top: 10px;
}

/* ================= FOOTER ================= */
.bill-footer {
    margin-top: 8px;
    font-size: 12px;
}

/* ================= PRINT BUTTON ================= */
.print-btn {
    margin-top: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .bp-container {
        grid-template-columns: 1fr;
    }
}

/* ================= PRINT ================= */
@media print {
    body * {
        visibility: hidden;
    }

    .bp-bill,
    .bp-bill * {
        visibility: visible;
    }

    .bp-bill {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .print-btn {
        display: none;
    }

    .bill-head-text h2 {
        font-size: 20px;
    }

    .bill-head-text p {
        font-size: 12px;
    }
}


/* -------------------------------------------------Add employee page css code------------------------------------------------ */
/* CONTAINER */
.emp-container {
    padding: 16px;
    font-family: system-ui, -apple-system, sans-serif;
}

/* CARD */
.emp-card {
    max-width: 420px;
    margin: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* HEADER */
.emp-header {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 14px;
    text-align: center;
}

/* FORM */
.emp-form {
    padding: 18px;
}

/* FIELD */
.emp-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.emp-field label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.emp-field input {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
}

.emp-field input:focus {
    border-color: #2ecc71;
}

/* ACTION */
.emp-action {
    margin-top: 18px;
}

.emp-action button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #2ecc71;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.emp-action button:hover {
    background: #27ae60;
}

/* MOBILE */
@media (max-width: 480px) {
    .emp-card {
        border-radius: 12px;
    }
}


/* -------------------------------------------------List employee page css code--------------------------------------------- */

.employee-list {
    max-width: 500px;
    margin: 20px auto;
}

.employee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.emp-name {
    font-size: 16px;
    font-weight: 600;
    color: #2e7d32;
    /* green */
}

.emp-id {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}


/* -------------------------------------------------List employee page css code--------------------------------------------- */
/* PAGE */
.empv-wrap {
    max-width: 420px;
    margin: auto;
    padding: 14px;
    font-family: system-ui, -apple-system, sans-serif;
}

/* CARD */
.empv-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* HEADER */
.empv-header {
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

/* TABLE */
.empv-table {
    width: 100%;
    border-collapse: collapse;
}

/* LABEL COLUMN */
.empv-table th {
    width: 40%;
    padding: 12px;
    font-size: 14px;
    text-align: left;
    color: #374151;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

/* VALUE COLUMN */
.empv-table td {
    padding: 12px;
    font-size: 14px;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
}

/* STATUS BADGE */
.empv-status {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

.empv-status.active {
    background: #dcfce7;
    color: #15803d;
}

.empv-status.inactive {
    background: #fee2e2;
    color: #b91c1c;
}

/* MOBILE */
@media (max-width: 480px) {

    .empv-table th,
    .empv-table td {
        padding: 10px;
        font-size: 13px;
    }

    .empv-header {
        font-size: 15px;
    }
}


/* --------------------------------------------------Login page css code------------------------------------------- */


/* PAGE BACKGROUND */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #21a680, #69ec14) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* CARD */
.login-card {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    padding: 24px 22px;
}

/* TITLE */
.login-title {
    text-align: center;
    margin-bottom: 22px;
}

.login-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
}

.login-title p {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

/* FORM */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* INPUT FIELD */
.login-field {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 14px;
    background: #f9fafb;
}

.login-field i {
    font-size: 18px;
    color: #21a680;
    margin-right: 10px;
}

.login-field input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    width: 100%;
}

/* BUTTON */
.login-btn {
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #21a680, #69ec14);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 295px;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* MOBILE */
@media (max-width: 480px) {
    .login-card {
        padding: 22px 18px;
    }

    .login-title h2 {
        font-size: 20px;
    }
}


/* --------------------------------------category page css code----------------------------------------------------------- */

/* WRAPPER */
.cg-wrapper {
    max-width: 420px;
    margin: auto;
    padding: 16px;
}

/* CARD */
.cg-box {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
    margin-bottom: 16px;
    overflow: hidden;
}

/* HEADER */
.cg-head {
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #21a680, #69ec14);
}

/* FORM */
.cg-form {
    display: flex;
    gap: 10px;
    padding: 16px;
}

.cg-form input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

.cg-form button {
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    background: #21a680;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

/* LIST */
.cg-list {
    display: flex;
    flex-direction: column;
}

.cg-row {
    padding: 14px 16px;
    font-size: 15px;
    border-bottom: 1px solid #eee;
}

.cg-row:last-child {
    border-bottom: none;
}

/* MOBILE */
@media (max-width: 480px) {
    .cg-wrapper {
        padding: 12px;
    }

    .cg-head {
        font-size: 15px;
    }
}


/* ------------------------------------------------dashboard page css code----------------------------------------------- */

.mob-dash {
    padding: 10px;
}


.mob-section-title {
    font-size: 15px;
    font-weight: 700;
    margin: 12px 0 8px;
    color: #333;
}


.mob-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}


.mob-card {
    background: #fdecec;
    border: 1px dashed #dc3545;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}




.mob-card p {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.mob-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #212529;
    margin: 0;
}

.mob-card-green {
    background: #f3fffa;
    border: 1px dashed #27a97d;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}


.mob-card-green p {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.mob-card-green h3 {
    font-size: 18px;
    font-weight: 800;
    color: #212529;
    margin: 0;
}


.dash-header {
    padding: 12px 6px 6px;
}

.dash-title {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    margin-bottom: 20px;
}

.dash-subtitle {
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
}



#billAddress {
    width: 200px;
    word-wrap: break-word;
    white-space: normal;
}

#billShopTitle {
    width: 200px;      /* adjust as needed */
    text-align: center;
    word-wrap: break-word;
    white-space: normal;
}


.price-warning {
    color: red;
    font-weight: bold;
 }

 .category-heading {
    font-weight: bold;
    padding: 8px;
    background: #f5f5f5;
    margin-top: 10px;
    border-left: 4px solid #ff9800;
}


/* STOCK LIST VIEW */
.sir-stock-item {
    padding: 12px 10px;
    border-bottom: 1px dashed #ddd;
}

.sir-product {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: normal;   /* NO ... */
    overflow: visible;
}

.sir-category {
    font-weight: normal;
    color: #6c757d;
    font-style: italic;
}

.sir-meta {
    font-size: 13px;
    color: #444;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}


/* FILTER BAR */
.sir-filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.sir-filter-bar input,
.sir-filter-bar button {
    padding: 6px 10px;
    font-size: 14px;
}

/* STOCK ITEM */
.sir-stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px dashed #ddd;
}

.sir-stock-left {
    flex: 1;
}

.sir-delete {
    color: #dc3545;
    font-size: 18px;
    padding-left: 10px;
}

.sir-delete:hover {
    color: #a71d2a;
}

.dateinp { 
    
    padding: 7px !important;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 12px !important;
    outline: none;
    /* box-shadow: none; */
    border-bottom: 1px solid #ddd !important;
 }


 .sc-negative {
    background: #ffe5e5;
    color: #b30000;
    font-weight: 600;
}

.sc-negative .sc-qty {
    font-weight: 700;
}


/* GLOBAL TABLE FONT SIZE */
.table,
.sc-table,
.sc-table-row,
.sc-table-head {
    font-size: 12.5px;
}

/* DEFAULT POSITIVE VALUE */
.sc-qty,
.positive {
    color: #198754; /* Bootstrap green */
    font-weight: 600;
}

/* NEGATIVE VALUE */
.sc-negative,
.sc-negative .sc-qty {
    color: #dc3545; /* Bootstrap red */
    font-weight: 700;
}

/* DASHBOARD CARDS */
.mob-card h3 {
    font-size: 16px;
    color: #198754;
}

.mob-card p {
    font-size: 12px;
}


/* SCROLL CONTAINER */
.production-wrap {
    overflow-x: auto;
    max-width: 100%;
}

/* TABLE BASE */
.production-table {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100%;
}


/* FIX PRODUCT COLUMN */
.production-table th:first-child,
.production-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 4;

    background: #ffffff;
    /*
    min-width: 160px;
    max-width: 160px;
    */

    text-align: left;
    padding-left: 8px;

    font-weight: 600;

    border-right: 1px solid #dee2e6;
}
.production-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;

    background: #f8f9fa;
    font-size: 12px;
    font-weight: 600;
}

.production-table td {
    text-align: center;
    font-size: 12px;
    white-space: nowrap;
}
.production-wrap {
    overflow-x: auto;
    max-width: 100%;
    border: 1px solid #dee2e6;
}

.production-table tbody tr {
    border-bottom: 1px solid #dee2e6;
}
.production-table th,
.production-table td {
    border: 1px solid #dee2e6 !important;
}
.production-table td:first-child {
    border-right: 1px solid #dee2e6 !important;
}
.production-table tbody tr:nth-child(even) {
    background: #fafafa;
}
.production-table thead tr th { background: #25aa7a !important;
    color: #ffffff !important; }

.salestable thead tr th { background: #25aa7a !important;
    color: #ffffff !important; }