body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 10%, rgba(234, 27, 118, 0.08), transparent 24%),
    radial-gradient(circle at 80% 0%, rgba(104, 54, 232, 0.1), transparent 26%),
    #fbfcff;
  color: #07165c;
}

:root {
  --deep: #06145a;
  --ink: #07165c;
  --pink: #ea1b76;
  --violet: #6836e8;
  --blue: #1747e8;
  --green: #11a663;
  --orange: #ff7b1a;
  --line: #dfe5f2;
}

a {
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.glass {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(7, 22, 92, 0.07);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  border-radius: .65rem;
  padding: .65rem .8rem;
  color: #5f6d91;
  font-size: .82rem;
  font-weight: 800;
  border: 1px solid transparent;
}

.nav-link.active,
.nav-link:hover {
  background: linear-gradient(135deg, rgba(234, 27, 118, .1), rgba(104, 54, 232, .12));
  color: var(--violet);
  border-color: rgba(104, 54, 232, .12);
}

.badge {
  border-radius: 999px;
  padding: .22rem .55rem;
  font-size: .72rem;
  font-weight: 900;
}

.status-active {
  background: #e7f9ef;
  color: var(--green);
}

.status-inactive {
  background: #fff0f4;
  color: var(--pink);
}

.status-pending {
  background: #fff2df;
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: .65rem;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: white;
  padding: .65rem 1rem;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(104, 54, 232, .22);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(104, 54, 232, .28);
}

.btn-soft {
  background: #eee4ff;
  color: var(--violet);
  box-shadow: none;
}

.input {
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: white;
  padding: .65rem .8rem;
  font-size: .82rem;
  outline: none;
}

.input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(104, 54, 232, .12);
}

.table th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #6b7897;
  font-weight: 900;
  text-align: left;
  background: #fbfcff;
}

.table td {
  font-size: .82rem;
  color: #28345f;
  padding-top: .82rem;
  padding-bottom: .82rem;
}

.table tr {
  border-bottom: 1px solid #edf1fb;
}

.table tbody tr:hover {
  background: linear-gradient(90deg, rgba(104, 54, 232, .05), rgba(234, 27, 118, .03));
}

.shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}

.side {
  position: sticky;
  top: 0;
  height: 100vh;
  background: rgba(255, 255, 255, .96);
  border-right: 1px solid var(--line);
  box-shadow: 12px 0 30px rgba(7, 22, 92, .04);
}

.metric {
  border-radius: 1rem;
  background: white;
  border: 1px solid var(--line);
  padding: 1rem;
  box-shadow: 0 12px 26px rgba(7, 22, 92, .06);
}

.ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(var(--green) var(--value), #edf2ff 0);
  display: grid;
  place-items: center;
}

.ring span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: white;
  font-weight: 900;
  color: var(--ink);
}

/* Theme Tailwind utility colors used by the static app pages. */
.bg-indigo-600 {
  background: linear-gradient(135deg, var(--deep), var(--violet)) !important;
}

.bg-indigo-100 {
  background-color: #eee4ff !important;
}

.text-indigo-700,
.text-indigo-600 {
  color: var(--violet) !important;
}

.text-emerald-500,
.text-green-600 {
  color: var(--green) !important;
}

.text-rose-500 {
  color: var(--pink) !important;
}

.text-amber-500,
.text-orange-500 {
  color: var(--orange) !important;
}

.from-indigo-50 {
  --tw-gradient-from: #fbf8ff var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgba(251, 248, 255, 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.to-violet-50 {
  --tw-gradient-to: #fff1f7 var(--tw-gradient-to-position) !important;
}

.rounded-2xl.glass,
.rounded-3xl.glass {
  box-shadow: 0 18px 42px rgba(7, 22, 92, .08);
}

@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .side {
    position: relative;
    height: auto;
  }

  .desktop-only {
    display: none !important;
  }
}
