.harimau-2-button {
    background: linear-gradient(114.95deg, #E62A2C 15.88%, #AD2533 84.12%);
    box-shadow: 0px -3px 4px 1px rgba(170, 170, 170, 0.3), 0px 4px 6px rgba(0, 0, 0, 0.25);
    border-radius: 100px !important;
    color: white !important;
}

/* style="color: white; font-style: normal; border-radius: 5px;" */

.all-product-status {
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 3px 3px 14px -3px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    color: #7E7E7E;
    height: 40px;
}

.choose-column {
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 3px 3px 14px -3px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    color: #7E7E7E;
    height: 40px;
}

.search-column {
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 3px 3px 14px -3px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    color: #7E7E7E;
}

.pr-nopadding {
    padding-right: 0 !important;
}

.harimau-button {
    background: linear-gradient(112.27deg, #C60047 14.52%, #B60041 85.48%) !important;
    box-shadow: 0px -3px 4px 1px rgba(170, 170, 170, 0.3), 0px 4px 6px rgba(0, 0, 0, 0.25) !important;
    border-radius: 100px !important;
    color: white !important;
}

.harimau-button a {
    color: white;
    text-decoration: none;
}

.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: #FEE8E8;
 }

 .updateStatus {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    box-shadow: 3px 3px 14px -3px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    font-weight: bold;
 }

 .table-title {
     font-size: 20px;
     color: #9D1B2F;
 }

.table-css {
    background: #FFFFFF;
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.gold-hr {
    background: #F21D1D;
    width: 94% !important;
    right: -3%;
    /* margin-top: 6% !important; */
    position: relative;
    width: 100%;
    height: 2px;
}

.panel-number {
    font-size: 20px;
}

.status {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    box-shadow: 3px 3px 14px -3px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    height: 40px;
}

.edit-button {
    background: linear-gradient(114.95deg, #E62A2C 15.88%, #AD2533 84.12%);
    border-radius: 100px;
    height: 40px !important;
    width: 47px;
}

.image-column {
    width: 100%;
}

.image-border {
    border-radius: 20px;
    height: 125px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff !important;
    background-color: #F21D1D !important;
    border-color: #F21D1D !important;
}

.page-link {
    color: #F21D1D !important;
}

/* table.table thead tr th {
  border-top: none;
} */

 /* .form-css {
     display: inline-block;
     float: right;
 } */

 /* .search-area {
     display: inline-block;
 } */

:root {
    --ml-font-display: Georgia, 'Times New Roman', serif;
    --ml-primary: #C2222E;
    --ml-primary-d: #A81A24;
    --ml-paper: #FFFFFF;
    --ml-coral-100: #FCE8E9;
    --ml-coral-50: #FDF4F5;
    --ml-cream: #FBF2F3;
    --ml-cream-2: #F5E5E7;
    --ml-hairline: #EA8992;
    --ml-hairline-2: #E2CDD0;
    --ml-ink-900: #2A1F22;
    --ml-ink-700: #5C4447;
    --ml-ink-500: #7A6366;
    --ml-ink-400: #A08486;
    --ml-success: #3DA35D;
    --ml-row-hover: #F5C5C7;
    --ml-row-dis-hover: #ECAAAD;
    --ml-meta-bg: #FF3333;
    --ml-meta-text: #fff;
    --ml-cb-border: #e98c8c;
}

.ml-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px 33px;
}

.ml-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    background: var(--ml-paper);
    border: 1.5px solid var(--ml-hairline-2);
    color: var(--ml-ink-900);
}
.ml-btn-ghost:hover {
    border-color: var(--ml-primary);
    color: var(--ml-primary);
    text-decoration: none;
}
.web-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ml-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--ml-hairline);
    border: 1px solid var(--ml-hairline);
    overflow: hidden;
}
.ml-stat {
    background: var(--ml-paper);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ml-stat-label {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ml-ink-500);
    font-weight: 600;
}
.ml-stat-value {
    font-family: var(--ml-font-display);
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ml-ink-900);
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.ml-stat-unit {
    font-size: 12px;
    font-weight: 500;
    color: var(--ml-ink-500);
    letter-spacing: 0;
    font-family: -apple-system, sans-serif;
}
.ml-stat-sub {
    font-size: 11px;
    color: var(--ml-ink-400);
    margin-top: 4px;
}
.ml-stat-sub-up { color: var(--ml-success); }
.ml-stat-sub-dn,
.ml-stat-sub-warn { color: var(--ml-primary); }
.ml-stat-value-warn { color: var(--ml-primary) !important; }

.ml-table-block {
    display: flex;
    flex-direction: column;
}

.ml-toolbar {
    background: var(--ml-paper);
    padding: 18px 22px;
    border: 1px solid var(--ml-hairline);
    border-bottom: none;
}
.ml-toolbar form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}
.ml-filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
    flex: 1;
    min-width: 0;
}
.ml-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ml-field-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ml-ink-500);
}
.ml-field-input,
.ml-field-select {
    height: 38px;
    padding: 6px 12px;
    font-size: 13px;
    background: var(--ml-cream);
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--ml-ink-900);
    outline: none;
    width: 180px;
    transition: border-color .15s, background .15s;
    font-family: inherit;
}
.ml-field-input {
    width: 100%;
}
.ml-field-input:focus,
.ml-field-select:focus {
    border-color: var(--ml-primary);
    background: var(--ml-paper);
}
.ml-field-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url('/images/icons/chevron-dark.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}
.ml-toolbar-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.ml-type-pill { font-size: 13px; }
.ml-type-pill-on { background: var(--ml-primary) !important; }

.ml-table-outer {
    background: var(--ml-paper);
    border: 1px solid var(--ml-hairline);
    border-top: none;
    overflow: hidden;
}
.ml-tbl-scroll {
    overflow-x: auto;
}

.ml-table-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    border-bottom: 1px solid var(--ml-hairline);
    background: var(--ml-meta-bg);
    gap: 12px;
    flex-wrap: wrap;
}
#ml-meta-default {
    display: flex;
    align-items: center;
    gap: 14px;
}
#ml-bulk-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ml-meta-count {
    font-size: 13px;
    color: var(--ml-meta-text);
}
.ml-meta-count strong {
    font-family: var(--ml-font-display);
    font-size: 20px;
    color: var(--ml-meta-text);
    font-weight: 600;
    margin-right: 3px;
}
.ml-selected-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--ml-meta-text);
}
.ml-btn-text {
    background: transparent;
    border: 0;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ml-meta-text);
    cursor: pointer;
    border-radius: 6px;
    transition: background .12s;
}
.ml-btn-text:hover { background: rgba(0,0,0,0.06); }

.ml-bulk-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: background .12s, border-color .12s, color .12s;
    border: 1px solid transparent;
}
.ml-bulk-btn-enable {
    background: #2F7A48;
    border-color: #2F7A48;
    color: #fff;
}
.ml-bulk-btn-enable:hover { background: #246037; border-color: #246037; }
.ml-bulk-btn-disable {
    background: #fff;
    border-color: #D9D2CB;
    color: var(--ml-ink-900);
}
.ml-bulk-btn-disable:hover { border-color: var(--ml-ink-700); }

.ml-bulk-div {
    width: 1px;
    height: 18px;
    background: var(--ml-meta-text);
    opacity: 0.3;
    display: inline-block;
}

.ml-tbl {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 14px;
}
.ml-tbl thead th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ml-ink-500);
    padding: 14px 16px;
    background: var(--ml-paper);
    border-bottom: 1px solid var(--ml-hairline);
    white-space: nowrap;
}
.ml-tbl thead th:first-child { padding-left: 22px; }
.ml-tbl thead th:last-child  { padding-right: 22px; }
.ml-tbl tbody tr {
    border-bottom: 1px solid var(--ml-hairline);
    transition: background .1s;
}
.ml-tbl tbody tr:last-child { border-bottom: none; }
.ml-tbl tbody tr.ml-row     { background: var(--ml-coral-50); }
.ml-tbl tbody tr.ml-row-alt { background: var(--ml-paper); }
.ml-tbl tbody tr.ml-row:hover { background: var(--ml-coral-100) !important; }
.ml-row-disabled { opacity: .85; }
.ml-row-disabled:hover { background: var(--ml-row-dis-hover) !important; }
.ml-tbl tbody td {
    padding: 18px 16px;
    vertical-align: middle;
    color: var(--ml-ink-900);
}
.ml-tbl tbody td:first-child { padding-left: 22px; }
.ml-tbl tbody td:last-child  { padding-right: 22px; }

.ml-th-check   { width: 40px; }
.ml-th-product { width: 26%; }
.ml-th-cat     { width: 30%; }
.ml-th-price   { width: 130px; }
.ml-th-qty     { width: 60px; text-align: right !important; }
.ml-th-status  { width: 160px; }
.ml-th-barcode { width: 80px; text-align: center !important; }
.ml-th-actions { width: 80px; text-align: center !important; }

.ml-td-check { width: 40px; padding-left: 22px !important; }
.ml-cb {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--ml-cb-border);
    border-radius: 4px;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    background: var(--ml-paper);
    transition: all .12s;
    vertical-align: middle;
    flex-shrink: 0;
}
.ml-cb:hover { border-color: var(--ml-primary); }
.ml-cb:checked {
    background: var(--ml-primary);
    border-color: var(--ml-primary);
}
.ml-cb:checked::after {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 1.8px solid #fff;
    border-bottom: 1.8px solid #fff;
    transform: rotate(-45deg) translate(1px,-1px);
}

.ml-cover {
    width: 56px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--ml-hairline);
    background: var(--ml-cream-2);
    box-shadow: 0 2px 6px rgba(42,31,34,.1);
    flex-shrink: 0;
}
.ml-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ml-product-cell {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.ml-product-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}
.ml-product-sub {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    min-height: 16px;
}
.ml-product-author {
    font-size: 13px;
    color: var(--ml-ink-500);
}

.ml-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ml-tag-pwos { background: #007bff; color: #fff; }
.ml-tag-wos  { background: #28a745; color: #fff; }

.ml-name-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.ml-name-display {
    font-size: 15px;
    font-weight: 600;
    color: var(--ml-ink-900);
    line-height: 1.4;
}

.ml-td-cat-cell { min-width: 155px; }
.ml-cat-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ml-cat-row {
    display: flex;
    gap: 6px;
    font-size: 12px;
}
.ml-cat-k {
    color: var(--ml-ink-500);
    min-width: 80px;
    flex-shrink: 0;
}
.ml-cat-v {
    color: var(--ml-ink-900);
    font-weight: 500;
}

.ml-td-qty { text-align: right; vertical-align: middle; }
.ml-qty {
    font-size: 14px;
    font-weight: 600;
    color: var(--ml-ink-900);
    display: block;
    text-align: right;
}
.ml-qty-low { color: var(--ml-primary); }

.ml-td-status { vertical-align: middle; }

select.ml-status-select {
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    padding: 5px 22px 5px 10px !important;
    cursor: pointer;
    min-width: 120px;
    border: 2px solid var(--ml-hairline-2) !important;
    box-shadow: none !important;
    background-color: var(--ml-cream) !important;
    background-image: url('/images/icons/chevron-dark.svg') !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    color: var(--ml-ink-700) !important;
    font-family: inherit !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
select.ml-status-select option {
    background: #fff !important;
    font-weight: normal !important;
}
select.ml-status-select option:not(:disabled) {
    color: #333 !important;
}
select.ml-status-select.green-selected {
    background-color: #22c35e !important;
    background-image: url('/images/icons/chevron-white.svg') !important;
    border-color: #068325 !important;
    color: #fff !important;
}
select.ml-status-select.red-selected {
    background-color: #E62A2C !important;
    background-image: url('/images/icons/chevron-white.svg') !important;
    border-color: #AD2533 !important;
    color: #fff !important;
}

.ml-genre-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    max-width: 220px;
}
.ml-genre-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: var(--ml-coral-50);
    color: var(--ml-primary-d);
    border: 1px solid var(--ml-hairline-2);
    white-space: nowrap;
    text-align: center;
}

.ml-barcode-input {
    width: 72px;
    padding: 5px 4px;
    text-align: center;
    background: var(--ml-cream);
    border: 1px solid var(--ml-hairline-2);
    border-radius: 6px;
    font-size: 12px;
    color: #000;
}
.ml-barcode-input:focus {
    border-color: var(--ml-primary);
    background: var(--ml-paper);
    outline: none;
}
.ml-barcode-input::-webkit-inner-spin-button,
.ml-barcode-input::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button;
    opacity: 1;
    cursor: pointer;
}
.ml-td-center { text-align: center; }

.ml-td-price { vertical-align: middle; }
.ml-price-list { display: flex; flex-direction: column; gap: 2px; }
.ml-price-row {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
.ml-price-k {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ml-ink-500);
}
.ml-price-v {
    font-weight: 600;
    color: var(--ml-ink-900);
    font-size: 13px;
    white-space: nowrap;
}

.ml-td-actions { text-align: center; vertical-align: middle; }
.ml-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.ml-icon-btn {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    color: var(--ml-ink-500);
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .12s, color .12s;
    flex-shrink: 0;
}
.ml-icon-btn:hover {
    background: var(--ml-coral-100);
    color: var(--ml-primary);
    text-decoration: none;
}
.ml-icon-btn-danger:hover {
    color: var(--ml-primary) !important;
}

.ml-qe-row { background: var(--ml-coral-50) !important; }
.ml-quick-edit {
    border-top: 2px solid var(--ml-primary);
    border-bottom: 2px solid var(--ml-primary);
    background: var(--ml-coral-50);
}
.ml-qe-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 11px;
    letter-spacing: .12em;
    font-weight: 700;
    color: var(--ml-primary-d);
    background: var(--ml-coral-100);
    border-bottom: 1px solid var(--ml-hairline-2);
}
.ml-qe-id {
    margin-left: 4px;
    color: var(--ml-ink-500);
    font-weight: 400;
    letter-spacing: 0;
    font-size: 12px;
    text-transform: none;
}
.ml-qe-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
    padding: 18px 22px;
}
.ml-qe-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ml-qe-field label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ml-ink-500);
}
.ml-qe-field input,
.ml-qe-field select,
.ml-qe-field textarea {
    width: 100%;
    background: var(--ml-paper);
    border: 1px solid var(--ml-hairline-2);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--ml-ink-900);
    outline: none;
    font-family: inherit;
    transition: border-color .15s;
}
.ml-qe-field input:focus,
.ml-qe-field select:focus { border-color: var(--ml-primary); }
.ml-qe-field select[multiple] {
    height: 100px;
    padding: 4px 6px;
}
.ml-qe-field .select2-container { width: 100% !important; }
.ml-qe-field .select2-container--classic .select2-selection--single {
    background: var(--ml-paper);
    border: 1px solid var(--ml-hairline-2);
    border-radius: 6px;
    height: auto;
    min-height: 38px;
    padding: 4px 6px;
}
.ml-qe-field .select2-container--classic .select2-selection--single:focus,
.ml-qe-field .select2-container--classic.select2-container--focus .select2-selection--single,
.ml-qe-field .select2-container--classic.select2-container--open .select2-selection--single {
    border-color: var(--ml-primary);
    background: var(--ml-paper);
}
.ml-qe-field .select2-container--classic .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    padding-left: 4px;
    color: var(--ml-ink-900);
}
.ml-qe-field .select2-container--classic .select2-selection--single .select2-selection__arrow {
    height: 100%;
    background: transparent;
    border-left: none;
}
.ml-qe-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 22px;
    border-top: 1px solid var(--ml-hairline-2);
    background: var(--ml-coral-100);
}

#confirmDelete.modal {
    display: none;
    align-items: center;
    justify-content: center;
}
#confirmDelete.modal.show { display: flex !important; }
#confirmDelete .modal-dialog {
    margin: 0 auto;
    max-width: 420px;
    width: 100%;
}
body.modal-open { overflow: hidden; }

.ml-empty { text-align: center; padding: 60px 20px !important; }
.ml-empty-title {
    font-family: var(--ml-font-display);
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--ml-ink-500);
}

.ml-pagination { padding: 14px 22px; }

.ml-qty-zero { color: var(--ml-ink-400); }

.float_btn {
    position: fixed;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    transition: width .3s;
    cursor: pointer;
    z-index: 2;
}
.print-barcode,
.barcode-qty-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
.float_btn_icon { width: 30px; height: 30px; }
.float_btn_label { display: none; margin-left: 10px; line-height: 1; }
@media (min-width: 1200px) {
    .float_btn { bottom: 60px; right: 50px; }
    .float_btn:hover { width: 140px; }
    .float_btn:hover .float_btn_icon { margin-left: 5px; }
    .float_btn:hover .float_btn_label { display: block; }
}
@media (max-width: 1200px) {
    .float_btn { bottom: 40px; right: 20px; }
}

@media (max-width: 1100px) {
    .ml-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .ml-stats { grid-template-columns: 1fr; }
    .ml-toolbar { padding: 12px 14px; }
    .ml-toolbar form {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .ml-filter-group {
        flex-direction: column;
        gap: 8px;
    }
    .ml-field { min-width: 100%; width: 100%; }
    .ml-field-search, .ml-field-btns { flex: unset; align-self: auto !important; }
    .ml-field-btns > div { flex-wrap: wrap; }
    .ml-field-input,
    .ml-field-select { width: 100%; }
    .ml-toolbar-actions { flex-wrap: wrap; gap: 6px; }
    .ml-qe-body { grid-template-columns: 1fr; }
    .ml-pagination {
        padding: 10px 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .ml-pagination .pagination {
        flex-wrap: nowrap;
        margin-bottom: 0;
    }
}
