html,
body {
    height: 100%;
}
body {
    font-size: 14px;
    padding-top: 54px;
}
.admin-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.admin-loading-overlay.show {
    opacity: 1;
    visibility: visible;
}
.admin-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e9ecef;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: admin-spin 0.8s linear infinite;
}
.admin-loading-text {
    margin-top: 16px;
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}
@keyframes admin-spin {
    to { transform: rotate(360deg); }
}
.btn-loading {
    position: relative;
    pointer-events: none;
}
.btn-loading .btn-text {
    visibility: hidden;
}
.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: admin-spin 0.6s linear infinite;
}
.card-loading {
    position: relative;
    pointer-events: none;
}
.card-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    border-radius: inherit;
}
.card-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid #e9ecef;
    border-top-color: #0d6efd;
    border-radius: 50%;
    z-index: 11;
    animation: admin-spin 0.7s linear infinite;
}
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 10px;
}
::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
.table {
    font-size: 14px;
}
h2 {
    font-weight: 700;
    font-size: 24px;
}
h3 {
    font-weight: 700;
    font-size: 17px;
}
.header-info {
    display: block;
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    color: #868686;
    margin-top: 0.5em;
}
.form-label {
    font-weight: 600;
}
hr {
    height: 0;
    background: transparent;
    border-top: 0;
    border-bottom: 1px dotted #222529;
}
.border-end-1 {
    border-right: 1px dotted #cccccc;
}
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 54px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 54px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}
.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}
.sidebar .nav-link {
    font-weight: 500;
    color: #333333;
}
.sidebar .nav-link i {
    width: 18px;
    text-align: center;
    margin-right: 5px;
}
.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #727272;
}
.sidebar .nav-link.active {
    color: #e6724b;
}
.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}
header.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}
.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}
.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}
.search-input-with-history {
    padding-right: 36px !important;
}
.search-history-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    color: #6c757d;
    font-size: 14px;
    line-height: 1;
    z-index: 5;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.search-history-btn:hover {
    color: #212529;
    background: rgba(0,0,0,0.05);
}
.search-history-btn:focus {
    outline: none;
}
.search-history-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1050;
    max-height: 300px;
    overflow-y: auto;
}
.search-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: 12px;
    color: #6c757d;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}
.search-history-clear {
    color: #dc3545;
    cursor: pointer;
    font-size: 11px;
}
.search-history-clear:hover {
    text-decoration: underline;
}
.search-history-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.search-history-item:last-child {
    border-bottom: none;
}
.search-history-item:hover {
    background: #f8f9fa;
}
.search-history-item i {
    color: #adb5bd;
    margin-right: 10px;
    font-size: 12px;
}
.search-history-query {
    flex: 1;
    color: #212529;
    font-size: 14px;
}
.search-history-type {
    font-size: 11px;
    color: #6c757d;
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
}
#searchSubmitBtn .spinner-border-sm {
    width: 14px;
    height: 14px;
    border-width: 2px;
}
.form-signin {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: auto;
}
.form-signin .checkbox {
    font-weight: 400;
}
.form-signin .form-floating:focus-within {
    z-index: 2;
}
.btn-login {
    background: #313437;
    color: #ffffff;
    font-weight: 600;
}
.btn-login:hover {
    background: #191c1f;
    color: #ffffff;
}
body.signin {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #191c1f;
}
.nav-tabs .nav-link {
    color: #868686;
}
.order-table {
    border: 1px solid #dee2e6;
    position: relative;
}
.order-table tbody tr:nth-child(odd) {
    background-color: #fbfbfb;
}
.order-table tbody td,
.order-table tbody th {
    border: 1px solid #dee2e6;
    padding: 5px 10px;
    vertical-align: top;
    white-space: nowrap;
    word-wrap: normal;
}
.order-table tr:hover {
    background-color: #f2f2f2;
}
.order-table .max-width-350 {
    min-width: 350px;
    max-width: 350px;
    word-wrap: break-word;
    white-space: normal;
}
.order-table .max-width-450 {
    min-width: 450px;
    max-width: 450px;
    word-wrap: break-word;
    white-space: normal;
}
.order-table thead {
    position: sticky;
    top: 0;
    background-color: #212529;
    color: #ffffff;
    z-index: 90;
}
.order-table thead th {
    white-space: nowrap;
    word-wrap: normal;
    color: #ffffff;
    background-color: #636974;
    padding: 5px 10px;
}
.order-table tfoot {
    position: sticky;
    bottom: 0;
    background-color: #ffffff;
    color: #212529;
    z-index: 90;
}
.order-table tfoot th {
    white-space: nowrap;
    word-wrap: normal;
    position: relative;
    padding: 5px 10px;
}
.order-table tfoot th::after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 3px solid #212529;
    z-index: 100;
}
.order-table .money-container {
    display: flex;
    justify-content: space-between;
}
.order-table .money-container .usd {
    margin-right: 10px;
}
.order-table .money-container .mnt {
    color: #828791;
    font-style: italic;
}
.order-table tbody tr th {
    position: sticky;
    left: 0;
    z-index: 80;
    background-color: #ffffff;
}
.order-table tbody tr th::after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    right: -1px;
    height: 100%;
    border-right: 1px solid #dee2e6;
    z-index: 90;
}
.order-table tbody tr:nth-child(odd) th {
    background-color: #fbfbfb;
}
.order-table tbody tr a,
.order-table tbody th a {
    color: #212529;
    text-decoration: none;
}
.order-table-pagination {
    padding: 15px 0;
}
.order-table-pagination .page-item.active .page-link {
    color: #ffffff;
    background-color: #6e757c;
    border-color: #6e757c;
    font-weight: 700;
}
.order-table-pagination .page-item.disabled .page-link {
    color: #dee2e6;
}
.order-table-pagination .page-link {
    color: #6e757c;
}
.order-table-pagination .page-link:hover {
    color: #6e757c;
    background-color: #dee2e6;
}
.order-table-pagination .pagination {
    margin: 0;
}
.chat-message-sidebar-item {
    border-bottom: 1px solid #d9dadb;
    display: block;
    text-decoration: none;
    color: #626262;
}
.chat-message-sidebar-item.active,
.chat-message-sidebar-item:hover {
    background: #ebebeb;
    color: #202124;
}
.chat-message-sidebar-box {
    border-right: 1px solid #d9dadb;
}
.chat-message-sidebar-item .icon {
    font-size: 26px;
    line-height: 26px;
    margin: 5px 0 0;
}
.chat-message-sidebar-id {
    font-weight: 700;
}
.chat-message-sidebar-last-time {
    font-weight: 600;
    font-style: italic;
    font-size: 13px;
}
.chat-message-box-sidebar-search {
    border-bottom: 1px solid #d9dadb;
}
.chat-message-box {
    background: #ffffff;
}
.chat-message-box-top {
    border-bottom: 1px solid #d9dadb;
}
.chat-message-box-top h1 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}
.chat-message-box-top p {
    font-size: 12px;
    margin: 0;
    font-style: italic;
    color: #6e757c;
}
.chat-message-sidebar-preview {
    font-size: 12px;
    margin: 0;
    font-style: italic;
    color: #6e757c;
}
.chat-messages {
    display: flex;
    flex-direction: column-reverse;
    max-height: 500px;
    overflow-y: scroll;
    scroll-behavior: smooth;
}
.chat-self-icon {
    font-size: 32px;
    line-height: 32px;
    margin: 0;
    color: #969b9f;
}
.chat-messages-left .message-box {
    background: #f5f5f5;
}
.chat-messages-right .message-box {
    background: #edeff4;
}
.landing-stats-item,
.stats-item {
    background: #f7f7f7;
}
.landing-stats-item table td,
.landing-stats-item table th {
    background: #f7f7f7;
}
.landing-stats-item table td {
    padding: 0.5rem 0.75rem;
}
.landing-stats-item table td:first-child {
    width: 25%;
}
.landing-stats-item table td:last-child {
    width: auto;
    white-space: nowrap;
}
.stats-item h1 {
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
}
.landing-stats-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    line-height: 40px;
    text-align: center;
    background: #ffffff;
    font-size: 20px;
}
.landing-stats-item-1 .icon {
    color: #e6724b;
}
.landing-stats-item-2 .icon {
    color: #c94470;
}
.landing-stats-item-3 .icon {
    color: #6c4c93;
}
.landing-stats-item-4 .icon {
    color: #4a90e2;
}
.landing-stats-item-5 .icon {
    color: #f39c12;
}
.landing-stats-item-6 .icon {
    color: #9b59b6;
}
.icon30 {
    width: 30px;
    margin-right: 5px;
    text-align: center;
}
.icon40 {
    width: 40px;
    margin-right: 5px;
    text-align: center;
}
.status-pill {
    text-align: left;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    padding: 2px 10px;
    border-radius: 5px;
}
.status-pill.bg-blue {
    background-color: #4d5d73;
    color: #ffffff;
}
.status-pill.bg-orange {
    background-color: #e8a148;
    color: #212529;
}
.status-pill.bg-red {
    background-color: #b74d51;
    color: #ffffff;
}
.status-pill.bg-green {
    background-color: #418527;
    color: #ffffff;
}
.bg-purple {
    background-color: #9c27b0 !important;
    color: #ffffff !important;
}
.brand-list-category {
    list-style: none;
    margin: 0;
    padding: 0;
}
.brand-list-category li {
    margin-bottom: 15px;
}
.brand-list-category li:last-child {
    margin-bottom: 0;
}
.brand-list-product {
    list-style: none;
    margin: 0 0 0 15px;
    padding: 0;
}
.brand-list-color,
.brand-list-space {
    margin: 0 0 0 15px;
    padding: 0;
}
.btn-list-space {
    background: #467599;
    color: #ffffff;
}
.brand-list-space {
    color: #9C914F;
}
.brand-list-category .brand-list-product .brand-list-space a {
    color: #9C914F;
}
.list-space-title::before {
    font: var(--fa-font-solid);
    content: "\f061";
    font-weight: 400;
    font-size: 16px;
    margin-right: 5px;
}
.list-space-title {
    font-weight: 400;
    font-size: 14px;
    margin: 0;
    color: #9C914F;
}
.btn-list-color {
    background: #467599;
    color: #ffffff;
}
.btn-list-detail,
a.btn-list-detail {
    background: #467599;
    color: #ffffff !important;
}
.btn-list-detail:hover,
a.btn-list-detail:hover {
    background: #ffffff;
    color: #467599 !important;
    border: 1px solid #467599;
}
.brand-list-color {
    color: #EF6461;
}
.brand-list-category .brand-list-product .brand-list-color a {
    color: #EF6461;
}
.list-color-title::before {
    font: var(--fa-font-solid);
    content: "\f061";
    font-weight: 400;
    font-size: 16px;
    margin-right: 5px;
}
.list-color-title {
    font-weight: 400;
    font-size: 14px;
    margin: 0;
    color: #EF6461;
}
.btn-list-product {
    background: #1D3354;
    color: #ffffff;
}
.brand-list-product li {
    margin-top: 10px;
}
.brand-list-product {
    color: #467599;
}
.brand-list-category .brand-list-product a {
    color: #467599;
}
.list-product-title::before {
    font: var(--fa-font-solid);
    content: "\e455";
    font-weight: 400;
    font-size: 16px;
    margin-right: 5px;
}
.list-product-title {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    color: #467599;
}
.list-brand .sort-order-number,
.brand-list-category .sort-order-number {
    font-weight: 700;
}
.btn-list-category {
    background: #212529;
    color: #ffffff;
}
.brand-list-category {
    color: #1D3354;
}
.brand-list-category a {
    color: #1D3354;
}
.list-category-title::before {
    font: var(--fa-font-solid);
    content: "\f88c";
    font-weight: 400;
    font-size: 16px;
    margin-right: 5px;
}
.list-category-title {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    color: #1D3354;
}
.list-brand a {
    color: #212529;
}
.list-brand-title {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    color: #212529;
}
#myChart {
    max-height: 400px;
}
.form-switch {
    margin-right: -8px;
    margin-left: 5px;
    margin-bottom: -3px;
}
.admin-page-order-item-h1-underline {
    padding: 7px 0;
    border-top: 1px dotted #cccccc;
    border-bottom: 1px dotted #cccccc;
    margin-bottom: 10px;
}
.admin-page-order-item {
    padding: 1rem 0;
    margin-bottom: 15px;
    border-bottom: 1px dotted #cccccc;
}
.admin-page-order-item:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}
.admin-page-order-item:first-child .admin-page-order-item-h1-underline {
    border-top: 0;
    padding: 0 0 7px 0;
}
.word-wrap {
    word-break: break-word;
    hyphens: auto;
}
.detail-title {
    margin-bottom: 2px;
}
.estimate-slider-wrap {
    margin-top: 30px;
    margin-bottom: 35px;
}
#custom-handle {
    background-color: #f69d36;
    border-color: #f69d36;
    color: #212529;
    width: 3em;
    height: 1.8em;
    top: 50%;
    font-weight: 600;
    margin-top: -0.9em;
    text-align: center;
    line-height: 1.8em;
    font-size: 1em;
    position: relative;
}
#custom-handle:hover {
    background-color: #d97a00;
    border-color: #d97a00;
    color: #212529;
}
#estimate-slider.ui-widget.ui-widget-content {
    border: 1px solid #f69d36;
    background: #ffefda;
}
#custom-handle::before,
#custom-handle::after {
    position: absolute;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font: var(--fa-font-solid);
    font-size: 26px;
    color: #f69d36;
    animation: fa-beat-fade 1s infinite cubic-bezier(.4, 0, .6, 1);
}
#custom-handle::before {
    content: "\f0d9";
    top: 0;
    left: -15px;
}
#custom-handle::after {
    content: "\f0da";
    top: 0;
    right: -15px;
}
.ui-state-focus:focus {
    outline: 0 !important;
}
.remove-message {
    position: absolute;
    bottom: -7px;
    right: -7px;
}
.remove-message button {
    display: block;
    color: #ffffff;
    background: #9d9faa;
    width: 14px;
    height: 14px;
    text-align: center;
    line-height: 14px;
    border: 0;
    outline: 0;
    border-radius: 7px;
    padding: 0;
    font-size: 10px;
}
.remove-message button:hover {
    background: #dc3545;
}
.fs-7 {
    font-size: 0.8rem;
}
.text-small {
    font-size: 0.8em;
}
.compare_percentage {
    font-size: 10px;
    font-style: italic;
    color: #999;
}
.text-color-orange {
    color: #c94470;
}
.text-color-pink {
    color: #d67953;
}
.text-color-purple {
    color: #048A81;
}
.row_num {
    font-size: 12px;
    font-style: italic;
    color: #999 !important;
    text-align: right;
}
.m-sidebar-logo img,
.landing-brand-sm-logo {
    max-width: 150px;
    width: auto;
    max-height: 30px;
    height: auto;
}
.change-bg-very-green {
    background-color: #00876c;
    color: #ffffff;
}
.change-bg-lighter-green {
    background-color: #51a472;
    color: #ffffff;
}
.change-bg-medium-green {
    background-color: #89bf77;
    color: #ffffff;
}
.change-bg-faint-green {
    background-color: #c2d980;
    color: #333333;
}
.change-bg-light-green {
    background-color: #e0f2a6;
    color: #333333;
}
.change-bg-yellow {
    background-color: #fff18f;
    color: #333333;
}
.change-bg-orange {
    background-color: #fcc76b;
    color: #333333;
}
.change-bg-light-red {
    background-color: #f7827a;
    color: #333333;
}
.change-bg-medium-red {
    background-color: #f4685d;
    color: #ffffff;
}
.change-bg-faint-red {
    background-color: #ed4e4a;
    color: #ffffff;
}
.change-bg-very-red {
    background-color: #d43d51;
    color: #ffffff;
}
#emojiModal .emoji {
    font-size: 1.5rem;
    cursor: pointer;
}
#adminNoteEmojiModal .admin-note-emoji {
    font-size: 1.5rem;
    cursor: pointer;
    display: inline-block;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}
#adminNoteEmojiModal .admin-note-emoji:hover {
    background-color: rgba(0, 0, 0, 0.1);
}
.chat-footer .input-group .btn.rounded-start {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.chat-footer .input-group .form-control.rounded-end {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.dev-tickets-card .table td a {
    color: #212529;
    text-decoration: none;
    cursor: pointer;
}
.dev-tickets-card .nav-tabs .nav-link.active {
    font-weight: 700;
}
.priority-color-low {
    background-color: #007bff;
    color: white;
}
.priority-color-normal {
    background-color: #28a745;
    color: white;
}
.priority-color-high {
    background-color: #ffc107;
    color: #212529;
}
.priority-color-urgent {
    background-color: #dc3545;
    color: white;
}
.status-color-not-started {
    background-color: #6c757d;
    color: white;
}
.status-color-started {
    background-color: #ffc107;
    color: #212529;
}
.status-color-completed {
    background-color: #28a745;
    color: white;
}
.ticket-detail-item {
    position: relative;
}
.ticket-detail-item .edit-ticket-detail-item {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.8rem;
    color: #999;
    cursor: pointer;
}
.ticket-detail-item .edit-ticket-detail-item:hover {
    color: #000;
}
.image-container {
    position: relative;
    display: inline-block;
}
.image-container .remove-image {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 30px;
    text-align: center;
    color: #ffffff;
    background-color: #DB504A;
    cursor: pointer;
}
#ticket-item-details-text * {
    white-space: normal !important;
}
.custom-popover-success,
.custom-popover-danger,
.custom-popover-warning {
    text-align: center;
    font-weight: 700;
}
.custom-popover-success {
    border: 1px solid #28a745;
    box-shadow: 0 0 10px 0 rgba(40, 167, 69, 0.5);
}
.custom-popover-danger {
    border: 1px solid #dc3545;
    box-shadow: 0 0 10px 0 rgba(220, 53, 69, 0.5);
}
.custom-popover-warning {
    border: 1px solid #ffc107;
    box-shadow: 0 0 10px 0 rgba(255, 193, 7, 0.5);
}
.custom-popover-success .popover-arrow::before {
    border-top-color: #28a745 !important;
}
.custom-popover-danger .popover-arrow::before {
    border-top-color: #dc3545 !important;
}
.custom-popover-warning .popover-arrow::before {
    border-top-color: #ffc107 !important;
}
.form-detail-item-label {
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 0;
    font-style: italic;
}
.form-detail-item-value {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 0;
}
.edit-form-detail-item {
    background: transparent;
    border: 0;
    padding: 0;
    color: #999;
    cursor: pointer;
}
.edit-form-detail-item:hover {
    color: #007bff;
}
.form-detail-item-trash-btn {
    color: #999;
    cursor: pointer;
    border: 0;
    padding: 0;
    background: transparent;
}
.form-detail-item-trash-btn:hover {
    color: #dc3545;
}
.card-edit-form-detail hr {
    margin: 10px 0;
}
.accordion .accordion-button {
    color: #212529;
    background-color: #ffffff;
    font-weight: 700;
}
.accordion .accordion-button:not(.collapsed) {
    color: #212529;
    font-weight: 700;
    background-color: #f8f8f8;
}
.special-note-red {
    color: #a11c29;
}
.special-note-green {
    color: #418527;
}
.special-note-yellow {
    color: #ff8a00;
}
.custom-popover-special-note-red,
.custom-popover-special-note-green,
.custom-popover-special-note-yellow {
    text-align: center;
    font-weight: 700;
}
.custom-popover-special-note-red {
    border: 1px solid #a11c29;
    box-shadow: 0 0 10px 0 rgba(161, 28, 41, 0.5);
}
.custom-popover-special-note-green {
    border: 1px solid #418527;
    box-shadow: 0 0 10px 0 rgba(65, 133, 39, 0.5);
}
.custom-popover-special-note-yellow {
    border: 1px solid #ff8a00;
    box-shadow: 0 0 10px 0 rgba(255, 138, 0, 0.5);
}
.custom-popover-special-note-red .popover-arrow::before {
    border-top-color: #a11c29 !important;
}
.custom-popover-special-note-green .popover-arrow::before {
    border-top-color: #418527 !important;
}
.custom-popover-special-note-yellow .popover-arrow::before {
    border-top-color: #ff8a00 !important;
}
.special-note {
    font-size: 18px;
    line-height: 18px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
.register-usashop {
    color: navy;
}
.register-japanshop {
    color: red;
}
.register-others {
    color: black;
}
.icon-facebook,
.icon-google,
.icon-email {
    width: 15px;
    text-align: center;
}
.icon-facebook {
    color: #3b5998;
}
.icon-google {
    color: #EA4335;
}
.icon-email {
    color: #FFA07A;
}
.locker-pages .table video,
.locker-pages .small-map {
    width: 160px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    padding: 4px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.locker-pages .table video:hover,
.locker-pages .small-map:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.locker-pages .location-container {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
}
.locker-pages .location-info {
    flex: 1;
    min-width: 0;
    padding-left: 15px;
}
.locker-pages .small-map-container {
    flex: 0 0 auto;
    width: 160px;
    height: 100px;
}
.locker-pages .small-map>div {
    border-radius: 5px;
    overflow: hidden;
    height: 100%;
}
.locker-action-btn {
    text-align: center;
    width: 34px;
}
.trumbowyg-box .trumbowyg-editor {
    padding: 10px !important;
    min-height: 300px !important;
}
.copy-icon-wrapper {
    position: relative;
    display: inline-block;
}
.copy-icon {
    color: #a4afb9;
    font-size: 0.8em;
    cursor: pointer;
    margin-left: 5px;
}
.copied-text {
    position: absolute;
    right: -59px;
    top: 2px;
    background-color: #ffffff;
    border: 1px dashed #51555a;
    color: #51555a;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.6em;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.copied-text.show {
    opacity: 1;
}
.order-item-detail-box h1 {
    font-size: 13px;
    font-weight: 400;
    font-style: italic;
    margin: 0 0 5px;
}
.order-item-detail-box p {
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}
.order-item-detail-box .timezone-label {
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
}
.order-item-detail-box .time-value {
    font-weight: 700;
    font-style: normal;
}
.order-item-detail-box .date-value {
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
}
@media (max-width: 767.98px) {
    .sidebar {
        top: 99px;
        padding-top: 0;
    }
    body {
        padding-top: 99px;
    }
    .order-item-detail-box h1 {
        font-size: 12px;
        margin-bottom: 3px;
    }
    .order-item-detail-box p {
        font-size: 14px;
        margin-bottom: 0.75rem;
    }
    .order-item-detail-box .col-12 {
        padding-bottom: 0.5rem;
    }
    .order-item-detail-box .badge {
        font-size: 12px;
        padding: 0.25rem 0.5rem;
    }
    .order-item-detail-box .copy-icon-wrapper {
        margin-left: 0.25rem;
    }
    #sidebarMenu:not(.show) {
        display: none !important;
    }
    #sidebarMenu.collapse:not(.show) {
        display: none !important;
    }
    #sidebarMenu.collapse.show {
        display: block !important;
    }
    #myChart {
        max-height: 200px;
    }
    .section-heading {
        font-size: 17px;
    }
    .landing-stats-item h1 {
        font-size: 12px !important;
    }
}
.fs-7 {
    font-size: 0.8rem;
}
.text-small {
    font-size: 0.8em;
}
.section-pagination .page-item.active .page-link {
    color: #ffffff;
    background-color: #6e757c;
    border-color: #6e757c;
    font-weight: 700;
}
.section-pagination .page-item.disabled .page-link {
    color: #dee2e6;
}
.section-pagination .page-link {
    color: #6e757c;
}
.section-pagination .page-link:hover {
    color: #6e757c;
    background-color: #dee2e6;
}
.section-pagination .pagination {
    margin: 0;
}
.order-table tbody tr a,
.order-table tbody th a {
    color: #212529;
    text-decoration: none;
}
.form-signin .form-floating:focus-within {
    z-index: 2;
}
body.signin {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #191c1f;
}
.btn-login {
    background: #313437;
    color: #ffffff;
    font-weight: 600;
}
.btn-login:hover {
    background: #191c1f;
    color: #ffffff;
}
.sidebar .nav-link i {
    width: 18px;
    text-align: center;
    margin-right: 5px;
}
.form-label {
    font-weight: 600;
}
.brand-list-category li:last-child {
    margin-bottom: 0;
}
.brand-list-product li {
    margin-top: 10px;
}
.word-wrap {
    word-break: break-word;
    hyphens: auto;
}
@keyframes fa-beat-fade {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}
.ui-state-focus:focus {
    outline: 0 !important;
}
.locker-pages .table video,
.locker-pages .small-map {
    transition: all 0.3s ease;
}
#ticket-item-details-text * {
    white-space: normal !important;
}
.collapsible-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.collapsible-menu:hover {
    color: #495057 !important;
}
.collapsible-menu i.fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}
.collapsible-menu[aria-expanded="false"] i.fa-chevron-down {
    transform: rotate(-90deg);
}
.collapsible-menu[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(0deg);
}
.list-space-title::before,
.list-color-title::before,
.list-product-title::before,
.list-category-title::before {
    font: var(--fa-font-solid);
    font-weight: 400;
    font-size: 16px;
    margin-right: 5px;
}
.edit-form-detail-item:hover {
    color: #007bff;
}
.form-detail-item-trash-btn:hover {
    color: #dc3545;
}
.copied-text {
    z-index: 1000;
}
.order-table thead,
.order-table tfoot {
    z-index: 90;
}
.order-table tbody tr th {
    z-index: 80;
}
.order-table tfoot th::after {
    z-index: 100;
}
#edit_product_item_price_form {
    margin-top: 5px;
    display: none;
}
#edit_product_item_price {
    cursor: pointer;
    text-decoration: none;
    margin-left: 5px;
}
.table-odd td {
    background-color: #f2f2f2;
}
.table-even td {
    background-color: #ffffff;
}
.table-odd.table-primary td {
    background-color: #b7cbf3;
}
.table-even.table-primary td {
    background-color: #cdddfd;
}
.table-even.table-warning td {
    background-color: #fcf2ca;
}
.table-odd.table-warning td {
    background-color: #f8e9b5;
}
.order-product-item-row td {
    padding: 3px 4px;
    font-size: 12px;
    color: #959595;
}
.order-row-item .form-check {
    margin: 0;
    min-height: auto;
}
.instock-categories-section,
.instock-products-section {
    display: flex;
    gap: 20px;
}
.add-instock-category-section,
.add-instock-product-section {
    width: 35%;
}
.current-instock-categories-section,
.current-instock-products-section {
    flex-grow: 1;
}
.current-instock-categories-section table tbody tr td,
.current-instock-products-section table tbody tr td {
    vertical-align: middle;
}
.instock-thumb-sm {
    width: 50px !important;
    height: 50px !important;
    border-radius: 5px;
}
.instock-thumb {
    width: 150px !important;
    height: 150px !important;
    border-radius: 5px;
}
@media screen and (max-width: 1199px) {
    .instock-categories-section,
    .instock-products-section {
        flex-direction: column;
    }
    .add-instock-category-section,
    .add-instock-product-section {
        width: 100%;
    }
    .current-instock-categories-section,
    .current-instock-products-section {
        width: 100%;
    }
}
.form-select option.fw-bold {
    font-weight: bold;
}
.form-select option.ps-3 {
    padding-left: 1rem !important;
}
.admin-order-actions-sidebar {
    flex: 0 0 250px;
}
.admin-order-actions-sidebar-btn {
    display: flex;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    text-decoration: none;
    align-items: center;
    color: #666666;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 5px 0;
}
.admin-order-actions-sidebar-btn:hover {
    color: #000000;
    font-weight: 700;
}
.admin-order-actions-sidebar-icon {
    width: 20px;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-right: 5px;
}
.admin-order-actions-wrap {
    display: flex;
    gap: 2px;
    flex-direction: column;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}
.admin-order-actions-heading {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}
@media screen and (max-width: 991px) {
    .admin-order-actions-sidebar {
        display: block;
        flex: 0 0 100%;
    }
}
.table-text-small td,
.table-text-small th {
    font-size: 0.75rem;
}
.mobile-tab-dropdown {
    display: none;
}
@media (max-width: 767.98px) {
    .nav-tabs {
        display: none !important;
    }
    .mobile-tab-dropdown {
        display: block;
        margin-bottom: 1rem;
    }
    .mobile-tab-dropdown .dropdown-toggle {
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #ffffff;
        border: 1px solid #dee2e6;
        padding: 0.75rem 1rem;
        font-weight: 600;
        color: #212529;
    }
    .mobile-tab-dropdown .dropdown-toggle:hover {
        background-color: #f8f9fa;
        border-color: #adb5bd;
    }
    .mobile-tab-dropdown .dropdown-toggle:focus {
        box-shadow: 0 0 0 0.25rem rgba(230, 114, 75, 0.25);
        border-color: #e6724b;
    }
    .mobile-tab-dropdown .dropdown-toggle::after {
        display: none;
    }
    .mobile-tab-dropdown .dropdown-menu {
        width: 100%;
        border-radius: 0.375rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }
    .mobile-tab-dropdown .dropdown-item {
        padding: 0.75rem 1rem;
        font-weight: 500;
        border-bottom: 1px solid #f0f0f0;
        color: #495057;
        text-decoration: none;
        position: relative;
    }
    .mobile-tab-dropdown .dropdown-item:last-child {
        border-bottom: none;
    }
    .mobile-tab-dropdown .dropdown-item.active {
        background-color: #fff5f2;
        color: #e6724b;
        font-weight: 700;
    }
    .mobile-tab-dropdown .dropdown-item.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background-color: #e6724b;
    }
    .mobile-tab-dropdown .dropdown-item:hover:not(.active) {
        background-color: #f8f9fa;
        color: #212529;
    }
    .mobile-tab-dropdown .dropdown-toggle .fa-chevron-down {
        font-size: 0.75rem;
        color: #6c757d;
        transition: transform 0.2s ease;
    }
    .mobile-tab-dropdown .dropdown-toggle[aria-expanded="true"] .fa-chevron-down {
        transform: rotate(180deg);
    }
    .card-header .nav-tabs {
        display: none !important;
    }
    .card-header .mobile-tab-dropdown {
        margin-bottom: 0;
    }
    .card-header .mobile-tab-dropdown .dropdown-toggle {
        background-color: transparent;
        border: 1px solid #dee2e6;
        font-size: 0.875rem;
    }
}
.order-info-section .btn-link {
    margin-left: 10px;
}
.order-info-section .badge {
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    text-align: left;
    display: inline-block;
    max-width: 100%;
}
.order-status-display,
.payment-status-display {
    flex: 1;
    min-width: 0;
    margin-right: 10px;
}
input[data-toggle="toggle"]:not(.toggle-initialized) {
    visibility: hidden;
    height: 0;
    width: 0;
    position: absolute;
}
.email-status,
.support-message-status {
    min-height: 28px;
}
.admin-page-header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}
.admin-page-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}
.admin-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}
.admin-content-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}
.admin-content-card .card-header {
    background-color: transparent;
    border-bottom: none;
    padding: 0;
}
.admin-content-card .card-body {
    padding: 1.5rem;
}
.admin-content-card .card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}
.admin-field-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}
.admin-input,
.admin-select {
    font-size: 0.875rem;
    border-color: #dee2e6;
    box-shadow: none;
}
.admin-input:focus,
.admin-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
.btn-admin-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}
.btn-admin-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: #ffffff;
}
.btn-admin-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}
.btn-admin-secondary:hover {
    background-color: #5c636a;
    border-color: #565e64;
    color: #ffffff;
}
.btn-admin-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}
.admin-activity-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.admin-activity-card .card-body {
    padding: 1.25rem;
}
.admin-activity-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
}
.admin-log-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.15s ease-in-out;
}
.admin-log-item:last-child {
    border-bottom: none;
}
.admin-log-item:hover {
    background-color: #f8f9fa;
}
.admin-log-item p {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: #212529;
}
.admin-log-item small {
    font-size: 0.75rem;
    color: #6c757d;
}
.admin-data-table {
    font-size: 0.875rem;
}
.admin-data-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    font-size: 0.8125rem;
    color: #495057;
    padding: 0.75rem 1rem;
}
.admin-data-table tbody tr {
    transition: background-color 0.15s ease-in-out;
}
.admin-data-table tbody tr:hover {
    background-color: #f8f9fa;
}
.admin-data-table tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}
.admin-data-table tbody tr.admin-row-disabled {
    background-color: #343a40;
    color: #adb5bd;
}
.admin-data-table tbody tr.admin-row-disabled td {
    background-color: #343a40;
    color: #adb5bd;
}
.admin-filter-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1.5rem;
}
.admin-filter-tabs .nav-item {
    margin-bottom: -2px;
}
.admin-filter-tabs .nav-link {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
    background: transparent;
    border-bottom: 2px solid transparent;
}
.admin-filter-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}
.admin-filter-tabs .nav-link:hover {
    color: #495057;
    border-bottom-color: #dee2e6;
}
.admin-modal-custom .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}
.admin-modal-custom .modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
}
.admin-modal-custom .modal-body {
    padding: 1.5rem;
}
.admin-modal-custom .modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}
.admin-action-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.admin-action-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}
@media (max-width: 767.98px) {
    .admin-content-card .card-body {
        padding: 1rem;
    }
    .admin-data-table {
        font-size: 0.8125rem;
    }
    .admin-data-table thead th,
    .admin-data-table tbody td {
        padding: 0.5rem;
    }
}
.user-order-stats {
    display: block;
    margin-left: 40px;
    font-size: 10px;
    font-weight: normal;
    color: #888;
}
.shipment-table-search-match {
    background-color: #fff3cd !important;
}
.shipment-table-search-match td {
    background-color: #fff3cd !important;
    border-color: #ffeaa7;
}
tr.shipment-table-search-match:hover {
    background-color: #ffe8a1 !important;
}
tr.shipment-table-search-match:hover td {
    background-color: #ffe8a1 !important;
}
.shipment-table-duplicate-recipient {
    background-color: #f8d7da !important;
}
.shipment-table-duplicate-recipient td {
    background-color: #f8d7da !important;
    border-color: #f5c6cb;
}
tr.shipment-table-duplicate-recipient:hover {
    background-color: #f1b0b7 !important;
}
tr.shipment-table-duplicate-recipient:hover td {
    background-color: #f1b0b7 !important;
}
.shipment-table-search-match.shipment-table-duplicate-recipient {
    background-color: #f5c6cb !important;
}
.shipment-table-search-match.shipment-table-duplicate-recipient td {
    background-color: #f5c6cb !important;
}
.shipment-card-header-warning {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}
.shipment-card-header-warning .badge {
    animation: shipment-pulse 1.5s ease-in-out infinite;
}
@keyframes shipment-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@keyframes shipment-highlight-flash {
    0%, 100% { background-color: #fff3cd; }
    50% { background-color: #ffc107; }
}
.case-field-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
}
.case-note-box {
    background: #f8f9fa;
    border-left: 3px solid #0d6efd;
    padding: 0.75rem;
    line-height: 1.6;
}
.case-comment-timeline-item {
    padding-left: 2.5rem;
    position: relative;
}
.case-comment-avatar {
    background: #e9ecef;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.875rem;
}
.case-empty-state {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}
.product-status-list .badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}
.product-status-list .badge span {
    white-space: nowrap;
}