/*
 * webManage browser compatibility layer.
 * Keep this file small: it patches the legacy Bootstrap 3 admin shell without
 * changing JSP markup or business scripts.
 */
html {
  -webkit-text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
  font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
}

body {
  background: #f5f6f7;
  color: #2d3640;
}

img,
canvas,
iframe {
  max-width: 100%;
}

.right_col,
.x_panel,
.x_content,
.panel,
.modal-content {
  max-width: 100%;
}

.form-control,
.input-group,
.btn {
  max-width: 100%;
}

.table-responsive,
.dataTables_wrapper,
.x_content {
  overflow-x: auto;
}

.modal-dialog {
  max-width: calc(100% - 24px);
}

.swal2-modal {
  max-width: calc(100% - 24px);
}

/* Visible refresh for the legacy admin shell. */
.left_col,
.nav_title,
body.nav-md .container.body .left_col,
body.nav-sm .container.body .left_col {
  background: #1b232b;
}

.site_title {
  color: #f3f5f6 !important;
  font-weight: 700;
  letter-spacing: 0;
}

.nav.side-menu > li > a {
  color: #c7d0d8;
  font-weight: 600;
}

.nav.side-menu > li.active > a,
.nav.side-menu > li.current-page > a,
.nav.side-menu > li > a:hover {
  background: linear-gradient(90deg, #a64a55, #843743) !important;
  color: #f8fafb !important;
  text-shadow: none;
}

.nav_menu {
  background: #fff;
  border-bottom: 1px solid #e2e6ea;
  box-shadow: 0 8px 20px rgba(30, 38, 46, .06);
}

.right_col {
  background: linear-gradient(180deg, #fafafa 0%, #f1f3f5 100%);
}

.page-title .title_left h3,
.x_title h2 {
  color: #303a44;
  font-weight: 700;
  letter-spacing: 0;
}

.x_panel,
.panel,
.modal-content,
.table-responsive {
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(30, 38, 46, .06);
}

.x_title {
  border-bottom-color: #e8edf2;
}

.form-control {
  height: 38px;
  border-color: #cfd8e3;
  border-radius: 6px;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-control:focus {
  border-color: #a64a55;
  box-shadow: 0 0 0 3px rgba(166, 74, 85, .1);
}

.btn {
  border-radius: 6px;
  font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.btn-primary,
.btn-success,
.btn-danger,
.btn-default.submit {
  border-color: #9b414b;
  background: linear-gradient(180deg, #b9525d 0%, #913843 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(145, 56, 67, .14);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus,
.btn-danger:hover,
.btn-danger:focus,
.btn-default.submit:hover,
.btn-default.submit:focus {
  border-color: #84313c;
  background: linear-gradient(180deg, #a94a55 0%, #7f303a 100%);
  color: #fff;
}

.table > thead > tr > th {
  background: #f4f6f7;
  color: #44505d;
  border-bottom: 1px solid #e1e6eb;
  font-weight: 700;
}

.table > tbody > tr:hover {
  background: #faf6f5;
}

/* Login page refresh. */
body.login {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(166, 74, 85, .12), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(180, 143, 74, .1), transparent 28%),
    linear-gradient(135deg, #202832 0%, #25303a 48%, #303841 100%);
}

body.login .login_wrapper {
  width: auto;
  max-width: none;
}

.wm-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
}

.wm-login-shell {
  width: min(1040px, calc(100% - 48px));
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(380px, .98fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
}

.wm-login-brand {
  position: relative;
  display: flex;
  min-height: 560px;
  align-items: center;
  padding: 46px;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(25, 35, 44, .96), rgba(91, 53, 59, .88)),
    linear-gradient(135deg, #202832, #783b45);
}

.wm-login-brand:after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  pointer-events: none;
}

.wm-login-brand-panel {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  max-width: 360px;
}

.wm-login-badge {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecd083, #b98d40);
  color: #26303a;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(0, 0, 0, .2);
}

.wm-login-brand h1 {
  margin: 0 0 10px;
  color: #f7f4ec;
  font-size: 32px;
  font-weight: 700;
}

.wm-login-brand p,
.wm-login-brand span {
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  font-weight: 600;
}

.wm-login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 52px;
}

.wm-login-card-title small {
  display: block;
  margin-bottom: 10px;
  color: #a77c35;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.wm-login-card-title h2 {
  margin: 0 0 10px;
  color: #26303a;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.wm-login-card-title p {
  margin: 0 0 28px;
  color: #6d7680;
  font-size: 16px;
  font-weight: 600;
}

.wm-login-field {
  margin-bottom: 20px;
}

.wm-login-field label {
  display: block;
  margin-bottom: 9px;
  color: #4b5662;
  font-size: 15px;
  font-weight: 700;
}

.wm-login-field .form-control {
  height: 48px;
  padding: 10px 15px;
  border-color: #d4dee8;
  border-radius: 9px;
  background: #f8fbff;
  color: #1f252b;
  font-size: 17px;
  box-shadow: none;
}

.wm-login-field .form-control:focus {
  border-color: #a64a55;
  box-shadow: 0 0 0 3px rgba(166, 74, 85, .1);
}

.wm-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 14px;
  align-items: center;
}

.wm-captcha-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d4dee8;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.wm-captcha-btn img {
  width: 108px;
  height: 35px;
  object-fit: contain;
  border: 0;
  background: transparent;
}

.wm-captcha-btn:hover img {
  opacity: .88;
}

.wm-login-submit {
  width: 100%;
  height: 50px;
  margin-top: 8px;
  border-radius: 10px;
  font-size: 18px;
}

.wm-login-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #edf1f5;
  color: #8994a2;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 900px) {
  .wm-login-shell {
    width: min(620px, calc(100% - 28px));
    grid-template-columns: 1fr;
  }

  .wm-login-brand {
    min-height: 210px;
    padding: 34px;
  }

  .wm-login-brand-panel {
    align-self: flex-start;
  }

  .wm-login-card {
    padding: 36px 32px;
  }
}

@media (max-width: 991px) {
  .nav-md .container.body .right_col,
  .nav-md .container.body .top_nav {
    width: 100%;
    margin-left: 0;
  }

  .nav_menu nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav_menu .nav.toggle {
    width: auto;
    margin-right: 8px;
  }

  .top_nav .navbar-left {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    margin: 0;
  }

  .top_nav .navbar-right {
    flex: 0 0 auto;
    width: auto !important;
    margin-left: auto;
    margin-right: 0;
  }

  .top_nav .navbar-nav > li > a {
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  input,
  select,
  textarea,
  .form-control {
    font-size: 16px !important;
  }

  .right_col {
    padding: 10px !important;
  }

  .x_panel {
    padding: 10px;
  }

  .form-horizontal .control-label {
    padding-top: 0;
    margin-bottom: 6px;
    text-align: left;
  }

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

  .modal-dialog {
    margin: 10px auto;
  }

  .wm-login-page {
    padding: 18px 12px;
  }

  .wm-login-shell {
    width: 100%;
    min-height: 0;
    border-radius: 14px;
  }

  .wm-login-brand {
    min-height: 180px;
    padding: 28px;
  }

  .wm-login-brand:after {
    inset: 14px;
  }

  .wm-login-badge {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 14px;
    font-size: 18px;
  }

  .wm-login-brand h1 {
    font-size: 24px;
  }

  .wm-login-brand p,
  .wm-login-brand span {
    font-size: 15px;
  }

  .wm-login-card {
    padding: 28px 22px;
  }

  .wm-login-card-title h2 {
    font-size: 27px;
  }

  .wm-captcha-row {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
  }

  .wm-captcha-btn {
    width: 112px;
  }
}

/* Full admin refresh, May 2026. */
body.nav-md.wm-admin-shell,
body.nav-md.wm-page-shell {
  background: #f4f6f8;
}

.wm-admin-shell .container.body,
.wm-page-shell .container.body,
body.wm-page-shell .container {
  width: 100% !important;
  max-width: none !important;
}

.wm-admin-shell .main_container,
.wm-page-shell .main_container {
  background: #f4f6f8;
}

.wm-page-shell [role="main"] {
  min-height: 100vh;
  padding: 14px 16px 22px;
  background: #f4f6f8;
}

.wm-admin-shell .nav_menu {
  min-height: 64px;
  padding: 0 14px;
  border-bottom: 1px solid #dfe5ec;
  background: #fff;
}

.wm-admin-shell .nav_menu nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wm-admin-shell .nav.toggle {
  width: auto;
  padding-top: 0;
  margin: 0 6px 0 0;
}

.wm-admin-shell #menu_toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #4c6276;
}

.wm-admin-shell #menu_toggle:hover {
  background: #edf2f5;
  color: #26313b;
}

.wm-top-controls {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.wm-top-controls > li {
  float: none;
  display: flex;
  align-items: center;
}

.wm-alert-nav {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.wm-alert-nav > li {
  float: none;
  display: flex;
  align-items: center;
}

.wm-alert-nav > li > a,
.wm-refresh-status {
  min-height: 38px;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 10px !important;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #384755 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.wm-alert-nav > li > a:hover,
.wm-alert-nav > li > a:focus {
  border-color: #d9e1e9;
  background: #f4f7f9 !important;
  color: #1f2a34 !important;
}

.wm-sound-toggle {
  width: 40px;
  height: 40px;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
}

.wm-sound-toggle:hover {
  background: #edf2f5;
}

.wm-sound-toggle img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.wm-refresh-status {
  border-color: #e1e8ee;
  background: #f8fafb;
  color: #536272;
}

.wm-refresh-status #time {
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #30404f;
  color: #fff;
  font-size: 13px;
}

.wm-user-nav {
  flex: 0 0 auto;
  width: auto !important;
  margin: 0 0 0 auto !important;
}

.wm-user-nav > li > a.user-profile {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 7px 10px !important;
  border: 1px solid #e0e7ee;
  border-radius: 8px;
  background: #f9fbfc;
  color: #334250 !important;
  font-weight: 700;
}

.wm-user-nav > li > a.user-profile img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}

.wm-admin-shell .profile {
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
}

.wm-admin-shell .profile_info span {
  color: #aebac5;
}

.wm-admin-shell .profile_info h2 {
  max-width: 132px;
  overflow: hidden;
  color: #f6f8fa;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-admin-shell .menu_section h3 {
  margin: 12px 12px 8px;
  color: #9aa8b5;
  font-size: 12px;
  line-height: 1.45;
  text-transform: none;
}

.wm-admin-shell .nav.side-menu > li > a {
  margin: 3px 8px;
  padding: 11px 12px;
  border-radius: 8px;
}

/* Better readability for collapsed sidebar (nav-sm). */
body.wm-admin-shell.nav-sm .container.body .col-md-3.left_col,
body.wm-admin-shell.nav-sm .container.body .left_col {
  width: 92px;
}

body.wm-admin-shell.nav-sm .main_container .top_nav,
body.wm-admin-shell.nav-sm .container.body .right_col,
body.wm-admin-shell.nav-sm footer {
  margin-left: 92px;
}

body.wm-admin-shell.nav-sm .nav.side-menu > li > a {
  margin: 4px 6px;
  padding: 10px 4px;
  text-align: center !important;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.wm-admin-shell.nav-sm .nav.side-menu > li > a i {
  width: 100% !important;
  display: block;
  margin: 0 0 6px !important;
  font-size: 28px !important;
  line-height: 1;
}

body.wm-admin-shell.nav-sm .nav.side-menu > li > a span.fa {
  display: none !important;
}

.wm-admin-shell .nav.child_menu {
  padding: 4px 8px 8px 42px;
}

.wm-admin-shell .nav.child_menu > li > a {
  padding: 8px 8px;
  border-radius: 6px;
  color: #bcc8d3;
  font-size: 13px;
}

.wm-admin-shell .nav.child_menu > li > a:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.wm-admin-shell .site_title {
  height: 60px;
  line-height: 60px;
}

.wm-admin-shell .site_title i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  color: #d1a64e;
}

.wm-admin-shell .right_col {
  min-height: calc(100vh - 64px) !important;
  padding: 0 !important;
  background: #f4f6f8;
}

.wm-admin-shell #myTab::-webkit-scrollbar {
  height: 8px;
}

.wm-admin-shell #myTab::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #cbd6df;
}

.wm-admin-shell #myTab li.active a,
.wm-admin-shell #myTab li a:hover {
  border-color: #c6d2dc;
  background: #fff;
  color: #26313b;
}

.wm-admin-shell #myTab li.active a {
  border-bottom-color: #fff;
  box-shadow: 0 -2px 0 #b98d40 inset;
}

.wm-admin-shell #myTabContent {
  min-height: calc(100vh - 108px);
  background: #f4f6f8;
}

.wm-admin-shell footer {
  display: none;
}

.wm-page-shell .accordion.col-lg-12,
.wm-page-shell .col-lg-12 {
  padding-left: 8px;
  padding-right: 8px;
}

.wm-page-shell .accordion .panel,
.wm-page-shell .panel {
  margin-bottom: 12px;
  border: 1px solid #dfe6ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(38, 49, 59, .05);
}

.wm-page-shell .panel-heading {
  display: block;
  border-bottom: 1px solid #e4ebf1;
  border-radius: 8px 8px 0 0;
  background: #f8fafb;
  color: #31404e;
}

.wm-page-shell .panel-title {
  color: #31404e;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.wm-page-shell .panel-body {
  padding: 14px 16px;
}

.wm-page-shell .form-horizontal [class*="col-lg-"],
.wm-page-shell .form-horizontal [class*="col-sm-"],
.wm-page-shell .form-horizontal [class*="col-md-"],
.wm-page-shell .form-horizontal [class*="col-xs-"] {
  margin-bottom: 10px;
}

.wm-page-shell .form-horizontal .control-label {
  display: block;
  margin-bottom: 5px;
  color: #465665;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.wm-page-shell .form-horizontal br {
  display: none;
}

.wm-page-shell .form-control {
  min-width: 0;
}

.wm-page-shell select.form-control {
  padding-right: 28px;
}

.wm-page-shell .btn-group.col-lg-12 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 8px 10px;
}

.wm-page-shell .btn-group > .btn,
.wm-page-shell .btn-group > .btn-group,
.wm-page-shell .btn-group.col-lg-12 .btn {
  float: none;
  margin-left: 0 !important;
}

.wm-page-shell .btn-default {
  border-color: #cdd8e3;
  background: #fff;
  color: #344251;
  box-shadow: 0 4px 10px rgba(38, 49, 59, .04);
}

.wm-page-shell .btn-default:hover,
.wm-page-shell .btn-default:focus {
  border-color: #b7c6d4;
  background: #f3f7fa;
  color: #26313b;
}

.wm-page-shell .btn i {
  margin-right: 5px;
}

.wm-page-shell .table {
  margin-bottom: 12px;
  background: #fff;
  color: #334251;
  font-size: 13px;
}

.wm-page-shell .jambo_table,
.wm-page-shell .table-bordered {
  border: 1px solid #dce4ec;
  border-radius: 8px;
  overflow: hidden;
}

.wm-page-shell .jambo_table > thead > tr > th,
.wm-page-shell .table > thead > tr > th,
.wm-page-shell .table > thead > tr > td {
  border-color: #d9e2ea !important;
  background: #edf3f7 !important;
  color: #30404f;
  font-weight: 800;
  vertical-align: middle;
}

.wm-page-shell .table > tbody > tr > td,
.wm-page-shell .table > tbody > tr > th {
  border-color: #e5ebf1;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.wm-page-shell .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #fbfcfd;
}

.wm-page-shell .table-hover > tbody > tr:hover,
.wm-page-shell .table > tbody > tr:hover {
  background: #fff8ed;
}

.wm-page-shell .table-select > tbody > tr.selected,
.wm-page-shell .table-single-select > tbody > tr.selected {
  background: #fff0d4 !important;
  outline: 2px solid #d1a64e;
  outline-offset: -2px;
}

.wm-page-shell .table-responsive,
.wm-page-shell .tablemain {
  border-radius: 8px;
}

.wm-page-shell .wm-table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.wm-page-shell .wm-table-scroll > table {
  min-width: 920px;
}

/* Legacy pagination layout cleanup */
.wm-page-shell .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding-left: 0;
}

.wm-page-shell ul.pagination > ul.pagination {
  float: none !important;
  margin: 0 !important;
  padding-left: 0;
}

.wm-page-shell ul.pagination > #pageDIV {
  margin-left: auto;
  width: auto !important;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}

.wm-page-shell #pageDIV select {
  width: auto;
  min-width: 66px;
}

.wm-page-shell #pageDIV .form-control {
  display: inline-block !important;
}

.wm-page-shell .wm-table-scroll::-webkit-scrollbar {
  height: 8px;
}

.wm-page-shell .wm-table-scroll::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #cbd6df;
}

.wm-page-shell .tile_count {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px !important;
}

.wm-page-shell .tile_count::before,
.wm-page-shell .tile_count::after {
  content: none !important;
  display: none !important;
}

.wm-page-shell .tile_count .tile_stats_count {
  flex: 1 1 180px;
  min-height: 126px;
  margin: 0 !important;
  padding: 16px 16px 14px !important;
  border: 1px solid #dfe6ed;
  border-left: 4px solid #b98d40;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(38, 49, 59, .05);
}

.wm-page-shell .tile_count .tile_stats_count:before {
  display: none;
}

.wm-page-shell .tile_count .count_top {
  display: block;
  min-height: 20px;
  color: #667788;
  font-size: 13px;
  font-weight: 800;
}

.wm-page-shell .tile_count .count {
  margin: 8px 0 6px;
  color: #25313d;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.wm-page-shell .tile_count .count.green,
.wm-page-shell .green {
  color: #2b806a;
}

.wm-page-shell .tile_count .count_bottom {
  display: block;
  color: #697988;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.wm-page-shell .tile_count select {
  max-width: 150px;
  height: 30px;
  margin-left: 4px;
  border: 1px solid #ccd8e3;
  border-radius: 6px;
  background: #fff;
}

.wm-page-shell .x_panel {
  padding: 14px 16px 16px;
  border: 1px solid #dfe6ed;
  border-radius: 8px;
  background: #fff;
}

.wm-page-shell .x_title {
  min-height: 38px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5ebf1;
}

.wm-page-shell .x_title h2 {
  color: #2f3e4c;
  font-size: 18px;
  font-weight: 800;
}

.wm-page-shell .panel_toolbox > li > a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 7px;
  color: #8a98a6;
}

.wm-page-shell .panel_toolbox > li > a:hover {
  background: #edf2f5;
  color: #394957;
}

.wm-page-shell .modal-content {
  border-radius: 8px;
}

.wm-page-shell .modal-header {
  border-radius: 8px 8px 0 0;
  background: #f8fafb;
}

@media (max-width: 1200px) {
  .wm-alert-nav {
    max-width: calc(100% - 210px);
  }

  .wm-alert-nav > li > a,
  .wm-refresh-status {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .wm-admin-shell .nav_menu nav {
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .wm-alert-nav {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .wm-user-nav {
    margin-left: auto !important;
  }

  .wm-admin-shell #myTabContent,
  .wm-admin-shell #myTabContent iframe {
    min-height: 680px;
  }
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .wm-admin-shell .nav_menu {
    min-height: 0;
    padding: 0 10px;
  }

  .wm-admin-shell .nav_menu nav {
    display: grid;
    grid-template-columns: 44px auto minmax(0, 1fr);
    grid-template-areas:
      "toggle controls user"
      "alerts alerts alerts";
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
    padding: 8px 0 10px;
  }

  .wm-admin-shell .nav.toggle {
    grid-area: toggle;
    margin: 0;
  }

  .wm-admin-shell #menu_toggle {
    width: 40px;
    height: 40px;
  }

  .wm-top-controls {
    grid-area: controls;
    width: auto;
    float: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
  }

  .wm-top-controls > li {
    flex: 0 0 auto;
    min-width: 0;
  }

  .wm-alert-nav {
    grid-area: alerts;
    width: 100%;
    float: none !important;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch;
  }

  .wm-alert-nav > li {
    flex: 0 0 auto;
    min-width: 0;
  }

  .wm-alert-nav > li > a,
  .wm-refresh-status {
    width: auto;
    min-height: 38px;
    justify-content: flex-start;
    padding: 7px 10px !important;
    font-size: 13px;
  }

  .wm-alert-nav > li > a {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 168px;
  }

  .wm-sound-toggle {
    width: 40px;
    min-width: 40px;
  }

  .wm-refresh-status {
    min-width: 118px;
  }

  .wm-user-nav {
    grid-area: user;
    float: none !important;
    display: flex;
    justify-content: flex-end;
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
  }

  .wm-user-nav > li {
    float: none;
  }

  .wm-user-nav > li > a.user-profile {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .wm-admin-shell #myTab {
    min-height: 40px;
    padding: 6px 8px 0;
  }

  .wm-admin-shell #myTab li {
    height: 32px;
  }

  .wm-admin-shell #myTab li a {
    height: 32px;
    max-width: 168px;
    overflow: hidden;
    padding: 6px 28px 6px 10px;
    font-size: 13px;
    text-overflow: ellipsis;
  }

  .wm-admin-shell #myTabContent,
  .wm-admin-shell #myTabContent iframe {
    min-height: calc(100vh - 154px);
  }

  .wm-admin-shell #myTabContent iframe {
    height: calc(100vh - 154px);
  }

  .wm-page-shell [role="main"] {
    padding: 10px 8px 18px;
  }

  .wm-page-shell .panel-body {
    padding: 12px;
  }

  .wm-page-shell .tile_count {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .wm-page-shell .tile_count .tile_stats_count {
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box;
    min-width: 0;
    min-height: 104px;
    padding: 12px 12px 10px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .wm-page-shell .tile_count .count {
    font-size: 22px;
    line-height: 1.08;
  }

  .wm-page-shell .tile_count .count_bottom,
  .wm-page-shell .tile_count .count_top {
    font-size: 12px;
  }

  .wm-page-shell .btn-group.col-lg-12 {
    padding-left: 8px;
    padding-right: 8px;
  }

  .wm-page-shell .btn-group.col-lg-12 .btn {
    flex: 1 1 auto;
    min-height: 38px;
    white-space: normal;
  }

  .wm-page-shell .form-horizontal [class*="col-lg-"],
  .wm-page-shell .form-horizontal [class*="col-sm-"],
  .wm-page-shell .form-horizontal [class*="col-md-"],
  .wm-page-shell .form-horizontal [class*="col-xs-"] {
    width: 100%;
    float: none;
    padding-left: 4px;
    padding-right: 4px;
  }

  .wm-page-shell .wm-table-scroll {
    margin-left: -4px;
    margin-right: -4px;
    padding-bottom: 6px;
  }

  .wm-page-shell .wm-table-scroll > table {
    min-width: 860px;
    font-size: 12px;
  }

  .wm-page-shell ul.pagination > #pageDIV {
    margin-left: 0;
    width: 100% !important;
    font-size: 12px;
  }

  .wm-page-shell #pageDIV .form-control {
    height: 32px;
    padding: 4px 8px;
  }

  .wm-page-shell .pagination > li > a,
  .wm-page-shell .pagination > li > span {
    padding: 5px 9px;
  }

  .wm-page-shell .table > thead > tr > th,
  .wm-page-shell .table > tbody > tr > td {
    padding: 7px 6px;
  }

  .wm-page-shell .modal-dialog {
    width: auto !important;
    margin: 8px;
  }

  .wm-admin-shell .wm-user-nav > li > a.user-profile {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
