:root {
  --lc-bg: #0a1020;
  --lc-bg-soft: #121a2f;
  --lc-panel: rgba(14, 22, 39, 0.86);
  --lc-panel-strong: rgba(17, 28, 50, 0.98);
  --lc-line: rgba(107, 148, 255, 0.18);
  --lc-text-soft: #93a7cc;
  --lc-cyan: #2de2e6;
  --lc-cyan-deep: #1687ff;
  --lc-green: #73f5af;
}

body {
  background:
    radial-gradient(circle at top left, rgba(45, 226, 230, 0.12), transparent 22%),
    radial-gradient(circle at bottom right, rgba(22, 135, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #0a1020 0%, #0d1528 46%, #0b1020 100%);
  color: #f3f7ff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
  pointer-events: none;
}

.hidden {
  display: none !important;
}

.login-shell {
  position: relative;
  overflow: hidden;
}

.login-background-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(45, 226, 230, 0.08), transparent 36%);
  pointer-events: none;
}

.login-kicker,
.panel-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lc-cyan);
  font-weight: 700;
}

.login-title {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.login-description {
  max-width: 48rem;
  margin: 0 auto;
}

.card-glow,
.panel-card,
.metric-card {
  border: 1px solid var(--lc-line);
  background: var(--lc-panel);
  box-shadow: 0 24px 80px rgba(3, 7, 18, 0.42);
  backdrop-filter: blur(18px);
}

.card-glow::before,
.panel-card::before,
.metric-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%);
}

.system-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(115, 245, 175, 0.08);
  border: 1px solid rgba(115, 245, 175, 0.2);
  color: var(--lc-green);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.system-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--lc-green);
  box-shadow: 0 0 0.9rem rgba(115, 245, 175, 0.8);
}

.custom-input,
.custom-input:focus {
  background: rgba(8, 15, 30, 0.88);
  border-color: rgba(110, 165, 255, 0.16);
  color: #f5f8ff;
}

.custom-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(45, 226, 230, 0.14);
}

.btn-cyan {
  color: #03131f;
  font-weight: 700;
  border: 0;
  background: linear-gradient(135deg, var(--lc-cyan) 0%, #90fbff 100%);
  box-shadow: 0 12px 28px rgba(45, 226, 230, 0.25);
}

.btn-cyan:hover,
.btn-cyan:focus {
  color: #03131f;
  background: linear-gradient(135deg, #47eaf0 0%, #b6feff 100%);
}

.message-line {
  min-height: 1.5rem;
  color: var(--lc-text-soft);
}

.message-line.error {
  color: #ff8ca2;
}

.message-line.success {
  color: var(--lc-green);
}

.login-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.login-footer-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--lc-line);
  color: var(--lc-text-soft);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sidebar-shell {
  background: rgba(8, 13, 24, 0.88);
  border-right: 1px solid rgba(110, 165, 255, 0.14);
}

.navbar-brand a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(45, 226, 230, 0.22), rgba(22, 135, 255, 0.25));
  border: 1px solid rgba(45, 226, 230, 0.25);
  color: #bffcff;
  font-weight: 800;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lc-text-soft);
}

.sidebar-footer {
  padding-top: 1.5rem;
}

.status-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lc-line);
}

.status-tile-title {
  font-weight: 700;
}

.status-tile-subtitle {
  font-size: 0.8rem;
  color: var(--lc-text-soft);
}

.topbar-shell {
  border-bottom: 1px solid rgba(110, 165, 255, 0.12);
  background: rgba(6, 11, 22, 0.58);
  backdrop-filter: blur(12px);
}

.page-pretitle {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lc-cyan);
  font-size: 0.76rem;
  font-weight: 700;
}

.page-title {
  margin-top: 0.4rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-subtitle {
  margin-top: 0.5rem;
  color: var(--lc-text-soft);
  max-width: 52rem;
  line-height: 1.6;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--lc-line);
  background: rgba(255, 255, 255, 0.04);
  color: #c8d8f1;
}

.metric-card .card-body {
  min-height: 9.5rem;
}

.metric-label {
  color: var(--lc-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

.metric-value {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.metric-subtitle {
  margin-top: 0.75rem;
  color: var(--lc-text-soft);
}

.toolbar-wrap {
  width: 100%;
  max-width: 20rem;
}

.toolbar-search .input-group-text {
  background: transparent;
  border: 0;
  padding-left: 0.5rem;
}

.teacher-table-wrap {
  min-height: 26rem;
}

.teacher-table-wrap tbody tr {
  cursor: pointer;
}

.teacher-table-wrap tbody tr.is-selected td {
  background: rgba(45, 226, 230, 0.08);
}

.teacher-table-wrap td,
.teacher-table-wrap th {
  vertical-align: middle;
}

.teacher-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.teacher-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(45, 226, 230, 0.18), rgba(22, 135, 255, 0.22));
  color: #bffcff;
  font-size: 0.9rem;
  font-weight: 800;
}

.teacher-main {
  display: flex;
  flex-direction: column;
}

.teacher-name {
  font-weight: 700;
}

.teacher-meta {
  font-size: 0.78rem;
  color: var(--lc-text-soft);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.status-active {
  color: #7ef8b6;
  background: rgba(115, 245, 175, 0.08);
  border: 1px solid rgba(115, 245, 175, 0.15);
}

.status-disabled {
  color: #ff9bb0;
  background: rgba(255, 140, 162, 0.08);
  border: 1px solid rgba(255, 140, 162, 0.15);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(45, 226, 230, 0.18), rgba(22, 135, 255, 0.2));
  color: var(--lc-cyan);
}

.empty-state p {
  max-width: 40rem;
  margin: 0.75rem auto 0;
  color: var(--lc-text-soft);
}

.detail-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(110, 165, 255, 0.1);
}

.detail-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(45, 226, 230, 0.22), rgba(22, 135, 255, 0.24));
  color: #c8ffff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.detail-meta {
  display: flex;
  flex-direction: column;
}

.detail-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lc-cyan);
  font-weight: 700;
}

.detail-name {
  margin-top: 0.35rem;
  font-size: 1.75rem;
  font-weight: 800;
}

.detail-phone {
  margin-top: 0.35rem;
  color: var(--lc-text-soft);
}

.mini-stat-card {
  height: 100%;
  border-radius: 1rem;
  background: var(--lc-panel-strong);
  border: 1px solid var(--lc-line);
  padding: 1rem;
}

.mini-stat-label {
  font-size: 0.76rem;
  color: var(--lc-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.mini-stat-value {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (max-width: 991.98px) {
  .page-title {
    font-size: 1.7rem;
  }

  .toolbar-wrap {
    max-width: none;
  }

  .detail-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .login-title {
    font-size: 2rem;
  }

  .metric-value {
    font-size: 1.6rem;
  }
}
