:root {
  --bg: #eef3f8;
  --bg-soft: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-muted: #f2f5fa;
  --line: #dde4ee;
  --line-strong: #c7d2e1;
  --text: #1f2937;
  --text-soft: #667085;
  --text-faint: #98a2b3;
  --primary: #3178c6;
  --primary-soft: rgba(49, 120, 198, 0.12);
  --primary-strong: #245e9a;
  --success-soft: rgba(18, 183, 106, 0.12);
  --radius: 14px;
  --radius-soft: 10px;
  --radius-strong: 20px;
  --shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-strong: 0 24px 54px rgba(15, 23, 42, 0.14);
}

html {
  margin: 0;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Segoe UI", sans-serif;
}

.container {
  width: auto;
  max-width: 1380px;
}

#content-container.container {
  padding-left: 16px;
  padding-right: 16px;
}

.content {
  min-height: calc(100vh - 50px);
  padding-top: 65px;
  padding-bottom: 15px;
}

.auth-page-content.content {
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: 32px;
}

.navbar.navbar-white {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
  backdrop-filter: blur(8px);
}

.navbar.navbar-white .container-fluid {
  padding-left: 24px;
  padding-right: 24px;
}

.navbar.navbar-white .navbar-brand {
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.navbar.navbar-white .navbar-nav > li > a {
  color: var(--text-soft);
}

.navbar.navbar-white .avatar-img img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
}

.user-admin-shell {
  --gh-sidebar-width: 214px;
  min-height: 100vh;
}

.user-admin-shell .main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-height: 50px;
  z-index: 1030;
}

.user-admin-shell .main-header .logo {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: var(--gh-sidebar-width);
  height: 50px;
  padding: 0 14px;
  overflow: hidden;
  background: #1e2a4a;
  color: #fff;
  text-align: left;
  line-height: 1;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.user-admin-shell .main-header .logo .logo-text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.user-admin-shell .main-header .logo:hover,
.user-admin-shell .main-header .logo:focus {
  background: #18223b;
  color: #fff;
  text-decoration: none;
}

.user-admin-shell .main-header .logo .logo-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
}

.user-admin-shell .main-header .logo .logo-mini img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.user-admin-shell .main-header .logo .logo-lg {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 12px;
  min-height: 50px;
  vertical-align: top;
}

.user-admin-shell .main-header .logo .logo-lg img {
  display: block;
  height: 28px;
  max-width: 150px;
  object-fit: contain;
}

.user-admin-shell .main-header .logo .logo-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.user-admin-shell .main-header .logo .logo-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 2px;
}

.user-admin-shell .main-header .navbar {
  margin-bottom: 0;
  margin-left: var(--gh-sidebar-width);
  min-height: 50px;
  width: calc(100% - var(--gh-sidebar-width));
  max-width: calc(100vw - var(--gh-sidebar-width));
  border: 0;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.user-admin-shell .main-header .navbar-toggle,
.user-admin-shell .main-header .navbar-toggle .icon-bar,
.user-admin-shell .main-header .navbar-header {
  display: none !important;
}

.user-admin-shell .main-header .sidebar-toggle {
  float: left;
  display: block;
  padding: 15px;
  color: #333;
  line-height: 20px;
}

.user-admin-shell .main-header .sidebar-toggle:hover,
.user-admin-shell .main-header .sidebar-toggle:focus {
  background: #f7f7f7;
  color: #333;
  text-decoration: none;
}

.user-admin-shell .main-header .nav > li > a {
  height: 50px;
  padding-top: 14px;
  padding-bottom: 14px;
  color: #444;
  line-height: 22px;
  font-size: 13px;
  font-weight: 600;
}

.user-admin-shell .main-header .nav > li.user-logout-entry > a {
  color: #d92d20;
}

.user-admin-shell .main-header .nav > li.user-logout-entry > a:hover,
.user-admin-shell .main-header .nav > li.user-logout-entry > a:focus {
  color: #b42318;
  background: #fff1f0;
}

.user-admin-shell .main-header .nav > li > a:hover,
.user-admin-shell .main-header .nav > li > a:focus,
.user-admin-shell .main-header .nav > li > a:active {
  background: #f7f7f7;
  color: #333;
}

.user-admin-shell .main-header .navbar-custom-menu .user-menu > .dropdown-menu {
  right: 0;
  left: auto;
  min-width: 176px;
  padding: 8px 0;
  border: 1px solid #ecebf5;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(31, 36, 64, 0.12);
  overflow: hidden;
}

.user-admin-shell .main-header .navbar-custom-menu .user-menu > .dropdown-menu > li > a {
  padding: 10px 16px;
  color: #353a54;
  font-size: 14px;
  font-weight: 600;
}

.user-admin-shell .main-header .navbar-custom-menu .user-menu > .dropdown-menu > li > a:hover,
.user-admin-shell .main-header .navbar-custom-menu .user-menu > .dropdown-menu > li > a:focus {
  background: #f7f6fc;
  color: #1f2440;
}

.user-admin-shell .main-header .user-image {
  float: left;
  width: 25px;
  height: 25px;
  margin-top: -2px;
  margin-right: 10px;
  border-radius: 50%;
}

.user-admin-shell .main-header .navbar-custom-menu,
.user-admin-shell .main-header .navbar-right {
  float: right;
}

.user-admin-shell .main-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: block !important;
  width: var(--gh-sidebar-width);
  min-height: 100vh;
  padding-top: 50px;
  background: #222d32;
  visibility: visible !important;
  z-index: 810;
}

.user-admin-shell .main-sidebar .sidebar {
  display: block !important;
  height: calc(100vh - 50px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overscroll-behavior: contain;
  visibility: visible !important;
}

.user-admin-shell .main-sidebar .sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.user-admin-shell .content-wrapper {
  min-height: 100vh;
  margin-left: var(--gh-sidebar-width) !important;
  width: calc(100% - var(--gh-sidebar-width));
  max-width: calc(100vw - var(--gh-sidebar-width));
  padding-top: 50px;
  background:
    radial-gradient(circle at top right, rgba(49, 120, 198, 0.08), rgba(49, 120, 198, 0) 28%),
    radial-gradient(circle at 0% 16%, rgba(99, 102, 241, 0.06), rgba(99, 102, 241, 0) 22%),
    linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
  box-sizing: border-box;
}

.user-admin-shell .content-wrapper > .content {
  min-height: calc(100vh - 50px);
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 24px 28px 30px;
  box-sizing: border-box;
}

.user-admin-shell #firstnav {
  min-height: 50px;
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 228, 238, 0.9);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.user-admin-shell #firstnav .navbar-custom-menu {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 99;
  background: transparent;
}

.user-admin-shell .sidebar-overlay {
  display: none;
}

.user-admin-shell .sidebar .user-panel {
  position: relative;
  width: 100%;
  padding: 10px 12px 9px;
  overflow: hidden;
}

.user-admin-shell .sidebar .user-panel:before,
.user-admin-shell .sidebar .user-panel:after {
  content: " ";
  display: table;
}

.user-admin-shell .sidebar .user-panel:after {
  clear: both;
}

.user-admin-shell .sidebar .user-panel > .image {
  width: 45px;
  height: 45px;
}

.user-admin-shell .sidebar .user-panel > .image img {
  width: 45px;
  height: 45px;
  max-width: 45px;
  display: block;
  object-fit: cover;
}

.user-admin-shell .sidebar .user-panel > .info {
  position: absolute;
  top: 11px;
  left: 61px;
  padding: 5px;
  line-height: 1;
  color: #fff;
  font-size: 12px;
}

.user-admin-shell .sidebar .user-panel > .info > p {
  margin-bottom: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.user-admin-shell .sidebar .sidebar-form {
  margin: 8px 10px 10px;
  border: 1px solid #374850;
  border-radius: 3px;
  background: #374850;
}

.user-admin-shell .sidebar .sidebar-form .input-group {
  width: 100%;
}

.user-admin-shell .sidebar .sidebar-form input[type="text"],
.user-admin-shell .sidebar .sidebar-form .btn {
  height: 35px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.user-admin-shell .sidebar .sidebar-form input[type="text"] {
  color: #fff;
}

.user-admin-shell .sidebar .sidebar-form input[type="text"]::placeholder {
  color: #8aa4af;
}

.user-admin-shell .sidebar .sidebar-form .btn {
  color: #999;
}

.user-admin-shell .sidebar .sidebar-menu {
  display: block !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

.user-admin-shell .sidebar .sidebar-menu > li {
  position: relative;
  margin: 0;
}

.user-admin-shell .sidebar .sidebar-menu > li.header {
  padding: 9px 15px;
  color: #4b646f;
  background: #1a2226;
  font-size: 12px;
  font-weight: 700;
}

.user-admin-shell .sidebar .sidebar-menu > li > a {
  display: block;
  padding: 11px 12px 11px 15px;
  color: #b8c7ce;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.user-admin-shell .sidebar .sidebar-menu > li > a > .fa {
  width: 20px;
}

.user-admin-shell .sidebar .sidebar-menu > li:hover > a,
.user-admin-shell .sidebar .sidebar-menu > li.active > a {
  color: #fff;
  background: #1e282c;
}

.user-admin-shell .sidebar .sidebar-menu > li.active > a {
  border-left-color: #3c8dbc;
}

.page-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.page-header-title {
  color: #2f3a52;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.page-header-breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 12px;
}

.page-header-breadcrumb > li,
.page-header-breadcrumb > li + li:before {
  color: #7a8699;
}

.page-header-breadcrumb > .active {
  color: #2f3a52;
}

@media (max-width: 991px) {
  .user-admin-shell .main-header .sidebar-toggle {
    display: block;
  }

  .user-admin-shell .main-header .logo {
    position: relative;
    width: 100%;
  }

  .user-admin-shell .main-header .logo .logo-mini {
    display: inline-flex;
  }

  .user-admin-shell .main-header .logo .logo-lg {
    display: none;
  }

  .user-admin-shell .main-header .navbar {
    margin-left: 0;
    width: 100%;
    max-width: 100vw;
  }

  .user-admin-shell .main-sidebar {
    top: 50px;
    left: 0;
    padding-top: 0;
    transform: translate3d(calc(-1 * var(--gh-sidebar-width)), 0, 0);
    transition: transform 0.3s ease;
  }

  body.sidebar-open .user-admin-shell .main-sidebar {
    left: 0 !important;
    transform: translate3d(0, 0, 0) !important;
    box-shadow: 10px 0 28px rgba(15, 23, 42, 0.22);
  }

  .user-admin-shell .content-wrapper {
    margin-left: 0 !important;
    width: 100%;
    max-width: 100vw;
    padding-top: 50px;
  }

  .user-admin-shell .content-wrapper > .content {
    padding: 16px 14px 20px;
  }

  .user-admin-shell .sidebar-overlay {
    position: fixed;
    inset: 50px 0 0 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 800;
  }

  body.sidebar-open .user-admin-shell .sidebar-overlay {
    display: block;
  }

  .user-admin-shell .sidebar-toggle-floating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 16px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(36, 94, 154, 0.14);
    background: #245e9a;
    color: #fff;
    box-shadow: 0 16px 32px rgba(36, 94, 154, 0.28);
    z-index: 1045;
    text-decoration: none;
  }

  .user-admin-shell .sidebar-toggle-floating:hover,
  .user-admin-shell .sidebar-toggle-floating:focus {
    background: #1f5286;
    color: #fff;
    text-decoration: none;
  }

  body.sidebar-open .user-admin-shell .sidebar-toggle-floating i:before {
    content: "\f00d";
  }

  body.sidebar-open {
    overflow: hidden;
  }

  .user-admin-shell .main-header .nav > li.user-logout-entry > a {
    padding-left: 12px;
    padding-right: 12px;
  }
}

body.page-user-login .navbar.navbar-white,
body.page-user-register .navbar.navbar-white,
body.page-user-login .footer,
body.page-user-register .footer {
  display: none !important;
}

body.page-user-login,
body.page-user-register {
  padding-top: 0 !important;
  background: #08152f;
}

body.page-user-login .content.page-content,
body.page-user-register .content.page-content {
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(87, 122, 255, 0.18), rgba(87, 122, 255, 0) 32%),
    radial-gradient(circle at 85% 12%, rgba(137, 90, 223, 0.22), rgba(137, 90, 223, 0) 28%),
    linear-gradient(135deg, #08152f 0%, #102452 42%, #1a245d 100%);
}

body.page-user-login #content-container.container,
body.page-user-register #content-container.container {
  width: 100%;
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

body.page-user-login .user-section.login-section,
body.page-user-register .user-section.login-section {
  margin: 0 auto;
}

h2.page-header {
  margin: 0 0 18px;
  padding-bottom: 0;
  border-bottom: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.panel {
  border: 1px solid rgba(221, 228, 238, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.panel > .panel-heading {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border-bottom: 1px solid rgba(221, 228, 238, 0.9);
  color: var(--text);
  font-weight: 650;
  font-size: 15px;
  padding: 16px 18px;
}

.panel > .panel-body {
  background: var(--surface);
  padding: 18px;
}

.btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.16s ease;
  border-width: 1px;
}

.btn:hover,
.btn:focus,
.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.btn:focus,
.btn:active:focus,
.btn.active:focus {
  outline: none;
}

.btn[disabled],
.btn.disabled {
  opacity: 0.6;
  box-shadow: none !important;
  transform: none !important;
}

.btn-primary {
  background: linear-gradient(180deg, #3a88da 0%, var(--primary) 100%);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(180deg, #357fcf 0%, var(--primary-strong) 100%);
  border-color: var(--primary-strong);
  color: #fff;
}

.btn-info {
  background: linear-gradient(180deg, #3a88da 0%, var(--primary) 100%);
  border-color: var(--primary);
  color: #fff;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info:active {
  background: linear-gradient(180deg, #357fcf 0%, var(--primary-strong) 100%);
  border-color: var(--primary-strong);
  color: #fff;
}

.btn-success {
  background: #00a65a;
  border-color: #008d4c;
  color: #fff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background: #008d4c;
  border-color: #00733d;
  color: #fff;
}

.btn-warning {
  background: #f39c12;
  border-color: #e08e0b;
  color: #fff;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
  background: #e08e0b;
  border-color: #c87f0a;
  color: #fff;
}

.btn-danger {
  background: #d1483a;
  border-color: #d1483a;
  color: #fff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  background: #be3f32;
  border-color: #be3f32;
  color: #fff;
}

.btn-default {
  background: #ffffff;
  border-color: #d6dce7;
  color: #475467;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active {
  background: #f8fbff;
  border-color: #c7d3e4;
  color: #344054;
}

.btn-default:focus,
.btn-default:active:focus {
  box-shadow: 0 0 0 2px rgba(60, 141, 188, 0.14);
}

.btn-xs {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.35;
}

.form-control,
.input-group-addon {
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-soft);
  background: #fff;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.form-control:focus {
  border-color: #3c8dbc;
  box-shadow: 0 0 0 2px rgba(60, 141, 188, 0.14);
  background: #fff;
}

.form-control::placeholder {
  color: #98a2b3;
}

body[class*="page-user-"] select.form-control:not([multiple]):not([size]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #98a2b3 50%),
    linear-gradient(135deg, #98a2b3 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

body[class*="page-user-"] select.form-control:not([multiple]):not([size])::-ms-expand {
  display: none;
}

body[class*="page-user-"] select.form-control:not([multiple]):not([size]):focus {
  background-image:
    linear-gradient(45deg, transparent 50%, #3c8dbc 50%),
    linear-gradient(135deg, #3c8dbc 50%, transparent 50%);
}

.help-block,
.text-muted {
  color: var(--text-soft);
}

.alert {
  border-radius: 10px;
  border: 1px solid #d0d5dd;
}

.alert-info {
  background: #eff8ff;
  border-color: #b2ddff;
  color: #175cd3;
}

.table > thead > tr > th {
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  color: #475467;
  border-bottom: 1px solid rgba(221, 228, 238, 0.92);
  font-weight: 650;
  padding-top: 12px;
  padding-bottom: 12px;
}

.table > tbody > tr > td {
  color: #344054;
  border-top: 1px solid #edf1f6;
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.table.table-bordered,
.table.table-bordered > thead > tr > th,
.table.table-bordered > tbody > tr > td {
  border-color: #eef1f4;
}

.table-hover > tbody > tr:hover {
  background: rgba(49, 120, 198, 0.04);
}

.table-hover > tbody > tr:hover > td {
  background: rgba(49, 120, 198, 0.04);
}

.sidebar-toggle {
  display: none;
}

.sidebar-toggle-floating {
  display: none;
}

.sidenav {
  --nav-text: #b8c7ce;
  --nav-text-weak: #4b646f;
  --nav-text-strong: #ffffff;
  --nav-item-hover: #1e282c;
  --nav-item-active: #1e282c;
  --nav-icon-bg: transparent;
  --nav-icon-bg-hover: transparent;
  --nav-divider: rgba(255, 255, 255, 0.06);
  background: #222d32;
  border-right: 1px solid #1a2226;
  box-shadow: none;
  padding: 0 0 10px;
}

.user-nav-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 12px;
  margin-bottom: 0;
}

.user-nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.user-nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-nav-meta {
  min-width: 0;
}

.user-nav-name {
  margin: 0;
  color: #f7f9ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-nav-status {
  margin: 2px 0 0;
  color: #b8c7ce;
  font-size: 10px;
}

.user-nav-status .fa {
  margin-right: 4px;
  color: #4ade80;
  font-size: 10px;
}

.sidebar-search {
  padding: 0 10px 10px;
}

.sidebar-search-form .input-group {
  width: 100%;
}

.sidebar-search-input.form-control {
  height: 35px;
  border: 1px solid #374850;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  background: #374850;
  color: #fff;
  box-shadow: none;
}

.sidebar-search-input.form-control::placeholder {
  color: #8aa4af;
}

.sidebar-search-input.form-control:focus {
  border-color: #3c8dbc;
  background: #3b4b53;
  box-shadow: none;
}

.sidebar-search-btn {
  height: 35px;
  border: 1px solid #374850;
  border-left: 0;
  border-radius: 0 3px 3px 0;
  background: #374850;
  color: #999;
  padding: 0 12px;
}

.sidebar-search-btn:hover,
.sidebar-search-btn:focus {
  background: #3b4b53;
  border-color: #3b4b53;
  color: #fff;
}

.sidenav .list-group {
  margin-bottom: 0;
}

.sidenav .list-group-heading {
  padding: 9px 15px 7px;
  color: var(--nav-text-weak);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  background: #1a2226;
}

.sidenav .list-group-heading-split {
  margin-top: 8px;
  padding-top: 9px;
  border-top: 0;
}

.sidenav .list-group-item {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.sidenav .list-group-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 0;
  color: var(--nav-text) !important;
  padding: 12px 12px 12px 15px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  position: relative;
  transition: all 0.18s ease;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.sidenav .list-group-item a:link,
.sidenav .list-group-item a:visited,
.sidenav .list-group-item a:focus,
.sidenav .list-group-item a:active {
  color: var(--nav-text) !important;
  text-decoration: none;
}

.sidenav .list-group-item a .nav-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: var(--nav-icon-bg);
  color: #8aa4af;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.sidenav .list-group-item a .nav-text {
  line-height: 1.2;
  color: inherit;
  white-space: nowrap;
}

.sidenav .list-group-item:hover a {
  background: var(--nav-item-hover);
  color: var(--nav-text-strong) !important;
  transform: none;
}

.sidenav .list-group-item:hover a .nav-icon {
  background: var(--nav-icon-bg-hover);
  color: #fff;
}

.sidenav .list-group-item.active a {
  background: var(--nav-item-active);
  color: var(--nav-text-strong) !important;
  border-left-color: #3c8dbc;
  box-shadow: none;
}

.sidenav .list-group-item.active a .nav-icon {
  background: transparent;
  color: #fff;
}

.sidenav .list-group-item.active a:before {
  content: none;
}

.sidenav .list-group-item:last-child a,
.sidenav .list-group-item:last-child a:link,
.sidenav .list-group-item:last-child a:visited,
.sidenav .list-group-item:last-child a:focus,
.sidenav .list-group-item:last-child a:active {
  color: #ffd7df !important;
}

.sidenav .list-group-item:last-child a .nav-icon {
  background: rgba(255, 95, 125, 0.22);
  color: #ffdce4;
}

.sidenav .list-group-item:last-child:hover a {
  background: rgba(255, 95, 125, 0.2);
  color: #fff1f4;
}

.analytics-hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.analytics-hero-main {
  border-radius: var(--radius-strong);
  padding: 18px 20px;
  border: 1px solid #d2d6de;
  border-top: 3px solid #3c8dbc;
  background: #ffffff;
  color: #444;
  box-shadow: none;
}

.analytics-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3c8dbc;
  font-weight: 600;
}

.analytics-hero-main h2 {
  margin: 0;
  color: #2c3b41;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.analytics-subtitle {
  margin: 12px 0 0;
  max-width: 680px;
  color: #666;
  line-height: 1.6;
}

.analytics-cta.modern-action-group {
  margin-top: 16px;
}

.analytics-cta .modern-action {
  border-color: #d2d6de;
  background: #fff;
  color: #444;
}

.analytics-cta .modern-action:hover,
.analytics-cta .modern-action:focus {
  background: #f5f5f5;
  border-color: #c3ccd7;
  color: #2c3b41;
}

.analytics-cta .modern-action-primary {
  background: #3c8dbc;
  color: #ffffff;
  border-color: #367fa9;
}

.analytics-cta .modern-action-primary:hover,
.analytics-cta .modern-action-primary:focus {
  background: #367fa9;
  color: #ffffff;
}

.analytics-hero-side {
  border-radius: var(--radius);
  border: 1px solid #d2d6de;
  border-top: 3px solid #00a65a;
  background: #ffffff;
  padding: 18px;
  box-shadow: none;
}

.analytics-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 3px;
  background: #e8f5e9;
  color: #00a65a;
  font-size: 11px;
  font-weight: 600;
}

.analytics-live-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #23b26d;
  box-shadow: none;
}

.analytics-live-title {
  margin-top: 14px;
  color: #666;
  font-size: 12px;
}

.analytics-live-value {
  margin-top: 8px;
  color: #333;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.analytics-live-meta {
  margin-top: 4px;
  color: #666;
}

.analytics-live-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #d2d6de;
  color: #666;
  font-size: 13px;
}

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.analytics-kpi-card {
  position: relative;
  border: 1px solid rgba(221, 228, 238, 0.95);
  border-radius: 18px;
  background: #fff;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}

.analytics-kpi-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(49, 120, 198, 0.95) 0%, rgba(83, 160, 242, 0.55) 100%);
}

.analytics-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.kpi-label {
  margin: 0;
  color: #666;
  font-size: 12px;
}

.kpi-value {
  margin: 8px 0 6px;
  color: #333;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.kpi-trend {
  margin: 0;
  color: #666;
  font-size: 12px;
}

.kpi-trend i {
  margin-right: 4px;
}

.kpi-trend.up {
  color: #027a48;
}

.analytics-detail-grid {
  margin-bottom: 16px;
}

.analytics-panel > .panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.analytics-panel > .panel-heading small {
  color: #999;
  font-size: 12px;
}

.analytics-panel > .panel-heading small a {
  color: #666;
}

.analytics-panel > .panel-heading small a:hover {
  color: #3c8dbc;
}

.analytics-bars .bar-item + .bar-item {
  margin-top: 12px;
}

.bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #444;
  font-size: 13px;
  margin-bottom: 6px;
}

.bar-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #f0f0f0;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #3c8dbc;
}

.analytics-mini-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-item {
  border: 1px solid #dfe4ea;
  border-radius: 4px;
  background: #f9fafc;
  padding: 10px 12px;
}

.mini-label {
  margin-bottom: 4px;
  font-size: 12px;
  color: #666;
}

.mini-value {
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

.goal-item + .goal-item {
  margin-top: 12px;
}

.goal-head {
  display: flex;
  justify-content: space-between;
  color: #444;
  font-size: 13px;
  margin-bottom: 6px;
}

.goal-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #f0f0f0;
}

.goal-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #00a65a;
}

.analytics-profile {
  margin-top: 16px;
  border-top: 1px solid #e5e5e5;
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.analytics-profile img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d2d6de;
}

.analytics-profile .name {
  margin: 0;
  color: #333;
  font-weight: 700;
}

.analytics-profile .meta {
  margin: 2px 0 0;
  color: #666;
  font-size: 12px;
}

.analytics-table-grid .panel-body {
  padding-top: 10px;
}

.w-92 { width: 92%; }
.w-86 { width: 86%; }
.w-78 { width: 78%; }
.w-72 { width: 72%; }
.w-65 { width: 65%; }
.w-64 { width: 64%; }

.dashboard-filter.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dashboard-filter.form-inline .form-group {
  margin-right: 0;
}

.dashboard-filter.form-inline .form-control {
  min-width: 180px;
}

.dashboard-filter.form-inline .btn {
  margin-left: 0;
  min-width: 78px;
}

.analytics-panel + .analytics-panel {
  margin-top: 15px;
}

.text-break-cell {
  max-width: 260px;
  word-break: break-all;
}

@media (max-width: 767px) {
  .text-break-cell {
    max-width: 100%;
  }
}

.table.table-bordered.table-striped.table-hover.huoma-table {
  margin-bottom: 0;
}

.huoma-table tbody tr td .btn-xs + .btn-xs {
  margin-left: 4px;
}

.huoma-table tbody tr td .btn-xs {
  margin-bottom: 3px;
}

.page-section-hero + .panel,
.page-section-hero + .analytics-panel {
  margin-top: 0;
}

.panel.panel-default.panel-intro {
  padding: 0;
  border-radius: var(--radius);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.panel.panel-default.panel-intro .panel-heading {
  border-bottom-color: var(--line);
}

.panel.panel-default.panel-intro .toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel.panel-default.panel-intro .toolbar .btn {
  border-radius: 8px;
}

.profile-inline-btn {
  padding: 0 !important;
  border: none !important;
}

.profile-inline-nomb {
  margin-bottom: 0 !important;
}

.form-layer {
  height: 100%;
  min-height: 150px;
  min-width: 300px;
}

.form-body {
  width: 100%;
  overflow: auto;
  top: 0;
  position: absolute;
  z-index: 10;
  bottom: calc(50px + env(safe-area-inset-bottom));
  padding: 15px;
}

.gh-table-page .analytics-panel > .panel-heading {
  font-size: 15px;
  font-weight: 700;
}

.gh-toolbar-form,
.gh-stats-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.gh-toolbar-main {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gh-toolbar-main .form-control {
  width: 220px;
  min-width: 180px;
}

.gh-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gh-toolbar-status {
  margin-left: auto;
  color: #8c90a8;
  font-size: 13px;
  font-weight: 600;
}

.gh-table-page .huoma-table thead th {
  background: #f7f8fc;
  color: #5b6280;
  font-size: 13px;
  font-weight: 700;
  border-bottom-color: #ebeaf4;
}

.gh-table-page .huoma-table tbody td {
  vertical-align: middle;
  color: #2c3353;
}

.gh-main-text {
  color: #232a45;
  font-weight: 600;
}

.gh-sub-text {
  margin-top: 4px;
  color: #8c90a8;
  font-size: 12px;
  line-height: 1.5;
}

.gh-domain-text {
  color: #4d5bd1;
  font-weight: 600;
}

.gh-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.gh-status-pill.is-on {
  background: rgba(47, 190, 148, 0.12);
  color: #20956f;
}

.gh-status-pill.is-off,
.gh-status-pill.is-muted {
  background: rgba(140, 144, 168, 0.14);
  color: #7a8098;
}

.gh-status-pill.is-danger {
  background: rgba(237, 94, 94, 0.12);
  color: #d64545;
}

.gh-row-actions .btn,
.gh-table-page .btn-xs {
  border-radius: 8px;
}

.table-empty-cell {
  padding: 36px 16px !important;
  color: #9aa0b5 !important;
  text-align: center;
  font-size: 14px;
}

.gh-note-text {
  display: block;
  margin-top: 6px;
  color: #a0a5bb;
  font-size: 12px;
  line-height: 1.4;
}

.gh-disabled-btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.gh-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.gh-summary-card {
  border: 1px solid #ebeaf4;
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.gh-summary-label {
  color: #8c90a8;
  font-size: 13px;
}

.gh-summary-value {
  margin-top: 10px;
  color: #232a45;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.gh-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gh-panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(125, 92, 229, 0.12);
  color: #7d5ce5;
  font-size: 12px;
  font-weight: 700;
}

.gh-empty-block {
  padding: 40px 16px;
  text-align: center;
  color: #9aa0b5;
  font-size: 14px;
}

.gh-empty-block .fa {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  color: #c3c7d9;
}

@media (max-width: 1199px) {
  .gh-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gh-toolbar-status {
    width: 100%;
    margin-left: 0;
  }

  .gh-toolbar-main .form-control {
    width: 100%;
  }

  .gh-summary-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.form-layer .form-footer {
  height: calc(50px + env(safe-area-inset-bottom));
  line-height: 50px;
  background-color: #ecf0f1;
  width: 100%;
  position: absolute;
  z-index: 200;
  bottom: 0;
  margin: 0;
  padding-bottom: env(safe-area-inset-bottom);
  box-sizing: border-box;
}

.form-footer .form-group {
  margin-left: 0;
  margin-right: 0;
}

.huoma-dashboard-title {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.huoma-dashboard-subtitle {
  margin-bottom: 18px;
  color: var(--text-soft);
}

.huoma-user-card {
  margin-bottom: 15px;
}

.huoma-user-card .media-left img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12);
}

.huoma-user-card .media-heading {
  margin-top: 2px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.huoma-user-card .text-muted {
  color: var(--text-soft) !important;
}

.huoma-summary {
  margin-bottom: 15px;
}

.huoma-summary .panel {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.huoma-summary .panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.1);
}

.huoma-summary .panel-body {
  min-height: 128px;
}

.stats-summary {
  margin-bottom: 15px;
}

.stats-card .panel-body {
  min-height: 110px;
}

#visit-chart {
  height: 320px;
}

.stats-table td,
.stats-table th {
  vertical-align: middle !important;
}

.huoma-label {
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 13px;
}

.huoma-metric {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

.huoma-quick-links a {
  margin: 0;
}

.huoma-table td,
.huoma-table th {
  vertical-align: middle !important;
}

.user-admin-shell .panel,
.user-admin-shell .page-section-hero,
.user-admin-shell .stats-summary,
.user-admin-shell .analytics-panel,
.user-admin-shell .analytics-kpi-grid,
.user-admin-shell .analytics-detail-grid,
.user-admin-shell .analytics-table-grid {
  max-width: 100%;
  box-sizing: border-box;
}

.user-admin-shell .content-wrapper > .content > .row,
.user-admin-shell .content-wrapper > .content .stats-summary,
.user-admin-shell .content-wrapper > .content .analytics-detail-grid,
.user-admin-shell .content-wrapper > .content .analytics-table-grid {
  margin-left: 0;
  margin-right: 0;
}

.user-admin-shell .table-responsive {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}

.user-admin-shell .table {
  margin-bottom: 0;
}

.package-card {
  border: 1px solid rgba(221, 228, 238, 0.95);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 16px;
  min-height: 220px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.stats-summary .panel {
  border-radius: 18px;
  overflow: hidden;
}

.stats-summary .panel:before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, rgba(49, 120, 198, 0.92) 0%, rgba(49, 120, 198, 0.2) 100%);
}

.stats-summary .panel-body {
  min-height: 132px;
  padding: 18px 18px 16px;
}

.stats-summary .text-muted {
  color: #667085 !important;
}

.analytics-panel > .panel-heading span {
  font-weight: 700;
}

.analytics-panel > .panel-body {
  padding: 18px;
}

.analytics-table-grid .table,
.analytics-panel .table {
  border-collapse: separate;
  border-spacing: 0;
}

.analytics-table-grid .table > thead > tr > th:first-child,
.analytics-panel .table > thead > tr > th:first-child {
  border-top-left-radius: 12px;
}

.analytics-table-grid .table > thead > tr > th:last-child,
.analytics-panel .table > thead > tr > th:last-child {
  border-top-right-radius: 12px;
}

.package-card h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text);
}

.package-price {
  margin: 12px 0 8px;
  font-size: 30px;
  font-weight: 700;
  color: #d64232;
}

.package-tip {
  margin-bottom: 12px;
  color: var(--text-soft);
}

.page-section-hero {
  margin-bottom: 12px;
  border: 1px solid rgba(220, 227, 239, 0.94);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0) 34%),
    radial-gradient(circle at left center, rgba(49, 120, 198, 0.08), rgba(49, 120, 198, 0) 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8fbff 100%);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.page-section-hero:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 120, 198, 0.16) 0%, rgba(49, 120, 198, 0) 72%);
  pointer-events: none;
}

.page-section-hero:before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(49, 120, 198, 0.72) 0%, rgba(49, 120, 198, 0.18) 56%, rgba(49, 120, 198, 0) 100%);
}

.page-section-hero h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.page-section-hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  line-height: 1.75;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  margin-top: 14px;
  margin-right: 8px;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid #d7e0ed;
  color: #475467;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.empty-note {
  text-align: center;
  padding: 26px 16px;
  color: var(--text-soft);
}

.stats-label {
  font-size: 12px;
  color: #667085;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.stats-value {
  font-size: 30px;
  line-height: 1.2;
  color: #101828;
  font-weight: 700;
}

.modern-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.modern-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.16s ease;
}

.modern-action:hover,
.modern-action:focus {
  text-decoration: none;
  color: #333;
  border-color: #bfc9da;
  background: #f8fbff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.modern-action-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.modern-action-primary i {
  opacity: 0.95;
}

.modern-action-primary:hover,
.modern-action-primary:focus {
  color: #fff;
  background: #2869ad;
  border-color: #2869ad;
}

.auth-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 28px auto;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.auth-aside {
  position: relative;
  padding: 44px 40px;
  border-radius: 30px;
  overflow: hidden;
  color: #edf3ff;
  border: 1px solid rgba(162, 188, 255, 0.18);
  background:
    radial-gradient(circle at 18% 20%, rgba(122, 168, 255, 0.28), rgba(122, 168, 255, 0) 30%),
    radial-gradient(circle at 88% 12%, rgba(155, 112, 255, 0.32), rgba(155, 112, 255, 0) 32%),
    linear-gradient(160deg, rgba(11, 29, 67, 0.96) 0%, rgba(20, 40, 88, 0.96) 48%, rgba(43, 38, 107, 0.94) 100%);
  box-shadow: 0 28px 60px rgba(4, 13, 38, 0.4);
}

.auth-aside:before,
.auth-aside:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.auth-aside:before {
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}

.auth-aside:after {
  width: 180px;
  height: 180px;
  right: 70px;
  top: -85px;
  background: radial-gradient(circle, rgba(121, 200, 255, 0.16) 0%, rgba(121, 200, 255, 0) 72%);
}

.auth-brand,
.auth-eyebrow,
.auth-title,
.auth-subtitle,
.auth-chip-row,
.auth-metric-grid,
.auth-feature-list {
  position: relative;
  z-index: 1;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 72px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(221, 233, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.auth-brand img {
  display: block;
  height: 34px;
  max-width: 160px;
  object-fit: contain;
}

.auth-brand span {
  display: none;
}

.auth-eyebrow {
  margin: 20px 0 10px;
  color: rgba(221, 232, 255, 0.74);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.auth-title {
  margin: 0;
  color: #fff;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.auth-subtitle {
  margin: 18px 0 0;
  max-width: 560px;
  color: rgba(229, 237, 255, 0.82);
  font-size: 15px;
  line-height: 1.8;
}

.auth-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #f6f9ff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(221, 233, 255, 0.16);
}

.auth-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.auth-metric-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(221, 233, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-metric-label {
  display: block;
  color: rgba(226, 235, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-metric-value {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.auth-feature-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.auth-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(232, 239, 255, 0.82);
  line-height: 1.75;
}

.auth-feature-list li + li {
  margin-top: 12px;
}

.auth-feature-list i {
  margin-top: 5px;
  color: #8fd0ff;
}

.auth-card {
  position: relative;
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(214, 223, 241, 0.9);
  box-shadow: 0 30px 64px rgba(9, 17, 41, 0.22);
}

.auth-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.auth-card-kicker {
  margin: 0 0 6px;
  color: #6c7aa0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.auth-card-title {
  margin-bottom: 8px !important;
  font-size: 34px !important;
  line-height: 1.12;
}

.auth-card-desc {
  margin: 0;
  color: #667085;
  font-size: 14px;
}

.logon-tab {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: #edf2ff;
  border: 1px solid #dde5f7;
}

.logon-tab a {
  min-width: 110px;
  text-align: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: #64739a;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
}

.logon-tab a:hover,
.logon-tab a:focus {
  text-decoration: none;
  color: #32415f;
}

.logon-tab a.active {
  background: #fff;
  color: #162544;
  box-shadow: 0 10px 22px rgba(34, 53, 95, 0.1);
}

.auth-card-body {
  border-top: 1px solid #edf1f7;
  padding-top: 22px;
}

.auth-form .control-label {
  margin-bottom: 7px;
  font-size: 13px;
  color: #344054;
  font-weight: 700;
}

.auth-form .form-group {
  margin-bottom: 18px;
}

.auth-form .form-control {
  height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border-color: #d7deec;
  background: #fbfcff;
}

.auth-form .form-control:focus {
  background: #fff;
}

.auth-form .help-block,
.auth-form .msg-box {
  font-size: 12px;
}

.auth-form .controls {
  position: relative;
}

.auth-form .help-block,
.auth-form .msg-box,
.auth-form .n-right {
  position: static !important;
  display: block;
  width: 100% !important;
  min-height: 20px;
  margin-top: 6px;
  margin-bottom: 0;
  text-align: left !important;
}

.auth-form .msg-wrap,
.auth-form .msg-box .msg-wrap,
.auth-form .n-right .msg-wrap {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  white-space: normal;
}

.auth-form .msg-box .msg-wrap .n-error,
.auth-form .msg-box .msg-wrap .n-ok,
.auth-form .msg-box .msg-wrap .n-tip {
  padding: 0;
}

.auth-form .msg-box .n-arrow,
.auth-form .n-right .n-arrow {
  display: none;
}

.auth-form .n-icon {
  margin-top: 1px;
  flex: 0 0 16px;
}

.auth-form .n-msg {
  display: block;
  white-space: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.auth-form .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.auth-form .input-group-btn .btn {
  height: 48px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.auth-form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-checkbox {
  margin: 0;
  color: #475467;
}

.auth-checkbox label {
  padding-left: 0;
  font-weight: 500;
}

.auth-checkbox input[type="checkbox"] {
  margin-right: 6px;
}

.auth-link {
  color: #52658f;
  font-weight: 600;
}

.auth-link:hover,
.auth-link:focus {
  color: #23386d;
  text-decoration: none;
}

.auth-submit-group {
  padding-top: 4px;
}

.auth-submit-group .btn.btn-primary.btn-lg.btn-block,
.auth-submit-group .btn.btn-default.btn-lg.btn-block {
  height: 50px;
  border-radius: 14px;
  font-weight: 700;
}

.auth-submit-group .btn-block + .btn-block {
  margin-top: 12px;
}

.auth-assistance {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #dde3f1;
  text-align: center;
}

.auth-assistance-line {
  margin: 0;
  color: #52658f;
  font-size: 14px;
  font-weight: 600;
}

.auth-notice-block {
  margin-top: 16px;
}

.auth-notice-title {
  display: inline-block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 16px;
  font-weight: 700;
}

.auth-notice-text {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}

.auth-captcha-group {
  width: 100%;
}

.auth-captcha-group .btn-captcha {
  min-width: 116px;
  font-weight: 700;
}

.no-border {
  border-width: 1px;
}

.profile-avatar-container {
  position: relative;
  width: 116px;
  padding: 8px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid var(--line);
}

.profile-avatar-container .profile-user-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-avatar-container .profile-avatar-text {
  display: none;
}

.profile-avatar-container:hover .profile-avatar-text {
  display: block;
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(16, 24, 40, 0.56);
  color: #fff;
  line-height: 100px;
  text-align: center;
}

.profile-avatar-container button {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100px;
  height: 100px;
  opacity: 0;
}

@media (max-width: 991px) {
  body[class*="page-user-"] #content-container {
    padding-left: 0;
    padding-right: 0;
  }

  body[class*="page-user-"] #content-container > .row > .col-md-3:first-child,
  body[class*="page-user-"] #content-container > .row > .col-md-9:last-child {
    position: static;
    width: auto;
    margin-left: 0;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 760px;
  }

  .auth-aside,
  .auth-card {
    border-radius: 24px;
  }

  .auth-title {
    font-size: 32px;
  }

  .analytics-hero {
    grid-template-columns: 1fr;
  }

  .analytics-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analytics-hero-main h2 {
    font-size: 28px;
  }

  .analytics-live-value {
    font-size: 30px;
  }

  .dashboard-filter.form-inline .form-control {
    min-width: 140px;
  }

  .table > thead > tr > th,
  .table > tbody > tr > td {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  body[class*="page-user-"] .sidenav {
    position: fixed;
    top: 56px;
    left: -262px;
    width: 250px;
    height: calc(100vh - 56px);
    z-index: 1029;
    overflow-y: auto;
    transition: left 0.25s ease;
  }

  body[class*="page-user-"] > .sidebar-toggle,
  body[class*="page-user-"] .content > .sidebar-toggle {
    display: block;
    position: fixed;
    right: 16px;
    bottom: 70px;
    width: 44px;
    height: 44px;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: #fff;
    z-index: 999999;
    color: #344054;
  }
}

@media (max-width: 767px) {
  .page-header-bar {
    display: block;
  }

  .page-header-breadcrumb {
    margin-top: 8px;
  }

  .auth-shell {
    margin: 16px auto;
    gap: 14px;
  }

  .auth-aside,
  .auth-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .auth-title {
    font-size: 27px;
  }

  .auth-subtitle {
    font-size: 14px;
    line-height: 1.7;
  }

  .auth-metric-grid {
    grid-template-columns: 1fr;
  }

  .auth-card-top {
    flex-direction: column;
  }

  .logon-tab {
    width: 100%;
  }

  .logon-tab a {
    min-width: 0;
    flex: 1;
  }

  .auth-form-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .analytics-kpi-grid {
    grid-template-columns: 1fr;
  }

  .analytics-mini-row {
    grid-template-columns: 1fr;
  }

  .dashboard-filter.form-inline {
    gap: 8px;
  }

  .dashboard-filter.form-inline .form-group,
  .dashboard-filter.form-inline .btn {
    width: 100%;
  }

  .dashboard-filter.form-inline .form-control {
    width: 100%;
    min-width: 0;
  }

  .btn-xs {
    padding: 5px 10px;
  }

  .analytics-hero-main {
    padding: 20px 18px;
  }

  .analytics-hero-side {
    padding: 16px;
  }

  .page-section-hero {
    padding: 20px 18px 18px;
    border-radius: 18px;
  }

  .page-section-hero h2 {
    font-size: 24px;
  }

  .stats-value,
  .kpi-value {
    font-size: 26px;
  }
}

body.sidebar-open .sidenav {
  left: 0;
}

body.sidebar-open .sidebar-toggle i:before {
  content: "\f00d";
}

/* gh6b0 visual override */
:root {
  --gh-sidebar-bg: #131f4a;
  --gh-sidebar-bg-strong: #0f193f;
  --gh-sidebar-item: #1f2b5d;
  --gh-sidebar-item-hover: #243168;
  --gh-page-bg: #f3f4fa;
  --gh-panel-bg: #ffffff;
  --gh-panel-line: #ebeaf4;
  --gh-text: #1f2440;
  --gh-text-soft: #8c90a8;
  --gh-primary: #7d5ce5;
  --gh-primary-strong: #6d49df;
  --gh-success: #2fbe94;
  --gh-success-strong: #27ab84;
}

body {
  background: var(--gh-page-bg);
  color: var(--gh-text);
}

.panel,
.page-section-hero,
.package-card,
.analytics-panel,
.analytics-kpi-card,
.analytics-hero-main,
.analytics-hero-side,
.stats-summary .panel {
  border-radius: 14px !important;
  border: 1px solid var(--gh-panel-line) !important;
  box-shadow: 0 6px 20px rgba(31, 36, 64, 0.04) !important;
  background: var(--gh-panel-bg) !important;
}

.panel:hover,
.analytics-kpi-card:hover,
.package-card:hover {
  transform: none !important;
  box-shadow: 0 6px 20px rgba(31, 36, 64, 0.04) !important;
}

.user-admin-shell .main-header .logo {
  background: var(--gh-sidebar-bg);
}

.user-admin-shell .main-header .logo:hover,
.user-admin-shell .main-header .logo:focus {
  background: var(--gh-sidebar-bg-strong);
}

.user-admin-shell .main-header .logo .logo-mini {
  width: 24px;
  height: 24px;
  margin-top: 13px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.user-admin-shell .main-header .logo .logo-title {
  font-size: 16px;
}

.user-admin-shell .main-header .logo .logo-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.user-admin-shell .main-header .navbar,
.user-admin-shell #firstnav {
  background: #ffffff;
  box-shadow: none;
  border-bottom: 1px solid #ecebf5;
}

.user-admin-shell .main-header .nav > li > a {
  color: #666c84;
  font-size: 13px;
  font-weight: 600;
}

.user-admin-shell .main-header .nav > li > a:hover,
.user-admin-shell .main-header .nav > li > a:focus {
  background: #f8f7fc;
  color: #353a54;
}

.user-admin-shell .main-header .user-image {
  width: 28px;
  height: 28px;
  margin-top: -4px;
  border: 1px solid #ecebf5;
}

.user-admin-shell .main-sidebar,
.sidenav {
  background: var(--gh-sidebar-bg) !important;
  border-right: 0 !important;
  box-shadow: none !important;
}

.user-admin-shell .sidebar .user-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px 4px;
}

.user-admin-shell .sidebar .user-panel > .image,
.user-admin-shell .sidebar .user-panel > .info {
  float: none;
}

.user-admin-shell .sidebar .user-panel > .info {
  position: static;
  left: auto;
  top: auto;
  padding: 0;
  line-height: 1.1;
}

.user-admin-shell .sidebar .user-panel > .image,
.user-admin-shell .sidebar .user-panel > .image img {
  width: 30px;
  height: 30px;
  max-width: 30px;
}

.user-admin-shell .sidebar .user-panel > .info > p {
  margin: 0 0 2px;
  font-size: 11px;
  line-height: 1.15;
}

.user-admin-shell .sidebar .user-panel > .info,
.user-admin-shell .sidebar .user-panel > .info .text-success {
  font-size: 10px;
  line-height: 1.1;
}

.user-admin-shell .sidebar .user-panel .text-success {
  font-size: 9px;
  margin-right: 2px;
}

.user-admin-shell .sidebar .sidebar-form,
.sidebar-search-input.form-control,
.sidebar-search-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
}

.user-admin-shell .sidebar .sidebar-menu > li.header,
.sidenav .list-group-heading {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.42) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  padding: 8px 14px 3px !important;
  letter-spacing: 0 !important;
}

.user-admin-shell .sidebar .sidebar-menu > li > a,
.sidenav .list-group-item a {
  display: flex;
  align-items: center;
  margin: 0 7px 3px;
  padding: 8px 11px !important;
  border-radius: 8px !important;
  border-left: 0 !important;
  color: rgba(255, 255, 255, 0.74) !important;
  background: transparent !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.user-admin-shell .sidebar .sidebar-menu > li > a > .fa,
.sidenav .list-group-item a .nav-icon {
  width: 14px;
  margin-right: 8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.66) !important;
  transition: color 0.18s ease;
}

.user-admin-shell .sidebar .sidebar-form {
  margin: 4px 7px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.user-admin-shell .sidebar .sidebar-form input[type="text"],
.user-admin-shell .sidebar .sidebar-form .btn {
  height: 30px;
}

.user-admin-shell .sidebar .sidebar-form input[type="text"] {
  padding: 5px 9px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
}

.user-admin-shell .sidebar .sidebar-form input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.user-admin-shell .sidebar .sidebar-form .btn {
  width: 34px;
  padding: 0;
  color: rgba(255, 255, 255, 0.56);
}

.user-admin-shell .main-header .logo {
  padding: 0 10px;
}

.user-admin-shell .main-header .logo .logo-text {
  font-size: 14px;
}

.user-admin-shell .main-header .logo .logo-mini {
  width: 18px;
  height: 18px;
  margin-top: 16px;
  font-size: 11px;
  border-radius: 6px;
}

.user-admin-shell .main-header .logo .logo-lg {
  margin-left: 8px;
  min-height: 50px;
}

.user-admin-shell .main-header .logo .logo-title {
  font-size: 13px;
  line-height: 1.05;
}

.user-admin-shell .main-header .logo .logo-subtitle {
  font-size: 9px;
  margin-top: 0;
  line-height: 1.05;
}

.user-admin-shell .sidebar .sidebar-menu > li:hover > a,
.user-admin-shell .sidebar .sidebar-menu > li.active > a,
.sidenav .list-group-item:hover a,
.sidenav .list-group-item.active a {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02) !important;
}

.user-admin-shell .sidebar .sidebar-menu > li.active > a,
.sidenav .list-group-item.active a {
  font-weight: 700 !important;
}

.user-admin-shell .sidebar .sidebar-menu > li:hover > a > .fa,
.user-admin-shell .sidebar .sidebar-menu > li.active > a > .fa,
.sidenav .list-group-item:hover a .nav-icon,
.sidenav .list-group-item.active a .nav-icon {
  color: #ffffff !important;
}

.user-admin-shell .content-wrapper {
  background: var(--gh-page-bg) !important;
}

.user-admin-shell .content-wrapper > .content {
  max-width: none;
  padding: 18px 18px 24px;
}

.page-header-bar {
  margin-bottom: 12px;
}

.page-header-title {
  color: #1f2440;
  font-size: 18px;
  font-weight: 700;
}

.page-header-breadcrumb {
  font-size: 12px;
}

.page-header-breadcrumb > li,
.page-header-breadcrumb > li + li:before {
  color: #8a8ead;
}

.page-header-breadcrumb > .active {
  color: #1f2440;
}

h2.page-header,
.huoma-dashboard-title,
.page-section-hero h2,
.analytics-hero-main h2 {
  color: #1f2440 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.page-section-hero,
.analytics-hero,
.analytics-hero-main,
.analytics-hero-side,
.analytics-kpi-grid,
.analytics-detail-grid {
  display: none !important;
}

.analytics-panel > .panel-heading,
.panel > .panel-heading {
  min-height: auto;
  padding: 16px 18px;
  background: #ffffff !important;
  border-bottom: 1px solid #f0eff7 !important;
  color: #1f2440 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.analytics-panel > .panel-body,
.panel > .panel-body {
  padding: 16px 18px;
  background: #ffffff !important;
}

.btn {
  border-radius: 6px !important;
  box-shadow: none !important;
  transform: none !important;
  font-weight: 600;
}

.btn:hover,
.btn:focus,
.btn:active {
  box-shadow: none !important;
  transform: none !important;
}

.btn-primary,
.btn-info {
  background: var(--gh-primary) !important;
  border-color: var(--gh-primary) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-info:hover,
.btn-info:focus,
.btn-info:active {
  background: var(--gh-primary-strong) !important;
  border-color: var(--gh-primary-strong) !important;
}

.btn-success {
  background: var(--gh-success) !important;
  border-color: var(--gh-success) !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background: var(--gh-success-strong) !important;
  border-color: var(--gh-success-strong) !important;
}

.btn-danger {
  background: #ea637f !important;
  border-color: #ea637f !important;
}

.btn-warning {
  background: #f5b94f !important;
  border-color: #f5b94f !important;
}

.btn-default {
  background: #ffffff !important;
  border-color: #e7e7f2 !important;
  color: #5e617d !important;
}

.form-control,
.input-group-addon {
  height: 38px;
  border-radius: 6px !important;
  border-color: #e6e8f3 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: #cfc7f5 !important;
  box-shadow: 0 0 0 2px rgba(125, 92, 229, 0.08) !important;
}

.table > thead > tr > th {
  background: #fafafe !important;
  color: #666c84 !important;
  border-bottom: 1px solid #f0eff7 !important;
  font-size: 12px;
  font-weight: 700;
}

.table > tbody > tr > td {
  background: #ffffff !important;
  border-top: 1px solid #f3f2f8 !important;
  color: #2b304a !important;
}

.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover {
  background: #fafafe !important;
}

.score-chip,
.vip-chip,
.selected-status {
  min-height: 34px;
}

.selected-status,
.gh-toolbar-status {
  display: inline-flex;
  align-items: center;
}

.qrcode-page .score-chip,
.qrcode-page .vip-chip {
  border: 1px solid #eceaf7;
  font-size: 12px;
}

.qrcode-page .score-chip {
  background: #ffffff;
  color: #5f6684;
}

.qrcode-page .vip-chip {
  background: #ffffff;
  color: #8d75e7;
}

.qrcode-table .type-badge {
  border-radius: 4px;
  background: #32c48d;
}

.qrcode-table .switch-chip.switch-on {
  background: #32c48d;
}

.qrcode-table .switch-chip.switch-off {
  background: #e8e9f3;
  color: #6f728b;
}

.auth-shell,
.auth-shell-login {
  width: 100%;
  max-width: 420px;
  margin: 44px auto 0;
  display: block;
}

.auth-aside {
  padding: 0;
  margin-bottom: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #1f2440;
  text-align: center;
}

.auth-aside:before,
.auth-aside:after,
.auth-eyebrow,
.auth-chip-row,
.auth-metric-grid,
.auth-feature-list {
  display: none !important;
}

.auth-brand {
  width: 78px;
  height: 78px;
  padding: 16px;
  border: 1px solid rgba(236, 235, 245, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(11, 22, 54, 0.14);
}

.auth-brand img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.auth-title {
  margin: 34px 0 0;
  color: #f4f7ff;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 4px 18px rgba(7, 15, 42, 0.2);
}

.auth-subtitle {
  margin: 18px auto 0;
  color: rgba(231, 237, 255, 0.86);
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}

.auth-card {
  padding: 34px 38px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #ecebf5;
  box-shadow: 0 6px 20px rgba(31, 36, 64, 0.05);
}

.auth-card-top {
  display: block;
  margin-bottom: 18px;
  text-align: center;
}

.auth-card-kicker {
  display: none;
}

.auth-card-title {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.3;
}

.auth-card-desc {
  display: none;
}

.logon-tab {
  display: none !important;
}

.auth-card-body {
  border-top: 0;
  padding-top: 0;
}

.auth-form .control-label {
  color: #1f2440;
  font-size: 13px;
  font-weight: 700;
}

.auth-form .form-group {
  margin-bottom: 14px;
}

.auth-form .form-control {
  height: 46px;
  padding: 11px 14px;
  border-radius: 6px;
  background: #ffffff;
}

.auth-form .form-control::placeholder {
  color: #c2c5d4;
}

.auth-form-meta {
  justify-content: flex-start;
}

.auth-link.btn-forgot {
  display: none;
}

.auth-checkbox {
  color: #9ea3b8;
  font-size: 12px;
}

.auth-submit-group {
  padding-top: 2px;
}

.auth-submit-group .btn.btn-primary.btn-lg.btn-block,
.auth-submit-group .btn.btn-default.btn-lg.btn-block {
  height: 46px;
  border-radius: 6px;
  font-size: 14px;
}

.auth-submit-group .btn-default.btn-lg.btn-block {
  background: transparent !important;
  border: 0 !important;
  color: var(--gh-primary) !important;
  box-shadow: none !important;
}

.auth-assistance {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f0f6;
}

.auth-assistance-line {
  color: #8b90a8;
  font-size: 12px;
  font-weight: 500;
}

.auth-notice-title {
  color: #585d78;
  font-size: 14px;
}

.auth-notice-text {
  color: #9ea3b8;
  font-size: 12px;
}

.resource-domain-page .analytics-panel > .panel-heading,
.account-log-page .analytics-panel > .panel-heading,
.package-page .analytics-panel > .panel-heading {
  font-size: 15px;
  font-weight: 700;
}

.stats-page .panel-body-filter,
.domain-page .panel-body-toolbar,
.qrcode-page .panel-body-toolbar {
  padding-top: 14px;
}

.stats-page .gh-stats-filter .btn,
.domain-page .gh-toolbar-actions .btn,
.qrcode-page .toolbar-actions .btn {
  min-height: 36px;
}

.stats-page .stats-table thead th,
.domain-page .huoma-table thead th,
.qrcode-page .qrcode-table thead th {
  letter-spacing: 0.01em;
}

.qrcode-page .qrcode-table .title-main {
  display: block;
  max-width: 180px;
  word-break: break-all;
}

.qrcode-page .qrcode-table .entry-link,
.qrcode-page .qrcode-table .setting-btn,
.domain-page .action-inline .btn {
  min-height: 30px;
}

.qrcode-page .js-select-all,
.qrcode-page .js-row-select,
.domain-page .js-select-all,
.domain-page .js-row-select {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.resource-domain-page .panel-body:first-of-type,
.package-page .panel-body:first-of-type {
  padding-bottom: 14px;
}

.resource-domain-page .gh-toolbar-form {
  justify-content: space-between;
}

.resource-domain-page .gh-toolbar-main {
  gap: 8px;
}

.resource-domain-page .gh-toolbar-main .form-control {
  width: 240px;
  min-width: 200px;
}

.resource-domain-page .huoma-table thead th,
.account-log-page .log-table thead th,
.package-page .package-table thead th {
  white-space: nowrap;
}

.resource-domain-page .huoma-table tbody td,
.account-log-page .log-table tbody td,
.package-page .package-table tbody td {
  padding-top: 14px;
  padding-bottom: 14px;
}

.resource-domain-page .domain-main {
  color: #2a3150;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-all;
}

.resource-domain-page .domain-meta {
  margin-top: 4px;
  color: #9aa0b5;
  font-size: 12px;
  line-height: 1.4;
}

.resource-domain-page .resource-type-chip,
.resource-domain-page .domain-group-name {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.resource-domain-page .resource-type-chip {
  background: rgba(125, 92, 229, 0.1);
  color: #7556df;
}

.resource-domain-page .domain-group-name {
  background: #f7f8fc;
  color: #5b6280;
}

.resource-domain-page .resource-action-placeholder {
  color: #a0a5bb;
  font-size: 12px;
  font-weight: 600;
}

.resource-domain-page .gh-row-actions .btn {
  min-width: 56px;
  height: 30px;
  padding: 4px 12px;
}

.resource-domain-page .gh-note-text {
  display: inline-block;
  margin-left: 8px;
  color: #9aa0b5;
  font-size: 12px;
  line-height: 1.4;
}

.short-domain-page .renew-link {
  color: #5e617d !important;
}

.resource-page .resource-summary-card,
.profile-page .profile-side-card,
.attachment-page .panel-intro {
  box-shadow: 0 6px 18px rgba(31, 36, 64, 0.04);
}

.resource-page .resource-links .btn,
.profile-page .profile-quick-links .btn,
.attachment-page .toolbar .btn {
  min-height: 36px;
}

.resource-page .resource-table thead th,
.attachment-page .fixed-table-container thead th {
  letter-spacing: 0.01em;
}

.account-log-page .log-time {
  color: #6f7693;
  font-weight: 600;
  white-space: nowrap;
}

.account-log-page .log-table tbody td:last-child {
  min-width: 220px;
}

.package-page .analytics-panel + .analytics-panel {
  margin-top: 14px;
}

.package-page .package-main {
  font-size: 13px;
}

.package-page .package-sub {
  max-width: 340px;
}

.package-page .package-chip {
  min-width: 78px;
}

.package-page .package-price {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.package-page .package-action .btn {
  min-width: 72px;
  height: 30px;
  padding: 4px 12px;
}

@media (max-width: 767px) {
  .resource-domain-page .gh-toolbar-main .form-control {
    width: 100%;
    min-width: 0;
  }

  .account-log-page .log-table tbody td:last-child,
  .package-page .package-sub {
    min-width: 0;
    max-width: none;
  }
}
