:root {
  --admin-sidebar: #343a40;
  --admin-sidebar-accent: #0d6efd;
  --admin-card-border: rgba(15, 23, 42, .08);
  --admin-muted: #6c757d;
}

body.layout-fixed,
body.login-page {
  letter-spacing: 0;
}

.adminlte-panel .app-sidebar {
  background: var(--admin-sidebar) !important;
}

.adminlte-panel .brand-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 57px;
  padding: .75rem 1rem;
  color: #fff;
  text-decoration: none;
}

.adminlte-panel .brand-image {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: .375rem;
  background: #fff;
  padding: .2rem;
}

.adminlte-panel .sidebar-menu .nav-link {
  border-radius: .375rem;
  margin: .125rem .5rem;
}

.adminlte-panel .sidebar-menu .nav-link.active,
.adminlte-panel .sidebar-menu .nav-link:hover,
.adminlte-panel .sidebar-menu .nav-link:focus {
  background: var(--admin-sidebar-accent);
  color: #fff;
}

.adminlte-panel .app-header {
  border-bottom: 1px solid var(--admin-card-border);
}

.adminlte-panel .app-header .nav-link[data-admin-toggle="sidebar"] {
  color: var(--admin-sidebar-accent);
  font-size: 1.25rem;
}

.skip-links {
  display: none !important;
}

.adminlte-panel .sidebar-menu .nav-link p,
.adminlte-panel .small-box p {
  margin-bottom: 0;
}

.adminlte-panel .admin-nav-views {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  float: right;
  margin-left: .45rem;
  padding: .15rem .4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: inherit;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
}

.adminlte-panel .sidebar-menu .nav-link:hover .admin-nav-views,
.adminlte-panel .sidebar-menu .nav-link:focus .admin-nav-views,
.adminlte-panel .sidebar-menu .nav-link.active .admin-nav-views {
  background: rgba(255, 255, 255, .24);
  color: #fff;
}

.adminlte-panel .nav-treeview {
  display: none;
}

.adminlte-panel .menu-open > .nav-treeview {
  display: block;
}

.adminlte-panel .nav-arrow {
  float: right;
  margin-top: .2rem;
  transition: transform .2s ease;
}

.adminlte-panel .menu-open > .nav-link .nav-arrow {
  transform: rotate(90deg);
}

.adminlte-panel .app-content {
  padding-bottom: 1.25rem;
}

.admin-sidebar-backdrop {
  display: none;
}

.adminlte-panel .card,
.adminlte-panel .small-box {
  border-radius: .5rem;
  box-shadow: 0 .125rem .5rem rgba(15, 23, 42, .06);
}

.adminlte-panel .adminlte-card,
.adminlte-panel .admin-report-card {
  border: 1px solid var(--admin-card-border);
}

.adminlte-panel .admin-game-view-button {
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.adminlte-panel .admin-game-view-button:hover,
.adminlte-panel .admin-game-view-button:focus {
  border-color: rgba(13, 110, 253, .35);
  box-shadow: 0 .35rem 1rem rgba(13, 110, 253, .12);
  transform: translateY(-1px);
}

.adminlte-panel .admin-card-header,
.adminlte-panel .page_title_block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: .875rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--admin-card-border);
}

.adminlte-panel .admin-card-title,
.adminlte-panel .page_title {
  margin: 0;
  color: #212529;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.adminlte-panel .admin-card-tools,
.adminlte-panel .search_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.adminlte-panel .card-body {
  padding: 1rem;
}

.adminlte-panel .mrg_bottom {
  margin-bottom: 1rem;
}

.adminlte-panel .mrg-top {
  margin-top: 1rem;
}

.adminlte-panel .btn_back h4 {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: 0 0 1rem;
  color: var(--bs-primary) !important;
  font-size: .95rem !important;
  font-weight: 600;
}

.adminlte-panel .admin-form .form-group,
.adminlte-panel .form-horizontal .form-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 0;
  margin: 0 0 1rem;
}

.adminlte-panel .control-label {
  margin-bottom: .25rem;
  font-weight: 600;
  color: #343a40;
}

.adminlte-panel .control-label-help {
  margin: .25rem 0 0;
  color: var(--admin-muted);
  font-size: .8rem;
  font-weight: 400;
}

.adminlte-panel .admin-help-note,
.adminlte-panel .form-text.admin-help-note {
  display: block;
  margin: .28rem 0 0;
  color: var(--admin-muted);
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.25;
}

.adminlte-panel .admin-help-note i {
  margin-right: .2rem;
  font-size: .74rem;
  opacity: .8;
}

.adminlte-panel .admin-help-note code {
  font-size: .68rem;
}

.adminlte-panel .form-control,
.adminlte-panel .form-select,
.adminlte-panel select,
.adminlte-panel textarea {
  border-radius: .375rem;
}

.adminlte-panel .search_block form {
  display: flex;
  align-items: stretch;
  min-width: min(100%, 320px);
}

.adminlte-panel .search_block input[type="search"],
.adminlte-panel .search_block .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.adminlte-panel .btn-search {
  border: 1px solid var(--bs-primary);
  background: var(--bs-primary);
  color: #fff;
  padding: .375rem .75rem;
  border-top-right-radius: .375rem;
  border-bottom-right-radius: .375rem;
}

.adminlte-panel .admin-users-header {
  align-items: flex-start;
}

.adminlte-panel .admin-users-toolbar {
  flex: 1 1 auto;
  min-width: 0;
}

.adminlte-panel .admin-users-search {
  flex: 1 1 280px;
  max-width: 420px;
}

.adminlte-panel .admin-users-search form {
  width: 100%;
}

.adminlte-panel .admin-users-search .admin-clear-search {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.adminlte-panel .admin-select-all {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding-left: 1.7rem;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .adminlte-panel .admin-users-toolbar,
  .adminlte-panel .admin-users-search,
  .adminlte-panel .admin-users-search form {
    width: 100%;
    max-width: 100%;
  }
}

.adminlte-panel .add_btn_primary a,
.adminlte-panel .admin-add-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .375rem .75rem;
  border-radius: .375rem;
  background: var(--bs-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.adminlte-panel .add_btn_primary a:hover,
.adminlte-panel .admin-add-action a:hover {
  background: #0b5ed7;
  color: #fff;
}

.adminlte-panel .btn_edit,
.adminlte-panel .btn_delete,
.adminlte-panel .btn_cust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  min-width: 34px;
  min-height: 32px;
  padding: .35rem .6rem !important;
}

.adminlte-panel .checkbox {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 24px;
}

.adminlte-panel .checkbox input[type="checkbox"] {
  position: static !important;
  width: 1rem;
  height: 1rem;
  margin: 0;
  opacity: 1 !important;
  accent-color: var(--bs-primary);
}

.adminlte-panel .checkbox label {
  margin: 0;
  min-height: auto;
}

.adminlte-panel .hidden.cbx {
  display: inline-block !important;
  position: static !important;
  opacity: 1 !important;
  width: 2.4rem;
  height: 1.2rem;
  accent-color: var(--bs-success);
}

.adminlte-panel .toggle_btn {
  align-items: center;
  margin: 0;
}

.adminlte-panel .fileupload_block,
.adminlte-panel .fileupload_img {
  max-width: 280px;
}

.adminlte-panel .fileupload_img img,
.adminlte-panel img[src*="square-img"],
.adminlte-panel img[src*="landscape"],
.adminlte-panel img[src*="add-image"] {
  max-width: 100%;
  height: auto;
  border-radius: .5rem;
  border: 1px solid #dee2e6;
  background: #fff;
  padding: .25rem;
}

.adminlte-panel .table-admin-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.adminlte-panel .table-admin-wrap > table {
  margin-bottom: 0;
}

.adminlte-panel .table {
  background: #fff;
}

.adminlte-panel .cat_action_list,
.adminlte-panel td:last-child {
  white-space: nowrap;
}

.adminlte-panel .pagination_item_block {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 0;
}

.admin-metric-box .small-box-icon {
  right: .85rem;
  top: .65rem;
  font-size: 3.2rem;
  opacity: .22;
}

.admin-report-card .card-header {
  min-height: 54px;
}

.admin-bar-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(28px, 1fr));
  gap: .75rem;
  min-height: 280px;
  align-items: end;
}

.admin-bar-item {
  display: grid;
  grid-template-rows: 24px 1fr 24px;
  gap: .35rem;
  text-align: center;
  min-width: 0;
}

.admin-bar-value {
  color: var(--admin-muted);
  font-size: .75rem;
  font-weight: 600;
}

.admin-bar-track {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 210px;
  border-radius: .5rem;
  background: #f1f3f5;
  overflow: hidden;
}

.admin-bar-fill {
  width: 100%;
  min-height: 4px;
  border-radius: .5rem .5rem 0 0;
  background: linear-gradient(180deg, #0d6efd, #4dabf7);
}

.admin-bar-label {
  color: var(--admin-muted);
  font-size: .75rem;
}

.admin-kpi-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid #edf0f2;
}

.admin-kpi-row:last-child {
  border-bottom: 0;
}

.admin-report-list .list-group-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 64px;
}

.admin-report-list img {
  width: 42px;
  height: 42px;
  border-radius: .5rem;
  object-fit: cover;
  flex: 0 0 auto;
}

.admin-report-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-world-map {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: .5rem;
  background: radial-gradient(circle at 30% 30%, rgba(13,110,253,.18), transparent 28%), #f8f9fa;
  border: 1px solid #edf0f2;
}

.admin-world-map-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(13,110,253,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(13,110,253,.08) 1px, transparent 1px);
  background-size: 26px 26px;
}

.admin-world-map-copy {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  gap: .15rem;
  color: #212529;
}

.admin-world-map-copy span {
  color: var(--admin-muted);
  font-size: .875rem;
}

.admin-richtext-wrapper {
  background: #fff;
}
.admin-richtext-wrapper .ql-toolbar.ql-snow,
.admin-richtext-wrapper .ql-container.ql-snow {
  border-color: #ddd;
}
.admin-richtext-wrapper .ql-editor {
  min-height: 180px;
  font-size: 14px;
  line-height: 1.6;
}
.admin-richtext-wrapper .ql-editor img {
  max-width: 100%;
}

.admin-spin {
  animation: admin-spin 1s linear infinite;
}

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

@media (max-width: 767.98px) {
  .adminlte-panel .admin-card-header,
  .adminlte-panel .page_title_block {
    display: block;
  }

  .adminlte-panel .app-content-header .breadcrumb {
    display: none;
  }

  .admin-bar-chart {
    gap: .4rem;
  }

  .admin-report-list .badge {
    display: none;
  }
}

@media (max-width: 991.98px) {
  body.sidebar-open {
    overflow: hidden;
  }

  .adminlte-panel .app-sidebar {
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1045;
    width: 260px;
    max-width: 86vw;
    margin-left: 0 !important;
    transform: translateX(-102%);
    transition: transform .2s ease-in-out;
  }

  body.sidebar-open .adminlte-panel .app-sidebar {
    transform: translateX(0);
  }

  .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: none;
    background: rgba(15, 23, 42, .45);
  }

  .admin-sidebar-backdrop.show {
    display: block;
  }
}


.admin-search-form {
  display: flex;
  align-items: stretch;
  min-width: min(100%, 320px);
}

.admin-search-form .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.admin-search-form .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.admin-content-card {
  overflow: hidden;
  border: 1px solid var(--admin-card-border);
  box-shadow: 0 .125rem .5rem rgba(15, 23, 42, .06);
}

.admin-content-card .card-img-top {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f1f3f5;
}

.admin-paper-card .card-img-top {
  aspect-ratio: 3 / 4;
}

.admin-content-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.35;
}

.admin-paper-select {
  position: absolute;
  top: .65rem;
  right: .65rem;
  z-index: 2;
  padding: .25rem .35rem;
  border-radius: .375rem;
  background: rgba(255,255,255,.92);
  box-shadow: 0 .125rem .35rem rgba(15,23,42,.12);
}

.admin-content-card .card-footer .btn {
  min-width: 34px;
}


.admin-color-swatch {
  display: inline-block;
  width: 2.25rem;
  height: 1.25rem;
  margin-right: .5rem;
  border-radius: .25rem;
  border: 1px solid rgba(0,0,0,.15);
  vertical-align: middle;
}


.admin-analytics-filter .form-label {
  margin-bottom: .25rem;
}

.admin-heatmap-wrap {
  display: grid;
  grid-template-columns: 42px repeat(24, minmax(13px, 1fr));
  gap: .25rem;
  align-items: center;
  width: 100%;
}

.admin-heatmap-hour,
.admin-heatmap-day {
  color: var(--admin-muted);
  font-size: .72rem;
  text-align: center;
}

.admin-heatmap-day {
  text-align: right;
  padding-right: .35rem;
  font-weight: 700;
}

.admin-heatmap-cell {
  display: block;
  aspect-ratio: 1 / 1;
  min-height: 13px;
  border-radius: .2rem;
  background: #edf2f7;
}

.admin-heatmap-cell.level-1 { background: #dbeafe; }
.admin-heatmap-cell.level-2 { background: #93c5fd; }
.admin-heatmap-cell.level-3 { background: #3b82f6; }
.admin-heatmap-cell.level-4 { background: #1d4ed8; }
.admin-heatmap-cell.level-5 { background: #1e3a8a; }

.admin-rank-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .35rem .75rem;
  align-items: center;
  margin-bottom: .8rem;
}

.admin-rank-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-rank-row .progress {
  grid-column: 1 / -1;
  height: .45rem;
}

.admin-engagement-card .table td,
.admin-engagement-card .table th {
  white-space: nowrap;
}

.admin-score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d6efd, #20c997);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 .25rem .65rem rgba(13, 110, 253, .22);
}

.admin-journey-track {
  display: grid;
  gap: .8rem;
}

.admin-journey-step,
.admin-dropoff-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .78rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .5rem;
  background: #fff;
  animation: adminJourneyIn .36s ease both;
}

.admin-journey-node,
.admin-dropoff-icon {
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(13, 110, 253, .1);
  color: var(--bs-primary);
  font-weight: 800;
}

.admin-journey-content {
  min-width: 0;
  flex: 1 1 auto;
}

.admin-journey-bar {
  height: .46rem;
  margin: .38rem 0 .2rem;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.admin-journey-bar span {
  display: block;
  height: 100%;
  min-width: .35rem;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d6efd, #20c997);
  transition: width .45s ease;
}

.admin-dropoff-grid {
  display: grid;
  gap: .65rem;
}

.admin-journey-select {
  min-height: 7.5rem;
}

.admin-journey-session-list,
.admin-journey-timeline {
  display: grid;
  gap: .65rem;
}

.admin-journey-session {
  padding: .75rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .55rem;
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.admin-journey-timeline {
  position: relative;
}

.admin-journey-timeline-row {
  display: grid;
  grid-template-columns: 4.4rem 2rem minmax(0, 1fr);
  gap: .65rem;
  align-items: stretch;
}

.admin-journey-time {
  display: grid;
  align-content: start;
  justify-items: end;
  color: #475569;
  font-size: .82rem;
}

.admin-journey-time small {
  color: #94a3b8;
}

.admin-journey-dot {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d6efd, #20c997);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 .35rem .75rem rgba(13, 110, 253, .22);
}

.admin-journey-event {
  padding: .75rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .55rem;
  background: #fff;
  box-shadow: 0 .35rem .9rem rgba(15, 23, 42, .04);
}

.admin-journey-detail {
  margin-top: .42rem;
  padding: .42rem .55rem;
  border-radius: .45rem;
  background: #f8fafc;
  color: #334155;
  font-size: .84rem;
}

@keyframes adminJourneyIn {
  from {
    opacity: 0;
    transform: translateY(.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-panel-subtitle {
  margin: 0 0 .75rem;
  font-size: .9rem;
  font-weight: 700;
}


/* AdminLTE legacy page compatibility */
.adminlte-panel .nav-tabs {
  gap: .35rem;
  padding: .75rem 1rem 0;
  border-bottom-color: var(--admin-card-border);
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
}

.adminlte-panel .nav-tabs > li {
  flex: 0 0 auto;
  list-style: none;
  margin-bottom: -1px;
}

.adminlte-panel .nav-tabs > li > a,
.adminlte-panel .nav-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: .55rem .85rem;
  border: 1px solid transparent;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
  color: #495057;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}

.adminlte-panel .nav-tabs > li.active > a,
.adminlte-panel .nav-tabs > li > a.active,
.adminlte-panel .nav-tabs .nav-link.active {
  color: var(--bs-primary);
  background: #fff;
  border-color: var(--admin-card-border) var(--admin-card-border) #fff;
}

.adminlte-panel .tab-content {
  width: 100%;
  background: #fff;
}

.adminlte-panel .tab-content > .tab-pane {
  padding: 1rem;
}

.adminlte-panel .card-body.p-0.tab-content > .tab-pane,
.adminlte-panel .card-body > .tab-content > .tab-pane {
  padding: 1rem;
}

.adminlte-panel .form-horizontal {
  max-width: 100%;
}

.adminlte-panel .form-horizontal .form-group > [class*="col-"] {
  min-width: 0;
}

.adminlte-panel .form-horizontal .form-group > .control-label[class*="col-"] {
  display: block;
  padding-top: .45rem;
}

.adminlte-panel .form-horizontal .form-group > div[class*="col-"],
.adminlte-panel .form-horizontal .form-group > .col-md-9,
.adminlte-panel .form-horizontal .form-group > .col-md-8,
.adminlte-panel .form-horizontal .form-group > .col-md-6 {
  flex: 1 1 320px;
}

.adminlte-panel .select2,
.adminlte-panel select.select2,
.adminlte-panel input[type="text"],
.adminlte-panel input[type="email"],
.adminlte-panel input[type="password"],
.adminlte-panel input[type="number"],
.adminlte-panel input[type="url"] {
  max-width: 100%;
}

.adminlte-panel .table-admin-wrap {
  width: 100%;
  overflow-x: auto;
}

.adminlte-panel .table-admin-wrap > table {
  margin-bottom: 0;
}

.adminlte-panel .card-header .nav-tabs {
  margin: -.75rem -1rem 0;
}

.adminlte-panel .check_smtp,
.adminlte-panel .comment_item,
.adminlte-panel .settings-section {
  background: #fff;
  border-color: var(--admin-card-border) !important;
}

@media (max-width: 767.98px) {
  .adminlte-panel .form-horizontal .form-group {
    display: block;
  }

  .adminlte-panel .form-horizontal .form-group > .control-label[class*="col-"] {
    padding-top: 0;
  }
}


/* Full AdminLTE visual reset for legacy pages */
.adminlte-panel {
  --legacy-accent: var(--bs-primary);
}

.adminlte-panel .app-content {
  background: var(--bs-tertiary-bg);
}

.adminlte-panel .section,
.adminlte-panel .section-body,
.adminlte-panel .row > .col-md-12 > .adminlte-card,
.adminlte-panel .row > .col-md-12 > .card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.adminlte-panel .adminlte-card.card,
.adminlte-panel .row > .col-md-12 > .card.adminlte-card,
.adminlte-panel .card:not(.admin-content-card):not(.admin-report-card):not(.small-box) {
  border: 1px solid var(--admin-card-border);
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 .125rem .5rem rgba(15, 23, 42, .06);
}

.adminlte-panel .adminlte-card > .admin-card-header,
.adminlte-panel .card > .admin-card-header,
.adminlte-panel .page_title_block {
  background: #fff !important;
  border: 0;
  border-bottom: 1px solid var(--admin-card-border);
  border-radius: .5rem .5rem 0 0;
  color: #212529;
}

.adminlte-panel .page_title,
.adminlte-panel .admin-card-title,
.adminlte-panel .card-title {
  color: #212529 !important;
  font-family: var(--bs-body-font-family);
  letter-spacing: 0;
}

.adminlte-panel a > h4.float-start,
.adminlte-panel .btn_back h4,
.adminlte-panel .btn-back,
.adminlte-panel a.btn-back {
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  min-height: 34px;
  margin: 0 0 .9rem !important;
  padding: .35rem .65rem;
  border: 1px solid var(--bs-border-color);
  border-radius: .375rem;
  background: #fff;
  color: var(--bs-primary) !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 .075rem .25rem rgba(15,23,42,.04);
}

.adminlte-panel a:has(> h4.float-start) {
  text-decoration: none;
}

.adminlte-panel .btn_cust,
.adminlte-panel a.btn_cust,
.adminlte-panel input[type="submit"],
.adminlte-panel button[type="submit"]:not(.btn),
.adminlte-panel .btn_save,
.adminlte-panel .btn_submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .45rem .85rem;
  border: 1px solid var(--bs-primary);
  border-radius: .375rem;
  background: var(--bs-primary);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
}

.adminlte-panel .btn_cust:hover,
.adminlte-panel a.btn_cust:hover,
.adminlte-panel input[type="submit"]:hover,
.adminlte-panel button[type="submit"]:not(.btn):hover {
  background: #0b5ed7;
  border-color: #0a58ca;
  color: #fff !important;
}

.adminlte-panel .form-group {
  width: 100%;
}

.adminlte-panel .form-group:before,
.adminlte-panel .form-group:after,
.adminlte-panel .clearfix:before,
.adminlte-panel .clearfix:after {
  display: none;
}

.adminlte-panel .form-control,
.adminlte-panel .form-select,
.adminlte-panel .select2,
.adminlte-panel select,
.adminlte-panel textarea,
.adminlte-panel input[type="text"],
.adminlte-panel input[type="email"],
.adminlte-panel input[type="password"],
.adminlte-panel input[type="number"],
.adminlte-panel input[type="url"],
.adminlte-panel input[type="file"] {
  min-height: 38px;
  border: 1px solid var(--bs-border-color);
  border-radius: .375rem !important;
  background-color: #fff;
  color: #212529;
  box-shadow: none;
}

.adminlte-panel input[type="file"] {
  padding: .35rem .65rem;
}

.adminlte-panel textarea.form-control,
.adminlte-panel textarea {
  min-height: 110px;
}

.adminlte-panel .control-label,
.adminlte-panel label {
  color: #343a40;
}

.adminlte-panel .control-label span[style*="red"],
.adminlte-panel span[style*="color: red"],
.adminlte-panel span[style*="color:red"] {
  color: var(--bs-danger) !important;
}

.adminlte-panel p[style*="color:red"],
.adminlte-panel p[style*="color: red"],
.adminlte-panel .control-label-help {
  color: var(--bs-secondary-color) !important;
}

.adminlte-panel .table {
  --bs-table-bg: #fff;
  --bs-table-striped-bg: #f8f9fa;
  --bs-table-hover-bg: #f1f5f9;
  vertical-align: middle;
}

.adminlte-panel .table thead th,
.adminlte-panel table.dataTable thead th {
  border-bottom: 1px solid var(--admin-card-border);
  background: #f8f9fa;
  color: #495057;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.adminlte-panel .table td,
.adminlte-panel .table th {
  padding: .75rem;
}

.adminlte-panel .pagination_item_block {
  display: flex;
  justify-content: flex-end;
  padding: .75rem 0;
}

.adminlte-panel .pagination,
.adminlte-panel .pagination_item_block ul {
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.adminlte-panel .pagination a,
.adminlte-panel .pagination span,
.adminlte-panel .pagination_item_block a,
.adminlte-panel .pagination_item_block span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: .25rem .55rem;
  border: 1px solid var(--bs-border-color);
  border-radius: .375rem;
  background: #fff;
  color: var(--bs-primary);
  text-decoration: none;
}

.adminlte-panel .pagination .active a,
.adminlte-panel .pagination .active span,
.adminlte-panel .pagination_item_block .active a,
.adminlte-panel .pagination_item_block .active span {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.adminlte-panel .notifyjs-bootstrap-base,
.adminlte-panel .notifyjs-bootstrap-error,
.adminlte-panel .notifyjs-bootstrap-success,
.adminlte-panel .notifyjs-bootstrap-info,
.adminlte-panel .notifyjs-bootstrap-warn {
  border-radius: .5rem !important;
  border: 1px solid var(--admin-card-border) !important;
  background-image: none !important;
  box-shadow: 0 .5rem 1.5rem rgba(15,23,42,.14);
  font-family: var(--bs-body-font-family);
}

.adminlte-panel .dlg-wrapper .dlg-content,
.duDialog .dlg-content,
.dlg-content {
  border-radius: .5rem !important;
  box-shadow: 0 1rem 2.25rem rgba(15,23,42,.18) !important;
  font-family: var(--bs-body-font-family);
}

.adminlte-panel .large-ads-item,
.adminlte-panel .memes_item ul,
.adminlte-panel ul.large-ads-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.adminlte-panel .large-ads-item li,
.adminlte-panel .showmsg {
  display: block;
  padding: .85rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .5rem;
  background: #f8f9fa;
  color: #212529;
}

.adminlte-panel .tooltip,
.adminlte-panel [class*="tooltip"] {
  font-family: var(--bs-body-font-family);
}

.adminlte-panel .text-right {
  text-align: right !important;
}

.adminlte-panel .float-start[style],
.adminlte-panel h4[style],
.adminlte-panel div[style*="background"],
.adminlte-panel div[style*="border"] {
  letter-spacing: 0;
}


/* Compact AdminLTE pass */
.adminlte-panel .app-content {
  padding-top: .75rem;
}

.adminlte-panel .app-content-header {
  display: none !important;
}

.adminlte-panel .card,
.adminlte-panel .small-box {
  border-radius: .375rem;
}

.adminlte-panel .card-body {
  padding: .85rem;
}

.adminlte-panel .card-header,
.adminlte-panel .admin-card-header,
.adminlte-panel .page_title_block {
  min-height: 48px;
  padding: .65rem .85rem;
}

.adminlte-panel .card-title,
.adminlte-panel .admin-card-title,
.adminlte-panel .page_title {
  font-size: .95rem;
}

.adminlte-panel .small-box .inner {
  padding: .8rem;
}

.adminlte-panel .small-box h3 {
  font-size: 1.55rem;
  margin: 0 0 .2rem;
}

.adminlte-panel .small-box p {
  font-size: .86rem;
}

.adminlte-panel .small-box .small-box-icon {
  font-size: 2.25rem;
}

.adminlte-panel .form-control,
.adminlte-panel .form-select,
.adminlte-panel .select2,
.adminlte-panel select,
.adminlte-panel input[type="text"],
.adminlte-panel input[type="email"],
.adminlte-panel input[type="password"],
.adminlte-panel input[type="number"],
.adminlte-panel input[type="url"],
.adminlte-panel input[type="file"] {
  min-height: 34px;
  padding-top: .35rem;
  padding-bottom: .35rem;
  font-size: .9rem;
}

.adminlte-panel .btn,
.adminlte-panel .btn_cust,
.adminlte-panel a.btn_cust,
.adminlte-panel input[type="submit"],
.adminlte-panel button[type="submit"]:not(.btn) {
  min-height: 34px;
  padding: .35rem .65rem;
  font-size: .875rem;
}

.adminlte-panel a > h4.float-start,
.adminlte-panel .btn_back,
.adminlte-panel .btn_back h4,
.adminlte-panel .btn-back,
.adminlte-panel a.btn-back {
  display: none !important;
}

.adminlte-panel .form-horizontal .form-group,
.adminlte-panel .admin-form .form-group {
  margin-bottom: .75rem;
}

.adminlte-panel .control-label {
  font-size: .88rem;
}

.adminlte-panel .table td,
.adminlte-panel .table th {
  padding: .55rem .65rem;
  font-size: .9rem;
}

.adminlte-panel .nav-tabs > li > a,
.adminlte-panel .nav-tabs .nav-link {
  min-height: 34px;
  padding: .4rem .65rem;
  font-size: .875rem;
}

.adminlte-panel .nav-treeview {
  display: none;
}

.adminlte-panel .menu-open > .nav-treeview {
  display: block !important;
}


/* AdminLTE dense CRUD and dashboard sizing */
.adminlte-panel .row.g-3 {
  --bs-gutter-x: .75rem;
  --bs-gutter-y: .75rem;
}

.adminlte-panel .row.g-2 {
  --bs-gutter-x: .6rem;
  --bs-gutter-y: .6rem;
}

.adminlte-panel .admin-report-card,
.adminlte-panel .admin-content-card {
  box-shadow: 0 .075rem .35rem rgba(15,23,42,.055);
}

.adminlte-panel .admin-content-card:not(.admin-paper-card):not(.admin-subject-card):not(.admin-topic-card):not(.admin-year-card) .card-img-top {
  height: 82px;
  aspect-ratio: auto;
  object-fit: cover;
}

.adminlte-panel .admin-slider-card .card-img-top {
  height: 110px;
}

.adminlte-panel .admin-content-card.admin-paper-card .card-img-top {
  height: 150px;
  aspect-ratio: auto;
  object-fit: cover;
}

.adminlte-panel .admin-content-card .card-body {
  padding: .55rem .6rem;
}

.adminlte-panel .admin-content-card .card-footer {
  padding: .45rem .55rem;
}

.adminlte-panel .admin-content-title {
  font-size: .86rem;
  line-height: 1.25;
}

.adminlte-panel .admin-content-card .small,
.adminlte-panel .admin-content-card .badge {
  font-size: .72rem;
}

.adminlte-panel .admin-content-card .btn,
.adminlte-panel .card-footer .btn {
  min-width: 30px;
  min-height: 30px;
  padding: .25rem .45rem;
}

.adminlte-panel .admin-content-card .form-switch .form-check-input {
  width: 2rem;
  height: 1rem;
}

.adminlte-panel .small-box {
  min-height: 92px;
  overflow: hidden;
}

.adminlte-panel .small-box .inner {
  padding: .65rem .75rem;
}

.adminlte-panel .small-box h3 {
  font-size: 1.35rem;
}

.adminlte-panel .small-box p {
  font-size: .8rem;
}

.adminlte-panel .small-box .small-box-icon {
  right: .65rem;
  top: .45rem;
  font-size: 2rem;
}

.adminlte-panel .small-box-footer {
  padding: .25rem .5rem;
  font-size: .78rem;
}

.admin-bar-chart {
  height: 150px;
  gap: .45rem;
}

.admin-bar-track {
  height: 130px;
}

.admin-kpi-row {
  padding: .55rem 0;
  font-size: .88rem;
}

.admin-report-list .list-group-item {
  min-height: 48px;
  padding: .45rem .65rem;
}

.admin-report-list img {
  width: 34px;
  height: 34px;
}

.admin-report-title {
  font-size: .85rem;
}

.adminlte-panel .adminlte-card > .card-body,
.adminlte-panel .adminlte-card .card-body.mrg_bottom {
  padding: .75rem;
}

.adminlte-panel .section-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: .6rem .9rem;
}

.adminlte-panel .section-body > br,
.adminlte-panel .section-body > .form-group:empty,
.adminlte-panel .section-body > .form-group:has(> label:empty),
.adminlte-panel .section-body > .form-group:has(> label > :only-child:empty) {
  display: none !important;
}

.adminlte-panel .section-body .form-group {
  display: grid;
  grid-template-columns: minmax(120px, 34%) minmax(0, 1fr);
  gap: .35rem .65rem;
  align-items: start;
  margin: 0;
}

.adminlte-panel .section-body .form-group > .control-label,
.adminlte-panel .section-body .form-group > label.control-label {
  width: auto;
  padding: .35rem 0 0;
  margin: 0;
  font-size: .82rem;
  line-height: 1.25;
}

.adminlte-panel .section-body .form-group > div[class*="col-"],
.adminlte-panel .section-body .form-group > .col-md-9,
.adminlte-panel .section-body .form-group > .col-md-8,
.adminlte-panel .section-body .form-group > .col-md-6 {
  width: auto;
  max-width: none;
  padding: 0;
}

.adminlte-panel .section-body .form-group:has(textarea),
.adminlte-panel .section-body .form-group:has(.admin-richtext-wrapper),
.adminlte-panel .section-body .form-group:has(.fileupload_block),
.adminlte-panel .section-body .form-group:has(input[type="file"]),
.adminlte-panel .section-body .form-group:has(.col-md-9.offset-md-3) {
  grid-column: 1 / -1;
}

.adminlte-panel .section-body .form-group:has(textarea),
.adminlte-panel .section-body .form-group:has(.admin-richtext-wrapper) {
  grid-template-columns: minmax(120px, 17%) minmax(0, 1fr);
}

.adminlte-panel .section-body textarea {
  min-height: 84px;
}

.adminlte-panel .admin-richtext-wrapper .ql-editor {
  min-height: 135px;
}

.adminlte-panel .fileupload_block,
.adminlte-panel .fileupload_img {
  max-width: 210px;
}

.adminlte-panel .fileupload_img img {
  max-height: 120px;
  object-fit: cover;
}

.adminlte-panel .section-body .offset-md-3 {
  margin-left: 0;
}

.adminlte-panel .section-body .form-group:has(.offset-md-3) {
  display: flex;
  justify-content: flex-end;
}

.adminlte-panel .section-body .form-group:has(.offset-md-3) > div {
  flex: 0 1 auto;
}

.adminlte-panel .table {
  font-size: .84rem;
}

.adminlte-panel .table td,
.adminlte-panel .table th {
  padding: .42rem .55rem;
}

.adminlte-panel .table .btn,
.adminlte-panel .btn_cust {
  min-width: 29px;
  min-height: 29px;
  padding: .22rem .42rem !important;
}

.adminlte-panel .hidden.cbx {
  width: 2rem;
  height: 1rem;
}

@media (max-width: 991.98px) {
  .adminlte-panel .admin-smtp-provider-grid,
  .adminlte-panel .admin-settings-tab-content .section-body > .form-group,
  .adminlte-panel .admin-smtp-form .form-group,
  .adminlte-panel .admin-user-form-card .form-group {
    grid-template-columns: 1fr;
  }

  .adminlte-panel .admin-settings-tab-content .section-body > .form-group > .control-label,
  .adminlte-panel .admin-settings-tab-content .section-body > .form-group > label[class*="col-"],
  .adminlte-panel .admin-settings-tab-content .section-body > .form-group > div[class*="col-"],
  .adminlte-panel .admin-settings-tab-content .section-body > .form-group > .col-md-6,
  .adminlte-panel .admin-settings-tab-content .section-body > .form-group > .col-md-8,
  .adminlte-panel .admin-settings-tab-content .section-body > .form-group > .col-md-9,
  .adminlte-panel .admin-settings-tab-content .section-body > .form-group > .offset-md-3,
  .adminlte-panel .admin-user-form-card .form-group > .control-label,
  .adminlte-panel .admin-user-form-card .form-group > label[class*="col-"],
  .adminlte-panel .admin-user-form-card .form-group > div[class*="col-"],
  .adminlte-panel .admin-user-form-card .form-group > .col-md-6,
  .adminlte-panel .admin-user-form-card .form-group > .col-md-9,
  .adminlte-panel .admin-user-form-card .form-group > .offset-md-3 {
    grid-column: 1;
  }

  .adminlte-panel .section-body {
    grid-template-columns: 1fr;
  }

  .adminlte-panel .section-body .form-group,
  .adminlte-panel .section-body .form-group:has(textarea),
  .adminlte-panel .section-body .form-group:has(.admin-richtext-wrapper) {
    grid-template-columns: 1fr;
  }
}


/* Production polish for legacy AdminLTE pages */
.adminlte-panel .nav-tabs {
  gap: .35rem;
  padding: .65rem .75rem 0;
  border-bottom: 1px solid var(--admin-card-border);
  background: #fff;
}

.adminlte-panel .nav-tabs .nav-link {
  border: 0;
  border-radius: .375rem .375rem 0 0;
  color: #495057;
  font-size: .84rem;
  font-weight: 600;
  padding: .45rem .7rem;
}

.adminlte-panel .nav-tabs .nav-link:hover {
  background: #f1f3f5;
}

.adminlte-panel .nav-tabs .nav-link.active,
.adminlte-panel .nav-tabs li.active > .nav-link,
.adminlte-panel .nav-tabs li.active > a {
  background: var(--bs-primary);
  color: #fff;
}

.adminlte-panel .tab-content {
  padding: .9rem;
  background: #fff;
}

.adminlte-panel .tab-content > .tab-pane:not(.active) {
  display: none !important;
}

.adminlte-panel .tab-content > .tab-pane.active {
  display: block !important;
  opacity: 1;
}

.adminlte-panel .tab-pane {
  padding-top: .15rem;
}

.adminlte-panel .admin-settings-card {
  overflow: hidden;
}

.adminlte-panel .adminlte-card > .card-body > .nav-tabs {
  margin: -.85rem -.85rem 0;
  padding: .75rem;
  border-bottom: 1px solid var(--admin-card-border);
  background: #fff;
}

.adminlte-panel .adminlte-card > .card-body > .tab-content {
  margin: 0 -.85rem -.85rem;
  padding: .85rem;
  background: #f4f6f9;
}

.adminlte-panel .adminlte-card > .card-body > .tab-content > .tab-pane {
  padding: .95rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 .075rem .35rem rgba(15, 23, 42, .055);
}

.adminlte-panel .admin-settings-tabs {
  background: #f4f6f9;
}

.adminlte-panel .admin-settings-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  padding: .75rem;
  border-bottom: 1px solid var(--admin-card-border);
  background: #fff;
}

.adminlte-panel .admin-settings-nav > li {
  margin: 0;
}

.adminlte-panel .admin-settings-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 34px;
  padding: .42rem .7rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .45rem;
  background: #f8f9fa;
  color: #495057;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}

.adminlte-panel .admin-settings-nav > li > a:hover {
  background: #eef4ff;
  border-color: rgba(13, 110, 253, .25);
  color: var(--bs-primary);
}

.adminlte-panel .admin-settings-nav > li.active > a,
.adminlte-panel .admin-settings-nav > li > a.active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.adminlte-panel .admin-settings-tab-shell {
  margin: 0;
  padding: .85rem;
  background: #f4f6f9;
}

.adminlte-panel .admin-settings-tab-content {
  padding: 0;
  background: transparent;
}

.adminlte-panel .admin-settings-tab-content > .tab-pane {
  padding: .95rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 .075rem .35rem rgba(15, 23, 42, .055);
}

.adminlte-panel :is(#admob_settings, #api_settings) > form {
  margin-top: .9rem;
  padding: .95rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 .075rem .35rem rgba(15, 23, 42, .055);
}

.adminlte-panel :is(#admob_settings, #api_settings) > form:first-of-type {
  margin-top: .65rem;
}

.adminlte-panel .admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
  margin-bottom: .9rem;
}

.adminlte-panel .admin-field {
  min-width: 0;
}

.adminlte-panel .admin-field > label {
  display: block;
  margin-bottom: .35rem;
  color: #495057;
  font-size: .82rem;
  font-weight: 700;
}

.adminlte-panel .admin-settings-tab-content .section,
.adminlte-panel .admin-settings-tab-content .section-body {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.adminlte-panel .admin-settings-tab-content .section-body {
  display: block;
}

.adminlte-panel .admin-settings-tab-content .section-body > .form-group,
.adminlte-panel .admin-smtp-form .form-group {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
  gap: .45rem .9rem;
  align-items: start;
}

.adminlte-panel .admin-settings-tab-content .section-body > .form-group > .control-label,
.adminlte-panel .admin-settings-tab-content .section-body > .form-group > label[class*="col-"] {
  grid-column: 1;
  width: auto;
  padding: .25rem 0 0;
}

.adminlte-panel .admin-settings-tab-content .section-body > .form-group > div[class*="col-"],
.adminlte-panel .admin-settings-tab-content .section-body > .form-group > .col-md-6,
.adminlte-panel .admin-settings-tab-content .section-body > .form-group > .col-md-8,
.adminlte-panel .admin-settings-tab-content .section-body > .form-group > .col-md-9,
.adminlte-panel .admin-settings-tab-content .section-body > .form-group > .offset-md-3 {
  grid-column: 2;
  width: 100%;
  max-width: none;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
}

.adminlte-panel .admin-settings-tab-content .section-body > .form-group > .offset-md-3 {
  display: flex;
  justify-content: flex-start;
}

.adminlte-panel :is(#admob_settings, #ad_settings) .section-body > .row {
  margin-right: 0;
  margin-left: 0;
  row-gap: .85rem;
}

.adminlte-panel :is(#admob_settings, #ad_settings) .section-body > .row > [class*="col-"] {
  padding-right: .4rem;
  padding-left: .4rem;
}

.adminlte-panel :is(#admob_settings, #ad_settings) .form-group {
  display: block;
  margin-bottom: .8rem;
}

.adminlte-panel :is(#admob_settings, #ad_settings) .form-group > label[class*="col-"],
.adminlte-panel :is(#admob_settings, #ad_settings) .form-group > .control-label,
.adminlte-panel :is(#admob_settings, #ad_settings) .form-group > p.field_lable {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 .35rem;
  padding: 0;
  color: #495057;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
}

.adminlte-panel :is(#admob_settings, #ad_settings) .form-group > div[class*="col-"] {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: 0;
  padding-left: 0;
}

.adminlte-panel :is(#admob_settings, #ad_settings) :is(.banner_ads_block, .interstital_ads_block, .video_setting_item) {
  height: 100%;
  margin: 0 0 .85rem;
  padding: .9rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .55rem;
  background: #f8f9fa;
  box-shadow: 0 .05rem .25rem rgba(15, 23, 42, .04);
}

.adminlte-panel :is(#admob_settings, #ad_settings) :is(.banner_ad_item, .interstital_ad_item) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 .75rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--admin-card-border);
}

.adminlte-panel :is(#admob_settings, #ad_settings) :is(.banner_ad_item, .interstital_ad_item) > .control-label {
  margin: 0;
  color: #212529;
  font-size: .9rem;
  font-weight: 700;
}

.adminlte-panel :is(#admob_settings, #ad_settings) .toggle_btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 !important;
  min-height: 28px;
}

.adminlte-panel :is(#admob_settings, #ad_settings) .field_lable {
  margin: 0 0 .35rem;
  padding-left: 0 !important;
  color: #6c757d;
  font-size: .78rem;
  line-height: 1.35;
}

.adminlte-panel :is(#admob_settings, #ad_settings) .alert {
  border-radius: .55rem;
}

.adminlte-panel #api_settings .section-body > .row {
  margin-right: 0;
  margin-left: 0;
  row-gap: .75rem;
}

.adminlte-panel #api_settings .section-body > .row > [class*="col-"]:has(> label) {
  display: grid;
  grid-template-columns: minmax(8.5rem, 42%) minmax(0, 1fr);
  gap: .5rem .75rem;
  align-items: center;
  margin-bottom: 0;
  padding: .75rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .55rem;
  background: #f8f9fa;
}

.adminlte-panel #api_settings .section-body > .row > [class*="col-"]:has(> label) > label[class*="col-"],
.adminlte-panel #api_settings .section-body > .row > [class*="col-"]:has(> label) > div[class*="col-"] {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.adminlte-panel #api_settings .section-body > .row > [class*="offset-"] {
  width: 100%;
  margin-left: 0;
  padding: .35rem .4rem 0;
}

.adminlte-panel #api_settings .section-body > .form-group {
  padding: .75rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .55rem;
  background: #f8f9fa;
}

.adminlte-panel #api_settings .section-body > .form-group:has(button) {
  padding: .35rem 0 0;
  border: 0;
  background: transparent;
}

.adminlte-panel .admin-settings-section-card {
  padding: .95rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 .075rem .35rem rgba(15, 23, 42, .055);
}

.adminlte-panel .admin-settings-section-card + .admin-settings-section-card,
.adminlte-panel .admin-settings-section-card + .admin-form-actions {
  margin-top: .85rem;
}

.adminlte-panel .admin-settings-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--admin-card-border);
}

.adminlte-panel .admin-settings-section-head h4 {
  margin: 0;
  color: #0f172a;
  font-size: .95rem;
  font-weight: 800;
}

.adminlte-panel .admin-settings-section-head p {
  margin: .15rem 0 0;
  color: #64748b;
  font-size: .8rem;
}

.adminlte-panel .admin-smtp-card .card-body {
  background: #f4f6f9;
}

.adminlte-panel .admin-smtp-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.adminlte-panel .admin-smtp-provider {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  margin: 0;
  padding: .85rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .6rem;
  background: #f8f9fa;
  cursor: pointer;
}

.adminlte-panel .admin-smtp-provider.is-active {
  border-color: rgba(13, 110, 253, .45);
  background: #eef4ff;
}

.adminlte-panel .admin-smtp-provider input {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.adminlte-panel .admin-smtp-provider-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .5rem;
  background: #fff;
  color: var(--bs-primary);
  box-shadow: 0 0 0 1px rgba(13, 110, 253, .12);
}

.adminlte-panel .admin-smtp-provider strong,
.adminlte-panel .admin-smtp-provider small {
  display: block;
}

.adminlte-panel .admin-smtp-provider strong {
  color: #0f172a;
  font-size: .9rem;
}

.adminlte-panel .admin-smtp-provider small {
  color: #64748b;
  font-size: .75rem;
  line-height: 1.35;
}

.adminlte-panel .admin-form-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: .2rem;
}

.adminlte-panel .admin-notification-card .admin-notification-tabs-header {
  padding: 0;
  background: #fff;
}

.adminlte-panel .admin-notification-card .admin-settings-nav {
  border-bottom: 0;
}

.adminlte-panel .admin-notification-body {
  padding: .85rem;
  background: #f4f6f9;
}

.adminlte-panel .admin-notification-tab-content {
  padding: 0;
  background: transparent;
}

.adminlte-panel .admin-notification-tab-content > .tab-pane {
  padding: .95rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 .075rem .35rem rgba(15, 23, 42, .055);
}

.adminlte-panel .admin-contact-card .admin-settings-tab-shell {
  padding: .85rem;
}

.adminlte-panel .admin-contact-tab-content > .tab-pane {
  padding: .95rem;
}

.adminlte-panel .admin-tab-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  margin-bottom: .75rem;
}

.adminlte-panel .admin-table-card {
  border: 1px solid var(--admin-card-border);
  border-radius: .55rem;
  background: #fff;
  overflow: hidden;
}

.adminlte-panel .admin-table-card .table {
  margin-bottom: 0;
}

.adminlte-panel .admin-table-card .table thead th {
  border-top: 0;
}

.adminlte-panel .admin-reports-table .table {
  min-width: 920px;
}

.adminlte-panel .admin-report-paper {
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.adminlte-panel .admin-report-message {
  max-width: 320px;
  color: #495057;
  font-size: .82rem;
  line-height: 1.45;
  word-break: break-word;
}

.adminlte-panel .admin-text-nowrap {
  white-space: nowrap;
}

.adminlte-panel .admin-list-card .card-body {
  background: #f8fafc;
}

.adminlte-panel .admin-list-card .card-footer {
  border-top: 1px solid var(--admin-card-border);
}

.adminlte-panel .admin-row-warning > * {
  background: #fff7ed !important;
}

.adminlte-panel .admin-user-form-card .card-body {
  background: #f4f6f9;
}

.adminlte-panel .admin-user-form-card .section-body {
  display: block;
  padding: 0;
  background: transparent;
}

.adminlte-panel .admin-user-form-card .form-group {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
  gap: .45rem .9rem;
  align-items: start;
  margin-bottom: .8rem;
}

.adminlte-panel .admin-user-form-card .form-group > .control-label,
.adminlte-panel .admin-user-form-card .form-group > label[class*="col-"] {
  grid-column: 1;
  width: auto;
  padding: .25rem 0 0;
}

.adminlte-panel .admin-user-form-card .form-group > div[class*="col-"],
.adminlte-panel .admin-user-form-card .form-group > .col-md-6,
.adminlte-panel .admin-user-form-card .form-group > .col-md-9,
.adminlte-panel .admin-user-form-card .form-group > .offset-md-3 {
  grid-column: 2;
  width: 100%;
  max-width: none;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
}

.adminlte-panel .admin-user-form-card .form-group > .offset-md-3 {
  display: flex;
  justify-content: flex-start;
}

.adminlte-panel .admin-user-profile-tabs .admin-settings-nav {
  border-bottom: 0;
}

@media (max-width: 991.98px) {
  .adminlte-panel .admin-user-form-card .form-group {
    grid-template-columns: 1fr;
  }

  .adminlte-panel .admin-user-form-card .form-group > .control-label,
  .adminlte-panel .admin-user-form-card .form-group > label[class*="col-"],
  .adminlte-panel .admin-user-form-card .form-group > div[class*="col-"],
  .adminlte-panel .admin-user-form-card .form-group > .col-md-6,
  .adminlte-panel .admin-user-form-card .form-group > .col-md-9,
  .adminlte-panel .admin-user-form-card .form-group > .offset-md-3 {
    grid-column: 1;
  }
}

.adminlte-panel .adminlte-card > .card-body[style*="padding: 0px"],
.adminlte-panel .adminlte-card > .card-body[style*="padding:0px"] {
  padding: 0 !important;
}

.adminlte-panel .adminlte-card > .col-md-12,
.adminlte-panel .adminlte-card > .col-12,
.adminlte-panel .adminlte-card > .mrg-top {
  padding: .85rem;
}

.adminlte-panel .datatable,
.adminlte-panel table.table-bordered {
  border: 0;
}

.adminlte-panel table.table-bordered > :not(caption) > * > * {
  border-width: 0 0 1px;
}

.adminlte-panel .table thead th {
  background: #f8f9fa;
  color: #495057;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.adminlte-panel .table tbody tr:hover {
  background: #f8fbff;
}

.adminlte-panel .actions,
.adminlte-panel .admin-search-form {
  margin-bottom: .65rem;
}

.adminlte-panel .admin-search-form {
  display: inline-flex;
  align-items: stretch;
  gap: .35rem;
}

.adminlte-panel .dropdown .btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.adminlte-panel .dropdown-menu {
  border-radius: .5rem;
  border-color: var(--admin-card-border);
  box-shadow: 0 .5rem 1rem rgba(15, 23, 42, .12);
}

.adminlte-panel .dropdown-menu > li > a,
.adminlte-panel .dropdown-menu .dropdown-item {
  display: block;
  padding: .45rem .75rem;
  color: #212529;
  text-decoration: none;
}

.adminlte-panel .dropdown-menu > li > a:hover {
  background: #f1f3f5;
}

.adminlte-panel .admin-slider-card .card-img-top {
  height: 128px;
}

.adminlte-panel .admin-slider-card {
  overflow: hidden;
}

.adminlte-panel .admin-slider-card .card-body {
  min-height: 82px;
}

.adminlte-panel .admin-slider-card .card-footer {
  background: #fff;
}

.adminlte-panel .app-content .row > [class*="col-"] > .adminlte-card.card,
.adminlte-panel .app-content > .container-fluid > .row > [class*="col-"] > .card {
  border: 1px solid var(--admin-card-border);
}

.adminlte-panel .float-start[style*="color: #e91e63"],
.adminlte-panel h4.float-start {
  display: none !important;
}

.adminlte-panel .form-group label:not(.form-check-label),
.adminlte-panel .section label:not(.form-check-label) {
  font-size: .83rem;
}

.adminlte-panel .form-control,
.adminlte-panel .form-select,
.adminlte-panel select {
  min-height: 34px;
  font-size: .875rem;
}

.adminlte-panel textarea.form-control {
  min-height: 92px;
}

.adminlte-panel .alert {
  border-radius: .5rem;
  margin: .75rem;
}

.adminlte-panel .modal-content {
  border: 0;
  border-radius: .65rem;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, .2);
}

.adminlte-panel .modal-body {
  padding: 1rem;
}

@media (max-width: 767.98px) {
  .adminlte-panel .admin-card-header {
    align-items: flex-start;
  }

  .adminlte-panel .admin-card-tools,
  .adminlte-panel .search_list,
  .adminlte-panel .admin-search-form {
    width: 100%;
  }

  .adminlte-panel .admin-search-form .form-control {
    flex: 1;
  }
}


/* CRUD form polish */
.adminlte-panel .adminlte-card .section,
.adminlte-panel .admin-report-card .section {
  margin: 0;
}

.adminlte-panel .adminlte-card .section-body,
.adminlte-panel .admin-report-card .section-body {
  background: #fff;
}

.adminlte-panel .admin-form .section-body .form-group,
.adminlte-panel .form-horizontal .section-body .form-group {
  min-height: 38px;
  padding: .15rem 0;
}

.adminlte-panel .admin-form input[type="file"].form-control,
.adminlte-panel .admin-form input[type="file"] {
  padding: .35rem;
  background: #f8f9fa;
}

.adminlte-panel .admin-form .btn,
.adminlte-panel .form-horizontal .btn {
  border-radius: .375rem;
}

.adminlte-panel .admin-form .btn-primary,
.adminlte-panel .form-horizontal .btn-primary {
  min-width: 112px;
}

.adminlte-panel .admin-form .select2-container,
.adminlte-panel .form-horizontal .select2-container {
  max-width: 100%;
}

.adminlte-panel .admin-form .note-editor,
.adminlte-panel .admin-form .ql-toolbar,
.adminlte-panel .admin-form .ql-container {
  border-color: #dee2e6;
}

.adminlte-panel .admin-form .control-label::after,
.adminlte-panel .form-horizontal .control-label::after {
  content: "";
}

.adminlte-panel .admin-form .form-group:has(button[type="submit"]),
.adminlte-panel .form-horizontal .form-group:has(button[type="submit"]) {
  margin-top: .25rem;
  padding-top: .75rem;
  border-top: 1px solid var(--admin-card-border);
}

.adminlte-panel .admin-form .form-group:has(button[type="submit"]) .btn,
.adminlte-panel .form-horizontal .form-group:has(button[type="submit"]) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

.adminlte-panel .admin-dashboard-analytics .admin-heatmap-wrap {
  margin-top: .25rem;
}

.adminlte-panel .admin-country-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .35rem .65rem;
  align-items: center;
  min-height: 64px;
  padding: .65rem .75rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .5rem;
  background: #fff;
}

.adminlte-panel .admin-country-card strong {
  display: block;
  font-size: .88rem;
  line-height: 1.2;
}

.adminlte-panel .admin-country-card small {
  display: block;
  margin-top: .15rem;
  color: var(--admin-muted);
  font-size: .74rem;
}

.adminlte-panel .admin-country-card > span {
  font-weight: 700;
  color: #212529;
}

.adminlte-panel .admin-country-card .progress {
  grid-column: 1 / -1;
  height: .35rem;
}


/* Global admin search */
.admin-global-search {
  position: relative;
  width: min(440px, 42vw);
}

.admin-global-search .input-group-text,
.admin-global-search .form-control,
.admin-global-search .btn {
  border-color: #dee2e6;
}

.admin-global-search .form-control {
  min-height: 32px;
}

.admin-global-search-results {
  display: none;
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  z-index: 1080;
  width: min(520px, 90vw);
  max-height: 420px;
  overflow: auto;
  padding: .35rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .55rem;
  background: #fff;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, .18);
}

.admin-global-search-results.show {
  display: block;
}

.admin-global-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .6rem .7rem;
  border-radius: .45rem;
  color: #212529;
  text-decoration: none;
}

.admin-global-search-item:hover {
  background: #f1f5ff;
  color: #0d6efd;
}

.admin-global-search-item strong,
.admin-global-search-item small {
  display: block;
}

.admin-global-search-item strong {
  font-size: .88rem;
  line-height: 1.2;
}

.admin-global-search-item small,
.admin-global-search-empty {
  color: var(--admin-muted);
  font-size: .76rem;
}

.admin-global-search-empty {
  padding: .8rem;
}

@media (max-width: 767.98px) {
  .admin-global-search {
    order: 5;
    width: 100%;
    margin: .45rem 0 0 !important;
  }

  .adminlte-panel .app-header .container-fluid {
    flex-wrap: wrap;
  }
}


/* User study tracking */
.adminlte-panel .user_dashboard_item {
  background: #fff !important;
  color: #212529;
}

.adminlte-panel .user_dashboard_item .badge {
  background: #f8f9fa;
  color: #212529;
  border: 1px solid var(--admin-card-border);
  border-radius: .5rem;
  margin: .2rem;
  padding: .45rem .6rem;
}

.adminlte-panel .user_profile_img img:last-child {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
}


.adminlte-panel .admin-country-chart {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: .75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 1rem;
}

.adminlte-panel .admin-country-chart-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}

.adminlte-panel .admin-country-chart-head > div {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: .65rem;
  padding: .85rem;
  background: #fff;
}

.adminlte-panel .admin-country-chart-head span,
.adminlte-panel .admin-country-chart-head small,
.adminlte-panel .admin-country-name small,
.adminlte-panel .admin-country-count small {
  display: block;
  color: #64748b;
  font-size: .75rem;
}

.adminlte-panel .admin-country-chart-head strong {
  display: block;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: .15rem 0;
}

.adminlte-panel .admin-country-heatmap {
  margin-bottom: 1rem;
}

.adminlte-panel .traffic-map-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.adminlte-panel .traffic-map-toolbar strong {
  display: block;
  color: #0f172a;
  font-size: .95rem;
}

.adminlte-panel .traffic-map-toolbar small,
.adminlte-panel .traffic-map-style span {
  display: block;
  color: #64748b;
  font-size: .75rem;
}

.adminlte-panel .traffic-map-style {
  min-width: 11rem;
  margin: 0;
}

.adminlte-panel .traffic-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(16rem, .45fr);
  gap: .85rem;
  align-items: stretch;
}

.adminlte-panel .traffic-map {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: .75rem;
  background: #eef7ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.adminlte-panel .traffic-map[data-map-variant="ocean"] {
  background: #dff5fb;
}

.adminlte-panel .traffic-map[data-map-variant="soft-blue"] {
  background: #eef7ff;
}

.adminlte-panel .traffic-map[data-map-variant="slate"] {
  background: #14202b;
}

.adminlte-panel .traffic-map[data-map-variant="monochrome"],
.adminlte-panel .traffic-map[data-map-variant="outline"] {
  background: #fff;
}

.adminlte-panel .traffic-map-stage {
  position: absolute;
  inset: .5rem;
  transform-origin: center;
  transition: transform .18s ease;
  will-change: transform;
}

.adminlte-panel .traffic-map-stage.is-draggable {
  cursor: grab;
}

.adminlte-panel .traffic-map-stage.is-dragging {
  cursor: grabbing;
  transition: none;
}

.adminlte-panel .traffic-real-map-wrap {
  position: absolute;
  inset: 0;
}

.adminlte-panel .traffic-map-stage .traffic-real-map {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.adminlte-panel .traffic-real-map .traffic-country-hot path {
  fill: var(--traffic-country-fill, #0ea5e9) !important;
  stroke: #fff !important;
  stroke-width: .22 !important;
  cursor: pointer;
  transition: fill .16s ease, stroke .16s ease, opacity .16s ease;
}

.adminlte-panel .traffic-real-map .traffic-country-hot circle {
  display: block !important;
  fill: var(--traffic-country-fill, #0ea5e9) !important;
  stroke: #fff !important;
  stroke-width: .22 !important;
}

.adminlte-panel .traffic-real-map .traffic-country-hot.is-active path,
.adminlte-panel .traffic-real-map .traffic-country-hot.is-active circle {
  fill: #0f172a !important;
  stroke: #fff !important;
}

.adminlte-panel .traffic-map-zoom {
  position: absolute;
  left: .75rem;
  top: .75rem;
  z-index: 4;
  display: grid;
  gap: .35rem;
}

.adminlte-panel .traffic-map-zoom button {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .95);
  color: #0f172a;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 .35rem .9rem rgba(15, 23, 42, .12);
}

.adminlte-panel .traffic-map-zoom button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.adminlte-panel .traffic-map-tooltip {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  z-index: 5;
  max-width: min(22rem, calc(100% - 1.5rem));
  padding: .45rem .6rem;
  border-radius: .45rem;
  background: rgba(15, 23, 42, .92);
  color: #fff;
  font-size: .78rem;
  box-shadow: 0 .6rem 1.4rem rgba(15, 23, 42, .22);
}

.adminlte-panel .traffic-map-tooltip strong {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #fff;
  font-size: .9rem;
  line-height: 1.2;
  margin-bottom: .12rem;
}

.adminlte-panel .traffic-tooltip-flag img,
.adminlte-panel .traffic-country-flag {
  display: block;
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: .2rem;
  background: #eef2f7;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .12);
}

.adminlte-panel .traffic-country-list {
  max-height: 22rem;
  overflow: auto;
  padding-right: .2rem;
}

.adminlte-panel .traffic-country-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.2rem;
  gap: .45rem .6rem;
  align-items: center;
  padding: .5rem;
  border-radius: .6rem;
  border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.adminlte-panel .traffic-country-row.is-active {
  background: #f1f5f9;
  border-color: rgba(14, 165, 233, .25);
  transform: translateX(-2px);
}

.adminlte-panel .traffic-country-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: .45rem;
  color: #0f172a;
  font-weight: 700;
}

.adminlte-panel .traffic-country-name span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adminlte-panel .traffic-country-row .bar-track {
  grid-column: 1 / -1;
  height: .45rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.adminlte-panel .traffic-country-row .bar-fill {
  height: 100%;
  border-radius: inherit;
}

.adminlte-panel .traffic-country-row .bar-fill.green {
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
}

.adminlte-panel .traffic-country-value {
  display: grid;
  justify-items: end;
  color: #64748b;
  line-height: 1.15;
}

.adminlte-panel .traffic-country-value strong {
  color: #0f172a;
  font-size: .95rem;
}

.adminlte-panel .traffic-country-value span {
  font-size: .7rem;
}

.adminlte-panel .admin-country-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: .75rem;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.adminlte-panel .admin-country-map svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 15rem;
}

.adminlte-panel .admin-country-map-bg {
  fill: #eef6ff;
}

.adminlte-panel .admin-country-map-grid {
  fill: none;
  stroke: rgba(37, 99, 235, .12);
  stroke-width: .3;
}

.adminlte-panel .admin-country-land {
  fill: rgba(148, 163, 184, .2);
  stroke: rgba(100, 116, 139, .18);
  stroke-width: .35;
}

.adminlte-panel .admin-country-dot {
  stroke: #fff;
  stroke-width: .55;
  paint-order: stroke fill;
  filter: drop-shadow(0 .35rem .55rem rgba(15, 23, 42, .2));
  transition: opacity .2s ease, transform .2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.adminlte-panel .admin-country-dot:hover {
  opacity: 1;
  transform: scale(1.08);
}

.adminlte-panel .admin-country-dot.heat-1 {
  fill: rgba(14, 165, 233, .46);
}

.adminlte-panel .admin-country-dot.heat-2 {
  fill: rgba(6, 182, 212, .62);
}

.adminlte-panel .admin-country-dot.heat-3 {
  fill: rgba(34, 197, 94, .7);
}

.adminlte-panel .admin-country-dot.heat-4 {
  fill: rgba(245, 158, 11, .78);
}

.adminlte-panel .admin-country-dot.heat-5 {
  fill: rgba(239, 68, 68, .86);
}

.adminlte-panel .admin-country-dot-label {
  fill: #0f172a;
  font-size: 2.25px;
  font-weight: 700;
  text-anchor: middle;
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, .9);
  stroke-width: .8;
}

.adminlte-panel .admin-country-heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem;
  color: #64748b;
  font-size: .75rem;
  margin-top: .55rem;
}

.adminlte-panel .admin-country-heatmap-legend i {
  display: inline-block;
  width: 1.35rem;
  height: .5rem;
  border-radius: 999px;
}

.adminlte-panel .admin-country-heatmap-legend .heat-1 {
  background: rgba(14, 165, 233, .46);
}

.adminlte-panel .admin-country-heatmap-legend .heat-2 {
  background: rgba(6, 182, 212, .62);
}

.adminlte-panel .admin-country-heatmap-legend .heat-3 {
  background: rgba(34, 197, 94, .7);
}

.adminlte-panel .admin-country-heatmap-legend .heat-4 {
  background: rgba(245, 158, 11, .78);
}

.adminlte-panel .admin-country-heatmap-legend .heat-5 {
  background: rgba(239, 68, 68, .86);
}

.adminlte-panel .admin-country-bars {
  display: grid;
  gap: .6rem;
}

.adminlte-panel .admin-country-bar-row {
  display: grid;
  grid-template-columns: 2rem minmax(9rem, 1fr) minmax(10rem, 2fr) 4.75rem;
  align-items: center;
  gap: .75rem;
}

.adminlte-panel .admin-country-rank {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: .8rem;
  font-weight: 700;
}

.adminlte-panel .admin-country-name strong,
.adminlte-panel .admin-country-count strong {
  color: #0f172a;
  font-size: .9rem;
}

.adminlte-panel .admin-country-bar-track {
  position: relative;
  height: .75rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.adminlte-panel .admin-country-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .12) inset;
}

.adminlte-panel .admin-country-count {
  text-align: right;
}

.adminlte-panel .admin-country-empty {
  min-height: 12rem;
  display: grid;
  place-items: center;
  gap: .5rem;
  color: #64748b;
  border: 1px dashed rgba(148, 163, 184, .45);
  border-radius: .75rem;
  background: #f8fafc;
  text-align: center;
  padding: 1.5rem;
}

.adminlte-panel .admin-country-empty i {
  font-size: 2.25rem;
  color: #0ea5e9;
}

@media (max-width: 991.98px) {
  .adminlte-panel .admin-country-chart-head {
    grid-template-columns: 1fr;
  }

  .adminlte-panel .admin-country-bar-row {
    grid-template-columns: 2rem minmax(0, 1fr) 4.25rem;
  }

  .adminlte-panel .admin-country-bar-track {
    grid-column: 2 / 4;
  }

  .adminlte-panel .admin-country-map svg {
    min-height: 11rem;
  }

  .adminlte-panel .traffic-map-toolbar,
  .adminlte-panel .traffic-map-layout {
    grid-template-columns: 1fr;
  }

  .adminlte-panel .traffic-map-toolbar {
    align-items: stretch;
  }

  .adminlte-panel .traffic-map {
    min-height: 16rem;
  }

  .adminlte-panel .traffic-country-list {
    max-height: 15rem;
  }
}


/* Content cover shapes for the exam CRUD pages */
.adminlte-panel .admin-subject-card {
  max-width: 14rem;
  margin-inline: auto;
}

.adminlte-panel .admin-content-card.admin-subject-card .card-img-top {
  width: min(100%, 9.5rem);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: .75rem auto 0;
  border-radius: .6rem;
  background: #f1f5f9;
}

.adminlte-panel .admin-content-card.admin-topic-card .card-img-top {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: .5rem .5rem 0 0;
}

.adminlte-panel .admin-year-card {
  align-items: center;
  text-align: center;
}

.adminlte-panel .admin-content-card.admin-year-card .card-img-top {
  width: 6.75rem;
  height: 6.75rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: .85rem auto 0;
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 .25rem .75rem rgba(15, 23, 42, .12);
  background: #f1f5f9;
}

.adminlte-panel .admin-paper-card {
  max-width: 13rem;
  margin-inline: auto;
}

.adminlte-panel .admin-content-card.admin-paper-card .card-img-top {
  width: min(100%, 7.75rem);
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin: .75rem auto 0;
  border-radius: .45rem;
  box-shadow: 0 .25rem .8rem rgba(15, 23, 42, .14);
  background: #f1f5f9;
}

.adminlte-panel .admin-paper-card .card-body {
  padding-top: .5rem;
}

@media (max-width: 575.98px) {
  .adminlte-panel .admin-subject-card,
  .adminlte-panel .admin-paper-card {
    max-width: none;
  }
}


/* AdminLTE add/edit form polish */
.adminlte-panel .admin-form-shell {
  max-width: 1180px;
  margin-inline: auto;
}

.adminlte-panel .admin-book-form-shell {
  max-width: 1320px;
}

.adminlte-panel .admin-form-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.adminlte-panel .admin-form-modern .card {
  border-radius: .65rem;
}

.adminlte-panel .admin-form-modern .form-label {
  margin-bottom: .35rem;
  color: #334155;
  font-size: .86rem;
  font-weight: 700;
}

.adminlte-panel .admin-form-modern .form-text {
  color: #64748b;
  font-size: .78rem;
}

.adminlte-panel .admin-image-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.adminlte-panel .admin-image-upload img {
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, .28);
  background: #f8fafc;
  box-shadow: 0 .25rem .75rem rgba(15, 23, 42, .08);
}

.adminlte-panel .admin-image-upload-square img {
  width: 8rem;
  height: 8rem;
  border-radius: .65rem;
}

.adminlte-panel .admin-image-upload-landscape img {
  width: 11rem;
  aspect-ratio: 16 / 9;
  border-radius: .65rem;
}

.adminlte-panel .admin-image-upload-portrait img {
  width: 7.75rem;
  aspect-ratio: 3 / 4;
  border-radius: .55rem;
}

.adminlte-panel .admin-image-upload-circle img {
  width: 8rem;
  height: 8rem;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
}

.adminlte-panel .ql-container {
  min-height: 180px;
}

@media (max-width: 575.98px) {
  .adminlte-panel .admin-image-upload {
    display: block;
  }

  .adminlte-panel .admin-image-upload img {
    width: 100%;
    max-width: 13rem;
    margin-bottom: .85rem;
  }
}


/* Slider AdminLTE form/config polish */
.adminlte-panel .admin-slider-form-shell {
  max-width: 1220px;
  margin-inline: auto;
}

.adminlte-panel .admin-slider-book-preview {
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: .7rem;
  background: #f8fafc;
  box-shadow: 0 .25rem .75rem rgba(15, 23, 42, .08);
}

.adminlte-panel .admin-slider-card .btn[title="Open URL"] {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  padding: 0;
}


/* Front feature controls */
.adminlte-panel .admin-features-shell {
  max-width: none;
  margin-inline: auto;
}

.adminlte-panel .admin-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  gap: .55rem;
}

.adminlte-panel .admin-feature-card {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) 3.8rem;
  align-items: center;
  gap: .55rem;
  min-height: 3.8rem;
  padding: .6rem;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 .1rem .45rem rgba(15, 23, 42, .045);
}

.adminlte-panel .admin-feature-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: .45rem;
  color: #0d6efd;
  background: rgba(13, 110, 253, .1);
  font-size: 1rem;
}

.adminlte-panel .admin-feature-title {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  font-size: .88rem;
}

.adminlte-panel .admin-feature-desc {
  margin-top: .18rem;
  color: #64748b;
  font-size: .74rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.adminlte-panel .admin-feature-switch {
  min-width: 3.7rem;
  margin: 0;
  justify-self: end;
}

.adminlte-panel .admin-feature-switch .form-check-input {
  width: 2.25rem;
  height: 1.15rem;
  cursor: pointer;
}

.adminlte-panel .admin-feature-switch .form-check-label {
  display: block;
  margin: .15rem 0 0;
  color: #64748b;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

@media (max-width: 575.98px) {
  .adminlte-panel .admin-feature-card {
    grid-template-columns: 2.35rem minmax(0, 1fr);
  }
  .adminlte-panel .admin-feature-switch {
    grid-column: 2;
  }
}


.admin-copy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.admin-copy-field {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.5rem;
  background: #fff;
  padding: 1rem;
}
.admin-copy-field .form-control {
  border-radius: 0.45rem;
}
.admin-copy-key {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.35rem;
  padding: 0.1rem 0.35rem;
}


.admin-user-profile-card {
  border: 1px solid var(--admin-card-border);
  border-radius: .5rem;
  box-shadow: 0 .125rem .5rem rgba(15, 23, 42, .06);
}
.admin-user-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}
.admin-user-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 .25rem .75rem rgba(15, 23, 42, .16);
}
.admin-user-provider {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  border: 1px solid var(--admin-card-border);
}
.admin-user-provider img {
  width: 15px;
  height: 15px;
}
.admin-user-meta {
  display: grid;
  gap: .65rem;
}
.admin-user-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .75rem;
  border-radius: .45rem;
  background: #f8fafc;
}
.admin-user-meta span {
  color: #64748b;
  font-size: .82rem;
}
.admin-user-meta strong {
  font-size: .86rem;
  text-align: right;
}
.admin-upload-preview {
  display: grid;
  gap: .75rem;
}
.admin-upload-preview img {
  width: 112px;
  height: 112px;
  border-radius: .5rem;
  object-fit: cover;
  border: 1px solid var(--admin-card-border);
  background: #f8fafc;
}
.adminlte-tabs .nav-link {
  border-radius: .45rem .45rem 0 0;
  color: #475569;
  font-weight: 600;
}
.adminlte-tabs .nav-link.active {
  color: var(--bs-primary);
}


.admin-paper-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
}
.admin-paper-select .form-check-input {
  float: none;
  margin: 0;
  width: 1.05rem;
  height: 1.05rem;
  cursor: pointer;
}
.admin-paper-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.admin-card-status .form-check-input {
  cursor: pointer;
}
.admin-comment-paper-cover {
  width: 92px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: .5rem;
  border: 1px solid var(--admin-card-border);
  background: #f8fafc;
}
.admin-mini-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .15rem .45rem;
  align-items: center;
  padding: .65rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .5rem;
  background: #f8fafc;
}
.admin-mini-stat i {
  color: var(--bs-primary);
}
.admin-mini-stat span {
  color: #64748b;
  font-size: .78rem;
}
.admin-mini-stat strong {
  grid-column: 2;
  font-size: 1rem;
}
.admin-comment-thread {
  display: grid;
  gap: .75rem;
  max-height: 640px;
  overflow: auto;
  padding-right: .25rem;
}
.admin-comment-date {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #64748b;
  font-size: .78rem;
  font-weight: 700;
}
.admin-comment-date::before,
.admin-comment-date::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--admin-card-border);
}
.admin-comment-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
}
.admin-comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--admin-card-border);
}
.admin-comment-bubble {
  border: 1px solid var(--admin-card-border);
  border-radius: .65rem;
  background: #fff;
  padding: .75rem;
  box-shadow: 0 .125rem .4rem rgba(15, 23, 42, .05);
}
.admin-toast {
  border: 0;
  border-radius: .55rem;
  box-shadow: 0 .75rem 1.75rem rgba(15, 23, 42, .18);
}
.admin-confirm-modal .modal-content {
  border: 0;
  border-radius: .75rem;
  box-shadow: 0 1rem 2.25rem rgba(15, 23, 42, .22);
}


.admin-home-feed-card {
  border: 1px solid var(--admin-card-border);
  box-shadow: 0 .125rem .5rem rgba(15, 23, 42, .06);
}
.admin-home-feed-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
}
.admin-home-feed-topic-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .55rem;
  background: #fff;
}
.admin-home-feed-topic-option .form-check {
  min-width: 0;
  margin: 0;
}
.admin-home-feed-topic-option .form-check-label {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.admin-home-feed-topic-option .form-check-label span {
  color: #64748b;
  font-size: .78rem;
}
.admin-home-feed-topic-option input[type="number"] {
  width: 5rem;
  flex: 0 0 auto;
}

.adminlte-panel .admin-quiz-dashboard-card .card-body {
  background: #f8fafc;
}

.adminlte-panel .admin-quiz-metric-box {
  margin-bottom: 0;
  min-height: 96px;
}

.adminlte-panel .admin-quiz-metric-box .inner {
  padding-right: 3rem;
}

/* Reskin Analyzer */
.adminlte-panel .reskin-underdog {
  display: grid;
  gap: .9rem;
}
.adminlte-panel .reskin-underdog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  color: #fff;
  background: linear-gradient(135deg, #0d6efd, #20c997);
  box-shadow: 0 .65rem 1.4rem rgba(13, 110, 253, .2);
}
.adminlte-panel .reskin-underdog h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}
.adminlte-panel .reskin-mini {
  padding: .75rem;
  border: 1px solid var(--admin-card-border);
  border-radius: .55rem;
  background: #f8fafc;
}
.adminlte-panel .reskin-mini span,
.adminlte-panel .reskin-mini strong {
  display: block;
}
.adminlte-panel .reskin-mini span {
  color: #64748b;
  font-size: .75rem;
}
.adminlte-panel .reskin-mini strong {
  margin-top: .15rem;
  font-size: 1rem;
}

/* Admin table sorting and lightweight pagination */
.adminlte-panel .admin-sortable-table th[data-admin-sort],
.adminlte-panel .admin-server-sort-link {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.adminlte-panel .admin-server-sort-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.adminlte-panel .admin-server-sort-link:hover,
.adminlte-panel .admin-sortable-table th[data-admin-sort]:hover {
  color: var(--bs-primary);
}
.adminlte-panel .admin-sort-icon,
.adminlte-panel .admin-server-sort-link .bi {
  font-size: .75rem;
  opacity: .45;
}
.adminlte-panel .admin-sortable-table th.admin-sort-asc .admin-sort-icon,
.adminlte-panel .admin-sortable-table th.admin-sort-desc .admin-sort-icon,
.adminlte-panel .admin-server-sort-link:hover .bi {
  opacity: 1;
  color: var(--bs-primary);
}
.adminlte-panel .admin-client-pagination,
.adminlte-panel .admin-server-pagination {
  border-top: 1px solid var(--admin-card-border);
  padding-top: .75rem;
}

/* Mobile admin toolbar polish */
.adminlte-panel .app-header .user-image {
  width: 32px;
  height: 32px;
  object-fit: cover;
}
.adminlte-panel .app-header .user-menu > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
@media (max-width: 767.98px) {
  .adminlte-panel .app-header {
    min-height: 56px;
  }
  .adminlte-panel .app-header .container-fluid {
    align-items: center;
    gap: .25rem;
  }
  .adminlte-panel .app-header .navbar-nav {
    flex-direction: row;
    align-items: center;
  }
  .adminlte-panel .app-header .nav-link {
    padding: .35rem .45rem;
  }
  .adminlte-panel .app-header .user-image {
    width: 26px;
    height: 26px;
    margin-right: 0;
  }
  .adminlte-panel .user-menu .dropdown-menu {
    max-width: calc(100vw - 1rem);
  }
  .admin-global-search {
    width: 100%;
    margin-top: .35rem !important;
  }
  .skip-link:not(:focus) {
    top: -999px !important;
  }
}


.skip-link:not(:focus),
.adminlte-panel .skip-link:not(:focus) {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.skip-link:focus,
.adminlte-panel .skip-link:focus {
  position: fixed !important;
  left: 1rem !important;
  top: 1rem !important;
  z-index: 2000 !important;
  width: auto !important;
  height: auto !important;
  padding: .55rem .8rem !important;
  overflow: visible !important;
  clip: auto !important;
  color: #fff !important;
  background: #0d6efd !important;
  border-radius: .375rem !important;
  box-shadow: 0 .5rem 1rem rgba(15,23,42,.18) !important;
}
