body {
  font-family: "Noto Sans", Arial, sans-serif;
}

.page-content {
  min-height: 100vh;
}

.app-logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #6f42c1, #0d6efd);
}

.app-logo-mark .material-symbols-outlined {
  font-size: 26px;
}

.user-avatar-fallback {
  display: grid;
  place-items: center;
  background: rgba(13, 110, 253, 0.15);
  color: #8bb9ff;
}

.user-avatar-fallback .material-symbols-outlined {
  font-size: 24px;
}

.user-avatar-mini {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.14);
  color: #7db1ff;
}

.user-filter-select {
  width: auto;
  min-width: 180px;
}

.top-header .navbar .dropdown-menu {
  border-radius: 16px;
}

.header-notifications-list {
  max-height: 260px;
}

.card,
.metric-card,
.bg-card {
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.metric-card {
  height: 100%;
  padding: 20px;
  background: var(--bs-body-bg);
}

.metric-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--bs-secondary-color);
  font-weight: 600;
}

.metric-card h3 {
  margin-bottom: 0;
  font-weight: 700;
}

.chart-box {
  position: relative;
  height: 260px;
  min-height: 260px;
  max-height: 260px;
}

.chart-box canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.table {
  vertical-align: middle;
}

.table thead th {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-control,
.form-select,
.btn {
  border-radius: 12px;
}

.token-input {
  width: 92px;
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.35), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(111, 66, 193, 0.35), transparent 30rem),
    #0f172a;
}

.auth-logo-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6f42c1, #0d6efd);
  color: #fff;
}

.auth-hero {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.92), rgba(111, 66, 193, 0.92)),
    #0d6efd;
}

.material-symbols-outlined {
  vertical-align: middle;
}

/* Required field labels in admin forms */
.page-content form .form-label.is-required-label::after {
  content: " *";
  color: var(--bs-danger, #dc3545);
  font-weight: 700;
}

.question-stem-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.question-selected-list .list-group-item {
  border-left: 0;
  border-right: 0;
}

.question-selected-list .list-group-item:first-child {
  border-top: 0;
}

.question-selected-list .list-group-item:last-child {
  border-bottom: 0;
}
