:root {
  --theme-font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", "Microsoft YaHei UI", "Hiragino Sans GB", sans-serif;
}

html[data-ui-theme] body,
html[data-ui-theme] input,
html[data-ui-theme] select,
html[data-ui-theme] textarea,
html[data-ui-theme] button {
  font-family: var(--theme-font-sans);
}

.admin-theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(216, 204, 186, 0.72);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(31, 41, 38, 0.06);
  backdrop-filter: blur(10px);
}

#mainPage .navbar-nav .nav-item.dropdown {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-theme-switch label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #6e756d;
  white-space: nowrap;
}

.admin-theme-select {
  min-width: 146px;
  border: none;
  background-color: transparent;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 600;
  color: #1f2926;
  padding-right: 28px;
}

.admin-theme-select:focus {
  box-shadow: none !important;
}

html[data-ui-theme="academy"] {
  --theme-font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", "Microsoft YaHei UI", "Hiragino Sans GB", sans-serif;
}

html[data-ui-theme="academy"] #mainPage .sidebar .nav-link,
html[data-ui-theme="academy"] #mainPage .sidebar-title-text,
html[data-ui-theme="academy"] #mainPage .sidebar-header-title {
  font-weight: 560;
  letter-spacing: 0.01em;
}

html[data-ui-theme="academy"] #mainPage .sidebar .nav-link-icon {
  opacity: 0.96;
}

html[data-ui-theme="academy"] #mainPage .table thead.table-dark,
html[data-ui-theme="academy"] #mainPage .admin-data-table thead.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-active-bg: transparent !important;
  --bs-table-hover-bg: transparent !important;
  --bs-table-color: inherit !important;
  border-color: rgba(184, 159, 111, 0.24) !important;
}

html[data-ui-theme="academy"] #mainPage .table thead.table-dark th,
html[data-ui-theme="academy"] #mainPage .admin-data-table thead.table-dark th,
html[data-ui-theme="academy"] #mainPage .customer-table thead th,
html[data-ui-theme="academy"] #mainPage .event-table thead th {
  background: linear-gradient(180deg, #f8f4ed 0%, #ede4d8 100%) !important;
  color: #43524c !important;
  font-weight: 620 !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.018em;
  border-bottom: 1px solid rgba(184, 159, 111, 0.24) !important;
}

html[data-ui-theme="academy"] #mainPage .customer-table-card .card-header h6,
html[data-ui-theme="academy"] #mainPage .customer-table-card .card-header small,
html[data-ui-theme="academy"] #mainPage .event-table th,
html[data-ui-theme="academy"] #mainPage .admin-data-table th {
  color: #46554f !important;
}

html[data-ui-theme="academy"] #mainPage .customer-table tbody td,
html[data-ui-theme="academy"] #mainPage .admin-data-table td,
html[data-ui-theme="academy"] #mainPage .event-table tbody td,
html[data-ui-theme="academy"] #mainPage #checkinRecordsWrap .table td,
html[data-ui-theme="academy"] #mainPage #registerRecordsWrap .table td,
html[data-ui-theme="academy"] #mainPage #checkoutRecordsWrap .table td,
html[data-ui-theme="academy"] #mainPage #staffCheckinRecordsWrap .table td {
  color: #3c4944 !important;
  font-weight: 470 !important;
  font-size: 0.92rem !important;
}

html[data-ui-theme="academy"] #mainPage .customer-name,
html[data-ui-theme="academy"] #mainPage .customer-inviter,
html[data-ui-theme="academy"] #mainPage .customer-line,
html[data-ui-theme="academy"] #mainPage .customer-department,
html[data-ui-theme="academy"] #mainPage .customer-country,
html[data-ui-theme="academy"] #mainPage .customer-school {
  color: #33403b !important;
  font-weight: 560 !important;
}

html[data-ui-theme="academy"] #mainPage .customer-phone,
html[data-ui-theme="academy"] #mainPage .checkin-time,
html[data-ui-theme="academy"] #mainPage .customer-table .text-muted {
  color: #66726c !important;
}

html[data-ui-theme="academy"] #mainPage .customer-event {
  color: #506b7f !important;
  background: rgba(80, 107, 127, 0.12) !important;
  font-weight: 540 !important;
}

html[data-ui-theme="mist"] {
  --theme-font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", "Microsoft YaHei UI", "Hiragino Sans GB", sans-serif;
  --brand-1: #355e86;
  --brand-2: #4f7598;
  --brand-3: #8b9fb3;
  --brand-dark: #182536;
  --accent: #c79b61;
  --bg: #edf1f5;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-weak: #f7f9fb;
  --text-strong: #273545;
  --text-muted: #697687;
  --border: #d7dee7;
  --ring: rgba(53, 94, 134, 0.16);
  --shadow-sm: 0 16px 36px rgba(21, 34, 50, 0.07);
  --shadow-md: 0 22px 46px rgba(21, 34, 50, 0.1);
  --shadow-lg: 0 32px 64px rgba(21, 34, 50, 0.12);
  --primary-color: #355e86;
  --primary-dark: #274866;
  --primary-light: #6f8eaf;
  --gradient-start: #eef2f6;
  --gradient-end: #e7ecf1;
  --success-color: #466756;
  --danger-color: #a35d57;
  --warning-color: #8f6f43;
  --text-primary: #273545;
  --text-secondary: #697687;
  --bg-light: #f7f9fb;
  --border-color: #d7dee7;
  --primary: #355e86;
  --cta: #4e6c62;
  --cta-dark: #3d564f;
  --bg-card: #ffffff;
  --text: #283848;
  --text-heading: #1f2f40;
  --border-light: #dde4ec;
  --danger-bg: #f9f1f0;
  --success-bg: #f2f7f4;
  --warning-bg: #fbf7ef;
  --info-bg: #eff4f8;
}

html[data-ui-theme="mist"] body {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 28%),
    radial-gradient(circle at bottom right, rgba(173, 183, 197, 0.18), transparent 26%),
    linear-gradient(145deg, #eef2f6 0%, #e6ebf0 100%) !important;
  color: var(--text-strong);
}

html[data-ui-theme="mist"] .admin-theme-switch {
  border-color: rgba(130, 151, 175, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

html[data-ui-theme="mist"] .admin-theme-switch label,
html[data-ui-theme="mist"] .admin-theme-select {
  color: rgba(236, 242, 248, 0.86);
}

html[data-ui-theme="mist"] .navbar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #253446 0%, #233243 52%, #213041 100%) !important;
  border: 1px solid rgba(92, 110, 132, 0.24) !important;
  box-shadow: 0 18px 36px rgba(13, 21, 33, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

html[data-ui-theme="mist"] .navbar::after {
  display: none !important;
  content: none;
}

html[data-ui-theme="mist"] .navbar-brand,
html[data-ui-theme="mist"] .navbar-text,
html[data-ui-theme="mist"] .navbar .btn,
html[data-ui-theme="mist"] .navbar .nav-link {
  color: #edf4fb !important;
}

html[data-ui-theme="mist"] .navbar-brand {
  color: #f7fbff !important;
  letter-spacing: -0.025em;
}

html[data-ui-theme="mist"] .navbar-brand-logo {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(188, 205, 224, 0.08)) !important;
  color: #f4f8fd !important;
  border: 1px solid rgba(130, 151, 175, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 22px rgba(13, 23, 34, 0.16) !important;
}

html[data-ui-theme="mist"] .navbar-brand-logo i {
  color: inherit !important;
}

html[data-ui-theme="mist"] .btn-logout {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #edf4fb !important;
  border-color: rgba(130, 151, 175, 0.2) !important;
  box-shadow: 0 8px 16px rgba(11, 20, 31, 0.1) !important;
}

html[data-ui-theme="mist"] .btn-logout:hover {
  background: rgba(255, 255, 255, 0.11) !important;
  color: #ffffff !important;
  border-color: rgba(188, 205, 224, 0.24) !important;
}

html[data-ui-theme="mist"] .navbar-text,
html[data-ui-theme="mist"] #userInfo {
  color: rgba(236, 242, 248, 0.92) !important;
  font-weight: 600;
}

html[data-ui-theme="mist"] .admin-theme-switch {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(130, 151, 175, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 22px rgba(12, 22, 33, 0.1);
}

html[data-ui-theme="mist"] .admin-theme-switch label {
  color: rgba(214, 225, 237, 0.84);
}

html[data-ui-theme="mist"] .admin-theme-select {
  color: #f2f7fd !important;
}

html[data-ui-theme="mist"] .sidebar {
  background: linear-gradient(180deg, #1d2b3c 0%, #162131 100%) !important;
  border: 1px solid rgba(104, 122, 142, 0.18) !important;
  box-shadow: 0 22px 50px rgba(15, 24, 37, 0.14) !important;
}

html[data-ui-theme="mist"] .sidebar-header-title,
html[data-ui-theme="mist"] .sidebar-title-text,
html[data-ui-theme="mist"] .sidebar .nav-link,
html[data-ui-theme="mist"] .sidebar .nav-link-label,
html[data-ui-theme="mist"] .sidebar .nav-link-icon {
  color: #ebf1f7 !important;
}

html[data-ui-theme="mist"] .sidebar .nav-link {
  background: rgba(255, 255, 255, 0.025) !important;
  border-color: transparent !important;
}

html[data-ui-theme="mist"] .sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(173, 183, 197, 0.14) !important;
  transform: translateX(2px);
}

html[data-ui-theme="mist"] .sidebar .nav-link.active {
  background: linear-gradient(135deg, #355e86, #4f7598) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px rgba(24, 48, 72, 0.24) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html[data-ui-theme="mist"] .sidebar-toggle-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f2f6fb !important;
  border: 1px solid rgba(173, 183, 197, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html[data-ui-theme="mist"] .sidebar-toggle-btn:hover,
html[data-ui-theme="mist"] .sidebar-toggle-btn:focus-visible {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

html[data-ui-theme="mist"] .content-area,
html[data-ui-theme="mist"] .customer-table-card,
html[data-ui-theme="mist"] .event-search-card {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(173, 183, 197, 0.22) !important;
  box-shadow: 0 18px 42px rgba(21, 34, 50, 0.08) !important;
}

html[data-ui-theme="mist"] .stats-card {
  background: linear-gradient(135deg, #274766, #3b6386) !important;
  box-shadow: 0 18px 34px rgba(32, 56, 83, 0.18) !important;
}

html[data-ui-theme="mist"] #dashboard .row.mb-4 > .col-md-3:nth-child(2) .stats-card,
html[data-ui-theme="mist"] #customerStats > .col-md-3:nth-child(2) .card {
  background: linear-gradient(135deg, #42586e, #5f768d) !important;
}

html[data-ui-theme="mist"] #dashboard .row.mb-4 > .col-md-3:nth-child(3) .stats-card,
html[data-ui-theme="mist"] #customerStats > .col-md-3:nth-child(3) .card {
  background: linear-gradient(135deg, #8e7151, #b18c61) !important;
}

html[data-ui-theme="mist"] #dashboard .row.mb-4 > .col-md-3:nth-child(4) .stats-card,
html[data-ui-theme="mist"] #customerStats > .col-md-3:nth-child(4) .card {
  background: linear-gradient(135deg, #425a68, #587383) !important;
}

html[data-ui-theme="mist"] #mainPage .table thead.table-dark,
html[data-ui-theme="mist"] #mainPage .admin-data-table thead.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-active-bg: transparent !important;
  --bs-table-hover-bg: transparent !important;
  --bs-table-color: inherit !important;
  border-color: rgba(135, 149, 164, 0.22) !important;
}

html[data-ui-theme="mist"] .customer-table-card .card-header,
html[data-ui-theme="mist"] .event-search-card,
html[data-ui-theme="mist"] .event-table thead th,
html[data-ui-theme="mist"] .customer-table thead th,
html[data-ui-theme="mist"] #mainPage .table thead.table-dark th,
html[data-ui-theme="mist"] #mainPage .admin-data-table thead.table-dark th {
  background: linear-gradient(180deg, #f7f9fc 0%, #e8eef4 100%) !important;
}

html[data-ui-theme="mist"] .customer-table-card .card-header h6,
html[data-ui-theme="mist"] .customer-table-card .card-header small,
html[data-ui-theme="mist"] .event-table th,
html[data-ui-theme="mist"] .customer-table thead th,
html[data-ui-theme="mist"] #mainPage .table thead.table-dark th,
html[data-ui-theme="mist"] #mainPage .admin-data-table thead.table-dark th {
  color: #495b6d !important;
  font-weight: 620 !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.018em;
  border-bottom: 1px solid rgba(135, 149, 164, 0.22) !important;
}

html[data-ui-theme="mist"] .customer-table tbody td,
html[data-ui-theme="mist"] .admin-data-table td,
html[data-ui-theme="mist"] .event-table tbody td,
html[data-ui-theme="mist"] #checkinRecordsWrap .table td,
html[data-ui-theme="mist"] #registerRecordsWrap .table td,
html[data-ui-theme="mist"] #checkoutRecordsWrap .table td,
html[data-ui-theme="mist"] #staffCheckinRecordsWrap .table td {
  color: #2f4050 !important;
  font-weight: 470 !important;
  font-size: 0.92rem !important;
}

html[data-ui-theme="mist"] .customer-name,
html[data-ui-theme="mist"] .customer-inviter,
html[data-ui-theme="mist"] .customer-line,
html[data-ui-theme="mist"] .customer-department,
html[data-ui-theme="mist"] .customer-country,
html[data-ui-theme="mist"] .customer-school {
  color: #2b3948 !important;
  font-weight: 560 !important;
}

html[data-ui-theme="mist"] .customer-phone,
html[data-ui-theme="mist"] .checkin-time,
html[data-ui-theme="mist"] .customer-table .text-muted {
  color: #6b7887 !important;
}

html[data-ui-theme="mist"] .customer-event {
  color: #355a7d !important;
  background: rgba(53, 94, 134, 0.12) !important;
  font-weight: 540 !important;
}

html[data-ui-theme="mist"] .btn-primary,
html[data-ui-theme="mist"] .btn-success,
html[data-ui-theme="mist"] .btn-info {
  background: linear-gradient(135deg, #355e86, #4f7598) !important;
  box-shadow: 0 12px 24px rgba(53, 94, 134, 0.18) !important;
}

html[data-ui-theme="mist"] .btn-primary:hover,
html[data-ui-theme="mist"] .btn-success:hover,
html[data-ui-theme="mist"] .btn-info:hover {
  background: linear-gradient(135deg, #2c5073, #446889) !important;
}

html[data-ui-theme="mist"] .login-card,
html[data-ui-theme="mist"] .checkin-card,
html[data-ui-theme="mist"] .result-card {
  border-color: rgba(173, 183, 197, 0.2) !important;
  box-shadow: 0 22px 52px rgba(21, 34, 50, 0.1) !important;
}

html[data-ui-theme="mist"] .brand-pill {
  background: linear-gradient(135deg, #f2f5f9, #e6ecf3) !important;
  color: #4f6174 !important;
}

html[data-ui-theme="mist"] .logo-icon,
html[data-ui-theme="mist"] .logo-badge {
  box-shadow: 0 14px 30px rgba(53, 94, 134, 0.18) !important;
}

html[data-ui-theme="mist"] .input-group-text,
html[data-ui-theme="mist"] .email-suffix {
  background: #f1f5f9 !important;
  border-color: rgba(173, 183, 197, 0.24) !important;
  color: #718091 !important;
}

html[data-ui-theme="mist"] .form-control,
html[data-ui-theme="mist"] .form-select,
html[data-ui-theme="mist"] .form-group input,
html[data-ui-theme="mist"] .form-group textarea,
html[data-ui-theme="mist"] .email-input-group,
html[data-ui-theme="mist"] .code-input-group button,
html[data-ui-theme="mist"] .list-search-input-wrap {
  border-color: rgba(173, 183, 197, 0.24) !important;
}

html[data-ui-theme="mist"] .btn-checkin,
html[data-ui-theme="mist"] .btn-login,
html[data-ui-theme="mist"] .btn-primary.btn-block {
  box-shadow: 0 12px 24px rgba(53, 94, 134, 0.18) !important;
}

html[data-ui-theme="mist"] .btn-checkin {
  background: linear-gradient(135deg, #315677, #466b91) !important;
  color: #f7fbff !important;
  box-shadow: 0 16px 30px rgba(28, 48, 71, 0.2) !important;
}

html[data-ui-theme="mist"] .btn-checkin:hover {
  background: linear-gradient(135deg, #284966, #3c607f) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 34px rgba(24, 42, 62, 0.22) !important;
}

html[data-ui-theme="mist"] .btn-checkin:focus-visible {
  box-shadow: 0 0 0 4px rgba(53, 94, 134, 0.16), 0 18px 34px rgba(24, 42, 62, 0.2) !important;
}

html[data-ui-theme="mist"] .btn-checkin:disabled {
  background: linear-gradient(135deg, #70859a, #8a9bae) !important;
  color: rgba(247, 251, 255, 0.92) !important;
  box-shadow: none !important;
}

html[data-ui-theme="mist"] .title,
html[data-ui-theme="mist"] .subtitle,
html[data-ui-theme="mist"] .logo-section,
html[data-ui-theme="mist"] .header h1,
html[data-ui-theme="mist"] .header p,
html[data-ui-theme="mist"] .event-name {
  color: inherit;
}

html[data-ui-theme="mist"] .logo-section h1:first-child {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #315677, #466b91) !important;
  box-shadow: 0 18px 34px rgba(28, 48, 71, 0.2) !important;
}

html[data-ui-theme="mist"] .logo-section h1:first-child i {
  color: #f7fbff !important;
}

html[data-ui-theme="mist"] .header {
  background: linear-gradient(135deg, #315677, #466b91) !important;
  box-shadow: 0 22px 40px rgba(28, 48, 71, 0.18) !important;
  border: 1px solid rgba(232, 238, 246, 0.1) !important;
}

html[data-ui-theme="mist"] .header-info h2 {
  color: #f7fbff !important;
}

html[data-ui-theme="mist"] .header-info p,
html[data-ui-theme="mist"] #userEmail {
  color: rgba(237, 245, 255, 0.9) !important;
  font-weight: 500;
  letter-spacing: 0.01em;
}

html[data-ui-theme="mist"] .header .btn-outline {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #f7fbff !important;
  border-color: rgba(232, 238, 246, 0.24) !important;
}

html[data-ui-theme="mist"] .header .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

html[data-ui-theme="mist"] .count-badge {
  background: rgba(53, 94, 134, 0.08) !important;
  color: #355e86 !important;
  border-color: rgba(53, 94, 134, 0.16) !important;
}

html[data-ui-theme="mist"] .manager-tabs,
html[data-ui-theme="mist"] .weight-info,
html[data-ui-theme="mist"] .stats-container,
html[data-ui-theme="mist"] .list-search-input-wrap,
html[data-ui-theme="mist"] .customer-card,
html[data-ui-theme="mist"] .pagination {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(173, 183, 197, 0.22) !important;
  box-shadow: 0 18px 36px rgba(21, 34, 50, 0.08) !important;
  backdrop-filter: blur(18px);
}

html[data-ui-theme="mist"] .manager-tabs {
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
}

html[data-ui-theme="mist"] .tab-btn {
  min-height: 44px;
  border-radius: 14px;
  color: #5f7082;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

html[data-ui-theme="mist"] .tab-btn:hover {
  background: rgba(53, 94, 134, 0.08);
  color: #2e4d6d;
}

html[data-ui-theme="mist"] .tab-btn.active {
  background: linear-gradient(135deg, #4c74a0, #6b8eb5);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(53, 94, 134, 0.18);
}

html[data-ui-theme="mist"] .weight-title,
html[data-ui-theme="mist"] .weight-formula,
html[data-ui-theme="mist"] .stats-container h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

html[data-ui-theme="mist"] .weight-title {
  color: #384a5d;
}

html[data-ui-theme="mist"] .weight-item {
  background: linear-gradient(180deg, #fbfcfe 0%, #f1f5f9 100%);
  border: 1px solid rgba(173, 183, 197, 0.18);
  border-radius: 16px;
}

html[data-ui-theme="mist"] .w-badge {
  background: linear-gradient(135deg, #b88a57, #d0a26a);
  box-shadow: 0 8px 16px rgba(184, 138, 87, 0.18);
}

html[data-ui-theme="mist"] .w-text {
  color: #5f7082;
  font-weight: 600;
}

html[data-ui-theme="mist"] .weight-formula {
  color: #6b7887;
  gap: 6px;
  border-top-color: rgba(173, 183, 197, 0.36);
}

html[data-ui-theme="mist"] .deadline-notice {
  background: linear-gradient(135deg, rgba(199, 155, 97, 0.16), rgba(184, 138, 87, 0.22));
  border-color: rgba(184, 138, 87, 0.24);
  color: #8a6131;
}

html[data-ui-theme="mist"] .stats-container {
  border-radius: 24px;
}

html[data-ui-theme="mist"] .stats-container h3 {
  font-size: 18px;
  color: #2a3a4b;
}

html[data-ui-theme="mist"] .stats-row {
  padding: 14px 12px;
  border-bottom-color: rgba(173, 183, 197, 0.16);
}

html[data-ui-theme="mist"] .stats-row.header {
  background: linear-gradient(135deg, #4a6f98, #6388b0);
  color: rgba(245, 250, 255, 0.96);
  box-shadow: 0 14px 28px rgba(53, 94, 134, 0.16);
  border-radius: 14px;
  margin-bottom: 10px;
}

html[data-ui-theme="mist"] .stats-row.header .stats-name,
html[data-ui-theme="mist"] .stats-row.header .stats-count,
html[data-ui-theme="mist"] .stats-row.header .stats-checkin {
  color: inherit !important;
}

html[data-ui-theme="mist"] .stats-name {
  color: #304154;
  font-weight: 600;
}

html[data-ui-theme="mist"] .stats-count {
  color: #355e86;
  font-weight: 700;
}

html[data-ui-theme="mist"] .stats-checkin {
  color: #466756;
  font-weight: 700;
}

html[data-ui-theme="mist"] .event-name {
  color: #edf3fb !important;
}

html[data-ui-theme="mist"] .result-success,
html[data-ui-theme="mist"] .result-error,
html[data-ui-theme="mist"] .result-info {
  border-left-color: var(--brand-1) !important;
}

@media (max-width: 768px) {
  .admin-theme-switch {
    width: 100%;
    justify-content: space-between;
  }

  .admin-theme-select {
    min-width: 132px;
  }
}
