/* @font-face {
    font-family: "Noto Serif Khmer";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../font/khmer.woff2") format("woff2");
    unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC;
}

@font-face {
    font-family: "Noto Serif Khmer";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../font/latinex.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Noto Serif Khmer";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../font/latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
} */

* {
    margin: 0;
    box-sizing: border-box;
    font-family: "Noto Serif Khmer", serif;
}

* {
    margin: 0;
    box-sizing: border-box;
    font-family: "Noto Serif Khmer", serif;
}

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

main {
    position: relative;
    max-height: 100vh;
    overflow: hidden;
}

#toggleSidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;

    font-size: 25px;

    width: 20px;
    height: 60px;

    background: #2563eb; /* blue */
    color: white;

    border-radius: 30px 0 0 30px; /* round LEFT only */
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}
#container {
    width: 100%;
    height: 100vh;
}

#sidebar {
    background: #eee;
}
#screen-only {
    width: 100%;

    overflow: hidden;
}
#tab-content {
    height: 90vh;
    overflow: auto;
}
#inner-sidebar {
    height: 100%;
}
#sidebar.hidden {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

/* collapsed state */
#sidebar.collapsed {
    width: 0;
    opacity: 0;
    overflow: hidden;
}

#mainContent.expanded {
    width: 100%;
}

/* your existing toggle button */
#toggleSidebar {
    position: fixed;
    top: 5%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
}
.card_style {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 150px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.card_style {
    position: relative;
}
.info {
    position: absolute;
    top: 20px;
    right: 10px;
    border: #eff6ff;
    font-size: 20px;
}

.card_style:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: #f8fafc; /* soft */
}

.card_style:hover img {
    transform: scale(1.05);
}
.card_style.active {
    border-color: #2563eb;
    background-color: #eff6ff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}
.card_style:active {
    transform: scale(0.98);
}
.cart-burst {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.cart-icon {
    position: absolute;
    font-size: 26px; /* 🔥 BIGGER */
    animation: pop 0.8s ease-out forwards;
}

/* 🛒 Cart = ORANGE */
.cart-icon.cart {
    color: #fb923c; /* orange-400 */
    text-shadow: 0 0 10px rgba(251, 146, 60, 0.8);
}

/* ➕ Plus = GREEN */
.cart-icon.plus {
    color: #22c55e; /* green-500 */
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.screen-only {
    width: 100%;
    height: 80vh;

    position: relative;
}
#header_invoice {
    position: sticky;
    background-color: rgb(255, 255, 255);
    top: 0;
    z-index: 999;
}
#total {
    position: sticky;
    background-color: rgb(255, 255, 255);
    bottom: 0;
    width: 100%;
    height: auto;
}
.card {
    border-bottom: 1px solid rgb(218, 218, 218);
    background-color: rgb(247, 247, 247);
}
.list {
    position: absolute; /* make it float over other content */
    top: 100%; /* right below input */
    left: 0;
    width: 100%; /* same width as input */
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
    background: white;
    z-index: 9999; /* high z-index so it's above everything */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* optional shadow */
}

.list li {
    padding: 8px;
    cursor: pointer;
}

.list li:hover {
    background: #f0f0f0;
}

.hidden {
    display: none;
}

#list_main {
    position: relative; /* needed for absolute ul to position correctly */
    width: 300px; /* same width as before */
}
.invoice-totals {
    display: flex;
    align-items: center;
    justify-content: end;
}

#inner-sidebar {
    height: 90vh !important;
    overflow: auto;
    background-color: white;
}

#invoice h1 {
    font-size: 20px;
}

#invoice table th {
    font-size: 10px;
}

#invoice table td {
    font-size: 8px !important;
}
table td,
table th {
    padding: 2px 5px;
}

#logo {
    width: 100px;
}
.animate-scaleUp {
    animation: scaleUp 0.2s ease-out;
}
.scroll_content_70 {
    /* min-height: 70vh !important; */
    max-height: 60vh;

    overflow-y: auto;
}

#Table-sale-list {
    width: 100%;

    border-collapse: collapse;
    font-size: 13px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Table header */
#Table-sale-list thead th {
    position: sticky; /* header stays on top */
    top: 0;
    background-color: #f9fafb;
    z-index: 10;
    padding: 10px 8px; /* more padding makes header taller */
    text-align: left;
}

/* Table body rows */
#Table-sale-list tbody tr {
    height: auto; /* let it grow if content bigger */
    border-bottom: 1px solid #e5e7eb; /* light row separator */
}

/* Table cells */
#Table-sale-list td {
    padding: 8px 6px; /* better spacing inside cells */
    vertical-align: middle; /* aligns content nicely vertically */
}

/* Optional: alternate row color */
#Table-sale-list tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}
#Table-sale-list thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: rgb(20, 20, 99); /* must have a background */
    color: white;
}
#toastMessage {
    z-index: 10000 !important;
}
/* sticky header */

/* ===== Shared Table Styles ===== */
#Table-sale-list-container {
    max-height: 70vh;
    overflow-y: auto; /* vertical scroll */
    overflow-x: hidden; /* avoid horizontal scroll conflict */
}

#Table-sale-list {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

#Table-sale-list thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: rgb(0, 0, 129); /* must have background */
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 5px 8px;
}
#Table-sale-list th:nth-child(2) {
    position: sticky !important;
    left: 0;
    background-color: rgb(0, 0, 129); /* must have background */
    color: white;
    font-weight: bold;
    text-align: left;
    color: white;
    z-index: 999 !important;
}
#Table-sale-list td:nth-child(2) {
    position: sticky !important;
    left: 0;
    background-color: rgb(255, 255, 255); /* must have background */
    z-index: 9 !important;
}
#Table-sale-list tbody td {
    padding: 5px 8px;
    border-bottom: 1px solid #ccc;
}

#Table-sale-list tbody tr:hover {
    background-color: #f9f9f9;
}

/* Product Table  */
/* ------------------------------------------------------------------------------ */
/* Remove global box-shadow / border-radius for report table */
#product_table {
    border-radius: 0 !important;
    box-shadow: none !important;
}

#product_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

#product_table thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: rgb(0, 0, 129); /* must have background */
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 5px 8px;
}
#product_table th:nth-child(1) {
    position: sticky !important;
    left: 0;
    background-color: rgb(0, 0, 129); /* must have background */
    color: white;
    font-weight: bold;
    text-align: left;
    color: white;
    z-index: 999 !important;
}
#product_table td:nth-child(1) {
    position: sticky !important;
    left: 0;
    background-color: rgb(255, 255, 255); /* must have background */
    z-index: 9 !important;
}
#product_table th:nth-child(3) {
    position: sticky !important;
    left: 30px;
    background-color: rgb(0, 0, 129); /* must have background */
    color: white;
    font-weight: bold;
    text-align: left;
    color: white;
    z-index: 999 !important;
}
#product_table td:nth-child(3) {
    position: sticky !important;
    left: 30px;
    background-color: rgb(255, 255, 255); /* must have background */
    z-index: 9 !important;
}
#product_table tbody td {
    padding: 5px 8px;
    border-bottom: 1px solid #ccc;
}

#product_table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Product Table  */
/* ------------------------------------------------------------------------------ */
/* Report Table Base */
#wh-product {
    width: 100%;

    border-collapse: collapse;
    font-size: 13px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Table header */
#wh-product thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: rgb(0, 0, 129); /* header bg */
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 8px 10px; /* consistent padding */
    white-space: nowrap;
}

/* Table body cells */
#wh-product tbody td {
    padding: 8px 10px; /* consistent padding */
    border-bottom: 1px solid #ccc;
    vertical-align: middle; /* center content vertically */
    white-space: nowrap;
}

/* Table rows */
#wh-product tbody tr {
    height: auto; /* allow growth for bigger content */
}

/* Right-align numeric columns */
#wh-product tbody td.numeric {
    text-align: right;
}

/* Hover effect */
#wh-product tbody tr:hover {
    background-color: #f9f9f9;
}

/* Optional: alternate row colors */
#wh-product tbody tr:nth-child(even) {
    background-color: #fefefe;
}

/* Scrollable container (if needed) */
#wh-product-container {
    max-height: 70vh;
    overflow-y: auto;
}

/* Optional: fix table width for horizontal scroll */
#wh-product {
    table-layout: auto; /* auto or fixed depending on your preference */
}
/* ------------------------------------------------------------------------------ */

/* Report Table Base */
#user-table {
    width: 100%;

    border-collapse: collapse;
    font-size: 13px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Table header */
#user-table thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: rgb(0, 0, 129); /* header bg */
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 8px 10px; /* consistent padding */
    white-space: nowrap;
}

/* Table body cells */
#user-table tbody td {
    padding: 8px 10px; /* consistent padding */
    border-bottom: 1px solid #ccc;
    vertical-align: middle; /* center content vertically */
    white-space: nowrap;
}

/* Right-align numeric columns */
#user-table tbody td.numeric {
    text-align: right;
}

/* Hover effect */
#user-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Optional: alternate row colors */
#user-table tbody tr:nth-child(even) {
    background-color: #fefefe;
}

/* Scrollable container (if needed) */
#user-table-container {
    max-height: 70vh;
    overflow-y: auto;
}

/* Optional: fix table width for horizontal scroll */
#user-table {
    table-layout: auto; /* auto or fixed depending on your preference */
}
/* ------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------ */

/* Report Table Base */
#customer-list {
    width: 100%;
    /* Table container min-height */
    border-collapse: collapse;
    font-size: 13px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Table header */
#customer-list thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: rgb(0, 0, 129); /* header bg */
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 8px 10px; /* consistent padding */
    white-space: nowrap;
}

/* Table body cells */
#customer-list tbody td {
    padding: 8px 10px; /* consistent padding */
    border-bottom: 1px solid #ccc;
    vertical-align: middle; /* center content vertically */
    white-space: nowrap;
}

/* Table rows */
#customer-list tbody tr {
    height: auto; /* allow growth for bigger content */
}

/* Right-align numeric columns */
#customer-list tbody td.numeric {
    text-align: right;
}

/* Hover effect */
#customer-list tbody tr:hover {
    background-color: #f9f9f9;
}

/* Optional: alternate row colors */
#customer-list tbody tr:nth-child(even) {
    background-color: #fefefe;
}

/* Scrollable container (if needed) */
#customer-list-container {
    max-height: 70vh;
    overflow-y: auto;
}

/* Optional: fix table width for horizontal scroll */
#customer-list {
    table-layout: auto; /* auto or fixed depending on your preference */
}
/* ------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------ */

/* Report Table Base */
#vendor-list {
    width: 100%;
    /* Table container min-height */
    border-collapse: collapse;
    font-size: 13px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Table header */
#vendor-list thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: rgb(0, 0, 129); /* header bg */
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 8px 10px; /* consistent padding */
    white-space: nowrap;
}

/* Table body cells */
#vendor-list tbody td {
    padding: 8px 10px; /* consistent padding */
    border-bottom: 1px solid #ccc;
    vertical-align: middle; /* center content vertically */
    white-space: nowrap;
}

/* Table rows */
#vendor-list tbody tr {
    height: auto; /* allow growth for bigger content */
}

/* Right-align numeric columns */
#vendor-list tbody td.numeric {
    text-align: right;
}

/* Hover effect */
#vendor-list tbody tr:hover {
    background-color: #f9f9f9;
}

/* Optional: alternate row colors */
#vendor-list tbody tr:nth-child(even) {
    background-color: #fefefe;
}

/* Scrollable container (if needed) */
#vendor-list-container {
    max-height: 70vh;
    overflow-y: auto;
}

/* Optional: fix table width for horizontal scroll */
#vendor-list {
    table-layout: auto; /* auto or fixed depending on your preference */
}
/* ------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------ */

/* Report Table Base */
#Table-Purchase-list {
    width: 100%;
    /* Table container min-height */
    border-collapse: collapse;
    font-size: 13px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Table header */
#Table-Purchase-list thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: rgb(0, 0, 129); /* header bg */
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 8px 10px; /* consistent padding */
    white-space: nowrap;
}

/* Table body cells */
#Table-Purchase-list tbody td {
    padding: 8px 10px; /* consistent padding */
    border-bottom: 1px solid #ccc;
    vertical-align: middle; /* center content vertically */
    white-space: nowrap;
}

/* Table rows */
#Table-Purchase-list tbody tr {
    height: auto; /* allow growth for bigger content */
}

/* Right-align numeric columns */
#Table-Purchase-list tbody td.numeric {
    text-align: right;
}

/* Hover effect */
#Table-Purchase-list tbody tr:hover {
    background-color: #f9f9f9;
}

/* Optional: alternate row colors */
#Table-Purchase-list tbody tr:nth-child(even) {
    background-color: #fefefe;
}

/* Scrollable container (if needed) */
#Table-Purchase-list-container {
    max-height: 70vh;
    overflow-y: auto;
}

/* Optional: fix table width for horizontal scroll */
#Table-Purchase-list {
    table-layout: auto; /* auto or fixed depending on your preference */
}
/* ------------------------------------------------------------------------------ */




#Table-item-ledger-entry {
    width: 100%;

    border-collapse: collapse;
    font-size: 13px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Table header */
#Table-item-ledger-entry thead th {
    position: sticky; /* header stays on top */
    top: 0;
    background-color: #f9fafb;
    z-index: 10;
    padding: 10px 8px; /* more padding makes header taller */
    text-align: left;
}

/* Table body rows */
#Table-item-ledger-entry tbody tr {
    height: auto; /* let it grow if content bigger */
    border-bottom: 1px solid #e5e7eb; /* light row separator */
}

/* Table cells */
#Table-item-ledger-entry td {
    padding: 8px 6px; /* better spacing inside cells */
    vertical-align: middle; /* aligns content nicely vertically */
}

/* Optional: alternate row color */
#Table-item-ledger-entry tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}
#Table-item-ledger-entry thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: rgb(20, 20, 99); /* must have a background */
    color: white;
}
#Table-item-ledger-entry th:nth-child(4) {
    position: sticky !important;
    left: 0;
    background-color: rgb(0, 0, 129); /* must have background */
    color: white;
    font-weight: bold;
    text-align: left;
    color: white;
    z-index: 999 !important;
}
#Table-item-ledger-entry td:nth-child(4) {
    position: sticky !important;
    left: 0;
    background-color: rgb(255, 255, 255); /* must have background */
    z-index: 9 !important;
}
/* -------------------------------------------------------- */









/* ------------------------------------------------------------------------------ */

/* Report Table Base */
#Table-sale-list {
    width: 100%;
    /* Table container min-height */
    border-collapse: collapse;
    font-size: 13px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Table header */
#Table-sale-list thead th {
    position: sticky !important;
    top: 0;
    z-index: 10;
    background-color: rgb(0, 0, 129); /* header bg */
    color: white;
    font-weight: bold;
    text-align: left;
    padding: 8px 10px; /* consistent padding */
    white-space: nowrap;
}

/* Table body cells */
#Table-sale-list tbody td {
    padding: 8px 10px; /* consistent padding */
    border-bottom: 1px solid #ccc;
    vertical-align: middle; /* center content vertically */
    white-space: nowrap;
}

/* Table rows */
#Table-sale-list tbody tr {
    height: auto; /* allow growth for bigger content */
}

/* Right-align numeric columns */
#Table-sale-list tbody td.numeric {
    text-align: right;
}

/* Hover effect */
#Table-sale-list tbody tr:hover {
    background-color: #f9f9f9;
}

/* Optional: alternate row colors */
#Table-sale-list tbody tr:nth-child(even) {
    background-color: #fefefe;
}

/* Scrollable container (if needed) */
#Table-sale-list-container {
    max-height: 70vh;
    overflow-y: auto;
}

/* Optional: fix table width for horizontal scroll */
#Table-sale-list {
    table-layout: auto; /* auto or fixed depending on your preference */
}

#Table-sale-list th:nth-child(3) {
    position: sticky !important;
    left: 0;
    background-color: rgb(0, 0, 129); /* must have background */
    color: white;
    font-weight: bold;
    text-align: left;
    color: white;
    z-index: 999 !important;
}
#Table-sale-list td:nth-child(3) {
    position: sticky !important;
    left: 0;
    background-color: rgb(255, 255, 255); /* must have background */
    z-index: 9 !important;
    
}
/* ------------------------------------------------------------------------------ */


.hight_index {
    z-index: 10000;
}
.min_heigh_70 {
    min-width: 70%;
}

#shop_info {
    display: flex;
    flex-direction: column;
}

.img {
    width: 100px;
    height: 100px;

    overflow: hidden;
}
.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img_400 {
    width: 200px;
    height: 200px;

    overflow: hidden;
}
.img_400 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#DatePromptModal button {
    padding: 3px;
    border-radius: 5px;
    font-size: 12px;
}
#chasier {
    font-size: 26px;
}
#refresh-icon {
    font-size: 25px;
}
.no-stock-float {
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #ef4444;
    pointer-events: none;
    animation: floatUp 1s ease-out forwards;
    z-index: 9999;
}
.card_style {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    /* animation on load */
    opacity: 0;
    transform: translateY(15px);
    animation: cardStyleIn 0.4s ease forwards;
}
.card_style:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card_style:hover::before {
    opacity: 1;
}
.card_style:nth-child(1) {
    animation-delay: 0.05s;
}
.card_style:nth-child(2) {
    animation-delay: 0.1s;
}
.card_style:nth-child(3) {
    animation-delay: 0.15s;
}
.card_style:nth-child(4) {
    animation-delay: 0.2s;
}
.card_style:nth-child(5) {
    animation-delay: 0.25s;
}
.card_style:nth-child(6) {
    animation-delay: 0.3s;
}
.card_style:nth-child(7) {
    animation-delay: 0.35s;
}
.card_style:nth-child(8) {
    animation-delay: 0.4s;
}
.card_style:nth-child(9) {
    animation-delay: 0.45s;
}
.card_style:nth-child(10) {
    animation-delay: 0.5s;
}
.card_style:nth-child(11) {
    animation-delay: 0.55s;
}
.card_style:nth-child(12) {
    animation-delay: 0.6s;
}
.card_style:nth-child(13) {
    animation-delay: 0.65s;
}
.card_style:nth-child(14) {
    animation-delay: 0.7s;
}
.card_style:nth-child(15) {
    animation-delay: 0.75s;
}
.card_style:nth-child(16) {
    animation-delay: 0.8s;
}
.card_style:nth-child(17) {
    animation-delay: 0.85s;
}
.card_style:nth-child(18) {
    animation-delay: 0.9s;
}
.card_style:nth-child(19) {
    animation-delay: 0.95s;
}
.card_style:nth-child(20) {
    animation-delay: 1s;
}
.card_style:nth-child(21) {
    animation-delay: 1.05s;
}
.card_style:nth-child(22) {
    animation-delay: 1.1s;
}
.card_style:nth-child(23) {
    animation-delay: 1.15s;
}
.card_style:nth-child(24) {
    animation-delay: 1.2s;
}
.card_style:nth-child(25) {
    animation-delay: 1.25s;
}
.card_style:nth-child(26) {
    animation-delay: 1.3s;
}
.card_style:nth-child(27) {
    animation-delay: 1.35s;
}
.card_style:nth-child(28) {
    animation-delay: 1.4s;
}
.card_style:nth-child(29) {
    animation-delay: 1.45s;
}
.card_style:nth-child(30) {
    animation-delay: 1.5s;
}
/* Fade + slide down animation */
@keyframes fadeSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-add {
    animation: fadeSlideDown 0.3s ease forwards;
}

/* Number count animation (optional) */
.number-change {
    transition: all 0.3s ease;
}
#total {
    transition: all 0.3s ease;
}

@keyframes cardStyleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 0) scale(0.8);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -60px) scale(1.2);
    }
}
/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.animate-fadeIn {
    animation: fadeIn 0.25s ease-out forwards;
}
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}
.rotate-180 {
    transform: rotate(180deg);
}
#welcomeScreen h1 {
    animation: fadeInOut 5s ease-in-out forwards;
}

@keyframes scaleUp {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.animate-scaleUp {
    animation: scaleUp 0.25s ease-out forwards;
}

@keyframes pop {
    0% {
        transform: translate(0, 0) scale(0.3);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(1.2);
        opacity: 0;
    }
}
/* Hide elements you don’t want in print */

@media print {
    .screen-only {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
    .shop-info {
        display: block;
        text-align: right;
    }

    .shop-info div {
        line-height: 1.4;
    }
    .space {
        margin-bottom: 15px;
    }
}
@media screen {
    .print-only {
        display: none;
    }
    .space {
        margin-bottom: 15px;
    }
}

@media (max-width: 430px) {
}
@media (min-width: 431px) and (max-width: 999px) {
    #category_show {
        zoom: 0.5;
        flex-direction: column;
    }
    #sidebar {
        min-height: 50vh;
        position: sticky;
        bottom: 0;
    }
}

@media (min-width: 1000px) and (max-width: 1400px) {
    body {
        font-size: clamp(14px, 1vw, 16px);
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 18px;
    }
    h5 {
        font-size: 10px;
    }
    p,
    span,
    label {
        font-size: 10px;
    }
    #tittle_span {
        font-size: 20px;
    }
    input,
    select,
    textarea,
    button {
        font-size: 10px;
        padding: 5px 10px;
    }
    #refresh-icon {
        font-size: 15px;
    }
    .card_style {
        min-height: 100px !important;
        max-height: 220px !important;
    }
    .card_style img {
        max-height: 100px;
    }
    #add-to-cart-btn {
        padding: 0;
    }
    .btn_sale_invoice {
        padding: 2px !important;
    }
    .btn_sale_invoice button {
        padding: 0 !important;
    }
    .bonus {
        padding: 2px !important;
    }

    .respond_laptop {
        padding: 5px;
    }
    #drawer i {
        font-size: 15px;
        padding: 0;
    }
    #drawer-body {
        padding: 10px;
    }
    #sidebar input {
        padding: 2px !important;
    }
    #category-tabs {
        padding: 2px 10px;
        font-size: 16px;
    }
    .scroll_content_70 {
        max-height: 50vh;
        min-height: 50vh;
    }
    #chasier {
        font-size: 20px;
    }
}
