:root {
  --xstt-admin-text: #173b70;
  --xstt-admin-muted: #5d789c;
  --xstt-glass-bg: rgba(245, 250, 255, 0.72);
  --xstt-glass-border: rgba(255, 255, 255, 0.72);
  --xstt-glass-shadow: 0 18px 48px rgba(31, 79, 163, 0.14);
}

html,
body {
  min-height: 100%;
}

body.tech-dashboard-page {
  color: var(--xstt-admin-text);
  background: #dceeff;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

a {
  text-decoration: none;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.tech-dashboard-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.86) 0%, rgba(220, 238, 255, 0.78) 38%, rgba(142, 187, 255, 0.5) 100%),
    url("../images/home-dashboard-bg.png") center bottom / cover no-repeat;
}

.tech-topbar,
.glass-nav {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(225, 241, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.65);
}

.tech-topbar {
  min-height: 4.25rem;
}

.tech-brand-logo,
.module-icon {
  color: #fff;
  background: linear-gradient(145deg, #56ccf2, #0d6efd);
  box-shadow: 0 0.75rem 1.6rem rgba(47, 128, 237, 0.22);
}

.tech-brand-title {
  color: #0d3b78;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.tech-user-entry {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem !important;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.36);
}

.tech-nav-wrap {
  position: relative;
  z-index: 2;
}

.glass-nav {
  min-height: 3.25rem;
}

.glass-nav .nav-link {
  position: relative;
  color: #315784;
  font-weight: 500;
  border-radius: 0.9rem;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-item.active .nav-link {
  color: #0d6efd;
  background: rgba(255, 255, 255, 0.38);
}

.glass-nav .nav-item.active .nav-link::after {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -0.38rem;
  height: 0.16rem;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, #56ccf2, #0d6efd);
}

.tech-brand-badge,
.glass-btn {
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.24);
  background: rgba(255, 255, 255, 0.48);
}

.page-header {
  margin: 0;
  padding: 3.5rem 0 1.5rem;
}

.page-title {
  color: #102f61;
  font-size: 1.55rem;
  font-weight: 700;
}

.page-pretitle {
  color: #0d6efd;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.text-secondary {
  color: var(--xstt-admin-muted) !important;
}

.card,
.module-card {
  border: 1px solid var(--xstt-glass-border);
  border-radius: 1rem;
  background: var(--xstt-glass-bg);
  box-shadow: var(--xstt-glass-shadow);
  backdrop-filter: blur(18px);
}

.card-header {
  border-color: rgba(133, 174, 223, 0.22);
  background: rgba(255, 255, 255, 0.2);
}

.module-card-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 6rem;
  padding: 1.25rem;
  color: #173b70;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-card-link:hover {
  color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(31, 79, 163, 0.18);
}

.module-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.4rem;
}

.module-copy {
  display: grid;
  gap: 0.25rem;
}

.module-copy small {
  color: var(--xstt-admin-muted);
}

.footer {
  margin-top: 1rem;
  padding: 0.75rem 0 1.25rem;
  border-top: 0;
}
