body {
  background: #f6f8fb;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0;
}

.hulo-header-brand,
.hulo-sidebar-brand-link {
  align-items: center;
  display: inline-flex;
  text-decoration: none;
}

.hulo-header-brand {
  min-height: 3rem;
  padding-bottom: .25rem;
  padding-top: .25rem;
}

.hulo-header-logo {
  display: block;
  height: 2.35rem;
  max-width: min(12.5rem, 42vw);
  object-fit: contain;
  width: auto;
}

.hulo-sidebar-brand {
  justify-content: flex-start;
  padding-bottom: .75rem;
  padding-top: .9rem;
}

.hulo-sidebar-brand-link {
  gap: .65rem;
  min-width: 0;
}

.hulo-sidebar-brand-link:hover {
  text-decoration: none;
}

.hulo-sidebar-brand-mark {
  display: block;
  height: 2.35rem;
  width: 2.35rem;
}

.hulo-sidebar-brand-text {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.hulo-sidebar-brand-text span {
  color: #7dd3fc;
}

.auth-brand-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.auth-brand-logo-img {
  display: block;
  height: auto;
  max-width: min(280px, 82%);
}

.global-loading {
  align-items: center;
  background: rgba(246, 248, 251, .86);
  backdrop-filter: blur(6px);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity .16s ease;
  z-index: 2000;
}

.global-loading.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.global-loading-panel {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 12rem;
  padding: 1.25rem 1.5rem;
}

.global-loading-logo {
  height: 2.75rem;
  width: 2.75rem;
}

.global-loading-spinner {
  animation: hulo-spin .8s linear infinite;
  border: 3px solid #d9e2ec;
  border-top-color: #1769e0;
  border-radius: 50%;
  height: 2rem;
  width: 2rem;
}

.global-loading-text {
  color: #334155;
  font-size: .875rem;
  font-weight: 700;
}

@keyframes hulo-spin {
  to {
    transform: rotate(360deg);
  }
}

.stat-card {
  min-height: 116px;
}

.customer-stat-card {
  min-height: 148px;
  border-radius: 8px;
}

.customer-stat-icon,
.nav-link-icon .ti {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.customer-stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.customer-stat-card .stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.15;
}

.nav-link-icon .ti {
  color: rgba(255, 255, 255, .92);
  width: 1.85rem;
  height: 1.85rem;
  font-size: 1.46rem;
  line-height: 1;
  transition: color .16s ease, transform .16s ease;
}

.navbar-vertical .nav-link {
  border-radius: 10px;
  gap: .85rem;
  margin: .125rem .5rem;
  padding: .55rem .7rem;
  transition: background-color .16s ease, color .16s ease;
}

.navbar-vertical .nav-link:hover,
.navbar-vertical .nav-item.active > .nav-link {
  background: rgba(255, 255, 255, .1);
}

.navbar-vertical .nav-link:hover .nav-link-icon .ti,
.navbar-vertical .nav-item.active > .nav-link .nav-link-icon .ti {
  color: #fff;
  transform: translateY(-1px);
}

#customer-configuration-menu .navbar-nav {
  border-left: 1px solid rgba(255, 255, 255, .12);
  margin: .2rem 0 .45rem 1.55rem;
  padding-left: .45rem !important;
}

#customer-configuration-menu .nav-link {
  border-radius: 8px;
  margin-left: 0;
  padding-bottom: .45rem;
  padding-top: .45rem;
}

#customer-configuration-menu .nav-link-icon .ti {
  font-size: 1.22rem;
  height: 1.6rem;
  width: 1.6rem;
}

.ti {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  vertical-align: -.125em;
}

.ti::before {
  background: currentColor;
  content: "";
  display: block;
  height: 1em;
  mask: var(--ti-icon) no-repeat center / contain;
  -webkit-mask: var(--ti-icon) no-repeat center / contain;
  width: 1em;
}

.ti-layout-dashboard { --ti-icon: url("../img/icons/dashboard.svg"); }
.ti-device-tablet { --ti-icon: url("../img/icons/tablet.svg"); }
.ti-layout-grid { --ti-icon: url("../img/icons/grid.svg"); }
.ti-list { --ti-icon: url("../img/icons/list.svg"); }
.ti-chart-bar { --ti-icon: url("../img/icons/chart-bar.svg"); }
.ti-settings { --ti-icon: url("../img/icons/settings.svg"); }
.ti-map-pin { --ti-icon: url("../img/icons/map-pin.svg"); }
.ti-coin { --ti-icon: url("../img/icons/coin.svg"); }
.ti-building-store { --ti-icon: url("../img/icons/store.svg"); }
.ti-credit-card { --ti-icon: url("../img/icons/credit-card.svg"); }
.ti-receipt { --ti-icon: url("../img/icons/receipt.svg"); }
.ti-dots-vertical { --ti-icon: url("../img/icons/dots-vertical.svg"); }
.ti-adjustments { --ti-icon: url("../img/icons/adjustments.svg"); }
.ti-user { --ti-icon: url("../img/icons/user.svg"); }
.ti-logout { --ti-icon: url("../img/icons/logout.svg"); }
.ti-wifi { --ti-icon: url("../img/icons/wifi.svg"); }
.ti-wifi-off { --ti-icon: url("../img/icons/wifi-off.svg"); }
.ti-circle-check { --ti-icon: url("../img/icons/circle-check.svg"); }
.ti-alert-triangle { --ti-icon: url("../img/icons/alert-triangle.svg"); }
.ti-clock-play { --ti-icon: url("../img/icons/clock-play.svg"); }

.mini-bars {
  align-items: end;
  display: flex;
  gap: .4rem;
  height: 180px;
  padding: .75rem 0;
}

.mini-bar {
  background: var(--tblr-primary);
  border-radius: 6px 6px 2px 2px;
  flex: 1 1 0;
  min-width: .65rem;
}

.horizontal-meter {
  background: var(--tblr-gray-200);
  border-radius: 999px;
  height: .65rem;
  overflow: hidden;
}

.horizontal-meter-fill {
  background: var(--tblr-primary);
  height: 100%;
}

.status-dot {
  border-radius: 50%;
  display: inline-block;
  height: .65rem;
  width: .65rem;
}

.status-dot.online { background: var(--tblr-success); }
.status-dot.offline { background: var(--tblr-secondary); }
.status-dot.problem { background: var(--tblr-warning); }

.tabs-toolbar {
  align-items: center;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 8px;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  padding: .75rem;
}

.tabs-view-toggle .btn.active {
  background: var(--tblr-primary);
  border-color: var(--tblr-primary);
  color: #fff;
}

.tabs-table-card > .card-header,
.tab-card > .card-header,
.bulk-action-modal .modal-header {
  background: #edf6ff;
  border-bottom-color: #c6dcf5;
}

.tabs-table-card,
.tab-card {
  border-color: #c6dcf5;
}

.tab-card {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
  height: 100%;
}

.tab-card > .card-header {
  border-top: 3px solid #2f80ed;
  border-radius: 8px 8px 0 0;
  min-height: 4.25rem;
}

.tab-card-menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  padding: 0;
  width: 2.25rem;
}

.tab-card-menu-button .ti {
  align-items: center;
  display: inline-flex;
  font-size: 1.45rem;
  font-weight: 900;
  height: 1.65rem;
  justify-content: center;
  line-height: 1;
  width: 1.65rem;
}

.tab-card-menu-button:hover,
.tab-card-menu-button:focus {
  background: rgba(23, 105, 224, .1);
  color: #1769e0;
  outline: 0;
}

.tab-card-fields {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tab-card-field-label {
  color: var(--tblr-secondary);
  font-size: .75rem;
  margin-bottom: .15rem;
}

.tab-card-field-value {
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}

.grid-column-span-2 {
  grid-column: span 2;
}

.badge {
  font-weight: 700;
}

.badge.bg-primary,
.badge.bg-secondary,
.badge.bg-success,
.badge.bg-info,
.badge.bg-danger {
  color: #fff !important;
}

.badge.bg-secondary {
  background-color: #4b5563 !important;
}

.badge.bg-info {
  background-color: #2563eb !important;
}

.badge.bg-warning {
  background-color: #f59f00 !important;
  color: #241400 !important;
}

.empty-state {
  padding: 3rem 1rem;
  text-align: center;
}

.empty-state-icon {
  align-items: center;
  background: var(--tblr-primary-bg-subtle);
  border-radius: 50%;
  color: var(--tblr-primary);
  display: inline-flex;
  font-size: 2rem;
  height: 4rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 4rem;
}

.action-cell {
  min-width: 11rem;
}

.table-responsive {
  min-height: 0;
}

.machine-status-dot {
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  display: inline-block;
}

.machine-status-dot.online {
  background: var(--tblr-success);
}

.machine-status-dot.offline {
  background: var(--tblr-secondary);
}

.page-pretitle {
  letter-spacing: 0;
}

.form-help {
  display: block;
  color: var(--tblr-secondary);
  font-size: .8125rem;
  margin-top: .25rem;
}

.hulo-auth-body {
  background: #eef4f8;
  color: #0f172a;
  min-height: 100vh;
}

.hulo-auth-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.hulo-auth-eyebrow {
  color: #1769e0;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hulo-auth-form-panel {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 46rem;
  width: 100%;
}

.hulo-auth-mobile-brand {
  display: block;
  margin-bottom: 1.25rem;
  width: min(16rem, 78vw);
}

.hulo-auth-mobile-brand img {
  height: auto;
  width: 100%;
}

.hulo-auth-card {
  background: #fff;
  border: 1px solid #dbe6ef;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
  max-width: 29rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
}

.hulo-auth-card-wide {
  max-width: 56rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.hulo-auth-card-wide .hulo-auth-card-header {
  margin-bottom: .95rem;
}

.hulo-auth-card-wide .hulo-auth-card-header p {
  font-size: .9rem;
}

.hulo-auth-card-wide .form-label {
  margin-bottom: .25rem;
}

.hulo-auth-card-wide .form-control {
  min-height: 2.45rem;
}

.hulo-auth-card-wide textarea.form-control {
  min-height: 3.55rem;
}

.hulo-auth-card-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.hulo-auth-card-header h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

.hulo-auth-card-header p {
  color: #64748b;
  margin: .55rem 0 0;
}

.hulo-auth-card .form-label {
  color: #334155;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: .35rem;
}

.hulo-auth-card .form-control {
  background: #f8fbfd;
  border: 1px solid #cfdbe6;
  border-radius: 8px;
  color: #0f172a;
  min-height: 2.75rem;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.hulo-auth-card textarea.form-control {
  min-height: 4.4rem;
  resize: vertical;
}

.hulo-auth-card .form-control:focus {
  background: #fff;
  border-color: #1769e0;
  box-shadow: 0 0 0 .22rem rgba(23, 105, 224, .12);
}

.hulo-auth-field {
  margin-bottom: .85rem;
}

.hulo-auth-input-wrap {
  align-items: center;
  background: #f8fbfd;
  border: 1px solid #cfdbe6;
  border-radius: 8px;
  display: flex;
  min-height: 2.9rem;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.hulo-auth-input-wrap:focus-within {
  background: #fff;
  border-color: #1769e0;
  box-shadow: 0 0 0 .22rem rgba(23, 105, 224, .12);
}

.hulo-auth-input-wrap .ti {
  color: #64748b;
  flex: 0 0 auto;
  font-size: 1.1rem;
  margin-left: .9rem;
}

.hulo-auth-input-wrap .form-control {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 2.85rem;
  padding-left: .7rem;
}

.hulo-auth-input-wrap input,
.hulo-auth-input-wrap .form-control:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 0;
}

.hulo-auth-input-wrap input {
  appearance: none;
  -webkit-appearance: none;
  color: #0f172a;
  flex: 1 1 auto;
  font-size: 1rem;
  min-width: 0;
}

.hulo-login-form {
  margin-top: .25rem;
}

.hulo-register-form {
  margin-top: .25rem;
}

.hulo-register-grid {
  display: grid;
  gap: .65rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hulo-register-grid .hulo-auth-field {
  margin-bottom: 0;
}

.hulo-register-span,
.hulo-register-actions {
  grid-column: 1 / -1;
}

.hulo-register-actions {
  display: flex;
  gap: .65rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.hulo-auth-lock {
  align-items: center;
  background: #ecfdf7;
  border-radius: 8px;
  color: #0f9f82;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.25rem;
  height: 2.55rem;
  justify-content: center;
  width: 2.55rem;
}

.hulo-google-button {
  align-items: center;
  border-color: #cfd9e3;
  color: #1e293b;
  display: inline-flex;
  font-weight: 750;
  gap: .65rem;
  justify-content: center;
  min-height: 2.75rem;
}

.hulo-google-button:disabled {
  background: #f8fafc;
  color: #64748b;
  opacity: 1;
}

.hulo-google-mark {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 50%;
  color: #1769e0;
  display: inline-flex;
  font-weight: 850;
  height: 1.55rem;
  justify-content: center;
  line-height: 1;
  width: 1.55rem;
}

.hulo-auth-divider {
  align-items: center;
  color: #64748b;
  display: flex;
  font-size: .82rem;
  gap: .85rem;
  margin: 1.2rem 0;
}

.hulo-auth-divider::before,
.hulo-auth-divider::after {
  background: #dbe6ef;
  content: "";
  flex: 1;
  height: 1px;
}

.hulo-auth-footer {
  color: #64748b;
  margin-top: 1.25rem;
  text-align: center;
}

.hulo-auth-success-icon {
  align-items: center;
  background: #ecfdf7;
  border-radius: 8px;
  color: #0f9f82;
  display: inline-flex;
  font-size: 2rem;
  height: 4rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 4rem;
}

.g-recaptcha {
  min-height: 4.875rem;
}

@media (max-width: 575.98px) {
  .tabs-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .tabs-toolbar .btn-list {
    justify-content: space-between;
  }

  .tab-card-fields {
    grid-template-columns: 1fr;
  }

  .grid-column-span-2 {
    grid-column: auto;
  }

  .hulo-register-grid {
    grid-template-columns: 1fr;
  }

  .hulo-register-actions {
    flex-direction: column;
  }
}

@media (max-width: 991.98px) {
  .hulo-auth-form-panel {
    max-width: 100%;
  }

  .hulo-auth-card,
  .hulo-auth-card-wide {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-loading,
  .global-loading-spinner,
  .nav-link-icon .ti,
  .navbar-vertical .nav-link {
    animation: none;
    transition: none;
  }
}
