@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap");

:root {
    --clr-primary: #c52127;
    --clr-secondary: #0071bc;
    --clr-white: #fff;
    --clr-black: #000;
    --clr-dark: #101828;
    --clr-light: #344054;
    --clr-light-sm: #dee2e6;

    /* Modern Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Geist', sans-serif;

    /* Premium Design Tokens */
    --grad-pos: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --grad-stock: linear-gradient(135deg, #5ee7df 0%, #b490ca 100%);
    --grad-product: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    --grad-service: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-family: var(--font-main) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
}

/* Excel Style Product List & Premium Modern Product List disabled to restore standard POS product grid view
.search-product-card.products {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.search-product-card .single-product {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 6px 12px !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #f1f1f1 !important;
    width: 100% !important;
    gap: 15px !important;
    margin: 0 !important;
    height: auto !important;
    cursor: pointer;
    background: #fff !important;
}

.search-product-card .single-product:last-child {
    border-bottom: none !important;
}

.search-product-card .single-product:hover {
    background-color: #f8f9fa !important;
}

.search-product-card .single-product .pro-img {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    margin-bottom: 0 !important;
    background: #f8f9fa !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
}

.search-product-card .single-product .pro-img img {
    max-height: 35px !important;
    width: auto !important;
}

.search-product-card.products {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: transparent !important;
    border: none !important;
    padding: 4px !important;
}

.search-product-card .single-product {
    display: grid !important;
    grid-template-columns: 60px 150px 1fr 120px 90px !important;
    align-items: center !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
    width: 100% !important;
    margin: 0 !important;
}

.search-product-card .single-product:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--clr-primary) !important;
    background: #fff !important;
    z-index: 2;
}

.search-product-card .single-product .pro-img {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    background: #f7fafc !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    border: 1px solid #f1f5f9 !important;
}

.search-product-card .single-product .pro-img img {
    max-height: 35px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.search-product-card .single-product .product-con {
    display: contents !important;
}

.search-product-card .single-product .product-con > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    justify-content: center !important;
    padding-left: 10px;
}

.search-product-card .single-product .badge {
    font-size: 10px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    width: fit-content !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.search-product-card .single-product .product_name {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    padding: 0 15px !important;
}

.search-product-card .single-product .pro-category {
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #718096 !important;
    background: #f1f5f9 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    width: fit-content !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.search-product-card .single-product .price {
    text-align: right !important;
}

.search-product-card .single-product .product_price {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--clr-primary) !important;
    margin: 0 !important;
    letter-spacing: -0.5px !important;
}
*/

.mybazar-login-section .forget-password input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid #d0d5dd !important;
    background: var(--clr-primary) !important;
    margin-right: 5px;
    margin-top: -1px;
}

.text-custom-primary,
.text-custom-primary:hover {
    color: var(--clr-primary);
    font-weight: bold;
}

.mybazar-login-section .forget-password input[type="checkbox"]:checked+.custom-control-label::before {
    color: #ffffff;
}

.mybazar-login-section .forget-password input[type="checkbox"]:checked {
    accent-color: #3291d4 !important;
}

.indicate-text {
    font-size: 12px;
    color: red;
}

.form-control.error {
    border-color: red;
    padding: 0.375rem 0.75rem;
}

.image-wrapper.error {
    border-color: red;
    padding: 0.375rem 0.75rem;
}

.error-alert {
    font-size: 11px;
    color: red;
}

.error {
    color: red !important;
}

.payment-section .form-control[readonly] {
    background-color: #fff !important;
}

.budget-form ::placeholder {
    font-size: 12px;
}

.avatar {
    background: var(--clr-primary);
    border-radius: 50%;
    color: #e3eaef;
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    position: relative;
    vertical-align: middle;
    line-height: 1.28;
    height: 45px;
    width: 45px;
}

.avatar.avatar-sm {
    font-size: 12px;
    height: 30px;
    width: 30px;
}

.avatar img {
    border-radius: 50%;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 1;
}

.btn-custom-warning {
    background-color: var(--clr-primary) !important;
    color: #fff;
    border: none !important;
}

.btn-custom-warning:hover {
    color: #fff !important;
}

.custom-warning-color {
    color: var(--clr-primary);
}

.roles-permissions table td {
    color: black;
}

.img-preview {
    margin-top: 4px;
    height: auto;
    width: 100px;
}

.folders-files tr a {
    font-size: 18px !important;
}

.gradient-row {
    background: linear-gradient(270deg, #dbe4df 0%, #65e4a6 50%, #ffffff 100%);
}

.order-form-section label,
.permission label,
.role-input-label label {
    left: 10px;
    white-space: nowrap;
}

.table-form-section .responsive-table {
    min-height: unset !important;
}

.table-title-three h5 {
    font-weight: 600 !important;
}

.loss-profit-custom-color1 {
    background-color: rgba(255, 132, 0, 0.15);
}

.loss-profit-custom-color2 {
    background-color: rgba(255, 181, 101, 1);
    font-weight: bold;
}

.production-wrap {
    padding-right: 60px;
}

.form-control.reset-img {
    display: none;
}

.table-header h3,
.table-header h4 {
    font-weight: 700;
}

.privacy-condition-header h4 {
    font-weight: 700;
}

.erp-new-invice .invice-detaisl {
    padding: 20px 0;
}

.commercial-invoice {
    margin-bottom: 30px;
}

.invoice-payment-details {
    margin-top: 40px;
}

.erp-new-invice {
    min-height: 900px !important;
}

/* dropdown font size reduce */
.form-select {
    font-size: 1rem;
}

.product-img {
    height: 100px;
    width: 250px;
    border-radius: 2%;
    overflow: hidden;
    border: 2px dashed #e4e5e7;
}

.form-control .form-control {
    border: 0 !important;
}

.table-user-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: var(--clr-gray4);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.table-user-icon img {
    height: 25px;
}

.ctg-icon img {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
}

/*delete modal*/
.delete-modal {
    text-align: center;
    margin-bottom: 20px;
}

.delete-modal h5 {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 5px;
}

.delete-modal p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.multiple-button-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 24px;
}

.chart-css {
    width: 100% !important;
    max-height: 308px !important;
    min-height: 290px;
}

.rounded-image .table-img {
    width: 40px;
    height: 40px;
}

.width-10 {
    width: 10px;
}

.add-feature-btn {
    min-height: 30px;
    padding: 4px 20px;
    background: var(--clr-primary) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 5px;
}

/* Plan Feature Selector Component */
.plan-feature-selector-card {
    background: #ffffff;
    border: 1px solid #eaedf1;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-top: 24px;
    margin-bottom: 24px;
}

.plan-feature-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 18px;
}

.plan-feature-selector-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-feature-selector-subtitle {
    font-size: 0.825rem;
    color: #64748b;
    margin-top: 2px;
}

.feature-pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.feature-pill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

.feature-pill-item:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
    transform: translateY(-1px);
}

.feature-pill-item.active {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.12);
}

.feature-pill-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 10px;
}

.feature-pill-item.active .feature-pill-checkbox {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.custom-feature-input-group {
    max-width: 550px;
    display: flex;
    gap: 10px;
}

.custom-feature-input-group input {
    border-radius: 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 8px 14px !important;
    font-size: 0.875rem;
    height: 42px !important;
}

.custom-feature-input-group input:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.custom-feature-input-group button,
.custom-feature-input-group .feature-btn,
#feature-btn {
    height: 42px !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    background-color: var(--clr-primary, #e74c3c) !important;
    background: var(--clr-primary, #e74c3c) !important;
    color: #ffffff !important;
    border: 1px solid var(--clr-primary, #e74c3c) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.custom-feature-input-group button:hover,
.custom-feature-input-group .feature-btn:hover,
#feature-btn:hover {
    background-color: #c0392b !important;
    background: #c0392b !important;
    border-color: #c0392b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3) !important;
}

.feature-item-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.feature-item-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.feature-item-title-input {
    border: none !important;
    background: transparent !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    font-size: 0.9rem !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
    padding: 4px 0 !important;
    position: static !important;
    height: auto !important;
}

.feature-item-title-input:focus {
    border-bottom: 2px solid #ef4444 !important;
    border-radius: 0 !important;
}

.feature-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.feature-remove-btn {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.feature-remove-btn:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}

.remove-list {
    position: relative;
}

.remove-list .remove-one {
    background: transparent !important;
    /* background: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-primary) 100%) !important; */
    color: #fff !important;
    height: 50px;
    width: 50px;
    border: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.remove-list .remove-one i {
    color: #ff3030;
}

.feature-add-wrp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.feature-add-wrp .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.button-container {
    border: 1px solid #ccc;
    width: 100%;
    height: 45px;
    border-radius: 5px;
    display: inline-block;
}

.top-btn-custom {
    text-decoration: none;
    border: none;
}

.top-btn-custom:hover,
.top-btn-custom:active {
    color: #007bff;
    text-decoration: underline;
    border: none;
    text-underline-offset: 18px;
}

.top-btn-custom.active {
    text-decoration: underline;
    color: #007bff;
    font-weight: bold;
    border: none;
    text-underline-offset: 18px;
}

.card {
    border: 0;
    box-shadow: 0px 4px 24px 0px #e4c3c30d;
    border-radius: 12px;
    background-color: #fff !important;
}

.table th {
    border-bottom: 1px solid #d8d8d8 !important;
    background: #f9f8f8;
    border: 0;
    height: 54px;
}

.delete-selected {
    cursor: pointer;
}

.custom-primary {
    color: var(--clr-primary);
}

.table-hidden-checkbox {
    display: none;
}

/* Style the custom checkbox */
.table-custom-checkbox {
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    padding-left: 35px;
    line-height: 24px;
}

/* Create the custom checkmark */
.table-custom-checkmark {
    position: absolute;
    top: -9px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Style the checkmark when checked */
.table-hidden-checkbox:checked+.table-custom-checkmark {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
}

/* Add the tick mark inside the checkbox */
.table-custom-checkbox .custom-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the tick mark when the checkbox is checked */
.table-custom-checkbox .table-hidden-checkbox:checked+.custom-checkmark:after {
    display: block;
}

/* Style the tick mark */
.table-custom-checkbox .custom-checkmark:after {
    left: 8px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Customize the label text color and size */
.table-custom-checkbox {
    color: #333;
    font-family: Arial, sans-serif;
}

.dropdown-menu-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.language-li {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-check {
    color: #00ae1c;
    font-weight: 400;
    font-size: 16px;
}

.verify-modal-body h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    color: #212121;
}

.verify-modal-body .des,
.verify-modal-body .des span {
    color: #4d4d4d;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.verify-modal-body .des {
    font-weight: 400 !important;
}

.verify-modal-body .des .reset {
    color: var(--clr-primary);
}

.verify-modal-body .code-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.verify-modal-body .code-input input {
    width: 51px;
    height: 58px;
    padding: 14px 15px;
    border-radius: 10px;
    border: 1px solid #d8d8d8;
    box-shadow: none !important;
}

.verify-modal-body .code-input input:focus {
    border: 1px solid var(--clr-primary) !important;
}

.verify-modal-body .code-input input:focus-visible {
    border: 1px solid var(--clr-primary) !important;
}

.verify-modal-body .des span {
    color: #121212;
}

.success-content {
    border-radius: 16px;
}

.success-modal-body h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    color: #121212;
    margin-bottom: 0px;
    padding-top: 8px;
    padding-bottom: 16px;
}

.create-account-body h4 {
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #121212;
    margin-bottom: 0px;
}

.success-modal-body p {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #4d4d4d;
    margin-bottom: 24px;
}

.verify-btn {
    background-color: var(--clr-primary);
    color: white;
    width: 100%;
    padding: 10px 0px;
    margin-top: 12px;
}

.verify-btn:hover {
    color: white;
}

/********** Sales page code start **********/
.sales-container {
    background-color: white;
    border-radius: 15px 0 0 15px;
}

.quick-act-header {
    background-color: white;
    padding: 2% 0;
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
}

.sales-container .quick-act-title {
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

.sales-container .save-product-btn {
    background-color: #0ec03b1a;
    color: #4d4d4d;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Quick Action Shortcut Buttons — category-style */
.btn-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: 1.5px solid #d8d8d8;
    background-color: #f5f3f34d;
    color: #344054;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-shortcut i {
    font-size: 15px;
}

.btn-shortcut:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background-color: #fff0f0;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 33, 39, 0.12);
}

/* Product List — default (inherits base style) */
.btn-shortcut-product {
    background-color: #f5f3f34d !important;
    color: #344054 !important;
    border-color: #d8d8d8 !important;
}
.btn-shortcut-product:hover {
    background-color: #fff0f0 !important;
    border-color: var(--clr-primary) !important;
    color: var(--clr-primary) !important;
}

/* Today Sales */
.btn-shortcut-service {
    background-color: #f0fdf4 !important;
    color: #16a34a !important;
    border-color: #dcfce7 !important;
}
.btn-shortcut-service:hover {
    background-color: #dcfce7 !important;
    border-color: #16a34a !important;
    color: #16a34a !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15) !important;
}

/* Calculator */
.btn-shortcut-stock {
    background-color: #eff6ff !important;
    color: #2563eb !important;
    border-color: #dbeafe !important;
}
.btn-shortcut-stock:hover {
    background-color: #dbeafe !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

/* Dashboard */
.btn-shortcut-pos {
    background-color: var(--clr-primary) !important;
    color: #fff !important;
    border-color: var(--clr-primary) !important;
}
.btn-shortcut-pos:hover {
    background-color: #a81b21 !important;
    border-color: #a81b21 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(197, 33, 39, 0.25) !important;
}

/* Compact Quotation Pages */
.quotation-compact label,
.quotation-compact .table th,
.quotation-compact .table td,
.quotation-compact .payment-title,
.quotation-compact h6 {
    font-size: 11px !important;
}

.quotation-compact .table th,
.quotation-compact .table td {
    padding: 3px 5px !important;
}

.quotation-compact .form-control,
.quotation-compact .form-select,
.quotation-compact input[type="text"],
.quotation-compact input[type="number"],
.quotation-compact input[type="date"] {
    padding: 3px 8px !important;
    font-size: 10px !important;
    min-height: 30px !important;
    height: 30px !important;
}

.quotation-compact .table-header {
    padding: 8px 16px !important;
}

.quotation-compact .table-header h4 {
    margin: 0 !important;
    font-size: 16px !important;
}

.quotation-compact .table-top-form {
    padding: 8px 0 !important;
}

.quotation-compact .table-top-form .form-control {
    height: 30px !important;
    min-height: 30px !important;
}

.quotation-compact label,
.quotation-compact .table th,
.quotation-compact .table td,
.quotation-compact .payment-title,
.quotation-compact h6 {
    font-size: 11px !important;
}

.quotation-compact .table th {
    height: 35px !important;
    padding: 3px 8px !important;
}

.quotation-compact .table td {
    padding: 3px 8px !important;
}

.sales-container .bulk-upload-btn,
.sales-container .sales-btn,
.sales-container .calculator-btn,
.sales-container .dashboard-btn {
    height: 34px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1.5px solid transparent !important;
    white-space: nowrap !important;
}

.sales-container .bulk-upload-btn img,
.sales-container .sales-btn img,
.sales-container .calculator-btn img,
.sales-container .dashboard-btn img {
    height: 14px;
    width: 14px;
}

.sales-container .bulk-upload-btn {
    background: #eff6ff !important;
    color: #2563eb !important;
    border-color: #dbeafe !important;
}

.sales-container .bulk-upload-btn:hover {
    background: #dbeafe !important;
}

.sales-container .sales-btn {
    background: #fdf4ff !important;
    color: #c026d3 !important;
    border-color: #fae8ff !important;
}

.sales-container .sales-btn:hover {
    background: #fae8ff !important;
}

.sales-container .calculator-btn {
    background: #eff6ff !important;
    color: #2563eb !important;
    border-color: #dbeafe !important;
}

.sales-container .calculator-btn:hover {
    background: #dbeafe !important;
}

.sales-container .dashboard-btn {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}

.sales-container .dashboard-btn:hover {
    background: #fecaca !important;
}

.form-select:focus {
    outline: none;
    box-shadow: none;
    border-color: gray;
}

.btn-danger {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .btn-danger,
.input-group .btn-outline-secondary {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-control {
    background-color: #f5f3f34d;
}

/* quick action table */
.icon {
    font-weight: 400;
    font-size: 13px;
}

.incre-decre {
    width: 20px !important;
    height: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8d8d899 !important;
    border-radius: 3px !important;
    background-color: #fff !important;
}

.incre-decre:hover {
    background-color: #fef0f1 !important;
    border-color: var(--clr-primary) !important;
    color: var(--clr-primary) !important;
}

.num-input {
    border-radius: 5px;
    background-color: white;
}

.num-input input {
    background-color: white;
    width: 95px;
}

.hr-container {
    margin-top: 25px;
    margin-bottom: 25px;
}

.hr-container hr {
    border: none;
    border-top: 1px dashed #d0d5dd;
    opacity: 1;
    margin: 0;
}

.payment-title {
    font-size: 14px;
    display: flex;
    width: fit-content;
    font-weight: 400 !important;
}

.amount-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding-right: 12px;
}

.save-amount-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.save-btn {
    background-color: #6b7280;
    color: white;
    width: 100%;
    border: none;
    height: 42px;
    border-radius: 6px;
    font-weight: 600;
}

.save-btn:hover {
    background-color: #4b5563;
    color: white;
}

.payment-btn {
    background-color: var(--clr-primary);
    color: white;
    width: 100%;
    border: none;
    height: 42px;
    border-radius: 6px;
    font-weight: 600;
}

.form-control-amount {
    background-color: white;
}

.payment-container {
    background-color: #f5f3f380;
    border-radius: 8px;
    padding: 15px;
}

.table-background {
    background-color: rgba(245, 243, 243, 0.5);
}

.discount-btn {
    color: var(--clr-primary);
    border: 1px solid var(--clr-primary);
    border-radius: 5px;
    background-color: transparent;
}

.main-container {
    background-color: white;
    padding: 0%;
}

.products-header {
    border: none;
    border-radius: 0px 12px 12px 0px !important;
    border-left: 1px solid #d8d8d8;
    padding: 12px;
    overflow: hidden;
    color: white;
}

.main-container .products-container {
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    z-index: 0 !important;
    position: relative;
}

.main-container .products-header .fa-search {
    color: white;
}

.main-container .products-header .category-btn {
    background-color: #ff9500;
    color: white;
    border: none;
    height: 36px;
    border-radius: 6px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.main-container .products-header .brand-btn {
    background-color: #007aff;
    color: white;
    border: none;
    height: 36px;
    border-radius: 6px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.search-input {
    border-radius: 0.25rem;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border: 1px solid #ced4da;
    padding: 0.35rem 0.5rem;
    height: 36px;
    flex-grow: 1;
}

.btn-category {
    background-color: #f8961e;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-brand {
    background-color: #1e90ff;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qa-product {
    background-color: #28a745;
    color: white;
    padding: 4px 10px;
    height: 34px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qa-product:hover {
    color: white;
    background-color: #218838;
}

.btn-qa-sales {
    background-color: #6f42c1;
    color: white;
    padding: 4px 10px;
    height: 34px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qa-sales:hover {
    color: white;
    background-color: #5a32a3;
}

.btn-qa-calculator {
    background-color: #17a2b8;
    color: white;
    padding: 4px 10px;
    height: 34px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qa-calculator:hover {
    color: white;
    background-color: #138496;
}

.btn-qa-dashboard {
    background-color: #dc3545;
    color: white;
    padding: 4px 10px;
    height: 34px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qa-dashboard:hover {
    color: white;
    background-color: #c82333;
}

.btn-brand:hover {
    background-color: #1b87f2;
    color: white;
    border: 1px solid white;
}

.btn-category:hover {
    background-color: #df8415;
    color: white;
    border: 1px solid white;
}

.btn-search {
    background-color: var(--clr-primary);
    color: white;
    border-radius: 0 0.25rem 0.25rem 0;
    height: 36px;
    padding: 0 12px;
}

.btn-search:hover {
    background-color: var(--clr-primary);
    color: white;
    border: 1px solid var(--clr-primary);
}

/* Products section start */
/* .products {
    display: grid;
    grid-template-columns: 3fr !important;
    gap: 10px;

} */

.products .single-product {
    background-color: white !important;
    border-radius: 18px !important;
    border: 1px solid #f1f4f8 !important;
    width: 100% !important;
    margin-top: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
}

.products .single-product:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--clr-primary) !important;
}

.products .single-product .product-con {
    padding: 16px !important;
}

.products .single-product .pro-img img {
    border-radius: 0px !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100px !important;
    transition: transform 0.5s ease !important;
}

.products .single-product:hover .pro-img img {
    transform: scale(1.1) !important;
}

/* Fix floating label position for smaller fields */
.add-suplier-modal-wrapper label,
.product-price-container label,
.single-container label,
.order-form-section label {
    top: 9px !important;
    left: 10px !important;
    font-size: 14px !important;
    padding: 0 5px !important;
    margin-bottom: -10px !important;
}

/* Remove internal table scrollbar */
.responsive-table {
    max-height: none !important;
    overflow-y: visible !important;
}

/* Reduce text size but keep text box size for add supplier */
#supplier-create-modal label,
#supplier-create-modal .form-control {
    font-size: 12px !important;
}

.products .single-product .pro-title {
    font-weight: 800 !important;
    font-size: 15px !important;
    color: #1a202c !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
}

.products .single-product .pro-price {
    font-weight: 900 !important;
    font-size: 16px !important;
    color: var(--clr-primary) !important;
}

.products .single-product .pro-category {
    color: #7c7c7c;
    font-size: 14px;
}

.products .single-product .price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
}

.products .single-product .price .old-price {
    font-size: 12px;
    text-decoration: line-through;
    color: gray;
}

.custom-number-input {
    width: 40px;
    padding: 5px;
    border: 1px solid #4a90e2;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
}

.custom-number-input:focus {
    border-color: #007bff;
}

.x-btn {
    border: none;
    background-color: white;
    border-radius: 5px;
}

.x-btn:hover {
    background-color: #f5f5f5;
    border-radius: 5px;
}

.product-dropdown {
    border: 1px solid #e4e5e7;
    border-radius: 6px;
    position: relative;
    background-color: #fff;
}

.product-left img {
    height: 44px;
    width: 44px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eaecf0;
}

.product-selected {
    padding: 11px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-selected #arrow svg {
    width: 20px;
    height: 20px;
}

.product-dropdown-options {
    position: absolute;
    top: 90px !important;
    left: 0;
    right: 0;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    z-index: 3;
    display: none;
}

.product-option-group {
    border-top: 1px solid #eee;
    padding: 8px;
}

/* .product-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s;
} */

.product-option-item:hover {
    background-color: #f4f4f4;
}

.product-left {
    display: grid;
    gap: 10px;
    grid-template-columns: 2fr 38fr;
}

.multi-items {
    border-bottom: 1px solid #ececec;
    padding: 4px 0;
}

.multi-items:last-child {
    border-bottom: none;
}

.multi-items:hover {
    background-color: #eaeaea;
}

.product-left img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.product-text {
    font-size: 14px;
}

.product-title {
    font-weight: bold;
    font-size: 15px;
}

.product-in-stock {
    color: #34c759;
    font-weight: 500;
}

.product-price {
    font-weight: bold;
    color: #111;
}

.product-rotate {
    transform: rotate(180deg);
}

/* Products section end */

.padding-status {
    color: #fb8a00;
    border: 1px solid #fb8a00;
    border-radius: 4px;
    background-color: #ff920c1a;
    max-width: 100px;
    padding: 7px;
    text-align: center;
}

.approved-status {
    color: #00a551;
    border: 1px solid #00a551;
    border-radius: 4px;
    background-color: #00a5511a;
    max-width: 100px;
    padding: 7px;
    text-align: center;
}

.rejected-status {
    color: #ff3b30;
    border: 1px solid #ff3b30;
    border-radius: 4px;
    background-color: #ff3b3021;
    max-width: 100px;
    padding: 7px;
    text-align: center;
}

.select-batch {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.select-batch:hover {
    background-color: #c5212712;
}

.gradient-alert {
    background: linear-gradient(270deg, #ff7db8 0%, #ee2a7b 100%);
}

.domain-instructions ol li {
    list-style: decimal;
    padding-left: 3px;
}

#fieldsContainer label {
    top: 0;
}

/* ============================================================
   PREMIUM HEADER UI v2.0 - CRITICAL UPDATES
   ============================================================ */

.main-header-section {
    background: #ffffff !important;
    box-shadow: var(--shadow-premium) !important;
    padding: 14px 28px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
    backdrop-filter: blur(10px);
}

/* Sidebar Opener */
.sidebar-opner {
    width: 42px !important;
    height: 42px !important;
    background: #f8f9fa !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #4a5568 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar-opner:hover {
    background: #fff !important;
    border-color: var(--clr-primary) !important;
    color: var(--clr-primary) !important;
    transform: rotate(90deg);
}

/* View Website Button */
.view-website {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.view-website:hover {
    background: #f8fafc !important;
    border-color: #cbd5e0 !important;
    color: #1e293b !important;
    transform: translateY(-2px);
}

/* Premium Header Shortcuts v3.0 */
.btn-shortcut {
    height: 34px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1.5px solid transparent !important;
    white-space: nowrap !important;
}

.btn-shortcut i {
    font-size: 13px !important;
}

.btn-shortcut:hover {
    transform: translateY(-3px) !important;
}

.btn-shortcut-product {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border-color: #dcfce7 !important;
}

.btn-shortcut-service {
    background: #f0f9ff !important;
    color: #0369a1 !important;
    border-color: #e0f2fe !important;
}

.btn-shortcut-pos {
    background: #c52127 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(197, 33, 39, 0.15) !important;
}

.btn-shortcut-product:hover {
    background: #16a34a !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.2) !important;
}

.btn-shortcut-service:hover {
    background: #0284c7 !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.2) !important;
}

.btn-shortcut-pos:hover {
    background: #a81c21 !important;
    box-shadow: 0 10px 25px rgba(197, 33, 39, 0.3) !important;
}

.btn-shortcut-product:hover {
    background: var(--grad-product) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.btn-shortcut-service:hover {
    background: var(--grad-service) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.btn-shortcut-pos:hover {
    background: var(--grad-pos) !important;
    color: #fff !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 10px 25px rgba(245, 87, 108, 0.4) !important;
}

/* Notification & Language */
.language-change .btn-light {
    border-radius: 12px !important;
    padding: 10px 18px !important;
    background: #f8f9fa !important;
    border: 1px solid #edf2f7 !important;
    font-weight: 700 !important;
}

.notifications .dropdown-toggleer {
    width: 46px !important;
    height: 46px !important;
    background: #f8f9fa !important;
    border-radius: 14px !important;
    border: 1px solid #edf2f7 !important;
}

.notifications .bg-red {
    background: #ff4d4d !important;
    border: 3px solid #fff !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
}

/* User Profile */
.profile-info {
    background: linear-gradient(to right, #f8f9fa, #ffffff) !important;
    padding: 6px 18px 6px 10px !important;
    border-radius: 16px !important;
    border: 1px solid #edf2f7 !important;
    transition: all 0.3s ease !important;
}

.profile-info:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

.profile-info img {
    border-radius: 12px !important;
    border: 2px solid #fff !important;
}

.nav-greeting {
    font-weight: 800 !important;
    color: #a0aec0 !important;
    font-size: 10px !important;
}

.nav-name {
    font-weight: 800 !important;
    color: #2d3748 !important;
    font-size: 14px !important;
}

/* Premium Stat Cards UI */
.stat-premium-card {
    flex: 1;
    min-width: 280px;
    background: #fff !important;
    border-radius: 20px !important;
    padding: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s ease !important;
}

.stat-premium-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.stat-premium-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    color: #fff !important;
}

.stat-premium-qty .stat-premium-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3) !important;
}

.stat-premium-value .stat-premium-icon {
    background: linear-gradient(135deg, #0ba360 0%, #3cba92 100%) !important;
    box-shadow: 0 8px 20px rgba(11, 163, 96, 0.3) !important;
}

.stat-premium-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #a0aec0 !important;
    margin-bottom: 2px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.stat-premium-value {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #2d3748 !important;
    margin-bottom: 0 !important;
}

/* Premium Table and Form UI */
.erp-table-section .card {
    border-radius: 24px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04) !important;
    margin-top: 20px;
}

.table-header {
    background: #ffffff !important;
    padding: 24px 30px !important;
    border-bottom: 1px solid #f1f4f8 !important;
}

.table-header h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 !important;
}

.table-top-form {
    background: #fdfdfd !important;
    padding: 12px 20px !important;
}

.table-top-form .form-control {
    border-radius: 10px !important;
    border: 1.5px solid #edf2f7 !important;
    background: #f8f9fa !important;
    height: 38px !important;
    font-weight: 600 !important;
    padding-left: 15px !important;
    transition: all 0.3s ease !important;
}

.table-top-form .custom-date-filter select.form-control {
    background-color: var(--clr-primary) !important;
    color: white !important;
    padding-left: 35px !important;
    padding-right: 25px !important;
}

.table-top-form .form-control:focus {
    background: #fff !important;
    border-color: var(--clr-primary) !important;
    box-shadow: 0 0 0 5px rgba(197, 33, 39, 0.08) !important;
}

.table-search span {
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none;
}

.table-search input {
    padding-right: 50px !important;
}

.table thead th {
    background: #f8fafc !important;
    color: #4a5568 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    padding: 12px 14px !important;
    border-bottom: 2px solid #edf2f7 !important;
}

.table tbody td {
    padding: 10px 14px !important;
    color: #2d3748 !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #f1f4f8 !important;
    vertical-align: middle !important;
}

.table tbody tr:hover {
    background-color: #fcfcfd !important;
}

/* Premium Pagination UI */
.pagination {
    margin-top: 25px !important;
    justify-content: center !important;
    gap: 8px !important;
    display: flex !important;
    list-style: none !important;
}

.pagination .page-item .page-link {
    border-radius: 12px !important;
    border: 1px solid #edf2f7 !important;
    background: #ffffff !important;
    color: #4a5568 !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    text-decoration: none !important;
}

.pagination .page-item.active .page-link {
    background: var(--grad-pos) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.3) !important;
}

.pagination .page-item:hover:not(.active) .page-link {
    background: #f8f9fa !important;
    border-color: #cbd5e0 !important;
    transform: translateY(-2px) !important;
}


/* Global Table Font Size Override */
.table tbody td {
    font-size: 13px !important;
}

/* Global Add Order Button Override */
.add-order-btn {
    font-size: 13px !important;
    padding: 6px 12px !important;
}

/* Global Table Action Dropdown Override */
.dropdown-menu li a {
    font-size: 13px !important;
}

.table-action button {
    font-size: 18px !important;
}

/* Invoice Badge Override */
.invoice-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px !important;
    font-weight: 600;
    color: #4b5563;
    background-color: #f3f4f6;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

/* Remove internal table scrollbar */
.responsive-table {
    max-height: none !important;
    overflow-y: visible !important;
}

/* Fix checkbox clarity when page is zoomed */
.erp-table-section input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 0 !important;
    cursor: pointer;
    transform: none !important;
    border: 1px solid #000 !important;
    border-radius: 3px !important;
}

/* Reduce field sizes inside modals for lists (Category, Brand, etc.) */
.modal-body .form-control,
.modal-body select.form-control,
.modal-body textarea.form-control {
    height: 44px !important;
    min-height: 44px !important;
    padding: 8px 12px !important;
    font-size: 16px !important;
}

.modal-body label {
    font-size: 16px !important;
    margin-bottom: 6px !important;
}

/* 
         m i n - h e i g h t :   3 2 p x   ! i m p o r t a n t ; 
         h e i g h t :   3 2 p x   ! i m p o r t a n t ; 
 } 
 
 . a d d - s u p l i e r - m o d a l - w r a p p e r   l a b e l , 
 . p r o d u c t - p r i c e - c o n t a i n e r   l a b e l , 
 . s i n g l e - c o n t a i n e r   l a b e l   { 
         f o n t - s i z e :   1 3 p x   ! i m p o r t a n t ; 
         m a r g i n - b o t t o m :   2 p x   ! i m p o r t a n t ; 
 } 
 
 
 
 / *   F i x   f l o a t i n g   l a b e l   p o s i t i o n   f o r   s m a l l e r   f i e l d s   * / 
 . a d d - s u p l i e r - m o d a l - w r a p p e r   l a b e l , 
 . p r o d u c t - p r i c e - c o n t a i n e r   l a b e l , 
 . s i n g l e - c o n t a i n e r   l a b e l , 
 . o r d e r - f o r m - s e c t i o n   l a b e l   { 
         t o p :   9 p x   ! i m p o r t a n t ; 
         l e f t :   1 0 p x   ! i m p o r t a n t ; 
         f o n t - s i z e :   1 2 p x   ! i m p o r t a n t ; 
         m i n - h e i g h t :   3 2 p x   ! i m p o r t a n t ; 
         h e i g h t :   3 2 p x   ! i m p o r t a n t ; 
 } 
 
 . a d d - s u p l i e r - m o d a l - w r a p p e r   l a b e l , 
 . p r o d u c t - p r i c e - c o n t a i n e r   l a b e l , al
 . s i n g l e - c o n t a i n e r   l a b e l   { 
         f o n t - s i z e :   1 3 p x   ! i m p o r t a n t ; 
         m a r g i n - b o t t o m :   2 p x   ! i m p o r t a n t ; 
 } 
 
 
 
 / *   F i x   f l o a t i n g   l a b e l   p o s i t i o n   f o r   s m a l l e r   f i e l d s   * / 
 . a d d - s u p l i e r - m o d a l - w r a p p e r   l a b e l , 
 . p r o d u c t - p r i c e - c o n t a i n e r   l a b e l , 
 . s i n g l e - c o n t a i n e r   l a b e l , 
 . o r d e r - f o r m - s e c t i o n   l a b e l   { 
         t o p :   9 p x   ! i m p o r t a n t ; 
         l e f t :   1 0 p x   ! i m p o r t a n t ; 
         f o n t - s i z e :   1 2 p x   ! i m p o r t a n t ; 
         p a d d i n g :   0   5 p x   ! i m p o r t a n t ; 
         m a r g i n - b o t t o m :   - 1 0 p x   ! i m p o r t a n t ;   
 } 
 
 
  */
/* Remove internal table scrollbar */
.responsive-table {
    max-height: none !important;
    overflow-y: visible !important;
}

/* Reduce size of stat premium cards on Stocks page */
.stat-premium-card {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    min-height: 70px !important;
    gap: 12px !important;
}

.stat-premium-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    border-radius: 6px !important;
}

.stat-premium-title {
    font-size: 13px !important;
    margin-bottom: 4px !important;
}

.stat-premium-value {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Reduce size of profit and loss cards on Due List page */
.profit-card, .loss-card, .sales-card {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    min-height: 70px !important;
    min-width: 150px !important;
    gap: 12px !important;
}

.profit-card .stat-title, .loss-card .stat-title, .sales-card .stat-title {
    font-size: 13px !important;
    margin-bottom: 4px !important;
}

.profit-card .stat-value, .loss-card .stat-value, .sales-card .stat-value {
    font-size: 18px !important;
    font-weight: 700 !important;
}
.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:active, .sidebar-opner, .menu-openerr { outline: none !important; border: none !important; box-shadow: none !important; }

/* POS Sales Screen Layout & Product Card Improvements */
.search-product-card.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
}

.pos-product-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
    cursor: pointer;
}

.pos-product-card:hover {
    border-color: #ef4444 !important;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.15) !important;
    transform: translateY(-2px);
}

.pos-product-img-wrapper {
    width: 100% !important;
    height: 110px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    border: 1px solid #f1f5f9 !important;
}

.pos-product-img-wrapper img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.2s ease !important;
}

.pos-product-card:hover .pos-product-img-wrapper img {
    transform: scale(1.05);
}

.pos-summary-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
}

#loyalty-points-section {
    margin-bottom: 16px !important;
    border-radius: 12px !important;
}

.payment-method-row {
    margin-bottom: 8px !important;
}

/* Fix amount-info-container hardcoded height causing layout overflow into footer */
.amount-info-container {
    height: auto !important;
    min-height: auto !important;
}

.sales-container {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

.sales-main-container {
    align-items: start !important;
    margin-bottom: 24px !important;
}

/* Flexbox Footer Layout to prevent overlap and sticky footer behavior */
.section-container {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

.main-content {
    flex: 1 0 auto !important;
    min-height: auto !important;
    padding-bottom: 40px !important;
}

.erp-table-section {
    margin-bottom: 30px !important;
}

.business-footer {
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    clear: both !important;
    margin-top: auto !important;
    padding: 16px 24px !important;
    background-color: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    width: 100% !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.02) !important;
}

