/*
  Theme: Skote (Themesbrand) — stripped to essentials used by ezone project.
  Removed: horizontal layout, RTL, colored/small sidebar variants, right-bar panel,
           tui-calendar, FullCalendar, email, chat, filemanager, ecommerce pages,
           ICO landing, maps, rating widget, wizard, session-timeout, timepicker,
           color-picker (sp-*), unused input[switch] variants.
*/

/* ========== Page Topbar ========== */
#page-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background-color: var(--bs-header-bg);
  box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
}

.ez-save-in-progress {
  cursor: wait;
}

.ez-save-loading {
  align-items: center;
  background: rgba(3, 8, 20, .7);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 20px;
  pointer-events: none;
  position: fixed;
  transition: opacity .15s ease;
  visibility: hidden;
  z-index: 20000;
}

.ez-save-loading.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.ez-save-loading__panel {
  align-items: center;
  background: #111827;
  border: 1px solid rgba(96, 165, 250, .35);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: min(340px, 100%);
  padding: 24px;
  text-align: center;
}

.ez-save-loading__panel i {
  color: #60a5fa;
  font-size: 28px;
}

.ez-save-loading__panel small {
  color: #94a3b8;
}

.navbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 70px;
  padding: 0 0 0 calc(24px * 0.5);
}

.navbar-header .dropdown .show.header-item {
  background-color: var(--bs-tertiary-bg);
}

.navbar-brand-box {
  padding: 0 1.5rem;
  text-align: center;
  width: 250px;
}

.logo {
  line-height: 70px;
}

.logo .logo-sm {
  display: none;
}

.logo-light {
  display: none;
}

.header-item {
  height: 70px;
  box-shadow: none !important;
  color: var(--bs-header-item-color);
  border: 0;
  border-radius: 0;
}

.header-item:hover {
  color: var(--bs-header-item-color);
}

.header-profile-user {
  height: 36px;
  width: 36px;
  background-color: var(--bs-tertiary-bg);
  padding: 3px;
}

.noti-icon i {
  font-size: 22px;
  color: var(--bs-header-item-color);
}

.noti-icon .badge {
  position: absolute;
  top: 12px;
  left: 4px;
}

.fullscreen-enable [data-bs-toggle=fullscreen] .fa-expand::before {
  content: "\f066";
}

body[data-sidebar=dark] .navbar-brand-box {
  background: #2a3042;
}

body[data-sidebar=dark] .logo-dark {
  display: none;
}

body[data-sidebar=dark] .logo-light {
  display: block;
}

@media (max-width: 380px) {
  .navbar-brand-box {
    display: none;
  }
}

@media (max-width: 600px) {
  .navbar-header .dropdown {
    position: static;
  }

  .navbar-header .dropdown .dropdown-menu {
    right: 10px !important;
    left: 10px !important;
  }
}

@media (max-width: 992px) {
  .navbar-brand-box {
    width: auto;
  }

  .logo span.logo-lg {
    display: none;
  }

  .logo span.logo-sm {
    display: inline-block;
  }
}

/* ========== Page Content / Footer ========== */
.page-content {
  padding: calc(70px + 24px) calc(24px * 0.75) 60px calc(24px * 0.75);
}

.page-title-box {
  padding-bottom: 24px;
}

.page-title-box .breadcrumb {
  background-color: transparent;
  padding: 0;
}

.page-title-box h4 {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px !important;
}

.footer {
  bottom: 0;
  padding: 20px calc(24px * 0.75);
  position: absolute;
  left: 0;
  color: var(--bs-footer-color);
  right: 250px;
  height: 60px;
  background-color: var(--bs-footer-bg);
  width: 100%;
}

@media (max-width: 991.98px) {
  .footer {
    right: 0;
  }
}

.vertical-collpsed .footer {
  right: 70px;
}

@media (max-width: 991.98px) {
  .vertical-collpsed .footer {
    right: 0;
  }
}

/* ========== Sidebar / Metismenu ========== */
.metismenu {
  margin: 0;
}

.metismenu li {
  display: block;
  width: 100%;
}

.metismenu .mm-collapse {
  display: none;
}

.metismenu .mm-collapse:not(.mm-show) {
  display: none;
}

.metismenu .mm-collapse.mm-show {
  display: block;
}

.metismenu .mm-collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition-timing-function: ease;
  transition-duration: 0.35s;
  transition-property: height, visibility;
}

.vertical-menu {
  width: 250px;
  z-index: 1001;
  background: #ffffff;
  bottom: 0;
  margin-top: 0;
  position: fixed;
  top: 70px;
  box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
}

.main-content {
  margin-right: 250px;
  overflow: hidden;
}

.main-content .content {
  padding: 0 15px 10px 15px;
  margin-top: 70px;
}

#sidebar-menu {
  padding: 10px 0 30px 0;
}

#sidebar-menu .mm-active>.has-arrow:after {
  transform: rotate(180deg);
}

#sidebar-menu .has-arrow:after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: block;
  float: right;
  transition: transform 0.2s;
  font-size: 1rem;
}

#sidebar-menu ul li a {
  display: block;
  padding: 0.625rem 1.5rem;
  color: #545a6d;
  position: relative;
  font-size: 13px;
  transition: all 0.4s;
}

#sidebar-menu ul li a i {
  display: inline-block;
  min-width: 1.75rem;
  padding-bottom: 0.125em;
  font-size: 1.25rem;
  line-height: 1.40625rem;
  vertical-align: middle;
  color: #7f8387;
  transition: all 0.4s;
}

#sidebar-menu ul li a:hover {
  color: #383c40;
}

#sidebar-menu ul li a:hover i {
  color: #383c40;
}

#sidebar-menu ul li .badge {
  margin-top: 4px;
}

#sidebar-menu ul li ul.sub-menu {
  padding: 0;
}

#sidebar-menu ul li ul.sub-menu li a {
  padding: 0.4rem 1.5rem 0.4rem 3.5rem;
  font-size: 13px;
  color: #545a6d;
}

#sidebar-menu ul li ul.sub-menu li a:hover {
  color: #383c40;
}

#sidebar-menu ul li ul.sub-menu li ul.sub-menu {
  padding: 0;
}

#sidebar-menu ul li ul.sub-menu li ul.sub-menu li a {
  padding: 0.4rem 1.5rem 0.4rem 4.5rem;
  font-size: 13px;
}

.menu-title {
  padding: 12px 20px !important;
  letter-spacing: 0.05em;
  pointer-events: none;
  cursor: default;
  font-size: 11px;
  text-transform: uppercase;
  color: #7f8387;
  font-weight: 600;
}

.mm-active {
  color: #556ee6 !important;
}

.mm-active>a {
  color: #556ee6 !important;
}

.mm-active>a i {
  color: #556ee6 !important;
}

.mm-active .active {
  color: #556ee6 !important;
}

.mm-active .active i {
  color: #556ee6 !important;
}

.mm-active>i {
  color: #556ee6 !important;
}

@media (max-width: 992px) {
  .vertical-menu {
    display: none;
  }

  .main-content {
    margin-right: 0 !important;
  }

  body.sidebar-enable .vertical-menu {
    display: block;
  }
}

.vertical-collpsed .main-content {
  margin-right: 70px;
}

.vertical-collpsed .navbar-brand-box {
  width: 70px !important;
}

.vertical-collpsed .logo span.logo-lg {
  display: none;
}

.vertical-collpsed .logo span.logo-sm {
  display: block;
}

.vertical-collpsed .vertical-menu {
  position: absolute;
  width: 70px !important;
  z-index: 5;
}

.vertical-collpsed .vertical-menu .simplebar-mask,
.vertical-collpsed .vertical-menu .simplebar-content-wrapper {
  overflow: visible !important;
}

.vertical-collpsed .vertical-menu .simplebar-scrollbar {
  display: none !important;
}

.vertical-collpsed .vertical-menu .simplebar-offset {
  bottom: 0 !important;
}

.vertical-collpsed .vertical-menu #sidebar-menu .menu-title,
.vertical-collpsed .vertical-menu #sidebar-menu .badge,
.vertical-collpsed .vertical-menu #sidebar-menu .collapse.in {
  display: none !important;
}

.vertical-collpsed .vertical-menu #sidebar-menu .nav.collapse {
  height: inherit !important;
}

.vertical-collpsed .vertical-menu #sidebar-menu .has-arrow:after {
  display: none;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li>a {
  padding: 15px 20px;
  min-height: 55px;
  transition: none;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li>a:hover,
.vertical-collpsed .vertical-menu #sidebar-menu>ul>li>a:active,
.vertical-collpsed .vertical-menu #sidebar-menu>ul>li>a:focus {
  color: #383c40;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li>a i {
  font-size: 1.45rem;
  margin-right: 4px;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li>a span {
  display: none;
  padding-right: 25px;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a {
  position: relative;
  width: calc(190px + 70px);
  color: #556ee6;
  background-color: whitesmoke;
  transition: none;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a i {
  color: #556ee6;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a span {
  display: inline;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>ul {
  display: block;
  right: 70px;
  position: absolute;
  width: 190px;
  height: auto !important;
  box-shadow: -3px 5px 10px 0 rgba(54, 61, 71, 0.1);
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>ul ul {
  box-shadow: -3px 5px 10px 0 rgba(54, 61, 71, 0.1);
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>ul a {
  box-shadow: none;
  padding: 8px 20px;
  position: relative;
  width: 190px;
  z-index: 6;
  color: #545a6d;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>ul a:hover {
  color: #383c40;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul ul {
  padding: 5px 0;
  z-index: 9999;
  display: none;
  background-color: #ffffff;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul ul li:hover>ul {
  display: block;
  right: 190px;
  height: auto !important;
  margin-top: -36px;
  position: absolute;
  width: 190px;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul ul li>a span.pull-right {
  position: absolute;
  left: 20px;
  top: 12px;
  transform: rotate(-270deg);
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul ul li.active a {
  color: #f8f9fa;
}

/* Sidebar dark */
body[data-sidebar=dark] .vertical-menu {
  background: #2a3042;
}

body[data-sidebar=dark] #sidebar-menu ul li a {
  color: #a6b0cf;
}

body[data-sidebar=dark] #sidebar-menu ul li a i {
  color: #6a7187;
}

body[data-sidebar=dark] #sidebar-menu ul li a:hover {
  color: #ffffff;
}

body[data-sidebar=dark] #sidebar-menu ul li a:hover i {
  color: #ffffff;
}

body[data-sidebar=dark] #sidebar-menu ul li ul.sub-menu li a {
  color: #79829c;
}

body[data-sidebar=dark] #sidebar-menu ul li ul.sub-menu li a:hover {
  color: #ffffff;
}

body[data-sidebar=dark].vertical-collpsed {
  min-height: 1760px;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a {
  background: #2e3548;
  color: #ffffff;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a i {
  color: #ffffff;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>ul a {
  color: #79829c;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>ul a:hover {
  color: #ffffff;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu>ul ul {
  background-color: #2a3042;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu ul li.mm-active .active {
  color: #ffffff !important;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu ul li.mm-active .active i {
  color: #ffffff !important;
}

body[data-sidebar=dark] .mm-active {
  color: #ffffff !important;
}

body[data-sidebar=dark] .mm-active>a {
  color: #ffffff !important;
}

body[data-sidebar=dark] .mm-active>a i {
  color: #ffffff !important;
}

body[data-sidebar=dark] .mm-active>i {
  color: #ffffff !important;
}

body[data-sidebar=dark] .mm-active .active {
  color: #ffffff !important;
}

body[data-sidebar=dark] .mm-active .active i {
  color: #ffffff !important;
}

body[data-sidebar=dark] .menu-title {
  color: #6a7187;
}

/* ========== Waves Effect ========== */
.waves-effect {
  position: relative;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.waves-effect .waves-ripple {
  position: absolute;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-right: -50px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.2);
  background: radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
  transition: all 0.5s ease-out;
  transition-property: transform, opacity;
  transform: scale(0) translate(0, 0);
  pointer-events: none;
}

.waves-effect.waves-light .waves-ripple {
  background: rgba(255, 255, 255, 0.4);
  background: radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
}

.waves-notransition {
  transition: none !important;
}

.waves-block {
  display: block;
}

.waves-effect.waves-primary .waves-ripple {
  background-color: rgba(85, 110, 230, 0.4);
}

.waves-effect.waves-success .waves-ripple {
  background-color: rgba(52, 195, 143, 0.4);
}

.waves-effect.waves-info .waves-ripple {
  background-color: rgba(80, 165, 241, 0.4);
}

.waves-effect.waves-warning .waves-ripple {
  background-color: rgba(241, 180, 76, 0.4);
}

.waves-effect.waves-danger .waves-ripple {
  background-color: rgba(244, 106, 106, 0.4);
}

/* ========== Preloader ========== */
#preloader {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: var(--bs-secondary-bg);
  z-index: 9999;
}

#status {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 50%;
  top: 50%;
  margin: -20px -20px 0 0;
}

.spinner-chase {
  margin: 0 auto;
  width: 40px;
  height: 40px;
  position: relative;
  animation: spinner-chase 2.5s infinite linear both;
}

.chase-dot {
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  animation: chase-dot 2s infinite ease-in-out both;
}

.chase-dot:before {
  content: "";
  display: block;
  width: 25%;
  height: 25%;
  background-color: #556ee6;
  border-radius: 100%;
  animation: chase-dot-before 2s infinite ease-in-out both;
}

.chase-dot:nth-child(1) {
  animation-delay: -1.1s;
}

.chase-dot:nth-child(1):before {
  animation-delay: -1.1s;
}

.chase-dot:nth-child(2) {
  animation-delay: -1s;
}

.chase-dot:nth-child(2):before {
  animation-delay: -1s;
}

.chase-dot:nth-child(3) {
  animation-delay: -0.9s;
}

.chase-dot:nth-child(3):before {
  animation-delay: -0.9s;
}

.chase-dot:nth-child(4) {
  animation-delay: -0.8s;
}

.chase-dot:nth-child(4):before {
  animation-delay: -0.8s;
}

.chase-dot:nth-child(5) {
  animation-delay: -0.7s;
}

.chase-dot:nth-child(5):before {
  animation-delay: -0.7s;
}

.chase-dot:nth-child(6) {
  animation-delay: -0.6s;
}

.chase-dot:nth-child(6):before {
  animation-delay: -0.6s;
}

@keyframes spinner-chase {
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes chase-dot {

  80%,
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes chase-dot-before {
  50% {
    transform: scale(0.4);
  }

  100%,
  0% {
    transform: scale(1);
  }
}

/* ========== Simplebar ========== */
[data-simplebar] {
  position: relative;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}

.simplebar-wrapper {
  overflow: hidden;
  width: inherit;
  height: inherit;
  max-width: inherit;
  max-height: inherit;
}

.simplebar-mask {
  direction: inherit;
  position: absolute;
  overflow: hidden;
  padding: 0;
  margin: 0;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: auto !important;
  height: auto !important;
  z-index: 0;
}

.simplebar-offset {
  direction: inherit !important;
  box-sizing: inherit !important;
  resize: none !important;
  position: absolute;
  top: 0;
  right: 0 !important;
  bottom: 0;
  left: 0 !important;
  padding: 0;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}

.simplebar-content-wrapper {
  direction: inherit;
  box-sizing: border-box !important;
  position: relative;
  display: block;
  height: 100%;
  width: auto;
  visibility: visible;
  overflow: auto;
  max-width: 100%;
  max-height: 100%;
  scrollbar-width: none;
  padding: 0 !important;
}

.simplebar-content-wrapper::-webkit-scrollbar,
.simplebar-hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.simplebar-content:before,
.simplebar-content:after {
  content: " ";
  display: table;
}

.simplebar-placeholder {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  pointer-events: none;
}

.simplebar-height-auto-observer-wrapper {
  box-sizing: inherit !important;
  height: 100%;
  width: 100%;
  max-width: 1px;
  position: relative;
  float: right;
  max-height: 1px;
  overflow: hidden;
  z-index: -1;
  padding: 0;
  margin: 0;
  pointer-events: none;
  flex-grow: inherit;
  flex-shrink: 0;
  flex-basis: 0;
}

.simplebar-height-auto-observer {
  box-sizing: inherit;
  display: block;
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 1000%;
  width: 1000%;
  min-height: 1px;
  min-width: 1px;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.simplebar-track {
  z-index: 1;
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

[data-simplebar].simplebar-dragging .simplebar-content {
  pointer-events: none;
  user-select: none;
}

[data-simplebar].simplebar-dragging .simplebar-track {
  pointer-events: all;
}

.simplebar-scrollbar {
  position: absolute;
  left: 2px;
  width: 4px;
  min-height: 10px;
}

.simplebar-scrollbar:before {
  position: absolute;
  content: "";
  background: #a2adb7;
  border-radius: 7px;
  right: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s linear;
}

.simplebar-scrollbar.simplebar-visible:before {
  opacity: 0.5;
  transition: opacity 0s linear;
}

.simplebar-track.simplebar-vertical {
  top: 0;
  width: 11px;
}

.simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
  top: 2px;
  bottom: 2px;
}

.simplebar-track.simplebar-horizontal {
  right: 0;
  height: 11px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
  height: 100%;
  right: 2px;
  left: 2px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
  left: auto;
  right: 0;
  top: 2px;
  height: 7px;
  min-height: 0;
  min-width: 10px;
  width: auto;
}

.hs-dummy-scrollbar-size {
  direction: ltr;
  position: fixed;
  opacity: 0;
  visibility: hidden;
  height: 500px;
  width: 500px;
  overflow-y: hidden;
  overflow-x: scroll;
}

.simplebar-hide-scrollbar {
  position: fixed;
  right: 0;
  visibility: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
}

.custom-scroll {
  height: 100%;
}

/* ========== Utility Helpers ========== */
.avatar-xs {
  height: 2rem;
  width: 2rem;
}

.avatar-sm {
  height: 3rem;
  width: 3rem;
}

.avatar-md {
  height: 4.5rem;
  width: 4.5rem;
}

.avatar-lg {
  height: 6rem;
  width: 6rem;
}

.avatar-xl {
  height: 7.5rem;
  width: 7.5rem;
}

.avatar-title {
  align-items: center;
  background-color: #556ee6;
  color: #fff;
  display: flex;
  font-weight: 500;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.avatar-group {
  padding-right: 12px;
  display: flex;
  flex-wrap: wrap;
}

.avatar-group .avatar-group-item {
  margin-right: -12px;
  border: 2px solid var(--bs-secondary-bg);
  border-radius: 50%;
  transition: all 0.2s;
}

.avatar-group .avatar-group-item:hover {
  position: relative;
  transform: translateY(-2px);
}

.font-size-10 {
  font-size: 10px !important;
}

.font-size-11 {
  font-size: 11px !important;
}

.font-size-12 {
  font-size: 12px !important;
}

.font-size-13 {
  font-size: 13px !important;
}

.font-size-14 {
  font-size: 14px !important;
}

.font-size-15 {
  font-size: 15px !important;
}

.font-size-16 {
  font-size: 16px !important;
}

.font-size-17 {
  font-size: 17px !important;
}

.font-size-18 {
  font-size: 18px !important;
}

.font-size-20 {
  font-size: 20px !important;
}

.font-size-22 {
  font-size: 22px !important;
}

.font-size-24 {
  font-size: 24px !important;
}

.w-xs {
  min-width: 80px;
}

.w-sm {
  min-width: 95px;
}

.w-md {
  min-width: 110px;
}

.w-lg {
  min-width: 140px;
}

.w-xl {
  min-width: 160px;
}

.chartjs-chart {
  max-height: 300px;
}

.alert-dismissible .btn-close {
  font-size: 10px;
  padding: 1.05rem 1.25rem;
}

/* ========== Form Helpers ========== */
.form-check,
.form-check-input,
.form-check-label {
  cursor: pointer;
  margin-bottom: 0;
}

.form-switch-md {
  padding-right: 2.5rem;
  min-height: 24px;
  line-height: 24px;
}

.form-switch-md .form-check-input {
  width: 40px;
  height: 20px;
  right: -0.5rem;
  position: relative;
}

.form-switch-md .form-check-label {
  vertical-align: middle;
}

.form-switch-lg {
  padding-right: 2.75rem;
  min-height: 28px;
  line-height: 28px;
}

.form-switch-lg .form-check-input {
  width: 48px;
  height: 24px;
  right: -0.75rem;
  position: relative;
}

.input-group-text {
  margin-bottom: 0;
}

/* ========== Print ========== */
@media print {

  .vertical-menu,
  .page-title-box,
  .navbar-header,
  .footer {
    display: none !important;
  }

  .card-body,
  .main-content,
  .page-content,
  body {
    padding: 0;
    margin: 0;
  }

  .card {
    border: 0;
  }
}

/* ========== Select2 ========== */
.select2-container .select2-selection--single {
  background-color: var(--bs-secondary-bg);
  border: 1px solid var(--bs-border-color-translucent);
  height: 38px;
}

.select2-container .select2-selection--single:focus {
  outline: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  padding-right: 0.75rem;
  color: var(--bs-secondary-color);
}

.select2-container .select2-selection--single .select2-selection__arrow {
  height: 34px;
  width: 34px;
  left: 3px;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
  border-color: var(--bs-gray-500) transparent transparent transparent;
  border-width: 6px 6px 0 6px;
}

.select2-container .select2-selection--single .select2-selection__placeholder {
  color: var(--bs-body-color);
}

.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--bs-gray-500) transparent !important;
  border-width: 0 6px 6px 6px !important;
}

.select2-container--default .select2-search--dropdown {
  padding: 10px;
  background-color: var(--bs-secondary-bg);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--bs-border-color-translucent);
  background-color: var(--bs-secondary-bg);
  color: var(--bs-secondary-color);
  outline: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #556ee6;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: var(--bs-light);
  color: var(--bs-emphasis-color);
}

.select2-container--default .select2-results__option[aria-selected=true]:hover {
  background-color: #556ee6;
  color: #fff;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border-left: none;
  color: var(--bs-emphasis-color);
}

.select2-results__option {
  padding: 6px 12px;
}

.select2-dropdown {
  border: 1px solid var(--bs-border-color);
  background-color: var(--bs-secondary-bg);
  box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
}

.select2-search input {
  border: 1px solid var(--bs-border-color);
}

.select2-container .select2-selection--multiple {
  min-height: 38px;
  background-color: var(--bs-secondary-bg);
  border: 1px solid var(--bs-border-color-translucent) !important;
  padding: 2px 0.75rem;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  padding: 2px 0.75rem;
}

.select2-container .select2-selection--multiple .select2-search__field {
  border: 0;
  color: var(--bs-emphasis-color);
  margin: 0;
  margin-top: 7px;
}

.select2-container .select2-selection--multiple .select2-search__field::placeholder {
  color: var(--bs-secondary-color);
}

.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1px;
  padding: 0 7px;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  padding: 0;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--bs-border-color-translucent);
}

.select2-container--default .select2-results__group {
  font-weight: 600;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  padding-right: 16px;
}

.select2-container--default .select2-results__option--selected {
  background-color: var(--bs-tertiary-bg);
}

/* ========== SweetAlert2 ========== */
.swal2-container .swal2-title {
  font-size: 20px;
  font-weight: 500;
}

.swal2-modal {
  font-size: 14px;
}

.swal2-icon.swal2-question {
  border-color: #50a5f1;
  color: #50a5f1;
}

.swal2-icon.swal2-success [class^=swal2-success-line] {
  background-color: #34c38f;
}

.swal2-icon.swal2-success .swal2-success-ring {
  border-color: rgba(52, 195, 143, 0.3);
}

.swal2-icon.swal2-warning {
  border-color: #f1b44c;
  color: #f1b44c;
}

.swal2-styled:focus {
  box-shadow: none;
}

.swal2-progress-steps .swal2-progress-step {
  background: #556ee6;
}

.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
  background: #556ee6;
}

.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step,
.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line {
  background: rgba(85, 110, 230, 0.3);
}

.swal2-progress-steps .swal2-progress-step-line {
  background: #556ee6;
}

.swal2-loader {
  border-color: #556ee6 transparent #556ee6 transparent;
}

.swal2-popup {
  background: var(--bs-secondary-bg);
}

.swal2-title,
.swal2-html-container {
  color: var(--bs-emphasis-color);
}

.swal2-file,
.swal2-input,
.swal2-textarea {
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
}

.swal2-file:focus,
.swal2-input:focus,
.swal2-textarea:focus {
  box-shadow: none;
  border-color: var(--bs-border-color);
}

div:where(.swal2-container) div:where(.swal2-popup) {
  color: var(--bs-secondary-color);
}





div.dataTables_wrapper div.dataTables_filter input {
  margin-right: 0.5em;
  margin-left: 0;
}

.table.dataTable,
table.dataTable {
  border-collapse: collapse !important;
}

.table.dataTable.dtr-inline.collapsed>tbody>tr>td,
table.dataTable.dtr-inline.collapsed>tbody>tr>td {
  position: relative;
}

.table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control,
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control {
  padding-right: 30px;
}

.table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before {
  top: 50%;
  right: 5px;
  height: 14px;
  width: 14px;
  margin-top: -9px;
  display: block;
  position: absolute;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 14px;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  line-height: 14px;
  content: "+";
  background-color: #556ee6;
}

/* ========== ApexCharts ========== */
.apex-charts {
  min-height: 10px !important;
}

.apex-charts text {
  font-family: var(--bs-font-sans-serif) !important;
  fill: var(--bs-gray-500);
}

.apex-charts .apexcharts-canvas {
  margin: 0 auto;
}

.apexcharts-tooltip-title,
.apexcharts-tooltip-text {
  font-family: var(--bs-font-sans-serif) !important;
}

.apexcharts-legend-series {
  font-weight: 500;
}

.apexcharts-gridline {
  pointer-events: none;
  stroke: var(--bs-border-color);
}

.apexcharts-legend-text {
  color: #74788d !important;
  font-family: var(--bs-font-sans-serif) !important;
  font-size: 13px !important;
}

.apexcharts-pie-label {
  fill: #fff !important;
}

.apexcharts-yaxis text,
.apexcharts-xaxis text {
  font-family: var(--bs-font-sans-serif) !important;
  fill: var(--bs-secondary-color);
}

.apexcharts-gridline {
  stroke: var(--bs-border-color);
}

.apexcharts-radialbar-track.apexcharts-track path {
  stroke: var(--bs-border-color);
}

.apexcharts-tooltip {
  background-color: var(--bs-secondary-bg) !important;
  border: 1px solid var(--bs-border-color) !important;
}

.apexcharts-tooltip .apexcharts-tooltip-title {
  background-color: var(--bs-border-color) !important;
  border-bottom: 1px solid var(--bs-border-color) !important;
}

.apexcharts-pie-area {
  stroke: var(--bs-secondary-bg);
}

.apexcharts-grid-borders line {
  stroke: var(--bs-border-color);
}

.apexcharts-pie-label {
  fill: var(--bs-white) !important;
}

.apexcharts-xaxis-tick {
  stroke: var(--bs-border-color);
}

/* ========== Datepicker ========== */
.datepicker {
  border: 1px solid var(--bs-border-color);
  padding: 8px;
  z-index: 999 !important;
  color: var(--bs-secondary-color);
}

.datepicker table tr th {
  font-weight: 500;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td .active.disabled,
.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.selected,
.datepicker table tr td.selected:hover,
.datepicker table tr td span.active.active {
  background-color: #556ee6 !important;
  background-image: none;
  box-shadow: none;
  color: #fff !important;
}

.datepicker table tr td.day.focused,
.datepicker table tr td.day:hover,
.datepicker table tr td span.focused,
.datepicker table tr td span:hover {
  background: var(--bs-light);
}

.datepicker table tr td.new,
.datepicker table tr td.old,
.datepicker table tr td span.new,
.datepicker table tr td span.old {
  color: var(--bs-gray-500);
  opacity: 0.6;
}

.datepicker table tr td.range,
.datepicker table tr td.range.disabled,
.datepicker table tr td.range:hover {
  background-color: var(--bs-tertiary-bg);
}

.table-condensed>thead>tr>th,
.table-condensed>tbody>tr>td {
  padding: 7px;
}

.datepicker .datepicker-switch:hover,
.datepicker .next:hover,
.datepicker .prev:hover,
.datepicker tfoot tr th:hover {
  background: var(--bs-light);
}

/* ========== Auth pages ========== */
.auth-logo .auth-logo-dark {
  display: var(--bs-display-block);
}

.auth-logo .auth-logo-light {
  display: var(--bs-display-none);
}

.auth-body-bg {
  background-color: var(--bs-secondary-bg);
}

.auth-pass-inputgroup input[type=input]+.btn .fa-eye::before {
  content: "\f070";
}

.auth-full-bg {
  background-color: rgba(85, 110, 230, 0.25);
  display: flex;
}

@media (min-width: 1200px) {
  .auth-full-bg {
    height: 100vh;
  }
}

.auth-full-bg .bg-overlay {
  background: url("../images/bg-auth-overlay.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.auth-full-page-content {
  display: flex;
}

@media (min-width: 1200px) {
  .auth-full-page-content {
    min-height: 100vh;
  }
}

/* ========== Error / Validation ========== */
.error {
  color: #f46a6a;
}

.parsley-error {
  border-color: #f46a6a;
}

.parsley-errors-list {
  display: none;
  margin: 0;
  padding: 0;
}

.parsley-errors-list.filled {
  display: block;
}

.parsley-errors-list>li {
  font-size: 12px;
  list-style: none;
  color: #f46a6a;
  margin-top: 5px;
}

/* ================================================================
   Custom App CSS (ezone project)
   ================================================================ */

body {
  background: #f3f3f9;
  color: #495057;
  font-size: 14px;
}

body[data-sidebar="dark"] {
  background: #f8f8fb;
}

.navbar-brand-box,
.vertical-menu {
  width: 240px;
}



.main-content {
  margin-left: 240px;
}

.ez-theme-logo-text {
  color: #fff;
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  line-height: 70px;
}

.ez-header-avatar {
  align-items: center;
  background: #556ee6;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
}

.ez-skote-store {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
  margin: 0 18px 12px;
  min-height: 70px;
}

.ez-skote-store-logo {
  align-items: center;
  background: linear-gradient(145deg, #59e2ff 0%, #556ee6 54%, #8c5cff 100%);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(85, 110, 230, 0.45);
  color: #fff;
  display: flex;
  flex: 0 0 38px;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
}

.ez-skote-store-name {
  color: #e9ecef;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#sidebar-menu ul li a.active {
  background: rgba(85, 110, 230, 0.16);
  color: #fff;
}

#sidebar-menu ul li a.active i {
  color: #fff;
}

#sidebar-menu ul li a>i {
  align-items: center;
  display: inline-flex;
  flex: 0 0 28px;
  height: 24px;
  justify-content: center;
  line-height: 1;
  margin-right: 8px;
  min-width: 28px;
  padding-bottom: 0;
  text-align: center;
  width: 28px;
}

body.vertical-collpsed #sidebar-menu>ul>li>a,
.vertical-collpsed .vertical-menu #sidebar-menu>ul>li>a {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 55px;
  padding: 15px 0;
  width: 70px;
}

body.vertical-collpsed #sidebar-menu>ul>li>a>i,
.vertical-collpsed .vertical-menu #sidebar-menu>ul>li>a>i {
  flex-basis: 28px;
  font-size: 1.35rem;
  margin-left: 0;
  margin-right: 0;
}

body[data-sidebar-size="small"] .ez-skote-store,
body.vertical-collpsed .ez-skote-store {
  justify-content: center;
  margin-left: 0;
  margin-right: 0;
}

body[data-sidebar-size="small"] .ez-skote-store-name,
body.vertical-collpsed .ez-skote-store-name {
  display: none;
}

body[data-sidebar-size="small"] .main-content,
body.vertical-collpsed .main-content {
  margin-left: 70px;
}

body[data-sidebar-size="small"] .pos-create-footer,
body.vertical-collpsed .pos-create-footer {
  left: 70px;
}

body.vertical-collpsed .vertical-menu,
body.vertical-collpsed .navbar-brand-box {
  width: 70px;
}

.ez-sidebar {
  background: #0d0f14;
  bottom: 0;
  border-right: 1px solid #252a33;
  box-shadow: none;
  color: #dfe6f2;
  display: flex;
  flex-direction: column;
  left: 0;
  overflow: hidden;
  padding: 18px 0 0;
  position: fixed;
  top: 0;
  transition: width 0.18s ease;
  width: 240px;
  z-index: 1000;
}

.ez-sidebar-brand {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 114px;
  padding: 0 14px 20px;
}

.ez-sidebar-logo {
  align-items: center;
  background: linear-gradient(145deg, #59e2ff 0%, #666dff 54%, #9b63ff 100%);
  border: 2px solid #85d4ff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(84, 112, 255, 0.6), 0 0 22px rgba(55, 132, 255, 0.65);
  color: #69f2d1;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.ez-sidebar-logo span {
  align-items: center;
  border: 1px solid rgba(219, 238, 255, 0.45);
  border-radius: 14px;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.ez-sidebar-store {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  max-width: 150px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ez-sidebar-toggle {
  width: auto;
}

.ez-sidebar-toggle:hover,
.ez-sidebar-toggle:focus-visible {
  background: #172039;
  color: #fff;
  outline: none;
}

.ez-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 0 18px 16px;
}

.ez-sidebar-link {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #9aa8bd;
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 13px;
  grid-template-columns: 22px minmax(0, 1fr);
  min-height: 38px;
  padding: 0 12px;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}

.ez-sidebar-link:hover,
.ez-sidebar-link.active {
  color: #3d89ff;
}

.ez-sidebar-link.active {
  background: #14203a;
  box-shadow: inset 3px 0 0 #2e82ff, 0 4px 12px rgba(20, 32, 58, 0.7);
}

.ez-sidebar-icon {
  color: inherit;
  font-size: 18px;
  text-align: center;
}

.ez-sidebar-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ez-sidebar-footer {
  border-top: 1px solid #262b34;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding: 16px 18px 18px;
}

.ez-sidebar-action {
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.ez-sidebar-chevron {
  color: inherit;
  font-size: 10px;
  opacity: 0.9;
  text-align: right;
}

.ez-sidebar-group {
  display: flex;
  flex-direction: column;
}

.ez-sidebar-submenu {
  display: none;
  padding: 6px 2px 10px;
}

.ez-sidebar-group.expanded .ez-sidebar-submenu {
  display: block;
}

.ez-sidebar-heading {
  color: #c4bcae;
  font-size: 14px;
  letter-spacing: 0;
  padding: 10px 8px 8px;
}

.ez-sidebar-sublink {
  border-radius: 7px;
  color: #fff;
  display: block;
  font-size: 14px;
  min-height: 38px;
  padding: 10px 18px 8px 31px;
  text-decoration: none;
}

.ez-sidebar-sublink:hover {
  color: #55b6ff;
}

.ez-sidebar-sublink.active {
  background: #292e31;
  color: #fff;
  font-weight: 700;
}

.ezone-has-sidebar .main-content,
.ezone-has-sidebar>main:not(.main-content) {
  margin-left: 240px;
  transition: margin-left 0.18s ease, width 0.18s ease;
  width: calc(100% - 240px);
}

.ez-sidebar-collapsed .ez-sidebar {
  width: 68px;
}

.ez-sidebar-collapsed .ez-sidebar-menu,
.ez-sidebar-collapsed .ez-sidebar-footer {
  padding-left: 10px;
  padding-right: 10px;
}

.ez-sidebar-collapsed .ez-sidebar-brand {
  min-height: 76px;
  padding: 0 7px 16px;
}

.ez-sidebar-collapsed .ez-sidebar-logo {
  font-size: 11px;
  height: 42px;
  width: 42px;
}

.ez-sidebar-collapsed .ez-sidebar-logo span {
  border-radius: 10px;
  height: 26px;
  width: 26px;
}

.ez-sidebar-collapsed .ez-sidebar-store,
.ez-sidebar-collapsed .ez-sidebar-submenu {
  display: none !important;
}

.ez-sidebar-collapsed .ez-sidebar-link {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 0;
}

.ez-sidebar-collapsed .ez-sidebar-label,
.ez-sidebar-collapsed .ez-sidebar-chevron {
  display: none;
}

.ez-sidebar-collapsed .ezone-has-sidebar .main-content,
.ez-sidebar-collapsed .ezone-has-sidebar>main:not(.main-content),
body.vertical-collpsed.ezone-has-sidebar .main-content,
body.vertical-collpsed.ezone-has-sidebar>main:not(.main-content) {
  margin-left: 70px;
  width: calc(100% - 70px);
}

.main-content {
  min-height: 100vh;
}

.ezone-auth-standalone .main-content {
  margin-left: 0;
  width: 100%;
}

.ezone-auth-standalone .page-content {
  padding-top: 32px;
}

.page-content {
  padding: 94px 12px 60px;
}

.ez-page-title {
  border-bottom: 1px solid #e9e9ef;
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.ez-page-title h3 {
  color: #495057;
  font-size: 22px;
  font-weight: 600;
}

.ez-card {
  background: #fff;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
  margin-bottom: 18px;
  padding: 16px;
}

.ez-actionbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.ez-actionbar .btn,
.ez-page-title .btn {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.nav-tabs {
  border-bottom: 1px solid #e9e9ef;
}

.nav-tabs .nav-link {
  color: #495057;
  border-radius: 4px 4px 0 0;
}

.nav-tabs .nav-link.active {
  color: #556ee6;
  background: #fff;
  border-color: #e9e9ef #e9e9ef #fff;
}

.table>thead tr {
  background: #f8f9fa;
}

.table>thead th {
  color: #495057;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: middle;
}

.metric {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  min-height: 230px;
  overflow: hidden;
}

.product-card button {
  border: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  text-align: left;
  padding: 0;
}

.product-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9ecef;
}

.product-body {
  padding: 10px;
}

.product-name {
  min-height: 42px;
}

.cart-panel {
  position: sticky;
  top: 16px;
}

.pos-sale-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 420px;
}

.pos-product-pane,
.pos-cart-pane {
  min-width: 0;
}

.cart-table {
  max-height: 46vh;
  overflow: auto;
}

.qty-control {
  width: 112px;
}

.receipt {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.dashboard-dark {
  background: #121617;
  color: #f4f7f8;
  min-height: 100vh;
}

.dashboard-dark .container-fluid {
  max-width: none;
}

.dash-filterbar,
.dash-filter-left,
.dash-filter-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dash-filterbar {
  justify-content: space-between;
  margin-bottom: 14px;
}

.dash-filter-left {
  color: #f3f6f7;
  font-weight: 600;
}

.dash-select,
.dash-icon-btn {
  align-items: center;
  background: #15191b;
  border: 1px solid #343a40;
  border-radius: 6px;
  color: #f8fafb;
  display: inline-flex;
  font: inherit;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px;
  text-decoration: none;
}

select.dash-select {
  min-width: 170px;
}

.dash-date-input {
  min-width: 150px;
}

.dash-date-range {
  color: #9aa5ab;
  font-size: 13px;
  font-weight: 500;
}

.dash-extra-filter {
  background: #15191b;
  border: 1px solid #343a40;
  border-radius: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 14px;
  padding: 10px;
}

.dash-extra-filter a {
  background: #202528;
  border: 1px solid #343a40;
  border-radius: 6px;
  color: #dce7ed;
  min-height: 30px;
  padding: 5px 10px;
  text-decoration: none;
}

.dash-extra-filter a:hover {
  border-color: #0d6efd;
  color: #58b7ff;
}

.dash-icon-btn:hover,
.dash-select:hover {
  color: #fff;
  border-color: #4c565f;
}

.dash-card,
.dash-mini-card {
  background: #181c1e;
  border: 1px solid #202528;
  border-radius: 7px;
  color: #f5f8f9;
}

.dash-card {
  padding: 16px;
}

.dash-top-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 14px;
}

.dash-kpi {
  min-height: 148px;
}

.dash-kpi-title {
  align-items: center;
  display: flex;
  font-weight: 700;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.dash-kpi-title strong {
  margin-left: auto;
}

.dash-round {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.dash-round.green {
  background: #2f821f;
}

.dash-round.orange {
  background: #d87800;
}

.dash-round.blue {
  background: #0b63c7;
}

.dash-two-col {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}

.dash-muted {
  color: #cbd3d9;
  font-size: 13px;
}

.dash-value {
  color: #f7fafc;
  font-size: 20px;
  font-weight: 800;
  margin-top: 6px;
}

.green-text,
.dash-up {
  color: #84ff5a;
}

.orange-text,
.dash-warning {
  color: #ff9d26;
}

.dash-down {
  color: #ff5252;
}

.dash-main-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
}

.dash-left,
.dash-right {
  min-width: 0;
}

.dash-channel-grid,
.dash-side-grid,
.dash-status-grid {
  display: grid;
  gap: 12px;
}

.dash-channel-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
}

.dash-mini-card {
  min-height: 72px;
  padding: 14px;
}

.dash-mini-card div:not(:last-child) {
  margin-bottom: 8px;
}

.dash-mini-card strong {
  color: #f5f8f9;
  float: right;
}

.dash-side-sales-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-side-sales-card .dash-mini-title {
  margin-bottom: 2px;
}

.dash-side-metric {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.dash-side-metric span {
  color: #a6b0cf;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.dash-side-sales-card .dash-side-metric strong {
  float: none;
  font-size: 1.05rem;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.dash-mini-title {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: space-between;
}

.dash-chart-card {
  padding: 14px 16px 18px;
}

.dash-tabs {
  display: flex;
  margin-bottom: 20px;
}

.dash-tabs button {
  background: #202426;
  border: 1px solid #2a3033;
  color: #aeb8bf;
  padding: 6px 14px;
}

.dash-tabs button:first-child {
  border-radius: 6px 0 0 6px;
}

.dash-tabs button:last-child {
  border-radius: 0 6px 6px 0;
}

.dash-tabs button.active {
  color: #4db3ff;
}

.dash-metric-strip {
  border-bottom: 1px solid #30383c;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  margin-bottom: 16px;
  overflow-x: auto;
}

.dash-metric-strip div {
  border-right: 1px solid #30383c;
  min-height: 78px;
  padding: 0 12px 12px;
  text-align: right;
}

.dash-metric-strip div:first-child {
  border-bottom: 3px solid #0b83ff;
}

.dash-metric-strip span,
.dash-metric-strip strong,
.dash-metric-strip em {
  display: block;
}

.dash-metric-strip span {
  color: #cbd3d9;
  font-size: 13px;
}

.dash-metric-strip strong {
  color: #e9f3fb;
  font-size: 16px;
  margin: 10px 0 4px;
}

.dash-metric-strip em {
  color: #84ff5a;
  font-style: normal;
}

.dash-chart {
  border: 1px solid #e2e7ea;
  display: block;
  height: 330px;
  max-height: 330px;
  width: 100%;
}

.dash-today h4 {
  font-size: 18px;
  margin-bottom: 16px;
}

.dash-today-grid,
.dash-status-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 18px;
}

.dash-today-grid div {
  background: #202426;
  border-radius: 7px;
  padding: 16px;
}

.dash-today-grid span,
.dash-status-grid span {
  color: #cbd3d9;
  display: block;
  margin-bottom: 12px;
}

.dash-hour-chart {
  height: 322px;
  padding: 120px 10px 0;
  position: relative;
}

.dash-flat-line {
  border-top: 1px dashed #e6edf0;
  margin: 0 16px 126px 22px;
}

.dash-hour-labels {
  border-top: 1px solid #c5d0d8;
  display: flex;
  justify-content: space-between;
  margin: 0 16px 0 22px;
  padding-top: 12px;
}

.dash-hour-labels span,
.dash-hour-chart .zero {
  color: #eaf1f4;
  font-size: 13px;
}

.dash-hour-chart .zero {
  left: 10px;
  position: absolute;
  top: 110px;
}

.dash-side-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.dash-status-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
}

.dash-status-grid .danger span,
.dash-status-grid .danger strong {
  color: #ff4646;
}

.dash-status-grid .success span,
.dash-status-grid .success strong {
  color: #62ff52;
}

.dot {
  background: #0b83ff;
  border-radius: 50%;
  display: inline-block;
  height: 12px;
  width: 12px;
}

.orders-dark {
  background: #171b1d;
  color: #f4f7f9;
  min-height: 100vh;
  padding-top: 18px;
}

.orders-topbar,
.orders-main-tabs,
.orders-status-tabs,
.orders-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.orders-channel-tabs,
.orders-actions,
.orders-main-tabs,
.orders-status-tabs,
.orders-tool-icons,
.orders-pagination {
  display: flex;
  gap: 7px;
}

.orders-channel-tabs a,
.orders-main-tabs a,
.orders-status-tabs a,
.orders-status-tabs button,
.orders-tool-icons button,
.orders-tool-icons a,
.orders-actions button,
.orders-actions a,
.orders-pagination button,
.orders-pagination a,
.orders-pagination select {
  align-items: center;
  background: #202426;
  border: 1px solid #30373d;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  gap: 7px;
  min-height: 32px;
  padding: 0 14px;
  text-decoration: none;
}

.orders-channel-tabs a {
  border-radius: 5px;
}

.orders-channel-tabs a.active,
.orders-main-tabs a.active,
.orders-status-tabs a.active {
  border-color: #006adb;
  color: #38a9ff;
}

.orders-actions a.primary {
  background: #0754ad;
  border-color: #0754ad;
}

.orders-actions button.primary {
  background: #0754ad;
  border-color: #0754ad;
}

#syncProductsButton,
#syncVariationsButton {
  flex: 0 0 auto;
  min-width: 112px;
  white-space: nowrap;
}

#datatable-pos-products,
#datatable-pos-product-variations {
  table-layout: fixed;
}

#datatable-pos-products thead th.no-sort,
#datatable-pos-product-variations thead th.no-sort {
  cursor: default;
  padding-right: 0.75rem;
}

#datatable-pos-products thead th.no-sort::before,
#datatable-pos-products thead th.no-sort::after,
#datatable-pos-product-variations thead th.no-sort::before,
#datatable-pos-product-variations thead th.no-sort::after {
  display: none !important;
}

#datatable-pos-products .ez-product-name-column,
#datatable-pos-product-variations .ez-product-name-column {
  width: auto;
}

#datatable-pos-products .ez-product-check-column,
#datatable-pos-product-variations .ez-product-check-column {
  width: 48px;
}

#datatable-pos-products .ez-product-status-column,
#datatable-pos-product-variations .ez-product-status-column {
  width: 96px;
}

#datatable-pos-products .ez-product-image-column,
#datatable-pos-product-variations .ez-product-image-column {
  width: 85px;
}

#datatable-pos-products .ez-product-code-column,
#datatable-pos-product-variations .ez-product-code-column {
  width: 145px;
}

#datatable-pos-product-variations .ez-variation-quantity-column {
  width: 90px;
}

#datatable-pos-product-variations .ez-variation-price-column {
  width: 135px;
  white-space: nowrap;
}

#datatable-pos-products .ez-product-actions-column,
#datatable-pos-product-variations .ez-product-actions-column {
  width: 88px;
  white-space: nowrap;
}

#datatable-pos-products .ez-product-count-column {
  width: 90px;
}

#datatable-pos-products .ez-product-stock-column {
  width: 82px;
}

#datatable-pos-products .ez-product-price-column {
  width: 145px;
  white-space: nowrap;
}

.ez-product-name-cell {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orders-main-tabs {
  border-bottom: 1px solid #2c3337;
  justify-content: flex-start;
  margin-top: 16px;
  min-height: 50px;
  position: relative;
}

.orders-main-tabs a {
  min-height: 44px;
}

.orders-tool-icons {
  margin-left: auto;
  align-items: center;
}

.orders-tool-icons button,
.orders-tool-icons a {
  justify-content: center;
  min-width: 33px;
  padding: 0;
}

.orders-status-tabs {
  justify-content: flex-start;
  margin: 8px 0;
  overflow-x: auto;
}

.orders-status-tabs a,
.orders-status-tabs button {
  border-radius: 3px;
  flex: 0 0 auto;
  min-height: 34px;
}

.orders-status-tabs span {
  background: #363b3e;
  border-radius: 999px;
  color: #c9d0d5;
  font-size: 12px;
  padding: 2px 7px;
}

.orders-status-tabs a.active span {
  background: #004f9e;
  color: #9bd4ff;
}

.orders-filter-panel {
  align-items: end;
  background: #1c2022;
  border: 1px solid #30373d;
  border-radius: 6px;
  display: flex;
  gap: 12px;
  margin: 10px 0;
  padding: 12px;
}

.orders-filter-panel label {
  color: #cfd7dc;
  display: grid;
  font-size: 12px;
  gap: 5px;
}

.orders-filter-panel select,
.orders-filter-panel button {
  background: #202426;
  border: 1px solid #30373d;
  border-radius: 6px;
  color: #fff;
  min-height: 34px;
  padding: 0 12px;
}

.orders-table-shell {
  background: #161a1c;
  border: 1px solid #252b2f;
  border-radius: 3px;
  overflow: hidden;
}

.orders-table {
  border-collapse: collapse;
  color: #fff;
  font-size: 14px;
  min-width: 1420px;
  width: 100%;
}

.orders-table th,
.orders-table td {
  border-bottom: 1px solid #202528;
  padding: 8px 10px;
  vertical-align: middle;
  white-space: nowrap;
}

.orders-table tbody tr[data-order-url] {
  cursor: pointer;
}

.pos-back-orders {
  align-items: center;
  color: #b8c0c5;
  display: inline-flex;
  gap: 7px;
  margin-left: 10px;
}

.pos-back-orders:hover {
  color: #fff;
}

.orders-table.compact th,
.orders-table.compact td {
  padding: 4px 8px;
}

.orders-table th {
  background: #2b3033;
  color: #dce2e7;
  font-weight: 700;
  height: 46px;
}

.orders-table tbody tr {
  background: #171b1d;
}

.orders-table tbody tr:hover {
  background: #202528;
}

.orders-table tbody tr.highlight {
  background: #650700;
}

.orders-table .form-check-input {
  background: #161a1c;
  border-color: #3c454b;
}

.orders-table td:first-child,
.orders-table th:first-child {
  text-align: center !important;
}

.orders-id,
.orders-phone,
.orders-product-link {
  color: #22a7ff;
  font-weight: 600;
  text-decoration: none;
}

.orders-no-phone {
  color: #ff4161;
  font-weight: 700;
}

.orders-avatar {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  height: 30px;
  justify-content: center;
  margin-right: 6px;
  width: 30px;
}

.orders-tag {
  align-items: center;
  border: 1px solid #3c454b;
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  gap: 5px;
  padding: 3px 7px;
}

.orders-tag span {
  background: #f97316;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.orders-date-wrapper {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 130px;
}

.orders-dot {
  background: #8a8d8e;
  border-radius: 50%;
  display: inline-block;
  height: 20px;
  margin-left: 4px;
  opacity: 0.8;
  vertical-align: middle;
  width: 20px;
}

.orders-status-select {
  align-items: center;
  background: #078b8c;
  border: 1px solid #07a8a9;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  min-height: 24px;
  min-width: 144px;
  padding: 1px 8px;
}

.orders-status-select.new {
  background: #078b8c;
  border-color: #07a8a9;
}

.orders-status-select.confirmed {
  background: #064bb2;
  border-color: #1067de;
}

.orders-status-select.delivered {
  background: #2e7d32;
  border-color: #388e3c;
}

.orders-status-select.shipping {
  background: #e65100;
  border-color: #f57c00;
}

.orders-status-select.packing {
  background: #7b1fa2;
  border-color: #8e24aa;
}

.orders-status-select.paid {
  background: #00796b;
  border-color: #00897b;
}

.orders-status-select.returning,
.orders-status-select.returned,
.orders-status-select.canceled,
.orders-status-select.removed {
  background: #c62828;
  border-color: #d32f2f;
}

.ez-status-picker {
  display: inline-flex;
  justify-content: center;
  position: relative;
}

.ez-status-picker .badge,
.ez-status-picker .orders-status-select {
  cursor: pointer;
}

#datatable-pos-purchases .ez-status-picker .badge {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 12.5px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 28px;
  min-width: 118px;
  padding: 5px 10px;
}

.ez-status-menu {
  background: rgba(12, 19, 23, 0.98);
  border: 1px solid rgba(97, 116, 126, 0.55);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  display: none;
  left: 50%;
  min-width: 178px;
  overflow: hidden;
  padding: 6px;
  position: absolute;
  top: calc(100% + 1px);
  transform: translateX(-50%);
  z-index: 30;
}

.ez-status-picker:hover .ez-status-menu,
.ez-status-picker:focus-within .ez-status-menu {
  display: block;
}

.orders-table-shell:has(.ez-status-picker:hover),
.orders-table-shell:has(.ez-status-picker:focus-within),
.orders-table-shell .table-responsive:has(.ez-status-picker:hover),
.orders-table-shell .table-responsive:has(.ez-status-picker:focus-within) {
  overflow: visible;
}

.ez-status-menu::before {
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  right: 0;
  top: -12px;
}

.ez-status-menu button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #edf4f7;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 11px;
  line-height: 1.2;
  min-height: 34px;
  padding: 7px 9px;
  text-align: left;
  width: 100%;
}

.ez-status-menu button i {
  color: #cfdbe1;
  flex: 0 0 16px;
  font-size: 13.5px;
  text-align: center;
}

.ez-status-menu button:hover {
  background: rgba(63, 143, 210, 0.2);
  color: #fff;
}

.ez-status-menu button:hover i {
  color: #fff;
}

.ez-status-menu button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.orders-footer {
  background: #171b1d;
  border: 1px solid #252b2f;
  border-top: 0;
  border-radius: 0 0 7px 7px;
  color: #e6edf0;
  min-height: 48px;
  padding: 0 14px;
}

.orders-footer span {
  margin-left: 10px;
}

.orders-footer strong {
  color: #fff;
}

.orders-footer .fa-gear {
  color: #38a9ff;
  margin-left: 12px;
}

.orders-pagination {
  align-items: center;
}

.orders-pagination span,
.orders-pagination strong,
.orders-pagination a {
  align-items: center;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  min-width: 24px;
  text-decoration: none;
}

.orders-pagination strong {
  border: 1px solid #0d80e8;
  border-radius: 7px;
  color: #57b8ff;
}


.ez-purchase-list-page .orders-table-shell {
  border-radius: 7px 7px 0 0;
}

.ez-purchase-list-footer strong {
  color: #18e8a8;
}

body[data-sidebar="dark"] .orders-dark {
  background: transparent;
  color: #495057;
  min-height: auto;
  padding-top: 0;
}

body[data-sidebar="dark"] .orders-topbar,
body[data-sidebar="dark"] .orders-main-tabs,
body[data-sidebar="dark"] .orders-status-tabs,
body[data-sidebar="dark"] .orders-footer {
  background: #fff;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
  margin-bottom: 16px;
  min-height: auto;
  padding: 14px;
}

body[data-sidebar="dark"] .orders-topbar,
body[data-sidebar="dark"] .orders-main-tabs {
  gap: 10px;
  flex-wrap: wrap;
}

body[data-sidebar="dark"] .orders-main-tabs {
  border-bottom: 0;
  margin-top: 0;
}

body[data-sidebar="dark"] .orders-channel-tabs,
body[data-sidebar="dark"] .orders-actions,
body[data-sidebar="dark"] .orders-tool-icons {
  flex-wrap: wrap;
}

body[data-sidebar="dark"] .orders-status-tabs {
  flex-wrap: wrap;
  overflow-x: visible;
}

body[data-sidebar="dark"] .orders-channel-tabs a,
body[data-sidebar="dark"] .orders-main-tabs a,
body[data-sidebar="dark"] .orders-status-tabs a,
body[data-sidebar="dark"] .orders-status-tabs button,
body[data-sidebar="dark"] .orders-tool-icons button,
body[data-sidebar="dark"] .orders-tool-icons a,
body[data-sidebar="dark"] .orders-actions button,
body[data-sidebar="dark"] .orders-actions a,
body[data-sidebar="dark"] .orders-pagination button,
body[data-sidebar="dark"] .orders-pagination a,
body[data-sidebar="dark"] .orders-pagination select {
  background: #f8f9fa;
  border-color: #ced4da;
  color: #495057;
}

body[data-sidebar="dark"] .orders-channel-tabs a.active,
body[data-sidebar="dark"] .orders-main-tabs a.active,
body[data-sidebar="dark"] .orders-status-tabs a.active {
  background: #556ee6;
  border-color: #556ee6;
  color: #fff;
}

body[data-sidebar="dark"] .orders-status-tabs span {
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
}

body[data-sidebar="dark"] .orders-status-tabs a.active span {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

body[data-sidebar="dark"] .orders-actions a.primary {
  background: #34c38f;
  border-color: #34c38f;
  color: #fff;
}

body[data-sidebar="dark"] .orders-tool-icons {
  margin-left: auto;
}

body[data-sidebar="dark"] .orders-tool-icons button,
body[data-sidebar="dark"] .orders-tool-icons a {
  height: 36px;
  min-width: 36px;
}

@media (max-width: 767.98px) {
  body[data-sidebar="dark"] .orders-status-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}

body[data-sidebar="dark"] .orders-filter-panel {
  background: #fff;
  border-color: #eff2f7;
  box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
}

body[data-sidebar="dark"] .orders-filter-panel label {
  color: #495057;
}

body[data-sidebar="dark"] .orders-filter-panel select,
body[data-sidebar="dark"] .orders-filter-panel button {
  background: #fff;
  border-color: #ced4da;
  color: #495057;
}

body[data-sidebar="dark"] .orders-table-shell {
  background: #fff;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
  padding: 16px;
}

body[data-sidebar="dark"] .orders-table {
  color: #495057;
  min-width: 0;
}

body[data-sidebar="dark"] .orders-table th,
body[data-sidebar="dark"] .orders-table td {
  border-color: #eff2f7;
}

body[data-sidebar="dark"] .orders-table th {
  background: #f8f9fa;
  color: #495057;
}

body[data-sidebar="dark"] .orders-table tbody tr,
body[data-sidebar="dark"] .orders-table tbody tr.highlight {
  background: #fff;
}

body[data-sidebar="dark"] .orders-table tbody tr:hover {
  background: #f8f9fa;
}

body[data-sidebar="dark"] .orders-table .form-check-input {
  background-color: #fff;
  border-color: #ced4da;
}

body[data-sidebar="dark"] .orders-tag {
  border-color: #ced4da;
  color: #495057;
}

body[data-sidebar="dark"] .orders-no-phone {
  color: #f46a6a;
}

body[data-sidebar="dark"] .orders-pagination strong {
  border-color: #556ee6;
  color: #556ee6;
}

.pos-create-page {
  background: #1f2325;
  color: #fff;
  min-height: 100vh;
  padding: 18px 12px 76px;
}

.pos-create-tabs {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.pos-create-tabs button {
  background: #15191b;
  border: 1px solid #2c3439;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  min-height: 34px;
  padding: 0 16px;
}

.pos-create-tabs button.active {
  color: #30aaff;
}

.pos-create-tabs .pos-add-tab {
  font-size: 18px;
  min-width: 34px;
  padding: 0;
}

.pos-window-icons {
  color: #b7b1a2;
  display: flex;
  gap: 14px;
  margin-left: auto;
}

.pos-create-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  margin-top: 30px;
  max-width: 100%;
}

.pos-create-left,
.pos-create-right,
.pos-payment-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.pos-create-page,
.pos-create-page .container-fluid,
.pos-create-page .pos-dark-card,
.pos-create-page input,
.pos-create-page textarea,
.pos-create-page button {
  box-sizing: border-box;
  min-width: 0;
}

.pos-bottom-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.pos-dark-card {
  background: #15191a;
  border: 1px solid #202628;
  border-radius: 7px;
  padding: 16px;
}

.pos-product-card {
  min-height: calc(100vh - 230px);
}

@media (min-width: 992px) {
  .pos-create-page {
    height: 100vh;
    overflow: hidden;
  }

  .pos-create-page .container-fluid {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 94px);
    min-height: 0;
  }

  .pos-create-grid {
    flex: 1 1 auto;
    height: auto;
    margin-top: 18px;
    min-height: 0;
    overflow: hidden;
  }

  .pos-create-left,
  .pos-create-right {
    max-height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 4px;
  }

  .pos-create-left::-webkit-scrollbar,
  .pos-create-right::-webkit-scrollbar,
  .pos-order-product-area::-webkit-scrollbar {
    width: 8px;
  }

  .pos-cart-body::-webkit-scrollbar,
  .pos-search-results::-webkit-scrollbar {
    width: 8px;
  }

  .pos-create-left::-webkit-scrollbar-thumb,
  .pos-create-right::-webkit-scrollbar-thumb,
  .pos-order-product-area::-webkit-scrollbar-thumb,
  .pos-cart-body::-webkit-scrollbar-thumb,
  .pos-search-results::-webkit-scrollbar-thumb {
    background: #364047;
    border-radius: 999px;
  }

  .pos-create-left::-webkit-scrollbar-track,
  .pos-create-right::-webkit-scrollbar-track,
  .pos-order-product-area::-webkit-scrollbar-track,
  .pos-cart-body::-webkit-scrollbar-track,
  .pos-search-results::-webkit-scrollbar-track {
    background: transparent;
  }

  .pos-product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .pos-order-product-area {
    flex: 1 1 auto;
    min-height: 0;
  }

  .pos-cart-panel:not(.d-none) {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin-bottom: 0;
    min-height: 0;
  }

  .pos-cart-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }
}

.pos-card-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pos-card-head h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.pos-card-head button,
.pos-product-actions button,
.pos-inline-actions button,
.pos-tag-btn,
.pos-barcode,
.pos-footer-actions button {
  align-items: center;
  background: #1d2123;
  border: 1px solid #30383d;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
}

.pos-card-head .pos-icon-link {
  background: transparent;
  border: 0;
  color: #fff;
  min-height: 20px;
  padding: 0;
}

.pos-choice {
  display: inline-flex;
  position: relative;
}

.pos-choice>button {
  width: 100%;
}

.pos-choice-menu {
  background: #202426;
  border: 1px solid #3a4349;
  border-radius: 7px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  display: none;
  left: 0;
  min-width: 190px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 6px);
  z-index: 50;
}

.pos-create-right .pos-choice-menu {
  left: auto;
  right: 0;
}

.pos-choice.open .pos-choice-menu {
  display: grid;
  gap: 4px;
}

.pos-choice-menu button {
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #f4f7f9;
  justify-content: flex-start;
  min-height: 30px;
  padding: 0 10px;
  text-align: left;
}

.pos-choice-menu button:hover {
  background: #15191b;
  color: #39aaff;
}

.pos-status-choice>.pos-dark-input {
  background: #078c95;
  border-color: #0bb9c6;
  color: #fff;
}

.pos-status-choice.is-received>.pos-dark-input {
  background: #269405;
  border-color: #42c313;
}

.pos-status-menu {
  background: #171b1d;
  border-color: #20272b;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  min-width: 220px;
  padding: 0;
}

.pos-status-menu button {
  align-items: center;
  border-bottom: 1px dashed #343b40;
  border-radius: 0;
  color: #d7dde0;
  display: flex;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
}

.pos-status-menu button:last-child {
  border-bottom: 0;
}

.pos-status-menu button i {
  color: #b7c0c5;
  font-size: 14px;
  text-align: center;
  width: 18px;
}

.pos-status-menu button:hover {
  background: #202628;
  color: #fff;
}

.pos-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pos-product-toolbar {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  margin-bottom: 12px;
}

.pos-search-wrap {
  position: relative;
}

.pos-search-wrap #searchInput {
  padding-left: 12px;
  padding-right: 90px;
  width: 100%;
}

.pos-stock-toggle {
  align-items: center;
  background: transparent;
  border-left: 1px solid #2e383e;
  border-radius: 0 6px 6px 0;
  bottom: 0;
  cursor: pointer;
  display: inline-flex;
  gap: 5px;
  padding: 0 10px;
  position: absolute;
  right: 0;
  top: 0;
  transition: background 0.15s;
  user-select: none;
  white-space: nowrap;
}

.pos-stock-toggle input[type=checkbox] {
  appearance: none;
  background: #15191b;
  border: 1px solid #3c454b;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  height: 14px;
  transition: background 0.15s, border-color 0.15s;
  width: 14px;
}

.pos-stock-toggle input[type=checkbox]:checked {
  background: #34aaff;
  border-color: #34aaff;
  box-shadow: inset 0 0 0 2px #15191b;
}

.pos-stock-toggle span {
  color: #9aa0a6;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.15s;
}

.pos-stock-toggle:hover {
  background: rgba(52, 170, 255, 0.08);
}

.pos-stock-toggle:has(input:checked) span {
  color: #34aaff;
}

.pos-toggle-tabs {
  background: #222729;
  border-radius: 6px;
  display: flex;
  padding: 2px;
}

.pos-toggle-tabs button,
.pos-note-tabs button {
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #b7b7b7;
  font-weight: 700;
  min-height: 28px;
  padding: 0 12px;
}

.pos-toggle-tabs button.active,
.pos-note-tabs button.active {
  background: #15191b;
  color: #34aaff;
}

.pos-dark-input {
  background: #1d2123;
  border: 1px solid #1d2123;
  border-radius: 6px;
  color: #fff;
  min-height: 32px;
  padding: 7px 12px;
}

.pos-dark-input::placeholder {
  color: #6f7478;
}

.pos-dark-input.small {
  max-width: 184px;
}

.pos-dark-input.readonly {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.pos-dark-input.muted,
.pos-dark-input .muted {
  color: #a4a6a8;
}

.pos-check {
  align-items: center;
  color: #fff;
  display: inline-flex;
  gap: 8px;
  min-height: 32px;
  white-space: nowrap;
}

.pos-check input {
  appearance: none;
  background: #15191b;
  border: 1px solid #3c454b;
  border-radius: 4px;
  height: 16px;
  width: 16px;
}

.pos-check input:checked {
  background: #0d6efd;
  border-color: #2f9bff;
  box-shadow: inset 0 0 0 3px #15191b;
}

.pos-order-product-area {
  align-items: stretch;
  border: 1px solid #3a4145;
  border-radius: 7px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  min-height: 360px;
  overflow: auto;
  padding: 10px;
}

.pos-order-product-area .product-card {
  background: #1d2123;
  border-color: #30383d;
  color: #fff;
  min-height: 190px;
}

.pos-order-product-area .product-card.out-of-stock {
  opacity: 0.45;
}

.pos-order-product-area .product-card button:disabled {
  cursor: not-allowed;
}

.pos-product-add {
  align-items: center;
  border: 1px solid #0d6efd;
  border-radius: 5px;
  color: #58b7ff;
  display: inline-flex;
  font-size: 12px;
  gap: 5px;
  margin-top: 9px;
  padding: 4px 8px;
}

.pos-order-product-area .product-grid {
  padding: 10px;
}

.pos-search-list {
  background: #141819;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}

.pos-search-results {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.pos-search-quick {
  background: #2a2d2f;
  border: 0;
  border-bottom: 1px solid #3b4145;
  color: #cfd5d8;
  display: block;
  font-size: 14px;
  padding: 9px 14px;
  text-align: left;
  width: 100%;
}

.pos-search-quick:hover {
  background: #303437;
}

.pos-search-quick i {
  color: #ffb22f;
}

.pos-search-result {
  align-items: center;
  background: #15191a;
  border: 0;
  border-bottom: 1px solid #20282d;
  color: #f5f8fa;
  display: flex;
  gap: 12px;
  padding: 8px 14px;
  text-align: left;
  width: 100%;
}

.pos-search-result:hover {
  background: #1b2022;
}

.pos-search-result.out-of-stock {
  opacity: 0.45;
}

.pos-search-thumb {
  background: #eef2f5;
  border-radius: 5px;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.pos-search-info {
  flex: 1 1 auto;
  min-width: 0;
}

.pos-search-title {
  font-weight: 800;
  margin-bottom: 7px;
}

.pos-search-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.pos-search-badge {
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 4px 8px;
}

.pos-search-badge.success {
  background: #46a612;
}

.pos-search-badge.serial {
  background: #9d0064;
}

.pos-search-badge.prop {
  background: #1e3a52;
  border: 1px solid #2d6090;
  color: #8ecfff;
}

.pos-search-prop-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: #8a9299;
  margin-bottom: 7px;
}

.pos-search-prop-label span {
  color: #7a8490;
}

.pos-search-prop-label strong {
  color: #c8dde8;
  font-weight: 600;
}

.pos-search-meta {
  color: #adb5ba;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
}

.pos-search-meta strong {
  color: #fff;
}

.pos-search-meta .danger {
  color: #ff4c8b;
}

.pos-search-meta .info {
  color: #28d7ff;
}

.pos-search-meta .teal {
  color: #18e8c9;
}

.pos-search-price {
  color: #6cff58;
  flex: 0 0 auto;
  margin-left: auto;
}

.pos-cart-panel {
  background: #15191b;
  border: 1px solid #343c41;
  border-radius: 7px;
  margin-bottom: 10px;
  overflow: hidden;
}

.pos-cart-head {
  align-items: center;
  background: #202528;
  color: #e8edf0;
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 12px;
}

.pos-cart-head button,
.pos-cart-table-head button,
.pos-cart-remove,
.pos-cart-row-actions button,
.pos-cart-qty button {
  align-items: center;
  background: #1b2023;
  border: 1px solid #374047;
  border-radius: 5px;
  color: #dce6ec;
  display: inline-flex;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
}

.pos-cart-table-head {
  align-items: center;
  background: #202528;
  border-bottom: 1px solid #2d353a;
  color: #839099;
  display: grid;
  font-size: 12px;
  gap: 10px;
  grid-template-columns: 52px minmax(180px, 1fr) 110px 110px 126px 116px 76px;
  min-height: 42px;
  padding: 6px 12px;
}

.pos-cart-table-head span:first-child {
  color: #e8edf0;
  font-size: 15px;
  font-weight: 700;
  grid-column: 1 / 3;
}

.pos-cart-table-head span:not(:first-child) {
  color: #dce6ec;
  font-weight: 700;
}

.pos-cart-table-head span:nth-child(5) {
  text-align: right;
}

.pos-cart-table-head button {
  grid-column: 7;
  justify-self: end;
}

.pos-cart-row {
  align-items: center;
  border-top: 1px solid #262d31;
  display: grid;
  gap: 10px;
  grid-template-columns: 52px minmax(180px, 1fr) 110px 110px 126px 116px 76px;
  padding: 9px 12px;
}

.pos-cart-thumb {
  background: #202528;
  border: 1px solid #343c41;
  border-radius: 5px;
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.pos-cart-name {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pos-cart-name strong {
  color: #fff;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pos-cart-name span,
.pos-cart-price,
.pos-cart-discount,
.pos-cart-price-text,
.pos-cart-discount-text {
  color: #9aa3a8;
  font-size: 13px;
}

.pos-cart-item-note {
  color: #f7c873 !important;
  display: -webkit-box;
  line-height: 1.35;
  overflow: hidden;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pos-cart-item-note-input {
  background: #111517;
  border: 1px solid #374047;
  border-radius: 5px;
  color: #dce6ec;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
  padding: 6px 8px;
  resize: vertical;
  width: 100%;
}

.pos-cart-price,
.pos-cart-discount {
  display: grid;
}

.pos-cart-discount {
  grid-template-columns: minmax(0, 1fr) 42px;
}

.pos-cart-money-input {
  background: #111517;
  border: 1px solid #374047;
  border-radius: 5px;
  color: #fff;
  height: 30px;
  padding: 0 8px;
  text-align: right;
  width: 100%;
}

.pos-cart-discount-type {
  background: #111517;
  border: 1px solid #374047;
  border-left: 0;
  border-radius: 0 5px 5px 0;
  color: #fff;
  height: 30px;
  padding: 0 4px;
}

.pos-cart-discount .pos-cart-money-input {
  border-radius: 5px 0 0 5px;
}

.pos-cart-qty {
  align-items: center;
  display: grid;
  grid-template-columns: 30px 52px 30px;
}

.pos-cart-qty button,
.pos-cart-qty input {
  border-color: #34414a;
  height: 32px;
}

.pos-cart-qty button {
  background: #172024;
  color: #dfeeff;
  font-size: 14px;
  min-height: 32px;
  padding: 0;
}

.pos-cart-qty button:first-child {
  border-radius: 6px 0 0 6px;
}

.pos-cart-qty button:last-child {
  border-radius: 0 6px 6px 0;
}

.pos-cart-qty input {
  background: #111517;
  border: 1px solid #374047;
  color: #fff;
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  font-weight: 700;
  height: 32px;
  text-align: center;
  width: 52px;
}

.pos-cart-qty.is-text,
.pos-cart-price-text,
.pos-cart-discount-text {
  color: #dce6ec;
  font-weight: 700;
}

.pos-cart-price-text,
.pos-cart-discount-text,
.pos-cart-qty.is-text {
  text-align: right;
}

.pos-cart-row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.pos-cart-row-actions button {
  min-width: 30px;
  padding: 0;
}

.pos-cart-row-actions button.save {
  color: #18d783;
}

.pos-cart-line-total {
  color: #fff;
  text-align: right;
}

.pos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.pos-tags button {
  align-items: center;
  background: #203043;
  border: 1px solid #1768bd;
  border-radius: 999px;
  color: #8ed0ff;
  display: inline-flex;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
}

.pos-tag-picker {
  background: #151a1d;
  border: 1px solid #30383d;
  border-radius: 7px;
  margin-bottom: 10px;
  padding: 8px;
}

.pos-tag-picker-list {
  display: grid;
  margin-top: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.pos-tag-picker-list button {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed #2f383d;
  color: #dce6ec;
  display: flex;
  gap: 8px;
  min-height: 34px;
  padding: 0 4px;
  text-align: left;
}

.pos-tag-picker-list button:hover,
.pos-tag-picker-list button.selected {
  background: #1d2529;
  color: #fff;
}

.pos-tag-picker-list button span {
  background: #1f9d55;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.pos-tag-picker-list button:nth-child(2n) span {
  background: #1d9bf0;
}

.pos-tag-picker-list button:nth-child(3n) span {
  background: #f59e0b;
}

.pos-tag-picker-list button i {
  color: #18d783;
  margin-left: auto;
}

.pos-tag-picker-empty {
  color: #9aa3a8;
  padding: 10px 4px;
}

.pos-empty-search {
  align-items: center;
  color: #b8c0c5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 168px;
}

.pos-empty-search i {
  color: #69747c;
  font-size: 32px;
}

.pos-empty-cart {
  align-items: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 168px;
}

.pos-empty-cart i {
  color: #d9dde1;
  font-size: 48px;
}

.pos-check-row {
  display: flex;
  gap: 34px;
  margin: 18px 0 26px;
}

.pos-money-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(120px, 1fr) minmax(160px, 180px) 16px;
  margin-bottom: 14px;
}

.pos-money-input {
  background: #1d2123;
  border: 1px solid #1d2123;
  border-radius: 6px;
  color: #fff;
  min-height: 30px;
  padding: 4px 10px;
  text-align: right;
}

.pos-total-lines {
  border-top: 1px dashed #2d3438;
  margin-top: 12px;
  padding-top: 12px;
}

.pos-total-lines div {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.pos-total-lines strong,
.success {
  color: #5cff49;
}

.danger {
  color: #ff334f !important;
}

.pos-note-tabs {
  background: #222729;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
  padding: 2px;
}

.pos-note-area {
  background: #1d2123;
  border: 1px solid #1d2123;
  border-radius: 6px;
  color: #fff;
  min-height: 136px;
  padding: 14px 22px;
  resize: vertical;
  width: 100%;
}

.pos-order-note-images {
  border-top: 1px solid #2d3438;
  margin-top: 14px;
  padding-top: 12px;
}

.pos-order-note-images-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pos-order-note-images-head strong {
  color: #dce6ec;
  font-size: 13px;
}

.pos-order-note-images-head button {
  background: transparent;
  border: 1px solid #3a444a;
  border-radius: 6px;
  color: #cbd7dd;
  font-size: 12px;
  padding: 5px 9px;
}

.pos-order-note-images-head button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.pos-order-note-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pos-order-note-image {
  display: block;
  position: relative;
}

.pos-order-note-image-list a,
.pos-order-note-image-list img {
  border-radius: 7px;
  display: block;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.pos-order-note-image-list img {
  border: 1px solid #374047;
}

.pos-order-note-image > button {
  align-items: center;
  background: #cc3d3d;
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 20px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: -6px;
  top: -6px;
  width: 20px;
}

.pos-order-note-images-empty {
  color: #87949b;
  font-size: 12px;
}

.pos-note-add {
  align-items: center;
  background: transparent;
  border: 1px dashed #3a4145;
  border-radius: 7px;
  color: #999;
  display: flex;
  flex-direction: column;
  height: 64px;
  justify-content: center;
  margin-top: 12px;
  width: 64px;
}

.pos-info-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 130px minmax(0, 1fr);
}

.pos-info-grid label {
  align-self: center;
}

.pos-grey-dot {
  background: #888;
  border-radius: 50%;
  display: inline-block;
  height: 20px;
  margin-right: 8px;
  width: 20px;
}

.pos-tag-btn {
  margin-top: 8px;
}

.pos-inline-actions {
  display: flex;
  gap: 8px;
}

.pos-customer-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.pos-customer-grid .pos-dark-input {
  max-width: 100%;
  width: 100%;
}

.pos-customer-picker {
  position: relative;
}

.pos-counter-totals {
  border-top: 0;
  margin: 0 0 20px;
  padding: 0 0 14px;
}

.pos-total-lines .pos-counter-total {
  border-top: 1px solid #2d3438;
  font-size: 16px;
  margin-top: 14px;
  padding-top: 14px;
}

.pos-counter-change {
  align-items: center;
  background: #1d2123;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  min-height: 42px;
  padding: 0 12px;
}

.pos-counter-change strong {
  color: #5cff49;
  font-size: 16px;
}

.pos-note-card .pos-note-area {
  min-height: 90px;
  margin-top: 14px;
}

.pos-customer-results {
  background: #15191b;
  border: 1px solid #343c41;
  border-radius: 7px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  left: 0;
  margin-top: 8px;
  max-height: 220px;
  overflow: auto;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1050;
}

.pos-customer-results button,
.pos-customer-empty {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #262d31;
  color: #e7ecef;
  display: grid;
  gap: 3px;
  padding: 9px 12px;
  text-align: left;
  width: 100%;
}

.pos-customer-results button:hover {
  background: #20282d;
}

.pos-customer-results span,
.pos-customer-empty {
  color: #9aa3a8;
  font-size: 13px;
}

.pos-create-footer {
  align-items: center;
  background: #141819;
  border-top: 1px solid #202628;
  bottom: 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  left: 240px;
  min-height: 72px;
  padding: 12px 16px;
  position: fixed;
  right: 0;
  z-index: 900;
}

.ez-sidebar-collapsed .pos-create-footer {
  left: 68px;
}

.pos-create-footer strong {
  color: #dfeeff;
}

.pos-footer-total {
  align-items: baseline;
  display: flex;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
}

.pos-footer-total strong {
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.pos-footer-actions {
  display: flex;
  gap: 10px;
}

.pos-footer-actions button {
  min-height: 44px;
  padding: 0 18px;
}

.pos-footer-actions button.primary {
  background: #0754ad;
  border-color: #0754ad;
}

@media (max-width: 991.98px) {
  .ez-sidebar {
    width: 68px;
  }

  .ez-sidebar-menu,
  .ez-sidebar-footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .ez-sidebar-brand {
    min-height: 76px;
    padding: 0 7px 16px;
  }

  .ez-sidebar-logo {
    font-size: 11px;
    height: 42px;
    width: 42px;
  }

  .ez-sidebar-logo span {
    border-radius: 10px;
    height: 26px;
    width: 26px;
  }

  .ez-sidebar-store,
  .ez-sidebar-submenu {
    display: none !important;
  }

  .ez-sidebar-link {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0;
  }

  .ez-sidebar-label,
  .ez-sidebar-chevron {
    display: none;
  }

  .ezone-has-sidebar .main-content,
  .ezone-has-sidebar>main:not(.main-content) {
    margin-left: 68px;
    width: calc(100% - 68px);
  }

  .pos-create-footer {
    left: 68px;
  }

  .cart-panel {
    position: static;
  }

  .pos-sale-layout {
    grid-template-columns: 1fr;
  }

  .dash-top-grid,
  .dash-main-grid,
  .dash-channel-grid,
  .dash-side-grid,
  .dash-status-grid {
    grid-template-columns: 1fr;
  }

  .dash-metric-strip {
    grid-template-columns: repeat(7, 140px);
  }

  .orders-topbar,
  .orders-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .pos-create-grid,
  .pos-bottom-grid,
  .pos-product-toolbar,
  .pos-customer-grid {
    grid-template-columns: 1fr;
  }

  .pos-create-footer {
    left: 68px;
  }
}

@media (max-width: 767.98px) {
  body.ezone-has-sidebar {
    overflow-x: hidden;
  }

  body.ezone-has-sidebar .vertical-menu {
    display: none;
  }

  body.ezone-has-sidebar.sidebar-enable .vertical-menu {
    display: block;
    width: 240px;
    z-index: 1100;
  }

  body.ezone-has-sidebar #page-topbar,
  body.vertical-collpsed.ezone-has-sidebar #page-topbar {
    left: 0;
  }

  body.ezone-has-sidebar .main-content,
  body.ezone-has-sidebar>main:not(.main-content),
  body.vertical-collpsed.ezone-has-sidebar .main-content,
  body.vertical-collpsed.ezone-has-sidebar>main:not(.main-content) {
    margin-left: 0;
    width: 100%;
  }

  .pos-create-page {
    overflow-x: hidden;
    padding-bottom: 92px;
  }

  .dash-chart {
    height: 260px;
    max-height: 260px;
  }

  .pos-create-page .container-fluid {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .pos-create-page .pos-create-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .pos-create-left,
  .pos-create-right,
  .pos-dark-card {
    max-width: 100%;
    width: 100%;
  }

  .pos-product-card {
    min-height: 0;
  }

  .pos-product-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pos-product-toolbar .pos-search-wrap {
    grid-column: 1 / -1;
    width: 100%;
  }

  .pos-order-product-area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 220px;
  }

  .pos-cart-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .pos-cart-table-head {
    display: none;
  }

  .pos-cart-thumb {
    grid-column: 1;
    grid-row: 1 / 3;
    height: 48px;
    width: 48px;
  }

  .pos-cart-name {
    grid-column: 2;
    grid-row: 1;
  }

  .pos-cart-price.is-editable {
    grid-column: 2;
    grid-row: 2;
    max-width: 116px;
  }

  .pos-cart-discount {
    grid-column: 2;
    grid-row: 3;
    max-width: 116px;
  }

  .pos-cart-qty {
    grid-column: 2;
    grid-row: 4;
  }

  .pos-cart-line-total {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
  }

  .pos-cart-remove,
  .pos-cart-row-actions {
    grid-column: 3;
    grid-row: 1;
  }

  .pos-money-row {
    grid-template-columns: minmax(90px, 1fr) minmax(0, 180px) 14px;
  }

  .pos-choice,
  .pos-choice>button {
    max-width: 100%;
  }

  .pos-choice-menu {
    max-width: calc(100vw - 48px);
  }

  .pos-window-icons {
    display: none;
  }

  .pos-create-footer,
  body[data-sidebar-size="small"] .pos-create-footer,
  body.vertical-collpsed .pos-create-footer {
    left: 0;
    padding: 10px 12px;
  }

  .pos-footer-total {
    font-size: 15px;
  }

  .pos-footer-total strong {
    font-size: 20px;
  }

  .pos-footer-actions {
    gap: 8px;
  }

  .pos-footer-actions button {
    min-height: 42px;
    padding: 0 12px;
  }
}

@media (max-width: 420px) {
  .pos-order-product-area {
    grid-template-columns: 1fr;
  }

  .pos-create-footer>div:first-child {
    display: none;
  }

  .pos-footer-actions {
    justify-content: stretch;
    width: 100%;
  }

  .pos-footer-actions button {
    flex: 1;
    justify-content: center;
  }
}

/* Unified dark surfaces for authenticated management screens. */
body.ezone-has-sidebar {
  background: #0f1315;
  color: #dce3e7;
}

body.ezone-has-sidebar #layout-wrapper,
body.ezone-has-sidebar .main-content,
body.ezone-has-sidebar .page-content,
body.ezone-has-sidebar .orders-dark,
body.ezone-has-sidebar .dashboard-dark {
  background: #0f1315;
  color: #dce3e7;
}

body.ezone-has-sidebar #page-topbar,
body.ezone-has-sidebar #page-topbar .navbar-header,
body.ezone-has-sidebar .navbar-brand-box {
  background: #14191c;
  border-bottom-color: #293136;
  box-shadow: none;
}

body.ezone-has-sidebar .header-item,
body.ezone-has-sidebar .noti-icon i,
body.ezone-has-sidebar #page-topbar .text-muted {
  color: #c2cbd0 !important;
}

body.ezone-has-sidebar .header-item:hover,
body.ezone-has-sidebar .header-item:focus,
body.ezone-has-sidebar .navbar-header .dropdown .show.header-item {
  background: #1d2428;
  color: #fff !important;
}

body.ezone-has-sidebar .dropdown-menu,
body.ezone-has-sidebar .modal-content {
  background: #171d20;
  border-color: #30393e;
  color: #e8edef;
}

body.ezone-has-sidebar .dropdown-item {
  color: #cbd3d7;
}

body.ezone-has-sidebar .dropdown-item:hover,
body.ezone-has-sidebar .dropdown-item:focus {
  background: #222a2e;
  color: #fff;
}

body.ezone-has-sidebar .dropdown-divider,
body.ezone-has-sidebar .modal-header,
body.ezone-has-sidebar .modal-footer {
  border-color: #30393e;
}

body.ezone-has-sidebar .footer {
  background: #14191c;
  border-top: 1px solid #293136;
  color: #8f9aa0;
}

body.ezone-has-sidebar .ez-page-title {
  border-color: #293136;
}

body.ezone-has-sidebar .ez-page-title h3,
body.ezone-has-sidebar .card-title,
body.ezone-has-sidebar .modal-title,
body.ezone-has-sidebar label {
  color: #edf2f4;
}

body.ezone-has-sidebar .ez-card,
body.ezone-has-sidebar .card {
  background: #151a1d;
  border-color: #252d31;
  box-shadow: none;
  color: #dce3e7;
}

body.ezone-has-sidebar .form-control,
body.ezone-has-sidebar .form-select {
  background-color: #1d2326;
  border-color: #343d42;
  color: #f3f6f7;
}

body.ezone-has-sidebar .form-control::placeholder {
  color: #78848a;
}

body.ezone-has-sidebar .form-control:focus,
body.ezone-has-sidebar .form-select:focus {
  background-color: #1d2326;
  border-color: #4a8fd8;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(74, 143, 216, 0.18);
}

body.ezone-has-sidebar .table {
  --bs-table-bg: #151a1d;
  --bs-table-color: #dce3e7;
  --bs-table-border-color: #2b3439;
  --bs-table-hover-bg: #1c2327;
  --bs-table-hover-color: #fff;
}

body.ezone-has-sidebar .orders-topbar,
body.ezone-has-sidebar .orders-main-tabs,
body.ezone-has-sidebar .orders-status-tabs,
body.ezone-has-sidebar .orders-footer,
body.ezone-has-sidebar .orders-filter-panel,
body.ezone-has-sidebar .orders-table-shell {
  background: #151a1d;
  border-color: #293136;
  box-shadow: none;
  color: #dce3e7;
}

body.ezone-has-sidebar .orders-channel-tabs a,
body.ezone-has-sidebar .orders-main-tabs a,
body.ezone-has-sidebar .orders-status-tabs a,
body.ezone-has-sidebar .orders-status-tabs button,
body.ezone-has-sidebar .orders-tool-icons button,
body.ezone-has-sidebar .orders-tool-icons a,
body.ezone-has-sidebar .orders-actions button,
body.ezone-has-sidebar .orders-actions a,
body.ezone-has-sidebar .orders-pagination button,
body.ezone-has-sidebar .orders-pagination a,
body.ezone-has-sidebar .orders-pagination select,
body.ezone-has-sidebar .orders-filter-panel select,
body.ezone-has-sidebar .orders-filter-panel button {
  background: #1d2326;
  border-color: #343d42;
  color: #cbd3d7;
}

body.ezone-has-sidebar .orders-table {
  color: #dce3e7;
}

body.ezone-has-sidebar .orders-table th,
body.ezone-has-sidebar .orders-table td {
  background: #151a1d;
  border-color: #293136;
  color: #dce3e7;
}

body.ezone-has-sidebar .orders-table th {
  background: #1a2023;
  color: #aeb9be;
}

body.ezone-has-sidebar .orders-table tbody tr,
body.ezone-has-sidebar .orders-table tbody tr.highlight {
  background: #151a1d;
}

body.ezone-has-sidebar .orders-table tbody tr:hover,
body.ezone-has-sidebar .orders-table tbody tr.highlight:hover {
  background: #1c2327;
}

body.ezone-has-sidebar .orders-tag {
  background: #25303a;
  color: #8dc8ff;
}

body.ezone-has-sidebar .text-dark {
  color: #e8edef !important;
}

.product-edit-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 180px minmax(0, 1fr);
  margin-bottom: 18px;
}

.product-edit-image {
  display: grid;
  gap: 8px;
}

.product-edit-image img {
  aspect-ratio: 4 / 3;
  background: #20272b;
  border: 1px solid #343d42;
  border-radius: 6px;
  object-fit: contain;
  width: 100%;
}

.product-edit-image span {
  color: #8f9aa0;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 575.98px) {
  .product-edit-layout {
    grid-template-columns: 1fr;
  }

  .product-edit-image {
    margin: 0 auto;
    max-width: 220px;
    width: 100%;
  }
}

/* ========================================= */
/* MODERN UI ENHANCEMENTS */
/* ========================================= */

:root {
  --bs-font-sans-serif: 'Inter', sans-serif;
  --bs-body-font-family: 'Inter', sans-serif;
}

body {
  font-family: 'Inter', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Card Styles */
.ez-card,
.card,
.dash-card,
.dash-mini-card,
.metric,
.product-card {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.ez-card:hover,
.card:hover,
.product-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

body[data-bs-theme="dark"] .ez-card,
body[data-bs-theme="dark"] .card,
body[data-bs-theme="dark"] .dash-card,
body[data-bs-theme="dark"] .dash-mini-card,
body[data-bs-theme="dark"] .metric,
body[data-bs-theme="dark"] .product-card {
  background: #1a1e21;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-bs-theme="dark"] .ez-card:hover,
body[data-bs-theme="dark"] .card:hover,
body[data-bs-theme="dark"] .product-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

/* Modern Header / Glassmorphism */
#page-topbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none !important;
}

body[data-bs-theme="dark"] #page-topbar {
  background: rgba(18, 22, 23, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sidebar Modernization */
.ez-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.ez-sidebar-link {
  border-radius: 10px;
  transition: all 0.25s ease;
}

.ez-sidebar-link:hover,
.ez-sidebar-link.active {
  background: rgba(61, 137, 255, 0.1);
  color: #55a0ff;
  transform: translateX(4px);
}

.ez-sidebar-link.active {
  box-shadow: inset 4px 0 0 #55a0ff;
}

/* Button Modernization */
.btn {
  border-radius: 8px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #556ee6 0%, #3b50c1 100%);
  border: none;
  box-shadow: 0 4px 10px rgba(85, 110, 230, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(85, 110, 230, 0.4);
}

/* Inputs & Forms */
.form-control,
.dash-select,
.dash-date-input,
.dash-icon-btn {
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: #556ee6;
  box-shadow: 0 0 0 0.15rem rgba(85, 110, 230, 0.15);
}

body[data-bs-theme="dark"] .form-control,
body[data-bs-theme="dark"] .dash-select,
body[data-bs-theme="dark"] .dash-icon-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e9ecef;
}

body[data-bs-theme="dark"] .form-control:focus,
body[data-bs-theme="dark"] .dash-select:focus {
  border-color: #556ee6;
  box-shadow: 0 0 0 0.15rem rgba(85, 110, 230, 0.25);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(135, 143, 153, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(135, 143, 153, 0.5);
}

/* ========================================= */
/* FIX MISSING FULL DARK MODE COLORS */
/* ========================================= */

body[data-bs-theme="dark"] {
  color-scheme: dark;
}

body[data-bs-theme="dark"] select option {
  background-color: #1a1e21;
  color: #e9ecef;
}

body[data-bs-theme="dark"] .nav-tabs {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body[data-bs-theme="dark"] .nav-tabs .nav-link {
  color: #aeb9be;
}

body[data-bs-theme="dark"] .nav-tabs .nav-link:hover,
body[data-bs-theme="dark"] .nav-tabs .nav-link:focus {
  border-color: rgba(255, 255, 255, 0.08) rgba(255, 255, 255, 0.08) #1a1e21;
}

body[data-bs-theme="dark"] .nav-tabs .nav-link.active {
  background: #1a1e21;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08) rgba(255, 255, 255, 0.08) #1a1e21;
}

body[data-bs-theme="dark"] .table {
  color: #dce3e7;
}

body[data-bs-theme="dark"] .table>thead tr {
  background: rgba(255, 255, 255, 0.03) !important;
}

body[data-bs-theme="dark"] .table>thead th {
  color: #aeb9be;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body[data-bs-theme="dark"] .table td,
body[data-bs-theme="dark"] .table th {
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}

body[data-bs-theme="dark"] .select2-container--default .select2-selection--single,
body[data-bs-theme="dark"] .select2-dropdown,
body[data-bs-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
  background: #1a1e21;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e9ecef;
}

body[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #e9ecef;
}

body[data-bs-theme="dark"] .avatar-upload .avatar-preview,
body[data-bs-theme="dark"] .image-upload .image-preview {
  background: #1a1e21;
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-bs-theme="dark"] .list-group-item {
  background: #1a1e21;
  border-color: rgba(255, 255, 255, 0.08);
  color: #aeb9be;
}

body[data-bs-theme="dark"] .modal-content {
  background: #1a1e21;
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-bs-theme="dark"] .modal-header,
body[data-bs-theme="dark"] .modal-footer {
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-bs-theme="dark"] .pagination .page-link {
  background: #1a1e21;
  border-color: rgba(255, 255, 255, 0.08);
  color: #aeb9be;
}

body[data-bs-theme="dark"] .pagination .page-item.active .page-link {
  background: #556ee6;
  border-color: #556ee6;
  color: #fff;
}

body[data-bs-theme="dark"] .pagination .page-item.disabled .page-link {
  background: #121617;
  border-color: rgba(255, 255, 255, 0.04);
  color: #5a666b;
}

/* Fix product edit layout etc. */
body[data-bs-theme="dark"] .bg-white {
  background-color: #1a1e21 !important;
}

body[data-bs-theme="dark"] .text-dark {
  color: #e9ecef !important;
}

body[data-bs-theme="dark"] .dropdown-menu {
  background-color: #1a1e21;
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-bs-theme="dark"] .dropdown-item {
  color: #aeb9be;
}

body[data-bs-theme="dark"] .dropdown-item:hover,
body[data-bs-theme="dark"] .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

body[data-bs-theme="dark"] .select2-dropdown {
  background-color: #1a1e21;
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-bs-theme="dark"] .select2-container--default .select2-results__option {
  background-color: #1a1e21;
  color: #aeb9be;
}

body[data-bs-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true] {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

body[data-bs-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #556ee6;
  color: #fff;
}

.modal .select2-container {
  display: block;
  width: 100% !important;
}

.modal .select2-container--default .select2-selection--single {
  min-height: 38px;
}

.modal .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  padding-left: 12px;
}

.modal .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

body[data-bs-theme="dark"] .flatpickr-calendar,
body[data-bs-theme="dark"] .flatpickr-calendar .flatpickr-innerContainer,
body[data-bs-theme="dark"] .flatpickr-calendar .flatpickr-rContainer,
body[data-bs-theme="dark"] .flatpickr-calendar .flatpickr-days,
body[data-bs-theme="dark"] .flatpickr-calendar .dayContainer {
  background: #1a1e21;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body[data-bs-theme="dark"] .flatpickr-day {
  color: #aeb9be;
}

body[data-bs-theme="dark"] .flatpickr-day:hover,
body[data-bs-theme="dark"] .flatpickr-day:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Shop selection and management pages do not use the shop sidebar. */
body.ezone-auth-standalone .main-content,
body.vertical-collpsed.ezone-auth-standalone .main-content,
body.ezone-auth-standalone>main:not(.main-content),
body.vertical-collpsed.ezone-auth-standalone>main:not(.main-content) {
  background: #0f1315;
  color: #dce3e7;
  margin-left: 0 !important;
  width: 100% !important;
}

body.ezone-auth-standalone .page-content {
  background: #0f1315;
  color: #dce3e7;
  padding-top: 32px;
}

body.ezone-auth-standalone h1,
body.ezone-auth-standalone h2,
body.ezone-auth-standalone h3,
body.ezone-auth-standalone label {
  color: #edf2f4;
}

body.ezone-auth-standalone .border {
  border-color: #2b3439 !important;
}

body.ezone-auth-standalone .text-muted {
  color: #8f9aa0 !important;
}

body.ezone-auth-public {
  background:
    linear-gradient(145deg, rgba(10, 14, 19, 0.98) 0%, rgba(17, 22, 28, 0.98) 46%, rgba(14, 18, 23, 0.98) 100%),
    linear-gradient(90deg, rgba(47, 123, 167, 0.16), rgba(45, 168, 127, 0.12), rgba(184, 139, 55, 0.1));
  color: #e5edf5;
  min-height: 100vh;
}

.ez-auth-shell {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(10, 14, 19, 0.98) 0%, rgba(17, 22, 28, 0.98) 46%, rgba(14, 18, 23, 0.98) 100%),
    linear-gradient(90deg, rgba(47, 123, 167, 0.16), rgba(45, 168, 127, 0.12), rgba(184, 139, 55, 0.1));
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 36px 16px;
  position: relative;
  z-index: 1;
}

.ez-auth-card {
  background: rgba(18, 24, 31, 0.72);
  border: 1px solid rgba(227, 238, 245, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  max-width: 480px;
  padding: 40px;
  position: relative;
  width: 100%;
  z-index: 1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ez-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3f8fd2, #2bbf8f);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.ez-auth-brand {
  align-items: center;
  background: linear-gradient(135deg, #3f8fd2, #2bbf8f);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(43, 191, 143, 0.2);
  color: #ffffff;
  display: flex;
  font-size: 24px;
  font-weight: 800;
  height: 64px;
  justify-content: center;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  width: 64px;
}

.ez-auth-eyebrow {
  color: #55d6a7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ez-auth-card h1 {
  color: #f8fafc;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.ez-auth-subtitle {
  color: #9fb1ba;
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 28px;
}

.ezone-auth-public .form-label {
  color: #f8f9fa;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ezone-auth-public .form-control {
  background: rgba(8, 12, 17, 0.62);
  border: 1px solid rgba(227, 238, 245, 0.1);
  border-radius: 8px;
  color: #f4f8fa;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s ease;
}

.ezone-auth-public .form-control::placeholder {
  color: #64748b;
}

.ezone-auth-public .form-control:focus {
  background: rgba(8, 12, 17, 0.82);
  border-color: rgba(85, 214, 167, 0.52);
  box-shadow: 0 0 0 3px rgba(85, 214, 167, 0.12);
  color: #fff;
}

.ezone-auth-public .btn-primary {
  align-items: center;
  background: linear-gradient(135deg, #3f8fd2 0%, #2bbf8f 100%) !important;
  border: 0 !important;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(43, 191, 143, 0.22);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  transition: all 0.3s ease;
}

.ezone-auth-public .btn-primary:hover {
  box-shadow: 0 14px 32px rgba(43, 191, 143, 0.32) !important;
  transform: translateY(-2px);
}

.ez-auth-links {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}

.ez-auth-links.is-centered {
  justify-content: center;
}

.ez-auth-links a,
.ezone-auth-public .alert a {
  color: #55d6a7;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}

.ez-auth-links a:hover,
.ezone-auth-public .alert a:hover {
  color: #7de8bf;
  text-decoration: underline;
}

.ezone-auth-public .alert {
  border-radius: 14px;
  border-width: 1px;
  font-size: 14px;
  padding: 1rem 1.25rem;
}

.ezone-auth-public .alert-danger {
  background: rgba(244, 106, 106, 0.1);
  border-color: rgba(244, 106, 106, 0.2);
  color: #f46a6a;
}

.ezone-auth-public .alert-success {
  background: rgba(52, 195, 143, 0.1);
  border-color: rgba(52, 195, 143, 0.2);
  color: #34c38f;
}

.ezone-auth-public .alert-info {
  background: rgba(80, 165, 241, 0.1);
  border-color: rgba(80, 165, 241, 0.2);
  color: #50a5f1;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .ez-auth-card {
    border-radius: 8px;
    padding: 30px 20px;
  }

  .ez-auth-card h1 {
    font-size: 26px;
  }
}


.ez-serial-table-image,
.ez-product-table-image,
.ez-serial-select-image,
.ez-serial-preview-image {
  align-items: center;
  background: #20272b;
  border: 1px solid #343d42;
  border-radius: 8px;
  color: #78848a;
  display: inline-flex;
  justify-content: center;
  overflow: hidden;
}

.ez-serial-table-image {
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.ez-product-table-image {
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.ez-serial-table-image.is-empty,
.ez-product-table-image.is-empty {
  font-size: 17px;
}

#editProductModal .modal-dialog,
#editVariationModal .modal-dialog {
  height: calc(100vh - 32px);
  margin-bottom: 16px;
  margin-top: 16px;
  max-width: min(1380px, calc(100vw - 32px));
}

#editProductModal .modal-content,
#editVariationModal .modal-content {
  height: 100%;
  max-height: 100%;
}

#editProductModal .modal-body,
#editVariationModal .modal-body {
  min-height: 0;
  overflow: hidden;
}

.ez-product-editor-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}

.ez-product-editor-sidebar {
  background: #171c1f;
  border-right: 1px solid #30393e;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  overflow-y: auto;
  padding: 22px;
  scrollbar-gutter: stable;
}

.ez-editor-heading {
  align-items: center;
  display: flex;
  gap: 11px;
}

.ez-editor-heading>div {
  display: flex;
  flex-direction: column;
}

.ez-editor-heading strong {
  color: #edf2f4;
  font-size: 15px;
}

.ez-editor-heading small {
  color: #89949a;
  margin-top: 2px;
}

.ez-product-editor-preview {
  align-items: center;
  aspect-ratio: 1;
  background: #20272b;
  border: 1px solid #343d42;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.ez-product-editor-preview img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.ez-variation-image-editor {
  position: relative;
}

.ez-variation-image-action {
  align-items: center;
  background: rgba(10, 15, 18, .72);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  inset: 0;
  justify-content: center;
  opacity: 0;
  position: absolute;
  transition: opacity .2s ease;
}

.ez-variation-image-action i {
  color: #69a7ff;
  font-size: 24px;
}

.ez-variation-image-editor.has-image .ez-variation-image-action i {
  color: #ff6666;
}

.ez-variation-image-editor:hover .ez-variation-image-action,
.ez-variation-image-action:focus-visible {
  opacity: 1;
}

.ez-product-editor-sidebar .form-label,
.ez-product-editor-main .form-label {
  color: #aab3b8;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 6px;
}

.ez-image-upload-control {
  display: grid;
  gap: 8px;
}

.ez-image-upload-control .btn {
  justify-content: center;
  white-space: nowrap;
}

.ez-product-editor-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
}

.ez-product-editor-stats>div {
  background: rgba(85, 110, 230, .1);
  border: 1px solid rgba(85, 110, 230, .24);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.ez-product-editor-stats span {
  color: #99a4aa;
  font-size: 11px;
}

.ez-product-editor-stats strong {
  color: #9eacff;
  font-size: 20px;
  margin-top: 2px;
}

.ez-product-editor-main {
  min-height: 0;
  overflow-y: auto;
  padding: 22px;
  scrollbar-gutter: stable;
}

.ez-product-editor-section {
  background: rgba(255, 255, 255, .018);
  border: 1px solid #30393e;
  border-radius: 12px;
  margin-top: 16px;
  padding: 18px;
}

.ez-product-variations-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.ez-product-variations-wrap {
  border: 1px solid #30393e;
  border-radius: 12px;
  margin-top: 16px;
  max-height: 390px;
  overflow: auto;
}

.ez-product-detail-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 960px;
}

.ez-product-detail-table thead th {
  background-color: #282e31 !important;
  border-bottom: 1px solid #343e43;
  color: #d2d7da;
  font-size: 12px;
  padding: 18px 12px;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  white-space: nowrap;
  z-index: 5;
}

.ez-product-detail-table td {
  border-color: #293236;
  padding: 13px 12px;
}

.ez-variation-data-row.is-editing>td {
  background: rgba(85, 110, 230, .08) !important;
  border-bottom-color: rgba(100, 123, 238, .45);
}

.ez-inline-variation-row>td {
  background: #13191c !important;
  border-bottom: 1px solid #39444a;
  padding: 0 !important;
}

.ez-product-detail-table th:last-child,
.ez-product-detail-table td:last-child {
  text-align: center;
  width: 52px;
}

.ez-product-detail-name {
  align-items: center;
  display: flex;
  gap: 10px;
}

.ez-product-detail-image {
  align-items: center;
  background: #242b2f;
  border-radius: 7px;
  color: #68757b;
  display: flex;
  flex: 0 0 46px;
  height: 46px;
  justify-content: center;
  overflow: hidden;
  width: 46px;
}

.ez-product-detail-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ez-status-switch {
  background: #3a4348;
  border-radius: 999px;
  cursor: default;
  display: inline-flex;
  height: 24px;
  padding: 3px;
  transition: background .2s ease;
  width: 43px;
}

.ez-status-switch span {
  background: #a8b0b4;
  border-radius: 50%;
  height: 18px;
  transition: transform .2s ease;
  width: 18px;
}

.ez-status-switch.is-active {
  background: #075db6;
}

.ez-status-switch.is-active span {
  background: #e7f3ff;
  transform: translateX(19px);
}

.ez-variation-properties {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 170px;
}

.ez-variation-property {
  color: #c5cdd1;
  white-space: nowrap;
}

.ez-variation-property strong {
  color: #50cbe7;
}

.ez-product-attributes-card {
  background: #171c1f;
  border: 1px solid #30393e;
  border-radius: 14px;
  margin-top: 22px;
  padding: 18px;
}

.ez-product-attributes-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.ez-product-attributes-title h6 {
  color: #edf2f4;
  font-size: 18px;
  margin: 0 0 3px;
}

.ez-product-attributes-title small {
  color: #89949a;
}

.ez-variation-property-editor-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ez-variation-property-editor {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ez-variation-property-editor-row {
  display: block;
}

.ez-product-attributes-table {
  border: 1px solid #30393e;
  border-radius: 12px;
  margin-top: 16px;
  overflow: hidden;
}

.ez-product-attributes-head,
.ez-product-attribute-row {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 260px minmax(320px, 1fr) 46px;
}

.ez-product-attributes-head {
  background: #282e31;
  color: #d2d7da;
  font-size: 12px;
  font-weight: 700;
  padding: 14px;
  text-transform: uppercase;
}

.ez-product-attribute-row {
  border-top: 1px solid #293236;
  padding: 14px;
}

.ez-attribute-values {
  align-items: center;
  background: #111719;
  border: 1px solid #343d42;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 40px;
  padding: 5px 8px;
}

.ez-attribute-values>span {
  align-items: center;
  background: #22282c;
  border-radius: 7px;
  color: #dce3e7;
  display: inline-flex;
  gap: 6px;
  padding: 5px 8px;
}

.ez-attribute-values button {
  background: transparent;
  border: 0;
  color: #89949a;
  line-height: 1;
  padding: 0;
}

.ez-attribute-values button:hover {
  color: #ff6670;
}

.attribute-value-input {
  background: transparent;
  border: 0;
  color: #dce3e7;
  min-width: 120px;
  outline: 0;
  padding: 5px;
}

.ez-product-attributes-empty {
  color: #89949a;
  padding: 22px;
  text-align: center;
}

.ez-inline-property-list {
  min-width: 0;
}

#editProductModal .ez-inline-property-list .select2-container--default .select2-selection--multiple {
  background: #111719;
  border: 1px solid #343d42;
  border-radius: 8px;
  min-height: 48px;
  padding: 5px 8px;
}

#editProductModal .ez-inline-property-list .select2-selection__choice {
  background: #22282c;
  border: 0;
  border-radius: 7px;
  color: #dce3e7;
  margin-top: 3px;
  padding: 5px 8px;
}

#editProductModal .ez-inline-property-list .select2-selection__choice__remove {
  color: #89949a;
  margin-right: 6px;
}

#editProductModal .ez-inline-property-list .select2-search__field {
  color: #dce3e7;
  margin-top: 7px;
}

.ez-product-price-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.ez-product-price-grid>div {
  background: rgba(255, 255, 255, .018);
  border: 1px solid #30393e;
  border-radius: 12px;
  padding: 14px;
}

.ez-product-price-grid span {
  color: #aab3b8;
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 8px;
}

.ez-product-price-grid .form-control[readonly] {
  background: #171c1f;
  border-style: dashed;
  color: #8f9aa0;
  cursor: not-allowed;
}

.ez-product-editor-footer {
  justify-content: flex-end;
}

.ez-inline-variation-editor {
  background: #171c1f;
  border-left: 3px solid #556ee6;
  padding: 20px;
  scroll-margin-top: 18px;
}

.ez-inline-variation-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.ez-inline-variation-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 991.98px) {

  #editProductModal .modal-dialog,
  #editVariationModal .modal-dialog {
    height: 100vh;
    margin: 0;
    max-width: none;
  }

  #editProductModal .modal-body,
  #editVariationModal .modal-body {
    overflow-y: auto;
  }

  .ez-product-editor-layout {
    display: block;
    height: auto;
  }

  .ez-product-editor-sidebar,
  .ez-product-editor-main {
    overflow: visible;
  }

  .ez-product-editor-sidebar {
    border-bottom: 1px solid #30393e;
    border-right: 0;
  }

  .ez-product-editor-preview {
    max-height: 320px;
  }

  .ez-product-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .ez-product-variations-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .ez-product-price-grid {
    grid-template-columns: 1fr;
  }

  .ez-product-attributes-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

}

.ez-serial-select-option {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 3px 0;
}

.ez-serial-select-image {
  flex: 0 0 42px;
  height: 42px;
}

.ez-serial-select-image img,
.ez-serial-preview-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ez-serial-select-option>span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ez-serial-select-option strong {
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ez-serial-select-option small {
  color: #8f9aa0;
}

.ez-serial-product-preview {
  align-items: center;
  background: rgba(85, 110, 230, .08);
  border: 1px solid rgba(85, 110, 230, .28);
  border-radius: 12px;
  display: flex;
  gap: 13px;
  margin: -2px 0 16px;
  padding: 12px;
}

.ez-serial-preview-image {
  flex: 0 0 64px;
  height: 64px;
}

.ez-serial-product-preview>div {
  display: flex;
  flex-direction: column;
}

.ez-serial-product-preview strong {
  color: #edf2f4;
  font-size: 15px;
}

.ez-serial-product-preview span:not(.ez-serial-preview-image) {
  color: #bac4c9;
}

.ez-serial-product-preview small {
  color: #7f8fe7;
  font-weight: 650;
}

#serialNumbers {
  line-height: 1.65;
  resize: vertical;
}

#serialModal .select2-container--default .select2-selection--single,
#editSerialModal .select2-container--default .select2-selection--single {
  height: auto;
  min-height: 42px;
}

#serialModal .select2-container--default .select2-selection--single .select2-selection__rendered,
#editSerialModal .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: normal;
  padding: 10px 36px 10px 12px;
  color: #e0e8ec;
}

#serialModal .select2-container--default .select2-selection--single .select2-selection__arrow,
#editSerialModal .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
  right: 0;
  left: auto;
  width: 36px;
}

#serialModal .select2-container--default .select2-selection--single .select2-selection__arrow b,
#editSerialModal .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border: none;
  border-right: 2px solid #7a8a94;
  border-bottom: 2px solid #7a8a94;
  height: 8px;
  left: 50%;
  margin-left: -4px;
  margin-top: -6px;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 8px;
}

.select2-container--open #serialModal .select2-selection--single .select2-selection__arrow b,
.select2-container--open #editSerialModal .select2-selection--single .select2-selection__arrow b {
  transform: rotate(-135deg);
  margin-top: -2px;
}

#purchaseModal .modal-dialog {
  height: calc(100vh - 32px);
  margin-bottom: 16px;
  margin-top: 16px;
  max-width: min(1480px, calc(100vw - 32px));
}

#purchaseModal .modal-content {
  height: 100%;
  max-height: 100%;
}

#purchaseModal .modal-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.ez-purchase-layout {
  display: grid;
  flex: 1;
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: 0;
}

.ez-purchase-sidebar {
  background: #171c1f;
  border-right: 1px solid #30393e;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding: 22px;
  scrollbar-gutter: stable;
}

.ez-purchase-sidebar-title {
  align-items: center;
  display: flex;
  gap: 11px;
}

.ez-purchase-sidebar-title>div {
  display: flex;
  flex-direction: column;
}

.ez-purchase-sidebar-title strong {
  color: #edf2f4;
  font-size: 15px;
}

.ez-purchase-sidebar-title small {
  color: #89949a;
  margin-top: 2px;
}

.ez-purchase-step {
  align-items: center;
  background: rgba(85, 110, 230, .14);
  border: 1px solid rgba(100, 123, 238, .35);
  border-radius: 9px;
  color: #8fa0ff;
  display: inline-flex;
  flex: 0 0 34px;
  font-weight: 750;
  height: 34px;
  justify-content: center;
}

.ez-purchase-sidebar-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 24px;
}

.ez-purchase-sidebar .form-label {
  color: #aab3b8;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 6px;
}

.ez-purchase-costs {
  border-bottom: 1px solid #2b3439;
  border-top: 1px solid #2b3439;
  display: grid;
  gap: 12px;
  padding: 16px 0;
}

.ez-purchase-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ez-purchase-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
}

.ez-purchase-footer-total {
  align-items: baseline;
  display: flex;
  gap: 12px;
}

.ez-purchase-footer-total span {
  color: #a8b1b6;
  font-size: 13px;
}

.ez-purchase-footer-total strong {
  color: #9eacff;
  font-size: 22px;
}

.ez-purchase-footer-actions {
  display: flex;
  gap: 8px;
}

.ez-purchase-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 22px;
}

.ez-purchase-main-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.ez-purchase-count {
  background: rgba(44, 199, 145, .1);
  border: 1px solid rgba(44, 199, 145, .22);
  border-radius: 999px;
  color: #54d6a7;
  font-size: 12px;
  font-weight: 650;
  padding: 5px 10px;
}

.ez-purchase-search {
  margin: 20px 0 16px;
  position: relative;
}

.ez-purchase-search>i {
  color: #758187;
  left: 15px;
  position: absolute;
  top: 15px;
  z-index: 2;
}

.ez-purchase-search .select2-container--default .select2-selection--single {
  align-items: center;
  display: flex;
  min-height: 46px;
  padding-left: 32px;
}

.ez-purchase-search .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: normal;
}

.ez-purchase-search .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

.ez-purchase-search-result {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 3px 0;
}

.ez-purchase-search-result>img,
.ez-purchase-search-placeholder {
  align-items: center;
  background: #242b2f;
  border-radius: 7px;
  display: flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
  object-fit: cover;
  overflow: hidden;
  width: 38px;
}

.ez-purchase-search-result>span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ez-purchase-search-result strong,
.ez-purchase-search-result small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ez-purchase-search-result small {
  color: #97a2a8;
  margin-top: 2px;
}

.ez-purchase-table-wrap {
  border: 1px solid #30393e;
  border-radius: 7px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.ez-purchase-product-toolbar {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 10px;
}

.ez-purchase-product-toolbar .pos-dark-input {
  border-color: #303943;
  min-height: 40px;
}

.ez-purchase-product-search-area {
  background: #101516;
  border-color: #303943;
  border-radius: 6px;
  display: block;
  height: 100%;
  min-height: 0;
  padding: 10px;
}

.ez-purchase-product-search-area .pos-search-list {
  height: 100%;
  min-height: 0;
}

.ez-purchase-product-search-area .pos-search-results {
  flex: 1 1 auto;
}

.ez-purchase-search-thumb-placeholder {
  align-items: center;
  color: #7f8a90;
  display: inline-flex;
  justify-content: center;
}

.ez-purchase-cart-panel {
  background: #101516;
  border: 0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  min-width: 860px;
  overflow: hidden;
}

.ez-purchase-cart-body {
  background: #101516;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.ez-purchase-cart-head,
.ez-purchase-cart-row {
  grid-template-columns: 52px minmax(260px, 1fr) 120px 120px 150px 96px;
}

.ez-purchase-cart-head {
  position: sticky;
  top: 0;
  z-index: 3;
}

.ez-purchase-cart-head span:nth-child(4) {
  text-align: right;
}

.ez-purchase-cart-head span:nth-child(5) {
  text-align: center;
}

.ez-purchase-cart-row .pos-cart-price {
  justify-self: stretch;
}

.ez-purchase-cart-row .pos-cart-price-control {
  text-align: right;
  width: 100%;
}

.ez-purchase-cart-row .pos-cart-line-total {
  color: #ff3333;
  justify-self: end;
  white-space: nowrap;
}

.ez-purchase-empty {
  align-items: center;
  color: #7f8a90;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 315px;
  text-align: center;
}

.ez-purchase-empty i {
  color: #5d6970;
  font-size: 30px;
  margin-bottom: 5px;
}

.ez-purchase-empty strong {
  color: #adb6bb;
}

@media (max-width: 991.98px) {
  #purchaseModal .modal-dialog {
    height: 100vh;
    margin: 0;
    max-width: none;
  }

  #purchaseModal .modal-body {
    overflow-y: auto;
  }

  .ez-purchase-layout {
    display: block;
    flex: none;
  }

  .ez-purchase-sidebar {
    border-bottom: 1px solid #30393e;
    border-right: 0;
    overflow: visible;
  }

  .ez-purchase-main {
    overflow: visible;
  }

  .ez-purchase-table-wrap {
    max-height: 55vh;
    min-height: 385px;
  }

  .ez-purchase-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .ez-purchase-footer-total {
    justify-content: space-between;
    width: 100%;
  }

  .ez-purchase-footer-actions {
    width: 100%;
  }

  .ez-purchase-footer-actions .btn {
    flex: 1;
  }
}

/* Standalone settings */
.ez-settings-page {
  min-height: 100vh;
  padding: 42px 28px 64px !important;
}

.ez-settings-page .container-fluid {
  max-width: 1480px;
}

.ez-settings-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ez-settings-eyebrow {
  color: #7180e8;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ez-settings-header h1 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 750;
  letter-spacing: -.035em;
  margin: 0 0 8px;
}

.ez-settings-header p,
.ez-panel-heading p,
.ez-list-heading p {
  color: #8f9aa0;
  margin: 0;
}

.ez-settings-tabs {
  align-items: center;
  background: #171c1f;
  border: 1px solid #293136;
  border-radius: 14px;
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  padding: 6px;
  width: fit-content;
}

.ez-settings-tabs a {
  align-items: center;
  border-radius: 9px;
  color: #98a3aa;
  display: inline-flex;
  font-weight: 600;
  gap: 9px;
  padding: 10px 16px;
}

.ez-settings-tabs a:hover {
  background: rgba(255, 255, 255, .04);
  color: #edf2f4;
}

.ez-settings-tabs a.active {
  background: #293454;
  box-shadow: inset 0 0 0 1px rgba(112, 137, 255, .25);
  color: #fff;
}

.ez-settings-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
}

.ez-settings-panel {
  background: #171c1f !important;
  border: 1px solid #293136 !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16) !important;
  padding: 24px;
}

.ez-settings-form {
  position: sticky;
  top: 24px;
}

.ez-panel-heading {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.ez-panel-heading h2,
.ez-list-heading h2 {
  color: #f2f5f6;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}

.ez-panel-icon {
  align-items: center;
  background: linear-gradient(135deg, #526be0, #3447a8);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(63, 83, 190, .28);
  color: #fff;
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
}

.ez-field {
  margin-bottom: 17px;
}

.ez-field label,
.ez-entity-editor label {
  color: #cbd3d7;
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 7px;
}

.ez-settings-page .form-control,
.ez-settings-page .form-select {
  background-color: #202629;
  border-color: #323b40;
  color: #edf2f4;
  min-height: 44px;
}

.ez-settings-page .form-control::placeholder {
  color: #68747a;
}

.ez-submit-button {
  justify-content: center;
  margin-top: 5px;
  min-height: 44px;
  width: 100%;
}

.ez-list-heading {
  align-items: center;
  border-bottom: 1px solid #293136;
  display: flex;
  justify-content: space-between;
  margin: -2px 0 6px;
  padding: 0 0 20px;
}

.ez-count-badge {
  align-items: center;
  background: #252d31;
  border: 1px solid #343e43;
  border-radius: 999px;
  color: #bbc5ca;
  display: inline-flex;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 10px;
}

.ez-entity-list {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.ez-entity-card {
  background: #1b2124;
  border: 1px solid #293237;
  border-radius: 13px;
  overflow: hidden;
  transition: border-color .2s ease;
}

.ez-entity-card:hover {
  border-color: #3b474d;
}

.ez-entity-summary {
  align-items: center;
  display: flex;
  gap: 14px;
  padding: 17px;
}

.ez-user-avatar {
  align-items: center;
  background: linear-gradient(135deg, #465fcc, #26377f);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 46px;
  font-size: 17px;
  font-weight: 750;
  height: 46px;
  justify-content: center;
}

.ez-entity-primary {
  min-width: 0;
  flex: 1;
}

.ez-entity-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ez-entity-title h3 {
  color: #edf2f4;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.ez-entity-primary>p {
  color: #8f9aa0;
  font-size: 13px;
  margin: 4px 0 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ez-status {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 6px;
  padding: 4px 8px;
}

.ez-status i {
  font-size: 6px;
}

.ez-status.is-active {
  background: rgba(47, 194, 140, .12);
  color: #52d7a7;
}

.ez-status.is-locked {
  background: rgba(245, 173, 66, .12);
  color: #f2b85e;
}

.ez-entity-meta {
  color: #aab4b9;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 14px;
}

.ez-entity-meta span {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.ez-entity-meta i {
  color: #6f7fd8;
}

.ez-edit-toggle {
  flex: 0 0 auto;
}

.ez-entity-editor {
  background: #14191b;
  border-top: 1px solid #293136;
  padding: 18px;
}

.ez-editor-grid {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: 1.2fr 1.4fr .9fr .9fr auto;
}

.ez-editor-grid .form-control,
.ez-editor-grid .form-select {
  min-height: 38px;
}

.ez-editor-grid>.btn {
  min-height: 38px;
}

.ez-editor-footer {
  align-items: center;
  border-top: 1px solid #252d31;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
}

.ez-password-form,
.ez-danger-actions {
  display: flex;
  gap: 8px;
}

.ez-password-form .form-control {
  width: 210px;
}

.ez-empty-state {
  color: #7f8a90;
  padding: 50px 20px;
  text-align: center;
}

.ez-empty-state i {
  font-size: 28px;
  margin-bottom: 10px;
}

.ez-settings-table-panel {
  overflow: hidden;
  padding: 0;
}

.ez-settings-table-panel .card-body {
  padding: 20px;
}

.ez-settings-page .table {
  --bs-table-bg: transparent;
  --bs-table-border-color: #30393e;
  margin-bottom: 0;
}

.ez-settings-page .table>thead tr {
  background: #202629;
}

.ez-settings-page .table>thead th {
  border-bottom-width: 1px;
  color: #aab4b9;
  font-size: 11px;
  letter-spacing: .05em;
  padding: 13px 12px;
  text-transform: uppercase;
}

.ez-settings-page .table>tbody td {
  color: #c4cdd1;
  padding: 14px 12px;
  vertical-align: middle;
}

.ez-settings-page .table>tbody tr:hover {
  background: rgba(255, 255, 255, .018);
}

.ez-settings-page .row.g-3>section>.ez-settings-panel {
  height: auto;
}

/* Account profile */
.ez-account-page {
  background:
    linear-gradient(145deg, rgba(10, 14, 19, .98), rgba(17, 22, 28, .98), rgba(14, 18, 23, .98)),
    linear-gradient(90deg, rgba(47, 123, 167, .16), rgba(45, 168, 127, .12), rgba(184, 139, 55, .1));
}

.ez-account-header,
.ez-account-panel {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(18, 24, 31, .62) !important;
  border: 1px solid rgba(227, 238, 245, .08) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22) !important;
}

.ez-account-header {
  padding: 26px 28px;
}

.ez-account-header h1 {
  background: linear-gradient(90deg, #3f8fd2, #2bbf8f);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ez-account-header p,
.ez-account-panel .ez-panel-heading p {
  color: #9fb1ba;
}

.ez-account-back-button {
  align-items: center;
  background: linear-gradient(135deg, rgba(63, 143, 210, .18), rgba(43, 191, 143, .16));
  border: 1px solid rgba(85, 214, 167, .24);
  border-radius: 8px;
  color: #d5e0e6;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  min-height: 42px;
  padding: 10px 16px;
  white-space: nowrap;
}

.ez-account-back-button:hover,
.ez-account-back-button:focus {
  background: linear-gradient(135deg, rgba(63, 143, 210, .3), rgba(43, 191, 143, .26));
  border-color: rgba(85, 214, 167, .52);
  box-shadow: 0 10px 24px rgba(43, 191, 143, .14);
  color: #fff;
  transform: translateY(-1px);
}

.ez-account-panel {
  height: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ez-account-panel:hover {
  border-color: rgba(85, 214, 167, .2) !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, .28) !important;
  transform: translateY(-2px);
}

.ez-account-panel .ez-panel-icon {
  background: linear-gradient(135deg, #3f8fd2, #2bbf8f);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(43, 191, 143, .18);
}

.ez-account-panel .ez-field label {
  color: #cbd6dc;
}

.ez-account-page .form-control,
.ez-account-page .form-control:disabled {
  background: rgba(8, 12, 17, .62);
  border: 1px solid rgba(227, 238, 245, .1);
  border-radius: 8px;
  color: #f4f8fa;
}

.ez-account-page .form-control:disabled {
  color: #7f929c;
  opacity: 1;
}

.ez-account-page .form-control:focus {
  background: rgba(8, 12, 17, .82);
  border-color: rgba(85, 214, 167, .52);
  box-shadow: 0 0 0 3px rgba(85, 214, 167, .12);
}

.ez-account-page .ez-submit-button {
  background: linear-gradient(135deg, #3f8fd2 0%, #2bbf8f 100%);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(43, 191, 143, .22);
  color: #fff;
}

.ez-account-page .ez-submit-button:hover {
  box-shadow: 0 14px 30px rgba(43, 191, 143, .28);
  transform: translateY(-1px);
}

body[data-bs-theme="dark"] .ez-account-page .ez-account-back-button {
  background: linear-gradient(135deg, rgba(63, 143, 210, .18), rgba(43, 191, 143, .16)) !important;
  border: 1px solid rgba(85, 214, 167, .24) !important;
  color: #e6edf1 !important;
}

body[data-bs-theme="dark"] .ez-account-page .ez-account-back-button:hover,
body[data-bs-theme="dark"] .ez-account-page .ez-account-back-button:focus {
  background: linear-gradient(135deg, rgba(63, 143, 210, .3), rgba(43, 191, 143, .26)) !important;
  border-color: rgba(85, 214, 167, .52) !important;
  box-shadow: 0 10px 24px rgba(43, 191, 143, .14) !important;
  color: #fff !important;
}

body[data-bs-theme="dark"] .ez-account-page .ez-submit-button {
  background: linear-gradient(135deg, #3f8fd2 0%, #2bbf8f 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(43, 191, 143, .22) !important;
  color: #fff !important;
}

@media (max-width: 1100px) {
  .ez-settings-grid {
    grid-template-columns: 1fr;
  }

  .ez-settings-form {
    position: static;
  }

  .ez-editor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ez-settings-page {
    padding: 24px 14px 48px !important;
  }

  .ez-settings-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ez-account-header {
    padding: 22px 20px;
  }

  .ez-account-back-button {
    justify-content: center;
    width: 100%;
  }

  .ez-settings-tabs {
    overflow-x: auto;
    width: 100%;
  }

  .ez-settings-tabs a {
    flex: 0 0 auto;
    padding: 9px 12px;
  }

  .ez-settings-panel {
    padding: 18px;
  }

  .ez-entity-summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ez-edit-toggle {
    margin-left: 60px;
  }

  .ez-editor-grid {
    grid-template-columns: 1fr;
  }

  .ez-editor-footer,
  .ez-password-form {
    align-items: stretch;
    flex-direction: column;
  }

  .ez-password-form .form-control {
    width: 100%;
  }
}

/* ========================================= */
/* POS ORDERS DATATABLE PREMIUM STYLING */
/* ========================================= */

/* Checkbox Checked State Visibility */
.orders-table .form-check-input:checked,
body[data-sidebar="dark"] .orders-table .form-check-input:checked,
body.ezone-has-sidebar .orders-table .form-check-input:checked {
  background-color: #3b82f6 !important;
  border-color: #3b82f6 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3 6-6'/%3e%3c/svg%3e") !important;
}

/* Search input and length menu layout */
.dataTables_wrapper .row:first-child {
  margin-bottom: 16px;
  align-items: center;
}

/* Search Filter Box styling */
.dataTables_wrapper .dataTables_filter {
  text-align: right;
  margin-bottom: 12px;
}

.dataTables_wrapper .dataTables_filter label {
  color: #aeb9be;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.dataTables_wrapper .dataTables_filter input {
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 6px;
  color: #495057;
  padding: 5px 12px;
  outline: none;
  font-size: 13.5px;
  transition: all 0.2s ease;
  width: 200px;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #556ee6;
  box-shadow: 0 0 0 3px rgba(85, 110, 230, 0.15);
}

body.ezone-has-sidebar .dataTables_wrapper .dataTables_filter label {
  color: #cbd3d7;
}

body.ezone-has-sidebar .dataTables_wrapper .dataTables_filter input {
  background: #1d2326;
  border-color: #343d42;
  color: #fff;
}

body.ezone-has-sidebar .dataTables_wrapper .dataTables_filter input:focus {
  border-color: #3b82f6;
  background-color: #232a2e;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Length dropdown menu styling */
.dataTables_wrapper .dataTables_length {
  margin-bottom: 12px;
}

.dataTables_wrapper .dataTables_length label {
  color: #aeb9be;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
}

.dataTables_wrapper .dataTables_length select {
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 6px;
  color: #495057;
  padding: 5px 24px 5px 8px;
  outline: none;
  margin: 0 6px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23495057' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.dataTables_wrapper .dataTables_length select:focus {
  border-color: #556ee6;
  box-shadow: 0 0 0 3px rgba(85, 110, 230, 0.15);
}

body.ezone-has-sidebar .dataTables_wrapper .dataTables_length label {
  color: #cbd3d7;
}

body.ezone-has-sidebar .dataTables_wrapper .dataTables_length select {
  background-color: #1d2326;
  border-color: #343d42;
  color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cbd3d7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

body.ezone-has-sidebar .dataTables_wrapper .dataTables_length select:focus {
  border-color: #3b82f6;
  background-color: #232a2e;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Pagination Control styling and spacing */
.dataTables_wrapper .dataTables_paginate {
  margin-top: 12px;
  margin-bottom: 6px;
}

.dataTables_wrapper .pagination {
  display: inline-flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dataTables_wrapper .pagination .page-item .page-link {
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 6px !important;
  color: #495057;
  font-size: 13.5px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  transition: all 0.2s ease;
  font-weight: 500;
  text-decoration: none;
}

.dataTables_wrapper .pagination .page-item:hover .page-link {
  background: #f8f9fa;
  border-color: #556ee6;
  color: #556ee6;
}

.dataTables_wrapper .pagination .page-item.active .page-link {
  background: #556ee6 !important;
  border-color: #556ee6 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(85, 110, 230, 0.3);
}

.dataTables_wrapper .pagination .page-item.disabled .page-link {
  background: #fff;
  border-color: #e9ecef;
  color: #adb5bd;
  cursor: not-allowed;
  opacity: 0.6;
}

body.ezone-has-sidebar .dataTables_wrapper .pagination .page-item .page-link {
  background: #1d2326;
  border-color: #343d42;
  color: #cbd3d7;
}

body.ezone-has-sidebar .dataTables_wrapper .pagination .page-item:hover .page-link {
  background: #252c30;
  border-color: #3b82f6;
  color: #3b82f6;
}

body.ezone-has-sidebar .dataTables_wrapper .pagination .page-item.active .page-link {
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

body.ezone-has-sidebar .dataTables_wrapper .pagination .page-item.disabled .page-link {
  background: #151a1d;
  border-color: #293136;
  color: #5d686e;
}

/* Info Summary text */
.dataTables_wrapper .dataTables_info {
  color: #cbd3d7;
  font-size: 13.5px;
  font-weight: 500;
  padding-top: 14px;
}

/* Fine-tune table header look */
.orders-table th {
  letter-spacing: 0.03em;
  font-size: 12.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Adjust date wrapper dot layout */
.orders-dot {
  background: #8a8d8e;
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
  margin-left: 8px;
  opacity: 0.8;
  vertical-align: middle;
}

/* ========================================= */
/* POS ORDERS SELECTION ACTION BAR STYLING */
/* ========================================= */

.orders-selection-bar {
  color: #fff;
}

.orders-selection-badge {
  background: #1d2326;
  border: 1px solid #343d42;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 500;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  color: #cbd3d7;
  gap: 8px;
}

.orders-selection-badge strong {
  color: #fff;
}

.orders-selection-badge i:hover {
  color: #ff4d4d;
}

.ezone-table-info-row {
  align-items: center;
  display: flex;
  min-height: 42px;
  padding: 6px 0;
}

.ezone-table-info-row .dataTables_info {
  padding-top: 0 !important;
}

.ezone-table-summary-slot {
  align-items: center;
  display: flex;
  min-height: 48px;
}

.ezone-table-summary-slot>div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.ezone-table-summary-slot strong {
  color: #fff;
}

.ezone-table-selection-command {
  padding: 0 12px !important;
  width: auto !important;
}

.ezone-table-selection-command.danger {
  border-color: #dc3545;
  color: #ff6b75;
}

.ezone-table-selection-command.danger:hover {
  background: rgba(220, 53, 69, 0.15);
  border-color: #ff6b75;
  color: #ff8b93;
}

[data-ezone-table-owner].is-loading i {
  animation: fa-spin 1s infinite linear;
}

.btn-selection-action {
  background: #1d2326;
  border: 1px solid #343d42;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd3d7;
  transition: all 0.2s ease;
  cursor: pointer;
  outline: none;
  padding: 0;
}

.btn-selection-action:hover {
  background: #252c30;
  border-color: #3b82f6;
  color: #3b82f6;
}

.btn-selection-action.primary {
  width: auto;
  padding: 0 16px;
  gap: 8px;
  font-weight: 500;
  font-size: 13.5px;
}

.btn-selection-action.primary:hover {
  background: #252c30;
  border-color: #f59e0b;
}

.btn-selection-action.primary:hover span {
  color: #f59e0b !important;
}

/* Light theme overrides for selection bar */
body[data-sidebar="dark"]:not(.ezone-has-sidebar) .orders-selection-bar {
  color: #495057;
}

body[data-sidebar="dark"]:not(.ezone-has-sidebar) .orders-selection-badge {
  background: #f8f9fa;
  border-color: #ced4da;
  color: #495057;
}

body[data-sidebar="dark"]:not(.ezone-has-sidebar) .orders-selection-badge strong {
  color: #212529;
}

body[data-sidebar="dark"]:not(.ezone-has-sidebar) .btn-selection-action {
  background: #f8f9fa;
  border-color: #ced4da;
  color: #495057;
}

body[data-sidebar="dark"]:not(.ezone-has-sidebar) .btn-selection-action:hover {
  background: #eef2f7;
  border-color: #556ee6;
  color: #556ee6;
}

body[data-sidebar="dark"]:not(.ezone-has-sidebar) .btn-selection-action.primary:hover {
  background: #eef2f7;
  border-color: #f59e0b;
}

/* --- PREMIUM UI MODERNIZATION (2026-06) --- */

/* Typography & Layout */
body {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

/* Premium Dark Body */
body[data-sidebar="dark"] {
  background-color: #0A0F1C !important;
  background-image: radial-gradient(circle at top right, rgba(13, 21, 38, 1) 0%, transparent 40%),
    radial-gradient(circle at bottom left, rgba(16, 20, 31, 1) 0%, transparent 40%);
  color: #E2E8F0;
}

.dashboard-dark,
.pos-create-page,
.orders-dark {
  background-color: transparent !important;
  min-height: 100vh;
}

/* Sidebar Glassmorphism */
.ez-sidebar {
  background: rgba(10, 15, 28, 0.65) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Sidebar Active/Hover */
.ez-sidebar-link:hover,
.ez-sidebar-link.active {
  color: #00E5FF !important;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.ez-sidebar-link.active {
  background: rgba(0, 229, 255, 0.1) !important;
  box-shadow: inset 3px 0 0 #00E5FF !important;
}

/* Cards & Modals Glassmorphism */
.ez-card,
.dash-card,
.pos-dark-card,
.dash-mini-card,
.dash-extra-filter,
.pos-product-card,
.orders-table-wrapper {
  background: rgba(20, 27, 45, 0.5) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.dash-card:hover,
.pos-dark-card:hover,
.dash-mini-card:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Dropdowns & Menus Glassmorphism */
.pos-choice-menu,
.dropdown-menu {
  background: rgba(20, 27, 45, 0.85) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

/* Floating Tag Picker */
.pos-tag-picker {
  position: absolute;
  top: 60px;
  left: 16px;
  right: 16px;
  z-index: 1050;
  background: rgba(20, 27, 45, 0.95) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6) !important;
  margin-bottom: 0 !important;
}

/* Fix z-index stacking for right sidebar cards */
.pos-create-right>article:nth-child(1) {
  z-index: 10;
}

.pos-create-right>article:nth-child(2) {
  z-index: 9;
}

.pos-create-right>article:nth-child(3) {
  z-index: 8;
}

.pos-create-right>article:nth-child(4) {
  z-index: 7;
}

.pos-create-right>article:nth-child(5) {
  z-index: 6;
}

/* Keep out-of-stock items bright */
.pos-order-product-area .product-card.out-of-stock,
.pos-search-result.out-of-stock {
  opacity: 1 !important;
}

/* Accent Colors & Glows */
.dash-kpi-title .dash-round.green {
  background: linear-gradient(135deg, #00C853, #64DD17) !important;
  box-shadow: 0 0 12px rgba(0, 200, 83, 0.4);
}

.dash-kpi-title .dash-round.orange {
  background: linear-gradient(135deg, #FF6D00, #FFAB00) !important;
  box-shadow: 0 0 12px rgba(255, 109, 0, 0.4);
}

.dash-kpi-title .dash-round.blue {
  background: linear-gradient(135deg, #2962FF, #00B0FF) !important;
  box-shadow: 0 0 12px rgba(41, 98, 255, 0.4);
}

.dash-value {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.green-text {
  color: #00E676 !important;
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}

.orange-text {
  color: #FF9100 !important;
  text-shadow: 0 0 10px rgba(255, 145, 0, 0.3);
}

.dash-up {
  color: #00E676 !important;
}

.dash-down {
  color: #FF1744 !important;
}

/* Buttons & Inputs */
.pos-barcode,
.dash-icon-btn,
.btn.primary,
#checkoutButton,
.btn-primary {
  background: linear-gradient(135deg, #2962FF, #00B0FF) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(41, 98, 255, 0.4) !important;
  transition: all 0.2s ease;
}

.pos-barcode:hover,
.dash-icon-btn:hover,
.btn.primary:hover,
#checkoutButton:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(41, 98, 255, 0.6) !important;
  color: #fff !important;
}

.pos-dark-input,
.dash-select,
.pos-money-input,
.dash-date-input {
  background: rgba(10, 15, 28, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  color: #E2E8F0 !important;
  transition: all 0.2s ease;
}

.pos-dark-input:focus,
.dash-select:focus,
.pos-money-input:focus,
.dash-date-input:focus {
  border-color: #00E5FF !important;
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.2) !important;
  outline: none;
}

/* POS Footer */
.pos-create-footer {
  background: rgba(10, 15, 28, 0.85) !important;
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Dashboard Filter Bar */
.dash-filterbar,
.orders-channel-tabs {
  background: rgba(20, 27, 45, 0.3) !important;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header */
#page-topbar {
  background: rgba(10, 15, 28, 0.65) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Chart Canvas glow */
#dashRevenueChart {
  filter: drop-shadow(0 0 8px rgba(70, 174, 247, 0.2));
}

/* Cart Table Modernization */
.pos-cart-table-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-bottom: 8px !important;
}

.pos-cart-table-head span {
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa8bd !important;
  font-weight: 700;
}

.pos-cart-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-top: none !important;
  padding: 12px 12px !important;
  transition: background 0.2s ease;
  border-radius: 8px;
}

.pos-cart-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.pos-cart-thumb {
  border-radius: 6px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Quantity Control Pill */
.pos-cart-qty {
  display: flex !important;
  align-items: center;
  background: rgba(0, 0, 0, 0.25) !important;
  border-radius: 20px !important;
  padding: 2px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: max-content;
  margin: 0 auto;
}

.pos-cart-qty button {
  background: transparent !important;
  border: none !important;
  color: #cbd3d9 !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  transition: background 0.2s, color 0.2s;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.pos-cart-qty button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.pos-cart-qty input {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  width: 36px !important;
  text-align: center;
  padding: 0 !important;
}

.pos-cart-qty input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.pos-cart-qty input[type="number"]::-webkit-inner-spin-button,
.pos-cart-qty input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pos-cart-qty.d-none,
.pos-cart-row-actions button.d-none {
  display: none !important;
}

.pos-cart-qty.is-text {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Row Actions */
.pos-cart-row-actions button {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  width: 32px !important;
  height: 32px !important;
  color: #9aa8bd !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.pos-cart-row-actions button:hover {
  background: rgba(255, 77, 77, 0.15) !important;
  color: #ff4d4d !important;
  border-color: rgba(255, 77, 77, 0.3) !important;
}

.pos-cart-row-actions button[title="Sửa"]:hover {
  background: rgba(0, 229, 255, 0.15) !important;
  color: #00E5FF !important;
  border-color: rgba(0, 229, 255, 0.3) !important;
}

/* Cart Inputs & Text Colors */
.pos-cart-price-control,
.pos-cart-discount-control {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2) !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
  transition: border-color 0.2s;
  text-align: right;
  padding: 2px 4px !important;
  height: auto !important;
}

/* Price - Bright White */
.pos-cart-price-text,
.pos-cart-price-control {
  color: #F8FAFC !important;
}

.pos-cart-price-control:focus {
  border-bottom: 1px solid #F8FAFC !important;
  box-shadow: none !important;
}

/* Discount - Vibrant Orange */
.pos-cart-discount-text,
.pos-cart-discount-control {
  color: #FF9800 !important;
}

.pos-cart-discount-control:focus {
  border-bottom: 1px solid #FF9800 !important;
  box-shadow: none !important;
}

/* Line Total - Bright Red */
.pos-cart-line-total,
#totalText,
#footerTotal {
  color: #FF4D4D !important;
  font-weight: 700 !important;
  font-size: 1.05em !important;
  text-shadow: 0 0 8px rgba(255, 77, 77, 0.3) !important;
}

.pos-cart-discount-type {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 4px !important;
  color: #FF9800 !important;
  padding: 2px 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Custom scrollbars for dark elements */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   PHASE 2: POS SALES SCREEN – GLASSMORPHISM ENHANCEMENTS
   ========================================================================== */

/* Tabs Bar */
body[data-bs-theme="dark"] .pos-create-tabs {
  background: rgba(20, 27, 45, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 0 !important;
  padding: 0 12px;
}

body[data-bs-theme="dark"] .pos-create-tabs button.active {
  background: rgba(85, 110, 230, 0.25) !important;
  border-bottom: 2px solid #556ee6 !important;
  color: #fff !important;
  font-weight: 700;
}

body[data-bs-theme="dark"] .pos-create-tabs button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Dark Cards – elevate to glassmorphism */
body[data-bs-theme="dark"] .pos-dark-card {
  background: rgba(20, 27, 45, 0.55) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body[data-bs-theme="dark"] .pos-dark-card:hover {
  border-color: rgba(85, 110, 230, 0.3) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
}

/* Card Header gradient accent line */
body[data-bs-theme="dark"] .pos-card-head {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-bs-theme="dark"] .pos-card-head h3 {
  background: linear-gradient(90deg, #fff 60%, #a6b0cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
  letter-spacing: 0.03em;
  font-weight: 800;
  text-transform: uppercase;
}

/* Card header buttons */
body[data-bs-theme="dark"] .pos-card-head button,
body[data-bs-theme="dark"] .pos-product-actions button,
body[data-bs-theme="dark"] .pos-barcode {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

body[data-bs-theme="dark"] .pos-card-head button:hover,
body[data-bs-theme="dark"] .pos-product-actions button:hover,
body[data-bs-theme="dark"] .pos-barcode:hover {
  background: rgba(85, 110, 230, 0.2) !important;
  border-color: rgba(85, 110, 230, 0.4) !important;
  color: #fff !important;
}

/* Product search input */
body[data-bs-theme="dark"] .pos-dark-input,
body[data-bs-theme="dark"] input.pos-dark-input,
body[data-bs-theme="dark"] .pos-money-input {
  background: rgba(10, 15, 30, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #f8f9fa !important;
  transition: border-color 0.25s, box-shadow 0.25s;
}

body[data-bs-theme="dark"] .pos-dark-input:focus,
body[data-bs-theme="dark"] input.pos-dark-input:focus,
body[data-bs-theme="dark"] .pos-money-input:focus {
  border-color: #556ee6 !important;
  box-shadow: 0 0 0 3px rgba(85, 110, 230, 0.18) !important;
  background: rgba(10, 15, 30, 0.9) !important;
}

/* Cart Panel */
body[data-bs-theme="dark"] .pos-cart-panel {
  background: rgba(20, 27, 45, 0.7) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
  overflow: hidden;
}

body[data-bs-theme="dark"] .pos-cart-head {
  background: rgba(85, 110, 230, 0.12) !important;
  border-bottom: 1px solid rgba(85, 110, 230, 0.2) !important;
  border-radius: 0 !important;
}

/* Payment / Order Value Card – special highlight */
body[data-bs-theme="dark"] .pos-order-value {
  background: rgba(20, 27, 45, 0.75) !important;
  border-color: rgba(85, 110, 230, 0.15) !important;
}

body[data-bs-theme="dark"] .pos-counter-total {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 6px;
  padding-top: 8px;
}

body[data-bs-theme="dark"] .pos-counter-total strong {
  font-size: 1.3em;
  text-shadow: 0 0 12px rgba(52, 195, 143, 0.4);
}

body[data-bs-theme="dark"] .pos-counter-change {
  background: rgba(85, 110, 230, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(85, 110, 230, 0.2);
  margin-top: 8px;
  padding: 6px 10px;
}

/* Products: product-card tiles */
body[data-bs-theme="dark"] .product-card {
  background: rgba(20, 27, 45, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
}

body[data-bs-theme="dark"] .product-card:hover {
  border-color: rgba(85, 110, 230, 0.35) !important;
  box-shadow: 0 6px 20px rgba(85, 110, 230, 0.15) !important;
  transform: translateY(-2px);
}

body[data-bs-theme="dark"] .product-card.selected {
  border-color: rgba(85, 110, 230, 0.6) !important;
  box-shadow: 0 4px 20px rgba(85, 110, 230, 0.25), inset 0 0 0 1px rgba(85, 110, 230, 0.5) !important;
}

/* Footer Action Bar */
body[data-bs-theme="dark"] .pos-create-footer {
  background: rgba(15, 20, 35, 0.8) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body[data-bs-theme="dark"] .pos-create-footer .pos-footer-total strong {
  font-size: 1.5em;
  font-weight: 800;
  background: linear-gradient(90deg, #34c38f, #50c8f4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

body[data-bs-theme="dark"] .pos-footer-actions button {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  transition: all 0.2s !important;
}

body[data-bs-theme="dark"] .pos-footer-actions button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

/* Checkout button special treatment */
body[data-bs-theme="dark"] #checkoutButton,
body[data-bs-theme="dark"] .pos-footer-actions button.primary {
  background: linear-gradient(135deg, #556ee6, #34c38f) !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 20px rgba(85, 110, 230, 0.4) !important;
  font-weight: 700;
  transition: all 0.3s !important;
}

body[data-bs-theme="dark"] #checkoutButton:hover,
body[data-bs-theme="dark"] .pos-footer-actions button.primary:hover {
  box-shadow: 0 8px 28px rgba(85, 110, 230, 0.55) !important;
  transform: translateY(-2px) !important;
}

/* Tags */
body[data-bs-theme="dark"] .pos-tag-btn {
  background: rgba(85, 110, 230, 0.12) !important;
  border: 1px solid rgba(85, 110, 230, 0.25) !important;
  border-radius: 20px !important;
  color: #a5b4fc !important;
  font-size: 12px !important;
  transition: all 0.2s !important;
}

body[data-bs-theme="dark"] .pos-tag-btn:hover {
  background: rgba(85, 110, 230, 0.25) !important;
  color: #fff !important;
}

/* Note area */
body[data-bs-theme="dark"] .pos-note-area {
  background: rgba(10, 15, 30, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: #f8f9fa !important;
  transition: border-color 0.25s;
}

body[data-bs-theme="dark"] .pos-note-area:focus {
  border-color: #556ee6 !important;
  box-shadow: 0 0 0 3px rgba(85, 110, 230, 0.15) !important;
  outline: none;
}

/* Stock toggle */
body[data-bs-theme="dark"] .pos-stock-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sidebar scrollbars elegance */
body[data-bs-theme="dark"] .pos-create-left::-webkit-scrollbar-thumb,
body[data-bs-theme="dark"] .pos-create-right::-webkit-scrollbar-thumb {
  background: rgba(85, 110, 230, 0.25);
}

body[data-bs-theme="dark"] .pos-create-left::-webkit-scrollbar-thumb:hover,
body[data-bs-theme="dark"] .pos-create-right::-webkit-scrollbar-thumb:hover {
  background: rgba(85, 110, 230, 0.45);
}

/* ==========================================================================
   PHASE 3 – DASHBOARD / STATISTICS PAGE GLASSMORPHISM
   ========================================================================== */

/* ── Page background ───────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .dashboard-dark {
  background: transparent;
  min-height: 100vh;
}

/* ── Filter Bar ─────────────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .dash-filterbar {
  background: rgba(30, 33, 41, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 16px !important;
  padding: 14px 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-bs-theme="dark"] .dash-filterbar span {
  color: #a6b0cf;
  font-size: 13px;
  font-weight: 600;
}

body[data-bs-theme="dark"] .dash-select,
body[data-bs-theme="dark"] .dash-date-input {
  background: rgba(10, 15, 30, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #f8f9fa !important;
  padding: 6px 12px !important;
  font-size: 13px;
  transition: border-color 0.25s;
}

body[data-bs-theme="dark"] .dash-select:focus,
body[data-bs-theme="dark"] .dash-date-input:focus {
  border-color: #556ee6 !important;
  box-shadow: 0 0 0 3px rgba(85, 110, 230, 0.15) !important;
  outline: none;
}

body[data-bs-theme="dark"] .dash-date-range {
  font-size: 12px;
  color: #34c38f;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body[data-bs-theme="dark"] .dash-icon-btn {
  background: linear-gradient(135deg, rgba(85, 110, 230, 0.2), rgba(52, 195, 143, 0.15)) !important;
  border: 1px solid rgba(85, 110, 230, 0.25) !important;
  border-radius: 10px !important;
  color: #a5b4fc !important;
  transition: all 0.25s ease !important;
}

body[data-bs-theme="dark"] .dash-icon-btn:hover {
  background: rgba(85, 110, 230, 0.3) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* ── KPI Cards (Big 3 top row) ──────────────────────────────────────────── */
body[data-bs-theme="dark"] .dash-card {
  background: rgba(30, 33, 41, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  padding: 24px !important;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

body[data-bs-theme="dark"] .dash-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #556ee6, #34c38f);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

body[data-bs-theme="dark"] .dash-card:hover {
  border-color: rgba(85, 110, 230, 0.25) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-3px);
}

body[data-bs-theme="dark"] .dash-kpi-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #a6b0cf;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

body[data-bs-theme="dark"] .dash-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #f8f9fa;
  letter-spacing: -0.5px;
}

body[data-bs-theme="dark"] .dash-muted {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 4px;
  font-weight: 500;
}

body[data-bs-theme="dark"] .dash-up {
  color: #34c38f !important;
  font-size: 12px;
  font-weight: 700;
}

body[data-bs-theme="dark"] .dash-down {
  color: #f46a6a !important;
  font-size: 12px;
  font-weight: 700;
}

body[data-bs-theme="dark"] .dash-warning {
  color: #f1b44c;
  font-size: 12px;
}

/* ── Round icon badges ──────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .dash-round.green {
  background: linear-gradient(135deg, #00C853, #34c38f) !important;
  box-shadow: 0 0 16px rgba(52, 195, 143, 0.4) !important;
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

body[data-bs-theme="dark"] .dash-round.orange {
  background: linear-gradient(135deg, #f46a6a, #f1b44c) !important;
  box-shadow: 0 0 16px rgba(241, 180, 76, 0.4) !important;
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

body[data-bs-theme="dark"] .dash-round.blue {
  background: linear-gradient(135deg, #556ee6, #50a5f1) !important;
  box-shadow: 0 0 16px rgba(85, 110, 230, 0.4) !important;
  border-radius: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

/* ── Mini Cards ─────────────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .dash-mini-card {
  background: rgba(30, 33, 41, 0.65) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  transition: all 0.3s ease;
}

body[data-bs-theme="dark"] .dash-mini-card:hover {
  border-color: rgba(85, 110, 230, 0.25) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-2px);
}

body[data-bs-theme="dark"] .dash-mini-card.danger {
  border-color: rgba(244, 106, 106, 0.2) !important;
  background: rgba(244, 106, 106, 0.07) !important;
}

body[data-bs-theme="dark"] .dash-mini-card.success {
  border-color: rgba(52, 195, 143, 0.2) !important;
  background: rgba(52, 195, 143, 0.07) !important;
}

body[data-bs-theme="dark"] .dash-mini-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #a6b0cf;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

body[data-bs-theme="dark"] .dash-mini-card strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: #f8f9fa;
  display: block;
}

/* ── Chart Card ─────────────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .dash-chart-card {
  padding: 0 !important;
  overflow: hidden;
}

body[data-bs-theme="dark"] .dash-tabs {
  display: flex;
  gap: 2px;
  padding: 16px 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0;
}

body[data-bs-theme="dark"] .dash-tabs button {
  background: transparent !important;
  border: none !important;
  color: #6c757d;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.25s;
}

body[data-bs-theme="dark"] .dash-tabs button:hover {
  color: #f8f9fa !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

body[data-bs-theme="dark"] .dash-tabs button.active {
  color: #556ee6 !important;
  border-bottom: 2px solid #556ee6 !important;
  background: transparent !important;
}

/* ── Metric Strip (the row of numbers above the chart) ─────────────────── */
body[data-bs-theme="dark"] .dash-metric-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-bs-theme="dark"] .dash-metric-strip>div {
  display: flex;
  flex-direction: column;
  padding: 8px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 100px;
}

body[data-bs-theme="dark"] .dash-metric-strip>div:last-child {
  border-right: none;
}

body[data-bs-theme="dark"] .dash-metric-strip span {
  font-size: 11px;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

body[data-bs-theme="dark"] .dash-metric-strip strong {
  font-size: 1rem;
  font-weight: 800;
  color: #f8f9fa;
}

body[data-bs-theme="dark"] .dash-metric-strip em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #34c38f;
  margin-top: 2px;
}

/* Chart canvas stays full-width with a subtle drop-shadow */
body[data-bs-theme="dark"] .dash-chart {
  display: block;
  width: 100%;
  filter: drop-shadow(0 0 10px rgba(85, 110, 230, 0.2));
  padding: 12px 20px 8px;
  box-sizing: border-box;
}

/* ── Today panel ────────────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .dash-today {
  padding: 20px !important;
}

body[data-bs-theme="dark"] .dash-today h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a6b0cf;
  margin-bottom: 14px;
}

body[data-bs-theme="dark"] .dash-today-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

body[data-bs-theme="dark"] .dash-today-grid>div {
  background: rgba(85, 110, 230, 0.1);
  border: 1px solid rgba(85, 110, 230, 0.2);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

body[data-bs-theme="dark"] .dash-today-grid span {
  display: block;
  font-size: 11px;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

body[data-bs-theme="dark"] .dash-today-grid strong {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(90deg, #556ee6, #34c38f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Hour chart bar ─────────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .dash-hour-chart {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 12px;
  position: relative;
}

body[data-bs-theme="dark"] .dash-flat-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(85, 110, 230, 0), rgba(85, 110, 230, 0.5), rgba(85, 110, 230, 0));
  margin: 8px 0;
  border-radius: 2px;
}

body[data-bs-theme="dark"] .dash-hour-labels {
  display: flex;
  justify-content: space-between;
}

body[data-bs-theme="dark"] .dash-hour-labels span {
  font-size: 10px;
  color: #6c757d;
}

/* ── Status grid (Đơn tạo mới / Đơn huỷ / Đơn chốt) ───────────────────── */
body[data-bs-theme="dark"] .dash-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

body[data-bs-theme="dark"] .dash-status-grid .dash-mini-card {
  padding: 14px !important;
  text-align: center;
}

body[data-bs-theme="dark"] .dash-status-grid .dash-mini-card span {
  display: block;
  font-size: 11px;
  color: #a6b0cf;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

body[data-bs-theme="dark"] .dash-status-grid .dash-mini-card strong {
  font-size: 1.4rem;
  font-weight: 900;
}

/* Extra Filter dropdown */
body[data-bs-theme="dark"] .dash-extra-filter {
  background: rgba(30, 33, 41, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-bs-theme="dark"] .dash-extra-filter a {
  background: rgba(85, 110, 230, 0.1);
  border: 1px solid rgba(85, 110, 230, 0.2);
  border-radius: 8px;
  color: #a5b4fc;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  text-decoration: none;
  transition: all 0.2s;
}

body[data-bs-theme="dark"] .dash-extra-filter a:hover {
  background: rgba(85, 110, 230, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   ORDERS PAGE – GLASSMORPHISM REDESIGN
   ========================================================================== */

/* ── Page wrapper ──────────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .orders-dark {
  background: transparent !important;
}

/* ── Primary Topbar (channel switcher) ─────────────────────────────────── */
body[data-bs-theme="dark"] #ordersPrimaryTopbar,
body[data-bs-theme="dark"] .orders-channel-tabs {
  background: rgba(30, 33, 41, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 16px !important;
  padding: 8px 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

body[data-bs-theme="dark"] .orders-channel-tabs a {
  color: #a6b0cf !important;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

body[data-bs-theme="dark"] .orders-channel-tabs a:hover {
  background: rgba(85, 110, 230, 0.12) !important;
  color: #f8f9fa !important;
  border-color: rgba(85, 110, 230, 0.2);
}

body[data-bs-theme="dark"] .orders-channel-tabs a.active,
body[data-bs-theme="dark"] .orders-channel-tabs a[aria-current] {
  background: #556ee6 !important;
  color: #fff !important;
  border-color: #556ee6 !important;
  box-shadow: 0 4px 12px rgba(85, 110, 230, 0.35);
}

/* ── Secondary Topbar (status tabs) ────────────────────────────────────── */
body[data-bs-theme="dark"] #ordersSecondaryTopbar {
  background: rgba(20, 27, 45, 0.55) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
  padding: 6px 16px !important;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

body[data-bs-theme="dark"] #ordersSecondaryTopbar a {
  color: #6c757d;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

body[data-bs-theme="dark"] #ordersSecondaryTopbar a:hover {
  color: #f8f9fa;
  background: rgba(255, 255, 255, 0.05);
}

body[data-bs-theme="dark"] #ordersSecondaryTopbar a.active {
  color: #34c38f;
  background: rgba(52, 195, 143, 0.1);
  border-bottom: 2px solid #34c38f;
}

body[data-bs-theme="dark"] #ordersSecondaryTopbar .orders-status-count {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  margin-left: 4px;
}

/* ── Table Shell ────────────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .orders-table-shell {
  background: rgba(30, 33, 41, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  overflow: hidden;
  position: relative;
}

body[data-bs-theme="dark"] .orders-table-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #556ee6, #34c38f);
  z-index: 1;
}

/* ── Table itself ───────────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .orders-table {
  background: transparent !important;
  border: none !important;
}

body[data-bs-theme="dark"] .orders-table thead th {
  background: rgba(10, 15, 30, 0.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-top: none !important;
  color: #a6b0cf !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 16px;
  white-space: nowrap;
}

body[data-bs-theme="dark"] .orders-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  transition: background 0.2s ease;
}

body[data-bs-theme="dark"] .orders-table tbody tr:hover {
  background: rgba(85, 110, 230, 0.07) !important;
}

body[data-bs-theme="dark"] .orders-table tbody td {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
  color: #ced4da;
  padding: 12px 16px;
  vertical-align: middle;
}

body[data-bs-theme="dark"] .orders-table tbody td:first-child {
  padding-left: 20px;
}

/* Order ID — make it pop */
body[data-bs-theme="dark"] .orders-table .orders-id-cell a,
body[data-bs-theme="dark"] .orders-table .orders-id-cell,
body[data-bs-theme="dark"] .orders-table td:nth-child(2) a {
  color: #a5b4fc !important;
  font-weight: 700;
  text-decoration: none;
}

body[data-bs-theme="dark"] .orders-table td:nth-child(2) a:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* Price column */
body[data-bs-theme="dark"] .orders-table .text-end strong,
body[data-bs-theme="dark"] .orders-table td.text-end {
  color: #34c38f !important;
  font-weight: 700;
}

/* Status badge */
body[data-bs-theme="dark"] .ez-status-picker,
body[data-bs-theme="dark"] .orders-status-badge {
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
}

/* ── Footer Summary Bar ─────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .orders-footer {
  background: rgba(30, 33, 41, 0.7) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  padding: 10px 20px !important;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

body[data-bs-theme="dark"] .orders-footer span {
  color: #a6b0cf !important;
  font-size: 13px;
}

body[data-bs-theme="dark"] .orders-footer strong {
  color: #f8f9fa !important;
  font-weight: 700;
}

body[data-bs-theme="dark"] #ordersCodTotal {
  background: linear-gradient(90deg, #34c38f, #50c8f4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1rem;
  font-weight: 800;
}

body[data-bs-theme="dark"] #ordersSelectedCount {
  color: #a5b4fc !important;
}

body[data-bs-theme="dark"] .orders-footer .fa-gear {
  color: #6c757d;
  cursor: pointer;
  transition: color 0.2s, transform 0.3s;
}

body[data-bs-theme="dark"] .orders-footer .fa-gear:hover {
  color: #556ee6;
  transform: rotate(60deg);
}

/* ── Pagination ─────────────────────────────────────────────────────────── */
body[data-bs-theme="dark"] .orders-pagination,
body[data-bs-theme="dark"] .orders-pagination .page-link {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
  color: #a6b0cf;
  border-radius: 8px;
}

body[data-bs-theme="dark"] .orders-pagination .page-item.active .page-link {
  background: #556ee6 !important;
  border-color: #556ee6 !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(85, 110, 230, 0.35);
}

body[data-bs-theme="dark"] .orders-pagination .page-link:hover {
  background: rgba(85, 110, 230, 0.15);
  color: #fff;
}

/* ── Edit Order Modal ───────────────────────────────────────────────────── */
body[data-bs-theme="dark"] #editOrderModal .modal-content {
  background: rgba(30, 33, 41, 0.92) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
  color: #f8f9fa !important;
}

body[data-bs-theme="dark"] #editOrderModal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 20px 24px;
}

body[data-bs-theme="dark"] #editOrderModal .modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #a5b4fc, #34c38f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-bs-theme="dark"] #editOrderModal .modal-body {
  padding: 20px 24px;
}

body[data-bs-theme="dark"] #editOrderModal .form-label {
  color: #a6b0cf;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

body[data-bs-theme="dark"] #editOrderModal .form-control {
  background: rgba(10, 15, 30, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #f8f9fa !important;
  transition: border-color 0.25s, box-shadow 0.25s;
}

body[data-bs-theme="dark"] #editOrderModal .form-control:focus {
  border-color: #556ee6 !important;
  box-shadow: 0 0 0 3px rgba(85, 110, 230, 0.18) !important;
  background: rgba(10, 15, 30, 0.9) !important;
}

body[data-bs-theme="dark"] #editOrderModal .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 16px 24px;
}

body[data-bs-theme="dark"] #editOrderModal .btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #a6b0cf !important;
  transition: all 0.2s;
}

body[data-bs-theme="dark"] #editOrderModal .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
}

body[data-bs-theme="dark"] #editOrderModal .btn-primary {
  background: linear-gradient(135deg, #556ee6, #34c38f) !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(85, 110, 230, 0.35) !important;
  font-weight: 700;
  transition: all 0.3s;
}

body[data-bs-theme="dark"] #editOrderModal .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(85, 110, 230, 0.5) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   POS WIDE GLASS THEME
   Applies the dark glass style consistently across every authenticated POS
   route, including sales, dashboard, orders, products, stock, suppliers,
   customers, users, and purchase screens.
   ========================================================================== */

body[data-bs-theme="dark"].ezone-has-sidebar,
body[data-bs-theme="dark"].ezone-has-sidebar #layout-wrapper,
body[data-bs-theme="dark"].ezone-has-sidebar .main-content,
body[data-bs-theme="dark"].ezone-has-sidebar .page-content {
  background:
    linear-gradient(145deg, rgba(10, 14, 19, 0.98) 0%, rgba(17, 22, 28, 0.98) 46%, rgba(14, 18, 23, 0.98) 100%),
    linear-gradient(90deg, rgba(47, 123, 167, 0.16), rgba(45, 168, 127, 0.12), rgba(184, 139, 55, 0.1)) !important;
  color: #e6edf1;
}

body[data-bs-theme="dark"].ezone-has-sidebar .page-content {
  min-height: 100vh;
}

body[data-bs-theme="dark"].ezone-has-sidebar #page-topbar,
body[data-bs-theme="dark"].ezone-has-sidebar #page-topbar .navbar-header,
body[data-bs-theme="dark"].ezone-has-sidebar .navbar-brand-box {
  background: rgba(15, 20, 26, 0.78) !important;
  border-bottom: 1px solid rgba(227, 238, 245, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-bs-theme="dark"].ezone-has-sidebar .vertical-menu {
  background: rgba(15, 20, 26, 0.76) !important;
  border-right: 1px solid rgba(227, 238, 245, 0.09);
  box-shadow: 10px 0 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-bs-theme="dark"].ezone-has-sidebar .ez-skote-store {
  background: linear-gradient(135deg, rgba(47, 123, 167, 0.16), rgba(45, 168, 127, 0.1));
  border: 1px solid rgba(227, 238, 245, 0.1);
  border-radius: 8px;
  margin: 12px;
  padding: 12px;
}

body[data-bs-theme="dark"].ezone-has-sidebar .ez-skote-store-logo {
  background: linear-gradient(135deg, #3f8fd2, #2bbf8f);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(43, 191, 143, 0.18);
}

body[data-bs-theme="dark"].ezone-has-sidebar .ez-skote-store-name {
  color: #f4f8fa;
  font-weight: 700;
}

body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu {
  padding: 8px 10px 28px;
}

body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu .menu-title {
  color: #7f909a;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 16px 10px 7px;
}

body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu ul li a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: #aebcc4;
  margin: 2px 0;
  padding: 0.66rem 0.78rem;
}

body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu ul li a:hover,
body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu ul li a.active,
body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu ul li.mm-active>a {
  background: rgba(47, 123, 167, 0.14) !important;
  border-color: rgba(86, 166, 214, 0.24);
  color: #ffffff !important;
  margin: 2px 0;
}

body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu ul li a i {
  color: #7faecb;
}

body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu ul li a:hover i,
body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu ul li a.active i,
body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu ul li.mm-active>a i {
  color: #55d6a7 !important;
  text-shadow: none;
}

body[data-bs-theme="dark"].ezone-has-sidebar #sidebar-menu ul li ul.sub-menu li a {
  color: #91a0a9;
  font-size: 12.5px;
  margin-left: 18px;
  padding-left: 14px;
}

body[data-bs-theme="dark"].ezone-has-sidebar .footer {
  background: rgba(15, 20, 26, 0.78);
  border-top: 1px solid rgba(227, 238, 245, 0.08);
  color: #8e9da5;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body[data-bs-theme="dark"].ezone-has-sidebar .ez-page-title {
  align-items: center;
  background: rgba(18, 24, 31, 0.56);
  border: 1px solid rgba(227, 238, 245, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  margin-bottom: 16px;
  padding: 14px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body[data-bs-theme="dark"].ezone-has-sidebar .ez-page-title h3 {
  color: #f7fafc;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

body[data-bs-theme="dark"].ezone-has-sidebar .ez-actionbar {
  gap: 8px;
}

body[data-bs-theme="dark"].ezone-has-sidebar .ez-card,
body[data-bs-theme="dark"].ezone-has-sidebar .card,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-table-shell,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-topbar,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-main-tabs,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-footer,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-card,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-mini-card,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-filterbar,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-dark-card,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-cart-panel {
  background: rgba(18, 24, 31, 0.62) !important;
  border: 1px solid rgba(227, 238, 245, 0.08) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22) !important;
  color: #e6edf1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body[data-bs-theme="dark"].ezone-has-sidebar .ez-card:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .card:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-card:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-mini-card:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-dark-card:hover {
  border-color: rgba(85, 214, 167, 0.2) !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28) !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .table-responsive {
  border-radius: 8px;
}

body[data-bs-theme="dark"].ezone-has-sidebar .table,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-table {
  --bs-table-bg: transparent;
  --bs-table-color: #dfe8ed;
  --bs-table-border-color: rgba(227, 238, 245, 0.08);
  --bs-table-hover-bg: rgba(47, 123, 167, 0.1);
  --bs-table-hover-color: #ffffff;
  color: #dfe8ed;
  margin-bottom: 0;
}

body[data-bs-theme="dark"].ezone-has-sidebar .table-bordered,
body[data-bs-theme="dark"].ezone-has-sidebar .table-bordered th,
body[data-bs-theme="dark"].ezone-has-sidebar .table-bordered td,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-table th,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-table td {
  border-color: rgba(227, 238, 245, 0.08) !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .table>thead tr,
body[data-bs-theme="dark"].ezone-has-sidebar .table .table-light,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-table thead th {
  background: rgba(7, 11, 15, 0.42) !important;
  color: #9fb1ba !important;
  letter-spacing: 0.04em;
}

body[data-bs-theme="dark"].ezone-has-sidebar .table> :not(caption)>*>*,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-table th,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-table td {
  background: transparent !important;
  box-shadow: none !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar table.dataTable tbody tr:hover>*,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-table tbody tr:hover>* {
  background: rgba(47, 123, 167, 0.1) !important;
  color: #ffffff !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar table.dataTable tbody tr,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-table tbody tr {
  cursor: pointer;
}

body[data-bs-theme="dark"].ezone-has-sidebar .dataTables_wrapper .dataTables_length label,
body[data-bs-theme="dark"].ezone-has-sidebar .dataTables_wrapper .dataTables_filter label,
body[data-bs-theme="dark"].ezone-has-sidebar .dataTables_wrapper .dataTables_info {
  color: #94a5ae !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .dataTables_wrapper .dataTables_filter input,
body[data-bs-theme="dark"].ezone-has-sidebar .dataTables_wrapper .dataTables_length select,
body[data-bs-theme="dark"].ezone-has-sidebar .form-control,
body[data-bs-theme="dark"].ezone-has-sidebar .form-select,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-select,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-date-input,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-dark-input,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-money-input,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-note-area {
  background: rgba(8, 12, 17, 0.62) !important;
  border: 1px solid rgba(227, 238, 245, 0.1) !important;
  border-radius: 8px !important;
  color: #f4f8fa !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .dataTables_wrapper .dataTables_filter input:focus,
body[data-bs-theme="dark"].ezone-has-sidebar .dataTables_wrapper .dataTables_length select:focus,
body[data-bs-theme="dark"].ezone-has-sidebar .form-control:focus,
body[data-bs-theme="dark"].ezone-has-sidebar .form-select:focus,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-select:focus,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-date-input:focus,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-dark-input:focus,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-money-input:focus,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-note-area:focus {
  background: rgba(8, 12, 17, 0.82) !important;
  border-color: rgba(85, 214, 167, 0.52) !important;
  box-shadow: 0 0 0 3px rgba(85, 214, 167, 0.12) !important;
  color: #ffffff !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .form-control::placeholder,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-dark-input::placeholder,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-note-area::placeholder {
  color: #71838d !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .btn {
  border-radius: 8px;
}

body[data-bs-theme="dark"].ezone-has-sidebar .btn-primary,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-actions .primary,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-footer-actions button.primary,
body[data-bs-theme="dark"].ezone-has-sidebar #checkoutButton {
  background: linear-gradient(135deg, #3f8fd2 0%, #2bbf8f 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(43, 191, 143, 0.22) !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .btn-success {
  background: linear-gradient(135deg, #2bbf8f, #5aaf6f) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 22px rgba(43, 191, 143, 0.18) !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .btn-secondary,
body[data-bs-theme="dark"].ezone-has-sidebar .btn-light,
body[data-bs-theme="dark"].ezone-has-sidebar .btn-outline-secondary,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-tool-icons button,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-tool-icons a,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-status-tabs a,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-channel-tabs a,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-icon-btn,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-barcode,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-card-head button,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-product-actions button {
  background: rgba(227, 238, 245, 0.06) !important;
  border: 1px solid rgba(227, 238, 245, 0.1) !important;
  color: #d5e0e6 !important;
  border-radius: 8px !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .btn:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-tool-icons button:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-tool-icons a:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-status-tabs a:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-channel-tabs a:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .dash-icon-btn:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-barcode:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-card-head button:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-product-actions button:hover {
  border-color: rgba(85, 214, 167, 0.35) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

body[data-bs-theme="dark"].ezone-has-sidebar .nav-tabs {
  border-color: rgba(227, 238, 245, 0.08);
}

body[data-bs-theme="dark"].ezone-has-sidebar .nav-tabs .nav-link {
  border-radius: 8px 8px 0 0;
  color: #9fb1ba;
}

body[data-bs-theme="dark"].ezone-has-sidebar .nav-tabs .nav-link.active {
  background: rgba(47, 123, 167, 0.16);
  border-color: rgba(86, 166, 214, 0.24);
  color: #ffffff;
}

body[data-bs-theme="dark"].ezone-has-sidebar .modal-content {
  background: rgba(18, 24, 31, 0.94) !important;
  border: 1px solid rgba(227, 238, 245, 0.1) !important;
  border-radius: 8px !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  color: #e6edf1;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-bs-theme="dark"].ezone-has-sidebar .modal-header,
body[data-bs-theme="dark"].ezone-has-sidebar .modal-footer {
  border-color: rgba(227, 238, 245, 0.08);
}

body[data-bs-theme="dark"].ezone-has-sidebar .dropdown-menu,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-choice-menu,
body[data-bs-theme="dark"].ezone-has-sidebar .select2-dropdown {
  background: rgba(18, 24, 31, 0.96) !important;
  border: 1px solid rgba(227, 238, 245, 0.1) !important;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  color: #e6edf1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body[data-bs-theme="dark"].ezone-has-sidebar .badge.bg-success,
body[data-bs-theme="dark"].ezone-has-sidebar .badge.bg-info,
body[data-bs-theme="dark"].ezone-has-sidebar .badge.bg-warning,
body[data-bs-theme="dark"].ezone-has-sidebar .badge.bg-danger,
body[data-bs-theme="dark"].ezone-has-sidebar .badge.bg-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body[data-bs-theme="dark"].ezone-has-sidebar .pos-create-tabs,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-create-footer {
  background: rgba(15, 20, 26, 0.82) !important;
  border-color: rgba(227, 238, 245, 0.08) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-bs-theme="dark"].ezone-has-sidebar .product-card,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-search-result,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-search-quick,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-cart-row {
  background: rgba(8, 12, 17, 0.48) !important;
  border-color: rgba(227, 238, 245, 0.08) !important;
  border-radius: 8px !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .product-card:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-search-result:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-search-quick:hover,
body[data-bs-theme="dark"].ezone-has-sidebar .pos-cart-row:hover {
  background: rgba(47, 123, 167, 0.12) !important;
  border-color: rgba(85, 214, 167, 0.22) !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .dataTables_wrapper .pagination .page-item .page-link,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-pagination .page-link {
  background: rgba(227, 238, 245, 0.06) !important;
  border-color: rgba(227, 238, 245, 0.1) !important;
  color: #d5e0e6 !important;
}

body[data-bs-theme="dark"].ezone-has-sidebar .dataTables_wrapper .pagination .page-item.active .page-link,
body[data-bs-theme="dark"].ezone-has-sidebar .orders-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #3f8fd2, #2bbf8f) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

@media (max-width: 767.98px) {
  body[data-bs-theme="dark"].ezone-has-sidebar .ez-page-title {
    align-items: flex-start;
    gap: 12px;
  }

  body[data-bs-theme="dark"].ezone-has-sidebar .ez-actionbar {
    justify-content: flex-start;
    width: 100%;
  }
}

/* Persisted compact sidebar. Keep these overrides last so they win over Skote. */
@media (min-width: 992px) {
  body.ezone-has-sidebar .main-content,
  body.ezone-has-sidebar>main:not(.main-content) {
    margin-right: 0 !important;
  }

  body.ezone-has-sidebar .footer {
    left: 240px;
    right: 0 !important;
    width: auto;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar {
    min-height: 100vh;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar .navbar-brand-box,
  html.ez-sidebar-collapsed body.ezone-has-sidebar .vertical-menu {
    width: 70px !important;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar .vertical-menu {
    position: fixed !important;
    z-index: 1001;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar .main-content,
  html.ez-sidebar-collapsed body.ezone-has-sidebar>main:not(.main-content) {
    margin-left: 70px !important;
    width: calc(100% - 70px) !important;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar .footer {
    left: 70px;
    right: 0 !important;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar .pos-create-footer {
    left: 70px !important;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar .logo .logo-lg,
  html.ez-sidebar-collapsed body.ezone-has-sidebar .ez-skote-store-name,
  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu .menu-title,
  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu>ul>li>a>span,
  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu .has-arrow::after {
    display: none !important;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar .logo .logo-sm {
    display: block !important;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar .ez-skote-store {
    justify-content: center;
    margin: 10px 8px 8px;
    min-height: 54px;
    padding: 8px 0;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar .ez-skote-store-logo {
    flex-basis: 38px;
    height: 38px;
    width: 38px;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu {
    padding: 6px 8px 24px;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar .vertical-menu .simplebar-mask,
  html.ez-sidebar-collapsed body.ezone-has-sidebar .vertical-menu .simplebar-content-wrapper {
    overflow: visible !important;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu>ul>li {
    position: relative;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu>ul>li>a {
    align-items: center;
    display: flex;
    height: 48px;
    justify-content: center;
    margin: 3px 0;
    min-height: 48px;
    padding: 0 !important;
    width: 54px !important;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu>ul>li>a>i {
    flex: 0 0 28px;
    font-size: 20px;
    margin: 0 !important;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu>ul>li:hover>a {
    width: 232px !important;
    justify-content: flex-start;
    padding-left: 13px !important;
    position: relative;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu>ul>li:hover>a>span {
    display: inline-block !important;
    margin-left: 13px;
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu>ul>li:hover>ul {
    display: block;
    height: auto !important;
    left: 62px;
    right: auto;
    top: 48px;
    width: 170px;
  }

  html.ez-sidebar-collapsed body.ezone-has-sidebar #sidebar-menu>ul>li:hover>ul a {
    margin: 0 !important;
    padding: 9px 14px !important;
    width: 170px;
  }
}

.ez-sync-standalone {
  margin: 0;
  min-height: 100vh;
  width: 100%;
}

.ez-sync-required-page {
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(85, 110, 230, .22), transparent 28rem),
    linear-gradient(135deg, #111827 0%, #171923 46%, #1f2937 100%);
  display: flex;
  min-height: 100vh;
  padding-bottom: 40px;
  padding-top: 40px;
}

.ez-sync-card {
  background: rgba(15, 23, 42, .88);
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
  color: #e5e7eb;
  margin: 0 auto;
  max-width: 980px;
  padding: 34px;
}

.ez-sync-hero {
  align-items: flex-start;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.ez-sync-kicker {
  color: #7dd3fc;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ez-sync-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 0 0 14px;
}

.ez-sync-hero p {
  color: #a5b4c9;
  font-size: 16px;
  margin: 0;
  max-width: 650px;
}

.ez-sync-percent {
  align-items: center;
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  border-radius: 24px;
  color: #06111f;
  display: flex;
  flex: 0 0 148px;
  font-size: 34px;
  font-weight: 900;
  height: 118px;
  justify-content: center;
}

.ez-sync-progress {
  background: rgba(148, 163, 184, .18);
  border-radius: 999px;
  height: 14px;
  margin: 30px 0 16px;
  overflow: hidden;
}

.ez-sync-progress .progress-bar {
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  border-radius: inherit;
  transition: width .25s ease;
}

.ez-sync-message {
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(96, 165, 250, .28);
  border-radius: 16px;
  color: #bfdbfe;
  font-weight: 700;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.ez-sync-message.is-success {
  background: rgba(34, 197, 94, .12);
  border-color: rgba(34, 197, 94, .32);
  color: #bbf7d0;
}

.ez-sync-message.is-warning {
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .32);
  color: #fde68a;
}

.ez-sync-message.is-error {
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .34);
  color: #fecaca;
}

.ez-sync-steps {
  display: grid;
  gap: 12px;
}

.ez-sync-step {
  align-items: center;
  background: rgba(30, 41, 59, .74);
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  padding: 16px;
}

.ez-sync-step-index {
  align-items: center;
  background: rgba(148, 163, 184, .14);
  border-radius: 14px;
  color: #cbd5e1;
  display: flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.ez-sync-step-body strong {
  color: #f8fafc;
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.ez-sync-step-body span,
.ez-sync-step-meta {
  color: #94a3b8;
  font-size: 13px;
}

.ez-sync-step-meta {
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.ez-sync-step.is-running {
  border-color: rgba(56, 189, 248, .5);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .18);
}

.ez-sync-step.is-running .ez-sync-step-index {
  background: rgba(56, 189, 248, .18);
  color: #7dd3fc;
}

.ez-sync-step.is-done {
  border-color: rgba(34, 197, 94, .38);
}

.ez-sync-step.is-done .ez-sync-step-index {
  background: rgba(34, 197, 94, .18);
  color: #86efac;
}

.ez-sync-step.is-error {
  border-color: rgba(239, 68, 68, .45);
}

.ez-sync-actions {
  margin-top: 20px;
}

@media (max-width: 767.98px) {
  .ez-sync-card {
    padding: 22px;
  }

  .ez-sync-hero,
  .ez-sync-step {
    display: block;
  }

  .ez-sync-percent {
    height: 86px;
    margin-top: 18px;
    width: 128px;
  }

  .ez-sync-step-index {
    margin-bottom: 12px;
  }

  .ez-sync-step-meta {
    margin-top: 10px;
    text-align: left;
  }
}
