:root {
  color-scheme: dark;
  --bg: #070a12;
  --panel: #0f1625;
  --panel-2: #151f33;
  --text: #f2f6ff;
  --muted: #9ba8bd;
  --line: rgba(255, 255, 255, 0.1);
  --brand: #76e4ff;
  --brand-2: #8f7cff;
  --danger: #ff7272;
  --success: #76e6a5;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-2: #eef3fb;
  --text: #101828;
  --muted: #5c6677;
  --line: rgba(16, 24, 40, 0.12);
  --brand: #006fc9;
  --brand-2: #6554d9;
  --danger: #c33131;
  --success: #087b45;
  --shadow: 0 24px 80px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand), white 25%);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #06101d;
  font-weight: 800;
  text-decoration: none;
}

.btn.secondary {
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.card {
  background: color-mix(in srgb, var(--panel), transparent 4%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.kicker {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success), transparent 78%);
}

/* Softer, less primary colour palette */
:root {
  --brand: #b7e4d8;
  --brand-2: #d8c8ff;
  --danger: #f2a6a6;
  --success: #a8e6c1;
}

:root[data-theme="light"] {
  --bg: #f7f5f1;
  --panel: #fffdf9;
  --panel-2: #f0eee8;
  --brand: #7bb7a7;
  --brand-2: #b9a8df;
  --danger: #d27a7a;
  --success: #68a982;
}

.btn,
.mini-btn {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand), white 10%), color-mix(in srgb, var(--brand-2), white 8%));
  color: #1f2933;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand-2), transparent 78%);
}

.btn.secondary,
.ghost-mini-btn,
.circle-btn {
  box-shadow: none;
}

/* Student-facing appearance themes */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1118;
  --panel: #171b25;
  --panel-2: #202635;
  --text: #f4f1ea;
  --muted: #aeb5c2;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #b7d7cf;
  --brand-2: #d7c7ef;
  --danger: #eba4a4;
  --success: #9bd7b0;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f5ef;
  --panel: #fffdf8;
  --panel-2: #eee9df;
  --text: #20242d;
  --muted: #67707d;
  --line: rgba(28, 33, 43, 0.13);
  --brand: #8bbdaf;
  --brand-2: #c9b7e8;
  --danger: #d98d8d;
  --success: #7ab990;
  --shadow: 0 18px 54px rgba(56, 48, 38, 0.13);
}

:root[data-theme="nature"] {
  color-scheme: light;
  --bg: #eef4e8;
  --panel: #fbfff5;
  --panel-2: #ddebd5;
  --text: #1f3027;
  --muted: #5f7565;
  --line: rgba(45, 82, 56, 0.16);
  --brand: #9fcf9d;
  --brand-2: #d7c99b;
  --danger: #d9968e;
  --success: #75b583;
  --shadow: 0 18px 54px rgba(35, 70, 39, 0.13);
}

:root[data-theme="calm"] {
  color-scheme: light;
  --bg: #eef5f8;
  --panel: #fbfdff;
  --panel-2: #dfeaf0;
  --text: #1e2c36;
  --muted: #617381;
  --line: rgba(39, 81, 105, 0.14);
  --brand: #a8d3dc;
  --brand-2: #cfc6ea;
  --danger: #dc9f9b;
  --success: #84bea7;
  --shadow: 0 18px 54px rgba(39, 76, 96, 0.13);
}

:root[data-theme="psychedelic"] {
  color-scheme: dark;
  --bg: #171225;
  --panel: #231936;
  --panel-2: #302548;
  --text: #fff7fb;
  --muted: #d0bddb;
  --line: rgba(255, 255, 255, 0.16);
  --brand: #f0a6ff;
  --brand-2: #99f0dc;
  --danger: #ff9aa8;
  --success: #a7efba;
  --shadow: 0 22px 70px rgba(18, 8, 40, 0.42);
}

:root[data-theme="sunset"] {
  color-scheme: light;
  --bg: #fff1e8;
  --panel: #fffaf5;
  --panel-2: #f5ded3;
  --text: #342721;
  --muted: #806c62;
  --line: rgba(112, 62, 38, 0.14);
  --brand: #f3b7a0;
  --brand-2: #e8c38a;
  --danger: #d88989;
  --success: #89b982;
  --shadow: 0 18px 54px rgba(99, 53, 29, 0.14);
}

:root[data-theme="campus"] {
  color-scheme: dark;
  --bg: #101720;
  --panel: #172332;
  --panel-2: #203145;
  --text: #f3f6f0;
  --muted: #b3bec0;
  --line: rgba(255, 255, 255, 0.13);
  --brand: #bed7a5;
  --brand-2: #a8c6df;
  --danger: #eca5a5;
  --success: #9dd6ad;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
}


