:root {
    --clr-primary: var(--dynamic-primary, #c52127);
    --secondary-color: var(--dynamic-secondary, #0071bc);
    --sidebar-color: var(--dynamic-sidebar, #ffffff);
    --clr-secondary: #0071bc;
    --clr-white: #fff;
    --clr-black: #000;
    --clr-dark: #101828;
    --clr-light: #344054;
    --clr-light-sm: #dee2e6;
}

/* ============================================
   SIDEBAR - LIGHT MODE (white bg + dark text)
   Scoped with :root:not([data-theme="dark"]) so
   dark-mode.css still takes over when dark theme
   ============================================ */
:root:not([data-theme="dark"]) .side-bar {
    background: #ffffff !important;
    box-shadow: 0 0 8px rgba(45, 51, 103, 0.12) !important;
}

:root:not([data-theme="dark"]) .side-bar-logo {
    border-bottom-color: #eeeeee;
}

:root:not([data-theme="dark"]) .sb-cat-header {
    color: rgba(0, 0, 0, 0.35);
}

:root:not([data-theme="dark"]) .side-bar-manu li a {
    color: #3c4257 !important;
}

:root:not([data-theme="dark"]) .side-bar-manu li .dropdown-menu li a {
    color: #3c4257 !important;
}

:root:not([data-theme="dark"]) .side-bar-manu li .dropdown-menu li a:hover,
:root:not([data-theme="dark"]) .side-bar-manu li .dropdown-menu li a.active {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.08) !important;
    border-radius: 10px;
}

:root:not([data-theme="dark"]) .side-bar-manu li a .sidebar-icon {
    color: #6b7280 !important;
}
:root:not([data-theme="dark"]) .side-bar-manu li a .sidebar-icon svg {
    fill: #6b7280 !important;
}
:root:not([data-theme="dark"]) .side-bar-manu li a .sidebar-icon svg path {
    fill: #6b7280 !important;
}
/* Business stroke icons: keep outline (stroke) not fill */
:root:not([data-theme="dark"]) .side-bar-manu li a .sidebar-icon svg [stroke],
:root:not([data-theme="dark"]) .side-bar-manu li a .sidebar-icon svg path[stroke],
:root:not([data-theme="dark"]) .side-bar-manu li a .sidebar-icon svg circle[stroke],
:root:not([data-theme="dark"]) .side-bar-manu li a .sidebar-icon svg rect[stroke] {
    fill: none !important;
    stroke: #6b7280 !important;
}

:root:not([data-theme="dark"]) .side-bar-manu li.active > a {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #000000 !important;
    border-radius: 10px;
}

:root:not([data-theme="dark"]) .side-bar-manu li:hover > a {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #000000 !important;
    border-radius: 10px;
}

:root:not([data-theme="dark"]) .side-bar-manu li.active::after,
:root:not([data-theme="dark"]) .side-bar-manu li:hover::after {
    display: none !important;
}

:root:not([data-theme="dark"]) .side-bar-manu li.active > a .sidebar-icon,
:root:not([data-theme="dark"]) .side-bar-manu li:hover > a .sidebar-icon {
    color: var(--clr-primary) !important;
}
:root:not([data-theme="dark"]) .side-bar-manu li.active > a .sidebar-icon svg {
    fill: var(--clr-primary) !important;
}

:root:not([data-theme="dark"]) .side-bar-manu li.active > a .sidebar-icon svg path {
    fill: var(--clr-primary) !important;
}

:root:not([data-theme="dark"]) .side-bar-manu li:hover > a .sidebar-icon svg {
    fill: var(--clr-primary) !important;
}

:root:not([data-theme="dark"]) .side-bar-manu li:hover > a .sidebar-icon svg path {
    fill: var(--clr-primary) !important;
}
/* Business stroke icons: active/hover keep stroke outline */
:root:not([data-theme="dark"]) .side-bar-manu li.active > a .sidebar-icon svg [stroke],
:root:not([data-theme="dark"]) .side-bar-manu li.active > a .sidebar-icon svg path[stroke],
:root:not([data-theme="dark"]) .side-bar-manu li.active > a .sidebar-icon svg circle[stroke],
:root:not([data-theme="dark"]) .side-bar-manu li.active > a .sidebar-icon svg rect[stroke],
:root:not([data-theme="dark"]) .side-bar-manu li:hover > a .sidebar-icon svg [stroke],
:root:not([data-theme="dark"]) .side-bar-manu li:hover > a .sidebar-icon svg path[stroke],
:root:not([data-theme="dark"]) .side-bar-manu li:hover > a .sidebar-icon svg circle[stroke],
:root:not([data-theme="dark"]) .side-bar-manu li:hover > a .sidebar-icon svg rect[stroke] {
    fill: none !important;
    stroke: var(--clr-primary) !important;
}

:root:not([data-theme="dark"]) .side-bar-manu .sidebar-icon img {
    filter: brightness(0) opacity(0.55);
}

:root:not([data-theme="dark"]) .side-bar-manu li.active > a .sidebar-icon img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(86%) saturate(7394%) hue-rotate(351deg) brightness(92%) contrast(95%);
}

:root:not([data-theme="dark"]) .side-bar-manu li:hover > a .sidebar-icon img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(86%) saturate(7394%) hue-rotate(351deg) brightness(92%) contrast(95%);
}

:root:not([data-theme="dark"]) .side-bar-manu .dropdown::before {
    color: #9aa0ac;
}

:root:not([data-theme="dark"]) .side-bar-manu li:hover > .dropdown::before,
:root:not([data-theme="dark"]) .side-bar-manu .dropdown:hover::before,
:root:not([data-theme="dark"]) .side-bar-manu .dropdown.active > .dropdown::before {
    color: var(--clr-primary);
}

:root:not([data-theme="dark"]) .side-bar-manu li.active:before {
    color: var(--clr-primary) !important;
}

:root:not([data-theme="dark"]) .side-bar-manu .dropdown.active>.dropdown-menu .dropdown.active>a,
:root:not([data-theme="dark"]) .side-bar-manu .dropdown.active>.dropdown-menu .dropdown.active .active {
    background: rgba(0, 0, 0, 0.06) !important;
    border-radius: 10px;
}

:root:not([data-theme="dark"]) .side-bar-manu .dropdown.active .active {
    background-color: rgba(0, 0, 0, 0.06) !important;
    border-radius: 10px;
}

:root:not([data-theme="dark"]) .side-bar-manu li .dropdown-menu li a:hover,
:root:not([data-theme="dark"]) .side-bar-manu li .dropdown-menu li a.active {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.06) !important;
    border-radius: 10px;
}

:root:not([data-theme="dark"]) .side-bar .version-text {
    color: #6b7280 !important;
}

/* ============================================
   SIDEBAR LOGO - landing-page brand
   (posLogoMark + "PosPro") light & dark ready
   ============================================ */
.side-bar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
}

.side-bar-logo .sb-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    text-decoration: none;
}

.side-bar-logo .sb-logo-mark {
    height: 30px;
    width: auto;
    flex: none;
}

.sb-logo-text {
    font-size: 45px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.4px;
    color: #101828;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.sb-logo-text > span {
    color: #007bff;
}

:root:not([data-theme="dark"]) .side-bar-logo {
    border-bottom-color: #eeeeee;
}

:root:not([data-theme="dark"]) .sb-logo-text {
    color: #101828;
}

html[data-theme="dark"] .side-bar-logo {
    border-bottom-color: var(--dm-border, #2a2a35);
}

html[data-theme="dark"] .sb-logo-text {
    color: var(--dm-text-primary, #e4e4e8);
}

/* Image logo (when no text logo is set) and the small icon for the collapsed sidebar */
.side-bar-logo .sb-logo-img {
    display: block;
    width: auto;
    max-width: 170px;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

.side-bar-logo .sb-logo-collapsed {
    display: none;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.side-bar.active .side-bar-logo .sb-logo-img {
    display: none;
}

.side-bar.active .side-bar-logo .sb-logo-collapsed {
    display: block;
}

.side-bar.active:hover .side-bar-logo .sb-logo-img {
    display: block;
}

.side-bar.active:hover .side-bar-logo .sb-logo-collapsed {
    display: none;
}

/* collapsed (60px) sidebar: icon only */
.side-bar.active .side-bar-logo .sb-logo-text {
    display: none;
}

.side-bar.active .side-bar-logo .sb-logo-link {
    justify-content: center;
    width: 100%;
}

/* expanded on hover (large devices): logo text is shown again */
.side-bar.active:hover .side-bar-logo .sb-logo-text {
    display: inline-block;
}

.side-bar.active:hover .side-bar-logo .sb-logo-link {
    justify-content: flex-start;
    width: auto;
}

/* sidebar stays above the navbar on all breakpoints */
.side-bar {
    z-index: 80;
}

[dir="rtl"] .side-bar {
    z-index: 80 !important;
}

/* auth pages (login/forgot/reset): theme-aware background, no brand red */
:root:not([data-theme="dark"]) .footer,
:root:not([data-theme="dark"]) .footer .footer-logo {
    background-color: #f7f7f7;
}

html[data-theme="dark"] .footer .footer-logo {
    background-color: var(--dm-bg-primary);
}

/* auth pages: sidebar-style logo centered, toggle on the same row */
.footer .footer-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 28px 0;
}

.footer .footer-logo .auth-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.footer .footer-logo .auth-logo-link .sb-logo-mark {
    height: 30px;
    width: auto;
}

.footer .footer-logo .auth-logo-link .sb-logo-text {
    font-weight: 800;
    letter-spacing: -0.4px;
    white-space: nowrap;
}

.auth-theme-toggle {
    display: flex;
    align-items: center;
    z-index: 1080;
}

/* login page (only): bigger logo */
.footer .footer-logo .auth-logo-link.auth-logo-lg .sb-logo-mark {
    height: 42px;
}

/* auth pages: mobile responsive */
@media (max-width: 1200px) {
    .footer .footer-logo {
        display: flex !important;
    }
}

@media (max-width: 575px) {
    .footer {
        min-height: 100vh;
        padding: 10px 0;
    }

    .footer .footer-logo {
        padding: 14px 18px 0;
    }

    .mybazar-login-section {
        height: auto !important;
        min-height: calc(100vh - 90px);
        padding: 0 8px;
        overflow: hidden;
    }

    .mybazar-login-section .mybazar-login-wrapper {
        margin: 20px 0 30px !important;
        width: 100% !important;
    }

    .mybazar-login-section .mybazar-login-wrapper .login-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 24px 20px !important;
    }

    .mybazar-login-section .login-wrapper h2 {
        font-size: 22px;
        line-height: 30px;
        flex-wrap: wrap;
    }

    .mybazar-login-section .login-wrapper h2 span {
        margin-left: 0;
        display: block;
        margin-top: 2px;
    }

    .mybazar-login-section .login-wrapper h6 {
        font-size: 15px;
        line-height: 22px;
    }

    .login-body {
        padding: 0 !important;
    }
}

/* on small screens the sidebar opens full-width (300px);
   .active is used for "open", so undo collapsed behavior */
@media (max-width: 1150px) {
    .side-bar.active .side-bar-logo .sb-logo-text {
        display: inline-block;
    }

    .side-bar.active .side-bar-logo .sb-logo-link {
        justify-content: flex-start;
        width: auto;
    }

    .side-bar.active .sb-cat-header {
        display: block !important;
    }

    .side-bar.active .side-bar-manu li a .sidebar-icon {
        margin-right: 10px;
        position: static;
        left: auto;
    }

    .side-bar.active:hover {
        width: 300px !important;
    }

    .side-bar.active .side-bar-manu li a {
        white-space: normal;
    }
}

/* ============================================
   SIDEBAR CLOSE BUTTON - light & dark ready
   ============================================ */
.close-btn {
    position: absolute;
    right: 14px;
    top: 14px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: transparent;
    border: 1px solid transparent;
    color: #5b6270;
    font-size: 15px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

:root:not([data-theme="dark"]) .close-btn {
    color: #5b6270;
}

:root:not([data-theme="dark"]) .close-btn:hover {
    color: var(--clr-primary);
    background: rgba(197, 33, 39, 0.06);
}

html[data-theme="dark"] .close-btn {
    color: var(--dm-text-secondary, #a0a0a8);
}

html[data-theme="dark"] .close-btn:hover {
    color: var(--clr-primary);
    background: rgba(197, 33, 39, 0.12);
}

@media (max-width: 1150px) {
    .close-btn {
        display: flex;
    }
}

.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;
}

.feature-wrp {
    position: relative;
}

.delete-feature {
    position: absolute;
    top: 4px;
    right: 0;
    height: 20px;
    width: 20px;
    cursor: pointer;
}

.switch-container {
    padding-right: 25px;
}

.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;
}

/* Scoped fix for plans module checkbox alignment */
.enabled-modules-section .table-custom-checkbox {
    display: inline-flex;
    align-items: center;
    padding-left: 30px;
}
.enabled-modules-section .table-custom-checkmark {
    top: 50%;
    transform: translateY(-50%);
}
.enabled-modules-section .table-custom-checkbox .custom-checkmark:after {
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.dropdown-menu-scroll {
    max-height: 400px;
    overflow-y: auto;
    width: 220px;
    overflow-x: hidden !important;
}

.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;
}

.sales-container .bulk-upload-btn {
    background-color: #567df41a;
    color: #4d4d4d;
    padding: 2px 6px;
    border-radius: 4px;
}

.sales-container .sales-btn {
    background-color: #9e0de81a;
    color: #4d4d4d;
    padding: 2px 6px;
    border-radius: 4px;
}

.sales-container .calculator-btn {
    background-color: #007aff1a;
    color: #4d4d4d;
    border: none;
}

.sales-container .dashboard-btn {
    background-color: #ff3b301a;
    color: #4d4d4d;
    padding: 2px 6px;
    border-radius: 4px;
}

.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: 50px;
}

.hr-container hr {
    border: 1px solid var(--clr-primary) 4d;
}

.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 1fr;
}

.save-btn {
    background-color: var(--secondary-color);
    color: white;
    width: 100%;
    border: none;
    height: 48px;
    border-radius: 6px;
}

.payment-btn {
    background-color: var(--clr-primary);
    color: white;
    width: 100%;
    border: none;
    height: 48px;
    border-radius: 6px;
}

.form-control-amount {
    background-color: white;
}

.payment-container {
    background-color: #f5f3f380;
    border-radius: 8px;
    padding: 12px 15px 5px 15px;
}

.cancel-sale-btn {
    margin-top: 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: 48px;
    border-radius: 6px;
    padding-left: 15px;
    padding-right: 15px;
}

.main-container .products-header .brand-btn {
    background-color: #007aff;
    color: white;
    border: none;
    height: 48px;
    border-radius: 6px;
    padding-left: 15px;
    padding-right: 15px;
}

.search-input {
    border-radius: 0.25rem;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border: 1px solid #ced4da;
    padding: 0.5rem;
    flex-grow: 1;
}

.btn-category {
    background-color: var(--secondary-color);
    color: white;
    padding-top: 9px;
    padding-bottom: 9px;
}

.btn-brand {
    background-color: #1e90ff;
    color: white;
    padding-top: 9px;
    padding-bottom: 9px;
}

.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;
    border: 1px solid var(--clr-primary);
    width: 48px;
}

.btn-search:hover {
    border: 1px solid var(--clr-primary);
}

.btn-search svg {
    height: 25px;
    width: 25px;
}

.btn-search:hover,
.btn-search:focus,
.btn-search:active {
    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;
    border-radius: 6px;
    border: 1px solid #d8d8d8;
    width: 100%;
    margin-top: 4px;
    cursor: pointer;
}

.products .single-product:hover {
    border: 1px solid var(--clr-primary);
}

.products .single-product .product-con {
    padding: 12px;
}

.products .single-product .pro-img img {
    border-radius: 6px;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    object-fit: cover;
    width: 100%;
    height: 145px;
}

.products .single-product .pro-title {
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
}

.products .single-product .pro-price {
    font-weight: 600;
    font-size: 14px;
    color: #10B981;
}

.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;
    min-height: 46px;
    box-sizing: border-box;
}

/* Inventory - POS-like searchable Select Product (like business::sales.pos) */
#inventoryProductDropdown.product-dropdown {
    border: none;
    background: transparent;
    height: 48px;
    min-height: 48px;
    position: relative;
}

#inventoryProductDropdown .product-selected {
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0 12px;
    border: 1px solid #e4e5e7;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    background: #fff;
}

/* POS-like dropdown positioning — no extra offset (search is now inside input) */
#inventoryProductDropdown .product-dropdown-options,
#inventoryProductDropdown .search-dropdown {
    top: calc(100% + 8px) !important;
}

.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;
    position: relative;
}

.product-title {
    font-weight: bold;
    font-size: 15px;
}

.product-in-stock {
    color: #34c759;
    font-weight: 500;
}

.product-price {
    font-weight: bold;
    color: #10B981;
}

.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;
}

.choices__list--dropdown {
    z-index: 20 !important;
}

.placeholder-btn {
    cursor: pointer;
}

.serial-remove-btn,
.add-row-icon {
    cursor: pointer;
    color: #c52127;
    font-size: 16px;
}

.kot-picker-btn {
    width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f8fafc;
    color: #64748b;
    border-left: 1px solid #e5e7eb;
    position: relative;
}

.share-btn {
    background-color: #CB30E0 !important;
}

.share-btn svg {
    height: 20px;
    width: 20px;
}

.share-option svg {
    height: 72px;
    width: 72px;
}

/* Backup Page Styles */
.backup-btn-save {
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
}

.backup-btn-generate {
    background-color: #6366f1;
    color: white;
    border: none;
    border-radius: 6px;
}

.backup-btn-save:hover,
.backup-btn-generate:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.backup-btn-save:hover,
.backup-btn-save:focus,
.backup-btn-save:active,
.backup-btn-save:focus-visible {
    background-color: #b91c1c;
    color: white;
    box-shadow: none;
}

.backup-btn-generate:hover,
.backup-btn-generate:focus,
.backup-btn-generate:active,
.backup-btn-generate:focus-visible {
    background-color: #4f46e5;
    color: white;
    box-shadow: none;
}

.backup-btn-save,
.backup-btn-generate {
    transition: all 0.3s ease;
}

.refresh-token-input {
    padding-right: 130px;
}

.btn-generate-token {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
}

.btn-generate-token:hover {
    background-color: #4f48de;
    color: white;
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.btn-generate-token:focus,
.btn-generate-token:active {
    background-color: #4f48de;
    color: white;
    box-shadow: none;
    transform: translateY(-50%);
}

.backup-form-control {
    width: 80px;
}

.backup-form-select {
    width: 120px;
}

/* Plan Edit: Subscriber Update Box */
.subscriber-warning-box {
    background-color: #fef9ee;
    border: 1px solid #fde9a8;
}

.subscriber-warning-icon {
    color: #d97706;
    font-size: 16px;
}

.subscriber-warning-title {
    font-size: 15px;
}

.subscriber-warning-text {
    font-size: 13px;
}

#apply_to_subscribers.form-check-input:checked {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
}

/* =====================
   Topbar search (POSpro design)
   ===================== */
.main-header-section .topbar-search {
    max-width: 380px;
    min-width: 0;
    position: relative;
}

.main-header-section .topbar-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    margin: 0;
    color: #8891a8;
    pointer-events: none;
}

.main-header-section .topbar-search input {
    width: 100%;
    height: 40px;
    border-radius: 999px;
    border: 1.5px solid #e2e6f0;
    background: #f6f8fc;
    padding: 0 14px 0 38px;
    font-size: 13.5px;
    color: #10142a;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.main-header-section .topbar-search input::placeholder {
    color: #8891a8;
}

.main-header-section .topbar-search input:focus {
    border-color: var(--clr-primary);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--clr-primary) 14%, transparent);
}

/* ==========================================================================
   UNIFIED DATE/TIME PICKER - Custom calendar icon for light & dark mode
   - Removes default browser calendar icon
   - Uses same custom SVG for both modes (dark gray in light, white in dark)
   - Clicking icon opens native picker via transparent overlay + JS fallback
   ========================================================================== */

/* Light mode (default) - dark gray calendar icon for all date/time inputs */
input[type="date"],
input[type="month"],
input[type="datetime-local"],
input[type="week"] {
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px 16px !important;
    padding-right: 38px !important;
}

input[type="time"] {
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px 16px !important;
    padding-right: 38px !important;
}

.form-control[type="date"],
.form-control[type="month"],
.form-control[type="time"],
.form-control[type="datetime-local"],
.form-control[type="week"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px 16px !important;
    padding-right: 38px !important;
}

.form-control[type="time"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") !important;
}

/* Hide default browser icon but keep clickable area over custom icon */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 38px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="month"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-inner-spin-button {
    display: none !important;
    -webkit-appearance: none !important;
}

/* Firefox fallback */
input[type="date"]::-moz-calendar-picker-indicator,
input[type="month"]::-moz-calendar-picker-indicator,
input[type="time"]::-moz-calendar-picker-indicator {
    opacity: 0 !important;
}

@media (max-width: 1199px) {
    .main-header-section .topbar-search {
        display: none;
    }
}

/* ==========================================================================
   Settings Page - Nav Tabs & Theme Default Card
   Moved from inline/internal css to external for maintainability
   ========================================================================== */
/* Settings nav tabs - transparent border style */
.nav-tabs .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover,
#settingsTab .nav-link.active,
#settingsTab .nav-link:focus,
#settingsTab .nav-link:hover,
.settings-link,
.settings-link.active,
.settings-link:hover {
    border: 1px solid transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    background: transparent !important;
}
.nav-tabs {
    --bs-nav-tabs-border-width: 1px;
    --bs-nav-tabs-link-active-border-color: transparent;
    --bs-nav-tabs-border-color: #d8d8d8;
    --bs-nav-tabs-link-hover-border-color: transparent;
}

/* Theme Default Mode Card - Light mode */
.theme-default-card {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.theme-default-card__icon {
    color: var(--clr-primary);
}
.theme-default-card__title {
    font-weight: 700;
    color: #111827;
}
.theme-default-card__desc {
    color: #6b6b75;
    font-size: 0.813rem;
    line-height: 1.5;
    margin-top: 0.25rem;
    display: block;
}
.theme-default-card__controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.theme-mode-label {
    font-size: 0.813rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.45;
    transition: opacity 0.2s ease, color 0.2s ease;
    color: #374151;
    user-select: none;
}
.theme-mode-label.is-active {
    opacity: 1;
    color: #111827;
    font-weight: 600;
}
.theme-mode-switch {
    cursor: pointer;
    margin: 0;
}
.theme-default-card .badge {
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.35em 0.6em;
    font-size: 0.7rem;
    border-radius: 999px;
}
.theme-current-badge {
    font-weight: 400 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0 !important;
}

/* ==========================================================
   Business sidebar icons - dynamic primary color
   Previously <img> icons used hardcoded filter for #C52127:
   filter: brightness(0) saturate(100%) invert(27%) sepia(86%) ...
   That did NOT change when admin primary_color changed.
   Now icons are inlined as SVG with stroke="currentColor" and
   colored via `color: var(--clr-primary)` so they follow
   --dynamic-primary from Super Admin theme_setting_admin.
   ========================================================== */
.side-bar-manu .sidebar-icon svg,
.side-bar-manu .sidebar-icon img {
    width: 22px;
    height: 22px;
    display: block;
}
.side-bar-manu .sidebar-icon {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
:root:not([data-theme="dark"]) .side-bar-manu .sidebar-icon {
    color: #6b7280;
}
:root:not([data-theme="dark"]) .side-bar-manu li.active > a .sidebar-icon,
:root:not([data-theme="dark"]) .side-bar-manu li:hover > a .sidebar-icon {
    color: var(--clr-primary) !important;
}
/* override hardcoded filter for <img> fallback - use mask if JS not yet run */
:root:not([data-theme="dark"]) .side-bar-manu .sidebar-icon img {
    filter: brightness(0) opacity(0.55) !important;
}
:root:not([data-theme="dark"]) .side-bar-manu li.active > a .sidebar-icon img,
:root:not([data-theme="dark"]) .side-bar-manu li:hover > a .sidebar-icon img {
    /* fallback - will be replaced by inline SVG via JS */
    filter: brightness(0) saturate(100%) invert(27%) sepia(86%) saturate(7394%) hue-rotate(351deg) brightness(92%) contrast(95%) !important;
}
html[data-theme="dark"] .side-bar-manu .sidebar-icon {
    color: #a0a0a8;
}
html[data-theme="dark"] .side-bar-manu li.active > a .sidebar-icon,
html[data-theme="dark"] .side-bar-manu li:hover > a .sidebar-icon {
    color: var(--clr-primary) !important;
}
.sidebar-icon-mask {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    background-color: currentColor !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
}
/* POS-like dropdown positioning — no extra offset (search is now inside input) */
#inventoryProductDropdown .product-dropdown-options,
#inventoryProductDropdown .search-dropdown {
    top: calc(100% + 8px) !important;
}

.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;
    position: relative;
}

.product-title {
    font-weight: bold;
    font-size: 15px;
}

.product-in-stock {
    color: #34c759;
    font-weight: 500;
}

.product-price {
    font-weight: bold;
    color: #10B981;
}

.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;
}

.choices__list--dropdown {
    z-index: 20 !important;
}

.placeholder-btn {
    cursor: pointer;
}

.serial-remove-btn,
.add-row-icon {
    cursor: pointer;
    color: #c52127;
    font-size: 16px;
}

.kot-picker-btn {
    width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f8fafc;
    color: #64748b;
    border-left: 1px solid #e5e7eb;
    position: relative;
}

.share-btn {
    background-color: #CB30E0 !important;
}

.share-btn svg {
    height: 20px;
    width: 20px;
}

.share-option svg {
    height: 72px;
    width: 72px;
}

/* Backup Page Styles */
.backup-btn-save {
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
}

.backup-btn-generate {
    background-color: #6366f1;
    color: white;
    border: none;
    border-radius: 6px;
}

.backup-btn-save:hover,
.backup-btn-generate:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.backup-btn-save:hover,
.backup-btn-save:focus,
.backup-btn-save:active,
.backup-btn-save:focus-visible {
    background-color: #b91c1c;
    color: white;
    box-shadow: none;
}

.backup-btn-generate:hover,
.backup-btn-generate:focus,
.backup-btn-generate:active,
.backup-btn-generate:focus-visible {
    background-color: #4f46e5;
    color: white;
    box-shadow: none;
}

.backup-btn-save,
.backup-btn-generate {
    transition: all 0.3s ease;
}

.refresh-token-input {
    padding-right: 130px;
}

.btn-generate-token {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
}

.btn-generate-token:hover {
    background-color: #4f48de;
    color: white;
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.btn-generate-token:focus,
.btn-generate-token:active {
    background-color: #4f48de;
    color: white;
    box-shadow: none;
    transform: translateY(-50%);
}

.backup-form-control {
    width: 80px;
}

.backup-form-select {
    width: 120px;
}

/* Plan Edit: Subscriber Update Box */
.subscriber-warning-box {
    background-color: #fef9ee;
    border: 1px solid #fde9a8;
}

.subscriber-warning-icon {
    color: #d97706;
    font-size: 16px;
}

.subscriber-warning-title {
    font-size: 15px;
}

.subscriber-warning-text {
    font-size: 13px;
}

#apply_to_subscribers.form-check-input:checked {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
}

/* =====================
   Topbar search (POSpro design)
   ===================== */
.main-header-section .topbar-search {
    max-width: 380px;
    min-width: 0;
    position: relative;
}

.main-header-section .topbar-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    margin: 0;
    color: #8891a8;
    pointer-events: none;
}

.main-header-section .topbar-search input {
    width: 100%;
    height: 40px;
    border-radius: 999px;
    border: 1.5px solid #e2e6f0;
    background: #f6f8fc;
    padding: 0 14px 0 38px;
    font-size: 13.5px;
    color: #10142a;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.main-header-section .topbar-search input::placeholder {
    color: #8891a8;
}

.main-header-section .topbar-search input:focus {
    border-color: var(--clr-primary);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--clr-primary) 14%, transparent);
}

/* ==========================================================================
   UNIFIED DATE/TIME PICKER - Custom calendar icon for light & dark mode
   - Removes default browser calendar icon
   - Uses same custom SVG for both modes (dark gray in light, white in dark)
   - Clicking icon opens native picker via transparent overlay + JS fallback
   ========================================================================== */

/* Light mode (default) - dark gray calendar icon for all date/time inputs */
input[type="date"],
input[type="month"],
input[type="datetime-local"],
input[type="week"] {
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px 16px !important;
    padding-right: 38px !important;
}

input[type="time"] {
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px 16px !important;
    padding-right: 38px !important;
}

.form-control[type="date"],
.form-control[type="month"],
.form-control[type="time"],
.form-control[type="datetime-local"],
.form-control[type="week"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px 16px !important;
    padding-right: 38px !important;
}

.form-control[type="time"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") !important;
}

/* Hide default browser icon but keep clickable area over custom icon */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 38px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="month"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-inner-spin-button {
    display: none !important;
    -webkit-appearance: none !important;
}

/* Firefox fallback */
input[type="date"]::-moz-calendar-picker-indicator,
input[type="month"]::-moz-calendar-picker-indicator,
input[type="time"]::-moz-calendar-picker-indicator {
    opacity: 0 !important;
}

@media (max-width: 1199px) {
    .main-header-section .topbar-search {
        display: none;
    }
}

/* ==========================================================================
   Settings Page - Nav Tabs & Theme Default Card
   Moved from inline/internal css to external for maintainability
   ========================================================================== */
/* Settings nav tabs - transparent border style */
.nav-tabs .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover,
#settingsTab .nav-link.active,
#settingsTab .nav-link:focus,
#settingsTab .nav-link:hover,
.settings-link,
.settings-link.active,
.settings-link:hover {
    border: 1px solid transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    background: transparent !important;
}

.nav-tabs {
    --bs-nav-tabs-border-width: 1px;
    --bs-nav-tabs-link-active-border-color: transparent;
    --bs-nav-tabs-border-color: #d8d8d8;
    --bs-nav-tabs-link-hover-border-color: transparent;
}

/* Theme Default Mode Card - Light mode */
.theme-default-card {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-default-card__icon {
    color: var(--clr-primary);
}

.theme-default-card__title {
    font-weight: 700;
    color: #111827;
}

.theme-default-card__desc {
    color: #6b6b75;
    font-size: 0.813rem;
    line-height: 1.5;
    margin-top: 0.25rem;
    display: block;
}

.theme-default-card__controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.theme-mode-label {
    font-size: 0.813rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.45;
    transition: opacity 0.2s ease, color 0.2s ease;
    color: #374151;
    user-select: none;
}

.theme-mode-label.is-active {
    opacity: 1;
    color: #111827;
    font-weight: 600;
}

.theme-mode-switch {
    cursor: pointer;
    margin: 0;
}

.theme-default-card .badge {
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.35em 0.6em;
    font-size: 0.7rem;
    border-radius: 999px;
}

.theme-current-badge {
    font-weight: 400 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0 !important;
}

/* ==========================================================
   Business sidebar icons - dynamic primary color
   Previously <img> icons used hardcoded filter for #C52127:
   filter: brightness(0) saturate(100%) invert(27%) sepia(86%) ...
   That did NOT change when admin primary_color changed.
   Now icons are inlined as SVG with stroke="currentColor" and
   colored via `color: var(--clr-primary)` so they follow
   --dynamic-primary from Super Admin theme_setting_admin.
   ========================================================== */
.side-bar-manu .sidebar-icon svg,
.side-bar-manu .sidebar-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.side-bar-manu .sidebar-icon {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

:root:not([data-theme="dark"]) .side-bar-manu .sidebar-icon {
    color: #6b7280;
}

:root:not([data-theme="dark"]) .side-bar-manu li.active>a .sidebar-icon,
:root:not([data-theme="dark"]) .side-bar-manu li:hover>a .sidebar-icon {
    color: var(--clr-primary) !important;
}

/* override hardcoded filter for <img> fallback - use mask if JS not yet run */
:root:not([data-theme="dark"]) .side-bar-manu .sidebar-icon img {
    filter: brightness(0) opacity(0.55) !important;
}

:root:not([data-theme="dark"]) .side-bar-manu li.active>a .sidebar-icon img,
:root:not([data-theme="dark"]) .side-bar-manu li:hover>a .sidebar-icon img {
    /* fallback - will be replaced by inline SVG via JS */
    filter: brightness(0) saturate(100%) invert(27%) sepia(86%) saturate(7394%) hue-rotate(351deg) brightness(92%) contrast(95%) !important;
}

html[data-theme="dark"] .side-bar-manu .sidebar-icon {
    color: #a0a0a8;
}

html[data-theme="dark"] .side-bar-manu li.active>a .sidebar-icon,
html[data-theme="dark"] .side-bar-manu li:hover>a .sidebar-icon {
    color: var(--clr-primary) !important;
}

.sidebar-icon-mask {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    background-color: currentColor !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
}
/* ===== Payment gateway settings ===== */
.gateway-nav-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
}

.gateway-nav-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.gateway-nav-title {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-black2);
}

.gateway-nav-subtitle {
    display: block;
    font-size: 12px;
    color: #98a2b3;
}

.gateway-nav-count {
    flex-shrink: 0;
    min-width: 26px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    color: var(--clr-primary);
    background: rgba(197, 33, 39, 0.1);
}

.gateway-search {
    position: relative;
    margin-bottom: 12px;
}

.gateway-search i {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 2;
    font-size: 12px;
    color: #98a2b3;
    transform: translateY(-50%);
    pointer-events: none;
}

.gateway-search .form-control {
    height: 38px;
    padding-left: 34px;
    font-size: 13px;
    border: 1px solid #e8ecf2;
    border-radius: 8px;
    box-shadow: none;
}

.gateway-search .form-control:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(197, 33, 39, 0.1);
}

.gateway-nav-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
    max-width: 100%;
    max-height: 380px;
    padding-right: 4px;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d7dce5 transparent;
}

.gateway-nav-list::-webkit-scrollbar {
    width: 5px;
}

.gateway-nav-list::-webkit-scrollbar-thumb {
    background: #d7dce5;
    border-radius: 10px;
}

.gateway-nav-list .nav-item {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

.gateway-nav-list .gateway-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 9px 12px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    color: #475467;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.gateway-nav-list .gateway-nav-link:hover {
    color: var(--clr-primary);
    background: #f5f7fa;
}

.gateway-nav-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gateway-status {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 20px;
}

.gateway-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
}

.gateway-status-not-configured {
    color: #667085;
    background: #f2f4f7;
}

.gateway-status-off {
    color: #b54708;
    background: #fffaeb;
}

.gateway-status-active {
    color: #027a48;
    background: #ecfdf3;
}

.gateway-nav-list .gateway-nav-link.active,
.gateway-nav-list .gateway-nav-link.active:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(197, 33, 39, 0.2);
}

.gateway-nav-list .gateway-nav-link.active:hover {
    background-color: var(--clr-primary) !important;
}

.gateway-nav-list .gateway-nav-link.active .gateway-status {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.gateway-empty {
    padding: 14px 12px;
    font-size: 13px;
    color: #98a2b3;
    text-align: center;
}

.gateway-panel-head {
    padding: 18px 20px 0;
}

.gateway-panel-head h5 {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-black2);
}

.gateway-panel-head small {
    font-size: 12px;
    color: #98a2b3;
}

@media (min-width: 768px) {
    .gateway-nav-list {
        max-height: 640px;
    }
}

.gateway-page-head {
    justify-content: flex-start;
    border-bottom: 0 !important;
}

.gateway-page-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.gateway-page-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 18px;
    color: var(--clr-primary);
    background: rgba(197, 33, 39, 0.1);
    border-radius: 10px;
}

.gateway-page-heading h4 {
    margin: 0 0 3px;
}

.gateway-page-heading small {
    font-size: 13px;
    line-height: 18px;
}

/* Super admin summary reports */
.report-summary-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    padding-bottom: 16px;
}
.report-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: 12px;
    padding: 0 16px 16px;
}
.report-summary-cards > div,
.report-summary-grid > div {
    padding: 14px;
    border: 1px solid #eaecf0;
    border-radius: 8px;
}
.report-summary-cards span {
    display: block;
    color: #667085;
    font-size: 13px;
}
.report-summary-cards strong {
    font-size: 20px;
}
.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 16px;
    padding: 0 16px 16px;
}
.report-summary-grid h5 {
    margin-bottom: 10px;
    font-size: 16px;
}

/* Previous / today / total due on sale invoices */
.invoice-due-summary {
    width: 100%;
    max-width: 280px;
    margin: 12px 0 22px;
    border: 1px solid #344054;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 4px;
}
.invoice-due-summary td {
    padding: 1px 8px;
    line-height: 1.35;
    font-size: 13px;
}
.invoice-due-summary tr:first-child td {
    padding-top: 4px;
}
.invoice-due-summary .invoice-due-total td {
    border-top: 1px solid #344054;
    padding-top: 3px;
    padding-bottom: 4px;
    font-weight: 700;
}

.invoice-display-options {
    border-top: 1px solid #e4e7ec;
    padding-top: 16px;
}
.invoice-display-options h6 {
    margin-bottom: 10px;
}
.invoice-display-options .form-check {
    margin-bottom: 6px;
}

/* Super admin SEO settings */
.seo-links a {
    margin-left: 12px;
}
.seo-section-title {
    margin: 24px 0 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e4e7ec;
}
.seo-page-box {
    border: 1px solid #e4e7ec;
    border-radius: 6px;
    padding: 12px;
}
.seo-page-box h6 {
    margin-bottom: 8px;
}
.seo-og-preview {
    max-width: 200px;
    margin-top: 8px;
    border-radius: 4px;
}

/* 3 inch thermal receipt: due box under the items */
.thermal-due-summary {
    margin-top: 8px;
    padding: 4px 6px;
    border: 1px dashed #000;
}
.thermal-due-summary p {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: #000;
}
.thermal-due-summary .thermal-due-total {
    margin-top: 2px;
    padding-top: 2px;
    border-top: 1px solid #000;
}

/* A5 invoice: the A4 layout fitted to 148 x 210 mm */
@page a5-invoice {
    size: A5 portrait;
    margin: 5mm;
}
.invoice-a5 .invoice-container {
    max-width: 580px;
    padding: 0 8px;
}
.invoice-a5 .invoice-content {
    page: a5-invoice;
}
.invoice-a5 .invoice-content.p-4 {
    padding: 12px !important;
}
.invoice-a5 .logo {
    padding-top: 0;
    margin-bottom: 4px;
}
.invoice-a5 .invoice-logo {
    width: 160px;
    height: 40px;
}
.invoice-a5 .address-container p {
    font-size: 10px !important;
    line-height: 1.3;
    margin-bottom: 0;
}
.invoice-a5 .right-invoice {
    font-size: 14px;
    max-width: 100px;
    padding: 2px 10px;
    margin-bottom: 6px;
}
.invoice-a5 .in-table-row td,
.invoice-a5 .in-table-row-bottom td,
.invoice-a5 .in-table-body td {
    font-size: 10px !important;
}
.invoice-a5 .in-table-body td {
    padding: 2px 3px;
}
.invoice-a5 .in-table-header .head-red,
.invoice-a5 .in-table-header .head-black {
    font-size: 10px;
    height: 24px !important;
    padding: 2px 3px;
}
.invoice-a5 .bottom-info-container {
    flex-wrap: wrap;
    gap: 6px 10px;
}
.invoice-a5 .word-amount {
    position: static;
    flex-basis: 100%;
    max-width: none;
    margin: 0;
    font-size: 11px;
    line-height: 16px;
}
.invoice-a5 .paid-by {
    padding-top: 0 !important;
}
.invoice-a5 .invoice-due-summary {
    max-width: 220px;
    margin: 6px 0 12px;
}
.invoice-a5 .invoice-due-summary td {
    font-size: 10px;
    padding: 1px 6px;
}
.invoice-a5 .bank-details-container {
    max-width: 230px;
}
.invoice-a5 .bank-details-container .bank-details-title,
.invoice-a5 .bank-details-container td {
    font-size: 10px !important;
}
.invoice-a5 .in-signature h4 {
    font-size: 11px !important;
}
.invoice-a5 .warranty-container-2 p,
.invoice-a5 .tax-powered {
    font-size: 10px;
}
.invoice-a5 .table {
    margin-bottom: 4px;
}
.invoice-a5 .in-table-row td,
.invoice-a5 .in-table-row-bottom td {
    line-height: 1.35;
}
.invoice-a5 .print-logo-container {
    padding: 0;
}
.invoice-a5 .bottom-info-container.mt-3 {
    margin-top: 8px !important;
}
.invoice-a5 .bank-details-container .bank-details-title {
    padding: 2px 8px !important;
}
.invoice-a5 .back-details-content {
    padding: 2px 6px;
}
.invoice-a5 .in-signature-container {
    margin: 10px 0 6px !important;
}
.invoice-a5 .warranty-container-2 {
    padding: 4px 6px;
    margin-top: 6px;
}
.invoice-a5 .a4-scanner-logo {
    padding: 4px 0 2px;
}
.invoice-a5 .a4-scanner-logo img {
    width: 34px;
    height: 34px;
}
.invoice-a5 .tax-powered {
    padding-top: 4px !important;
}
@media print {
    .invoice-a5 .invoice-container {
        max-width: none;
        padding: 0;
    }
    .invoice-a5 .invoice-content.p-4 {
        padding: 0 !important;
    }
}
.invoice-image-a5 {
    max-width: 75%;
}

/* Custom invoice header (drag & drop designer) */
.invoice-custom-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 0 10px;
    color: #000;
}
.invoice-custom-header-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.invoice-custom-header-left,
.invoice-custom-header-left .invoice-custom-header-group {
    align-items: flex-start;
    text-align: left;
}
.invoice-custom-header-center,
.invoice-custom-header-center .invoice-custom-header-group {
    align-items: center;
    text-align: center;
}
.invoice-custom-header-right,
.invoice-custom-header-right .invoice-custom-header-group {
    align-items: flex-end;
    text-align: right;
}
.invoice-custom-header-split {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.invoice-custom-header-split .invoice-custom-header-group:first-child {
    align-items: flex-start;
}
.invoice-custom-header-split .invoice-custom-header-group:last-child {
    align-items: flex-end;
    text-align: right;
}
.invoice-custom-header-logo {
    max-width: 220px;
    max-height: 60px;
    object-fit: contain;
}
.invoice-custom-header-name {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}
.invoice-custom-header-name-md {
    font-size: 16px;
}
.invoice-custom-header-name-lg {
    font-size: 22px;
}
.invoice-custom-header-name-xl {
    font-size: 28px;
}
.invoice-custom-header-line {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #000;
}
.invoice-custom-header-thermal {
    padding: 0 0 4px;
}
.invoice-custom-header-thermal .invoice-custom-header-logo {
    max-width: 140px;
    max-height: 50px;
}
.invoice-custom-header-thermal .invoice-custom-header-name-lg {
    font-size: 18px;
}
.invoice-custom-header-thermal .invoice-custom-header-name-xl {
    font-size: 22px;
}
.invoice-custom-header-thermal .invoice-custom-header-line {
    font-size: 11px;
}
.invoice-a5 .invoice-custom-header-logo {
    max-width: 160px;
    max-height: 42px;
}
.invoice-a5 .invoice-custom-header-name-lg {
    font-size: 18px;
}
.invoice-a5 .invoice-custom-header-name-xl {
    font-size: 22px;
}
.invoice-a5 .invoice-custom-header-line {
    font-size: 10px;
}

.invoice-header-designer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e4e7ec;
}
.invoice-header-designer-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.invoice-header-designer-head p,
.invoice-header-note {
    margin: 0;
    font-size: 13px;
    color: #667085;
}
.invoice-header-label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 600;
}
.invoice-header-align {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.invoice-header-items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.invoice-header-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    padding: 8px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    background: #fff;
    cursor: grab;
}
.invoice-header-item.is-dragging {
    opacity: 0.5;
    border-style: dashed;
}
.invoice-header-item.is-hidden .invoice-header-item-label {
    color: #98a2b3;
}
.invoice-header-handle {
    color: #98a2b3;
    letter-spacing: -3px;
}
.invoice-header-item-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    margin: 0;
    cursor: pointer;
}
.invoice-header-item-label .form-check-input {
    margin: 0;
}
.invoice-header-move {
    width: 28px;
    height: 28px;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    background: #f9fafb;
    line-height: 1;
}
.invoice-header-preview {
    padding: 16px;
    border: 1px dashed #d0d5dd;
    border-radius: 6px;
    background: #fff;
}
.invoice-header-preview-title {
    margin: 8px auto 0;
    padding: 2px 12px;
    max-width: 120px;
    border: 1px solid #000;
    border-radius: 30px;
    text-align: center;
    font-size: 16px;
    color: #000;
}
.invoice-header-logo-placeholder {
    display: inline-block;
    padding: 10px 24px;
    border: 1px dashed #98a2b3;
    color: #98a2b3;
    font-weight: 600;
}
html[data-theme="dark"] .invoice-header-item,
html[data-theme="dark"] .invoice-header-move {
    background: transparent;
    border-color: #475467;
}
.invoice-header-align .btn-check:checked + .btn {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: #fff;
}

/* Super Admin HRM */
.hrm-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hrm-btn-secondary {
    background: #fff;
    color: var(--clr-primary);
    border: 1px solid var(--clr-primary);
}
.hrm-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: 12px;
}
.hrm-stat-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #fff;
    color: #344054;
}
.hrm-stat-card span {
    font-size: 13px;
    color: #667085;
}
.hrm-stat-card strong {
    font-size: 22px;
    color: #101828;
}
.hrm-stat-card small {
    font-size: 12px;
    color: #667085;
}
.hrm-stat-warning {
    border-color: #fec84b;
    background: #fffcf5;
}
.hrm-panel {
    height: 100%;
    padding: 16px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #fff;
}
.hrm-panel h5 {
    margin-bottom: 12px;
    font-size: 16px;
}
.hrm-panel-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed #e4e7ec;
}
.hrm-panel-row:last-child {
    border-bottom: 0;
}
.hrm-panel-row small {
    display: block;
    color: #667085;
}
.hrm-empty {
    padding: 16px 0;
    text-align: center;
    color: #98a2b3;
}
.hrm-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    background: #f2f4f7;
    color: #344054;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.hrm-badge-active,
.hrm-badge-approved,
.hrm-badge-paid,
.hrm-badge-present {
    background: #ecfdf3;
    color: #027a48;
}
.hrm-badge-pending,
.hrm-badge-unpaid,
.hrm-badge-late,
.hrm-badge-half_day,
.hrm-badge-suspended {
    background: #fffaeb;
    color: #b54708;
}
.hrm-badge-rejected,
.hrm-badge-absent,
.hrm-badge-terminated {
    background: #fef3f2;
    color: #b42318;
}
.hrm-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.hrm-status-tabs a {
    padding: 6px 14px;
    border: 1px solid #e4e7ec;
    border-radius: 20px;
    color: #344054;
    font-size: 14px;
}
.hrm-status-tabs a span {
    margin-left: 4px;
    color: #98a2b3;
}
.hrm-status-tabs a.active {
    border-color: var(--clr-primary);
    background: var(--clr-primary);
    color: #fff;
}
.hrm-status-tabs a.active span {
    color: #fff;
}
.hrm-filter-input {
    width: auto;
    min-width: 0;
    flex: 1 1 150px;
}
.hrm-period-bar form {
    flex-wrap: wrap;
}
.hrm-period-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-right: 16px;
}
.hrm-report-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}
.hrm-report-filters > div {
    min-width: 170px;
}
.hrm-sheet-input {
    min-width: 120px;
}
.hrm-employee-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}
.hrm-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.hrm-avatar-lg {
    width: 64px;
    height: 64px;
}
.hrm-avatar-xl {
    width: 96px;
    height: 96px;
    margin-bottom: 8px;
}
.hrm-profile {
    text-align: center;
}
.hrm-profile p {
    color: #667085;
}
.hrm-profile-list,
.hrm-payslip-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    margin: 16px 0 0;
    text-align: left;
}
.hrm-profile-list dt,
.hrm-payslip-info dt {
    color: #667085;
    font-weight: 500;
}
.hrm-profile-list dd,
.hrm-payslip-info dd {
    margin: 0;
    word-break: break-word;
}
.hrm-payslip {
    max-width: 720px;
    margin: 0 auto;
}
.hrm-payslip-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #101828;
}
.hrm-payslip-head h3 {
    margin: 0;
    font-size: 20px;
}
.hrm-payslip-table {
    margin-top: 16px;
}
.hrm-payslip-total td {
    border-top: 2px solid #101828;
    font-weight: 700;
}
.hrm-payslip-note {
    color: #667085;
}
.hrm-payslip-sign {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
}
.hrm-payslip-sign span {
    min-width: 160px;
    padding-top: 6px;
    border-top: 1px solid #101828;
    text-align: center;
    font-size: 13px;
}
html[data-theme="dark"] .hrm-stat-card,
html[data-theme="dark"] .hrm-panel {
    background: transparent;
    border-color: #344054;
    color: inherit;
}
html[data-theme="dark"] .hrm-stat-card strong {
    color: inherit;
}

/* List and report filter rows: wrap onto several lines on phones and tablets instead of running off-screen */
@media (max-width: 991.98px) {
    .table-top-left {
        flex-wrap: wrap;
        row-gap: 10px !important;
        max-width: 100%;
    }
    .table-top-left > * {
        flex: 1 1 160px;
        min-width: 0;
        max-width: 100%;
    }
    .table-top-left > .table-search {
        flex-basis: 100%;
    }
    .table-top-left > .d-none {
        display: none !important;
    }
    .table-top-left .custom-from-to {
        flex-wrap: wrap;
    }
    .table-top-left .gpt-up-down-arrow select,
    .table-top-left .form-control {
        width: 100%;
        min-width: 0;
    }
}

.page-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.seo-hint {
    display: block;
    margin-top: 4px;
    color: #667085;
}

/* Checkbox and switch labels inside admin/business forms are not floating field labels */
.order-form-section .form-check-label {
    left: 0;
    top: 0;
    padding: 0 0 0 4px;
    background: transparent;
    text-align: start;
}
/* Long floating field labels wrap instead of running off small phones */
@media (max-width: 480px) {
    .order-form-section label {
        max-width: calc(100% - 28px);
        white-space: normal;
        line-height: 1.25;
    }
}
.report-summary-grid > * {
    min-width: 0;
    overflow-x: auto;
}

/* Due list ledger amounts */
.ledger-amount { color: var(--ink); }
.ledger-amount-pay { color: #16A34A; }

/* Plan card: keep the discount badge below the "Current Plan" ribbon */
.recommended-banner-container ~ .discount-badge-content { top: 56px; }

/* Right-to-left: the LTR grid gutters push the page a few pixels wider on phones; never scroll sideways */
html[dir="rtl"] body { overflow-x: clip; }

/* Super Admin › System Settings › Send a test email */
.system-test-mail {
    margin: 24px 16px 16px;
    padding: 18px 20px;
    border: 1px dashed #d0d5dd;
    border-radius: 12px;
}

.system-test-mail h5 {
    margin-bottom: 4px;
    font-weight: 700;
}

.system-test-mail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 620px;
}

.system-test-mail-row .form-control {
    flex: 1 1 260px;
}

/* CSV / PDF buttons beside a report filter keep off the card edge */
.table-top-form > .table-top-btn-group {
    margin-inline-end: 16px;
}

/* Multi-currency settings (Settings › Currency) */
.multi-currency-help {
    margin-bottom: 14px;
    font-size: 14px;
    color: #4b5563;
}

.multi-currency-add {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.multi-currency-add .gpt-up-down-arrow {
    min-width: 260px;
}

.multi-currency-rate {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.multi-currency-rate .form-control {
    width: 140px;
}

.multi-currency-remove {
    padding: 6px 10px;
    border: 0;
    border-radius: 6px;
    color: #dc2626;
    background: #fee2e2;
}

/* Currency picker and converted total on the POS / purchase screen */
.txn-currency-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.txn-currency-row select {
    flex: 1;
}

.txn-currency-rate {
    width: 110px;
}

.txn-currency-total {
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #065f46;
    background: #ecfdf5;
}

/* POS cart fields set every select/input to full width; the currency row splits it */
.txn-currency .txn-currency-row select {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.txn-currency .txn-currency-row .txn-currency-rate {
    flex: 0 0 110px;
    width: 110px;
}

.txn-currency-base {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.multi-currency-rate .form-control {
    border: 1px solid #d4d4d4;
    border-radius: 8px;
}

/* Staff logins: job presets and hints */
.staff-presets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.staff-presets-title {
    font-weight: 600;
    color: #344054;
}
.staff-presets .staff-preset-btn {
    padding: 6px 14px;
    font-size: 13px;
}
.staff-presets .theme-btn.border-btn.staff-preset-btn.active {
    background: #c52127;
    border-color: #c52127;
    color: #fff;
}
.staff-presets .staff-form-hint {
    flex-basis: 100%;
}
.staff-form-hint {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
    line-height: 1.4;
}
.staff-invite-row {
    padding-top: 28px;
}
.staff-invite-row label {
    margin: 0;
}
.staff-status-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #e7f6ec;
    color: #14803c;
}
.staff-status-pill.is-disabled {
    background: #fdecec;
    color: #b42318;
}

/* Main site logo (Super Admin › Settings › General › Logo) */
.site-logo-img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 220px;
    object-fit: contain;
}

/* Payslip print: only the slip, without the panel header, search bar, sidebar or footer. */
@media print {
    body:has(.hrm-payslip) {
        background: #fff !important;
    }
    body:has(.hrm-payslip) * {
        visibility: hidden;
    }
    body:has(.hrm-payslip) .hrm-payslip,
    body:has(.hrm-payslip) .hrm-payslip * {
        visibility: visible;
    }
    body:has(.hrm-payslip) .hrm-payslip {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-width: none;
        padding: 0 !important;
    }
    body:has(.hrm-payslip) .side-bar,
    body:has(.hrm-payslip) .main-header-section,
    body:has(.hrm-payslip) footer {
        display: none !important;
    }
    body:has(.hrm-payslip) .section-container {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Invoice button bar: a Bootstrap row without the side gutters, so phones get no sideways scroll. */
.row.print-container {
    margin-left: 0;
    margin-right: 0;
}

/* A form button in a table action menu looks like the menu's links. */
.table-action .dropdown-menu form {
    margin: 0;
}
.table-action .dropdown-menu .dropdown-email-btn {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: 0;
    background: transparent;
    text-align: start;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #7e7e7e;
}
.table-action .dropdown-menu .dropdown-email-btn i {
    margin-right: 7px;
    margin-left: 3px;
    color: #4d4d4d;
    font-weight: 500;
}
.table-action .dropdown-menu .dropdown-email-btn:hover {
    background: var(--accent-color);
    color: var(--clr-primary);
}

/* Stock Alerts page: low stock / expiring tabs */
.stock-alert-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stock-alert-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #374151;
    font-weight: 600;
}

.stock-alert-tab.active,
.stock-alert-tab:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.stock-alert-count {
    min-width: 24px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--clr-primary);
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.stock-alert-qty {
    color: #dc2626;
    font-weight: 700;
}

.pt-notif-alerts {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid #eef0f3;
}

.pt-notif-alert-link {
    flex: 1;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff5f5;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.pt-notif-alert-link.expiring {
    background: #fff8eb;
    color: #b45309;
}

/* Settings and message-template pages: tabs without borders or backgrounds (moved from the page <style> blocks). */
.plain-tabs-page .nav-tabs .nav-link,
.plain-tabs-page .nav-tabs .nav-link.active,
.plain-tabs-page .nav-tabs .nav-item.show .nav-link,
.plain-tabs-page .nav-tabs .nav-link:focus,
.plain-tabs-page .nav-tabs .nav-link:hover,
.plain-tabs-page #settingsTab .nav-link.active,
.plain-tabs-page #settingsTab .nav-link:focus,
.plain-tabs-page #settingsTab .nav-link:hover,
.plain-tabs-page .settings-link,
.plain-tabs-page .settings-link.active,
.plain-tabs-page .settings-link:hover {
    border: 1px solid transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    background: transparent !important;
}

.plain-tabs-page .nav-tabs {
    --bs-nav-tabs-border-width: 1px;
    --bs-nav-tabs-link-active-border-color: transparent;
    --bs-nav-tabs-border-color: #d8d8d8;
    --bs-nav-tabs-link-hover-border-color: transparent;
}

/* Purchase create / edit: product cards, same look as the POS product tile. */
.products-container .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.products-container .product-grid.compact { padding-top: 5px; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 1480px) { .products-container .product-grid { grid-template-columns: repeat(4, 1fr); } .products-container .product-grid.compact { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1280px) { .products-container .product-grid { grid-template-columns: repeat(3, 1fr); } .products-container .product-grid.compact { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 980px) { .products-container .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .products-container .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.products-container .product-tile { background: var(--pos-surface, #fff); border: 1.5px solid var(--pos-line, #E3E6EC); border-radius: 14px; padding: 10px; cursor: pointer; text-align: left; transition: border-color .15s, transform .15s, box-shadow .15s; box-shadow: 0 2px 8px rgba(0,0,0,.04); position: relative; overflow: hidden; display: flex; flex-direction: column; width: 100%; }
.products-container .product-tile:hover { border-color: var(--pos-primary, var(--clr-primary)); transform: translateY(-2px); box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--pos-primary, var(--clr-primary)) 35%, transparent); }
.products-container .product-tile .p-thumb { width: 100%; height: 85px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 9px; overflow: hidden; background: transparent; flex-shrink: 0; }
.products-container .product-tile .p-thumb img { width: 100%; height: 100%; object-fit: contain; }
.products-container .product-tile h4 { font-size: 12px; font-weight: 700; color: var(--pos-ink, #111827); margin: 0 0 3px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.products-container .product-tile .p-price { font-size: 13px; font-weight: 700; color: #10B981; }
.products-container .product-tile .p-batch-text { font-family: monospace; font-size: 11.5px; font-weight: 700; color: var(--pos-ink-soft, #5B6272); margin-top: 3px; }
.products-container .product-tile .p-meta { font-size: 10.5px; color: var(--pos-ink-faint, #9AA1B1); margin-top: 2px; align-items: center; gap: 4px; }
.products-container .product-tile .p-stock.zero { color: var(--pos-danger, #EF4444); font-weight: 600; }

/* Purchase cart: the quantity box between − and + keeps a readable width (it collapsed to 0 in the flex row). */
#purchase_cart_list .cart-qty {
    flex: 0 0 56px;
    width: 56px;
    min-width: 56px;
    font-size: 14px !important;
}
