/*
 * NetCue 全站统一 UI 组件（前台 / 用户中心 / 与 admin-panel 视觉对齐）
 * 设计 token 见 brand.css；后台专用见 admin-panel.css
 */

/* ── 内容面板（用户中心主区，对应后台 .admin-content） ── */
.ut-content-panel {
  background: #fff;
  border: 1px solid var(--ut-border, #e2e8f0);
  border-radius: var(--ut-radius-md, 12px);
  box-shadow: var(--ut-shadow-card), 0 12px 40px rgba(15, 23, 42, 0.05);
  padding: 1.5rem 1.65rem 1.85rem;
  min-height: calc(100vh - 56px - 3rem);
}

.ut-shell-page {
  max-width: 100%;
}

.ut-shell-page--narrow {

}

/* ── 页头（对应 cs-admin-pagehead） ── */
.ut-pagehead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 55%, rgba(224, 231, 255, 0.35) 100%);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.08);
}

.ut-pagehead__main {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1 1 14rem;
  min-width: 0;
}

.ut-pagehead__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #fff;
  background: linear-gradient(145deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.ut-pagehead__body {
  min-width: 0;
}

.ut-pagehead__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3a8a;
  letter-spacing: -0.02em;
}

.ut-pagehead__desc {
  margin: 0;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.55;
}

.ut-pagehead__actions {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── 区块卡片（对应 cs-admin-section） ── */
.ut-section {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
  margin-bottom: 1.25rem;
  background: #fff;
}

.ut-section--toolbar {
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.ut-section__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.25rem;
  background: linear-gradient(180deg, #fff 0%, rgba(248, 250, 252, 0.98) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.ut-section__head-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.ut-section__head-icon--sky { color: #0284c7; background: rgba(2, 132, 199, 0.1); }
.ut-section__head-icon--green { color: #16a34a; background: rgba(22, 163, 74, 0.1); }
.ut-section__head-icon--violet { color: #7c3aed; background: rgba(124, 58, 237, 0.1); }

.ut-section__head-text {
  min-width: 0;
  flex: 1;
}

.ut-section__head-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
}

.ut-section__head-sub {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}

.ut-section__body {
  padding: 1.15rem 1.25rem 1.25rem;
}

.ut-section__body--flush {
  padding: 0;
}

.ut-section .table thead th {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 500;
  border-bottom-width: 1px;
  background: #f8fafc;
}

/* ── KPI 统计卡（全站） ── */
.ut-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 991px) {
  .ut-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .ut-kpi-grid { grid-template-columns: 1fr; }
}

.ut-kpi-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ut-border);
  border-radius: var(--ut-radius-md);
  background: #fff;
  box-shadow: var(--ut-shadow-card);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ut-kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #3b82f6 55%, #0ea5e9);
  opacity: 0.92;
}

.ut-kpi-card:hover {
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(37, 99, 235, 0.08);
}

.ut-kpi-card.active {
  border-color: var(--ut-primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25), var(--ut-shadow-card);
}

.ut-kpi-card .ut-kpi-body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.ut-kpi-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ut-text-muted);
  margin-bottom: 0.35rem;
}

.ut-kpi-value {
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--ut-text);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.ut-kpi-card.stat-up .ut-kpi-value { color: var(--ut-success); }
.ut-kpi-card.stat-down .ut-kpi-value { color: var(--ut-danger); }

/* ── 迷你指标卡（详情页） ── */
.ut-mini-stat {
  border: 1px solid var(--ut-border);
  border-radius: var(--ut-radius-md);
  background: #fff;
  box-shadow: var(--ut-shadow-card);
  padding: 1rem 1.15rem;
  height: 100%;
}

.ut-mini-stat__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ut-text-muted);
  margin-bottom: 0.35rem;
}

.ut-mini-stat__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ut-text);
}

/* ── 工具栏 / 表单 ── */
.ut-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: var(--ut-text-muted);
}

.ut-inline-form .form-control,
.ut-inline-form .form-select {
  border-radius: 8px;
  border-color: rgba(148, 163, 184, 0.45);
}

.ut-inline-form .form-control:focus,
.ut-inline-form .form-select:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.ut-inline-form .btn {
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8125rem;
}

.ut-code {
  font-size: 0.78rem;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ── 认证页 ── */
.ut-auth-wrap {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.ut-auth-card {
  border: 1px solid var(--ut-border);
  border-radius: var(--ut-radius-md);
  box-shadow: var(--ut-shadow-card), 0 12px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.ut-auth-card__head {
  padding: 1.25rem 1.5rem 0;
  text-align: center;
}

.ut-auth-card__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(145deg, #2563eb, #3b82f6);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.ut-auth-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 0.25rem;
}

.ut-auth-card__sub {
  font-size: 0.8125rem;
  color: var(--ut-text-muted);
  margin: 0;
}

.ut-auth-card .card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.ut-auth-card .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
}

.ut-auth-card .form-control,
.ut-auth-card .form-select {
  border-radius: 8px;
  border-color: rgba(148, 163, 184, 0.45);
}

/* ── 首页 Landing ── */
.ut-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 42%, #0ea5e9 78%, #1d4ed8 100%);
  background-size: 220% 220%;
  animation: ut-hero-gradient-shift 20s ease-in-out infinite;
  color: #fff;
  padding: 5rem 0 4.5rem;
}

.ut-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 255, 255, 0.14), transparent),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(14, 165, 233, 0.28), transparent);
  pointer-events: none;
  animation: ut-hero-glow-drift 14s ease-in-out infinite alternate;
}

.ut-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ut-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: ut-hero-grid-breathe 9s ease-in-out infinite;
}

.ut-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.ut-hero__orb--1 {
  width: min(28vw, 220px);
  height: min(28vw, 220px);
  top: 8%;
  right: 12%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(36px);
  animation: ut-hero-orb-float-1 16s ease-in-out infinite;
}

.ut-hero__orb--2 {
  width: min(22vw, 180px);
  height: min(22vw, 180px);
  bottom: 10%;
  left: 8%;
  background: rgba(56, 189, 248, 0.22);
  filter: blur(32px);
  animation: ut-hero-orb-float-2 13s ease-in-out infinite;
}

.ut-hero__orb--3 {
  width: min(16vw, 120px);
  height: min(16vw, 120px);
  top: 42%;
  left: 38%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(28px);
  animation: ut-hero-orb-float-3 11s ease-in-out infinite;
}

.ut-hero .container-fluid {
  position: relative;
  z-index: 1;
}

.ut-hero-anim {
  opacity: 0;
  transform: translateY(1.15rem);
  animation: ut-hero-fade-up 0.68s ease-out forwards;
}

.ut-hero-anim--1 { animation-delay: 0.08s; }
.ut-hero-anim--2 { animation-delay: 0.2s; }
.ut-hero-anim--3 {
  animation-delay: 0.32s;
  animation-name: ut-hero-fade-up-muted;
}
.ut-hero-anim--4 { animation-delay: 0.44s; }

@keyframes ut-hero-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes ut-hero-glow-drift {
  0% { opacity: 0.85; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}

@keyframes ut-hero-grid-breathe {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.38; }
}

@keyframes ut-hero-orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12px, 18px) scale(1.06); }
}

@keyframes ut-hero-orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, -14px) scale(1.08); }
}

@keyframes ut-hero-orb-float-3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.75; }
  50% { transform: translate(-10px, 12px); opacity: 1; }
}

@keyframes ut-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(1.15rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ut-hero-fade-up-muted {
  from {
    opacity: 0;
    transform: translateY(1.15rem);
  }
  to {
    opacity: 0.92;
    transform: translateY(0);
  }
}

.ut-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1rem;
}

.ut-hero-badge__radar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.ut-hero-badge__radar .bx-radar {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  line-height: 1;
}

.ut-hero-badge__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  animation: ut-hero-radar-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.ut-hero-badge__pulse--2 {
  animation-delay: 1.2s;
}

@keyframes ut-hero-radar-pulse {
  0% {
    transform: scale(0.55);
    opacity: 0.85;
  }
  70% {
    opacity: 0.15;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ut-hero,
  .ut-hero::before,
  .ut-hero__grid,
  .ut-hero__orb,
  .ut-hero-anim,
  .ut-hero-badge__pulse {
    animation: none !important;
  }

  .ut-hero {
    background-size: 100% 100%;
  }

  .ut-hero-anim {
    opacity: 1;
    transform: none;
  }

  .ut-hero-badge__pulse {
    opacity: 0;
  }
}

.ut-hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ut-hero .lead {
  opacity: 0.92;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.ut-hero-cta .btn-light {
  font-weight: 650;
  padding: 0.65rem 1.75rem;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.ut-hero-cta .btn-outline-light {
  font-weight: 600;
  border-width: 2px;
  border-radius: 10px;
}

.ut-features {
  padding: 4rem 0;
}

.ut-feature-card {
  border: 1px solid var(--ut-border);
  border-radius: var(--ut-radius-md);
  background: #fff;
  box-shadow: var(--ut-shadow-card);
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ut-feature-card:hover {
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.ut-feature-card .ut-feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ut-primary);
  background: rgba(37, 99, 235, 0.1);
}

.ut-trust-strip {
  background: #fff;
  border-top: 1px solid var(--ut-border);
  border-bottom: 1px solid var(--ut-border);
  padding: 1.25rem 0;
}

.ut-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ut-text-muted);
}

.ut-trust-item i {
  font-size: 1.25rem;
  color: var(--ut-primary);
}

/* ── 404 ── */
.ut-error-panel {
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ut-border);
  border-radius: var(--ut-radius-md);
  box-shadow: var(--ut-shadow-card);
}

.ut-error-code {
  font-size: clamp(3.5rem, 12vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--ut-primary-dark) 0%, var(--ut-primary) 55%, var(--ut-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ut-error-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.1));
  color: var(--ut-primary);
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── 下拉菜单 hover（顶栏用户菜单 / 表格行操作） ── */
.ut-navbar .dropdown-menu.ut-nav-user-menu {
  padding: 0.35rem;
}

.ut-monitor-row-dropdown .dropdown-menu {
  padding: 0.35rem;
  border: 1px solid var(--ut-border, #e2e8f0);
  border-radius: var(--ut-radius-sm, 10px);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 12px 28px rgba(15, 23, 42, 0.1);
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.1rem 0;
  padding: 0.45rem 0.75rem;
  border-radius: var(--ut-radius-sm, 8px);
  font-weight: 500;
  color: var(--ut-text, #0f172a);
  border: 0;
  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item:hover,
.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item:focus-visible,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item:hover,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item:focus-visible {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--ut-primary, #2563eb);
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item i,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item i {
  transition: color 0.15s ease;
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item i {
  font-size: 1.05rem;
  opacity: 0.88;
}

.ut-monitor-row-dropdown .dropdown-menu .dropdown-item i {
  font-size: 1.125rem;
  line-height: 1;
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item {
  white-space: nowrap;
  font-size: 0.875rem;
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item:hover i,
.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item:focus-visible i,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item:hover i:not(.text-warning):not(.text-success):not(.text-danger),
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item:focus-visible i:not(.text-warning):not(.text-success):not(.text-danger) {
  color: var(--ut-primary, #2563eb);
  opacity: 1;
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item.active,
.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item.active:hover,
.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item.active:focus-visible {
  background-color: rgba(37, 99, 235, 0.11);
  color: var(--ut-primary-dark, #1e40af);
  font-weight: 600;
  box-shadow: inset 3px 0 0 0 var(--ut-primary, #2563eb);
  padding-left: calc(0.75rem - 3px);
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item.active i {
  color: var(--ut-primary, #2563eb);
  opacity: 1;
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item.text-danger,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item.text-danger {
  color: var(--ut-danger, #dc2626);
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item.text-danger:hover,
.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item.text-danger:focus-visible,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item.text-danger:hover,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item.text-danger:focus-visible {
  background-color: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item.text-danger:hover i,
.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item.text-danger:focus-visible i,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item.text-danger:hover i,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item.text-danger:focus-visible i {
  color: #dc2626;
}

.ut-monitor-row-dropdown .dropdown-menu .dropdown-item:hover i.text-warning,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item:focus-visible i.text-warning {
  color: #d97706;
}

.ut-monitor-row-dropdown .dropdown-menu .dropdown-item:hover i.text-success,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-item:focus-visible i.text-success {
  color: #16a34a;
}

.ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-divider,
.ut-monitor-row-dropdown .dropdown-menu .dropdown-divider {
  margin: 0.25rem 0.35rem;
  border-color: var(--ut-border, #e2e8f0);
  opacity: 1;
}

@media (max-width: 991.98px) {
  .ut-content-panel {
    padding: 1.1rem 1rem 1.35rem;
    border-radius: var(--ut-radius-sm);
    min-height: 0;
  }

  .ut-pagehead {
    padding: 0.95rem 1rem;
    gap: 0.75rem;
  }

  .ut-pagehead__title {
    font-size: clamp(1rem, 4.2vw, 1.15rem);
  }

  .ut-pagehead__desc {
    font-size: 0.78rem;
  }

  .ut-pagehead__actions {
    width: 100%;
    justify-content: flex-start;
    align-self: stretch;
  }

  .ut-section__head {
    padding: 0.85rem 1rem;
    flex-wrap: wrap;
  }

  .ut-section__body {
    padding: 1rem;
  }

  .ut-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (max-width: 575.98px) {
  .ut-content-panel {
    padding: 0.85rem 0.75rem 1.1rem;
    border-radius: var(--ut-radius-sm);
    box-shadow: var(--ut-shadow-card);
  }

  .ut-pagehead {
    flex-direction: column;
    align-items: stretch;
  }

  .ut-pagehead__main {
    flex: 1 1 auto;
  }

  .ut-pagehead__icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.2rem;
  }

  .ut-pagehead__actions .btn {
    flex: 1 1 auto;
    min-height: 2.5rem;
  }

  .ut-hero {
    padding: 3.25rem 0 2.75rem;
  }

  .ut-hero h1.display-5 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }

  .ut-hero .lead {
    font-size: 0.9375rem;
  }

  .ut-hero-cta .btn-lg {
    width: 100%;
    padding: 0.6rem 1.25rem;
    font-size: 1rem;
  }

  .ut-features {
    padding: 2.5rem 0;
  }

  .ut-auth-wrap {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .ut-auth-card .card-body {
    padding: 1rem 1.1rem 1.25rem;
  }

  .ut-auth-card .form-control,
  .ut-auth-card .btn {
    min-height: 2.75rem;
  }

  .ut-inline-form .form-control,
  .ut-inline-form .form-select,
  .ut-inline-form .btn {
    min-height: 2.75rem;
  }

  .table-responsive {
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ut-feature-card:hover,
  .ut-kpi-card,
  .ut-card,
  .ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item,
  .ut-monitor-row-dropdown .dropdown-menu .dropdown-item,
  .ut-navbar .dropdown-menu.ut-nav-user-menu .dropdown-item i,
  .ut-monitor-row-dropdown .dropdown-menu .dropdown-item i {
    transition: none;
    transform: none;
  }
}
