/* =========================================================
   1. RESET & GLOBAL FOUNDATION
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.acad-lock-scroll {
  overflow: hidden !important;
}

/* =========================================================
   2. DESIGN TOKENS / THEME VARIABLES
   Golden cinematic + compact academics shell
   ========================================================= */

:root {
  --acad-text: #f8f4ea;
  --acad-muted: rgba(248, 244, 234, 0.78);
  --acad-soft: rgba(248, 244, 234, 0.58);

  --acad-gold: #e9c67d;
  --acad-gold-2: #cf9a46;
  --acad-gold-3: #8f6426;
  --acad-gold-soft: rgba(233, 198, 125, 0.16);
  --acad-gold-soft-2: rgba(233, 198, 125, 0.10);

  --acad-green: #37d39b;
  --acad-orange: #f3b45a;
  --acad-red: #ff6d6d;

  --acad-bg-1: #050504;
  --acad-bg-2: #0d0b08;
  --acad-bg-3: #15110d;
  --acad-panel: rgba(255, 255, 255, 0.05);
  --acad-panel-soft: rgba(255, 255, 255, 0.035);

  --acad-border: rgba(233, 198, 125, 0.12);
  --acad-border-soft: rgba(255, 255, 255, 0.08);
  --acad-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --acad-shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.22);

  --acad-radius-xs: 10px;
  --acad-radius-sm: 14px;
  --acad-radius-md: 18px;
  --acad-radius-lg: 24px;
  --acad-radius-xl: 28px;

  --acad-topbar-h: 70px;
  --acad-sidebar-w: 284px;
  --acad-shell-gap: 16px;
  --acad-shell-pad: 16px;
}

/* =========================================================
   3. APP BACKGROUND & ROOT SHELL
   ========================================================= */

body.academics-body {
  background:
    radial-gradient(1200px 520px at 0% 0%, rgba(233, 198, 125, 0.12), transparent 56%),
    radial-gradient(900px 420px at 100% 0%, rgba(255, 255, 255, 0.04), transparent 52%),
    radial-gradient(900px 520px at 50% 100%, rgba(207, 154, 70, 0.08), transparent 60%),
    linear-gradient(180deg, var(--acad-bg-1) 0%, var(--acad-bg-2) 46%, var(--acad-bg-3) 100%);
  color: var(--acad-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.academics-app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  color: var(--acad-text);
}

.academics-shell > * {
  min-width: 0;
}

.academics-main,
.academics-content,
.academics-content__inner {
  width: 100%;
  min-width: 0;
}

/* =========================================================
   4. TOPBAR / HEADER
   Compact premium shell
   ========================================================= */

.academics-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  width: 100%;
  min-height: var(--acad-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(17, 13, 9, 0.90), rgba(11, 9, 6, 0.88));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--acad-border);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.26s ease, background 0.26s ease, box-shadow 0.26s ease;
}

.academics-topbar.is-hidden {
  transform: translateY(-100%);
}

.academics-topbar.is-compact {
  background: linear-gradient(180deg, rgba(17, 13, 9, 0.95), rgba(11, 9, 6, 0.94));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.academics-topbar__left {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.academics-topbar__right {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.academics-topbar__link {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: rgba(248, 244, 234, 0.84);
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: 0.18s ease;
}

.academics-topbar__link:hover,
.academics-topbar__link.is-active {
  color: #fff9ef;
  text-decoration: none;
  border-color: var(--acad-border);
  background: rgba(255, 255, 255, 0.05);
}

/* =========================================================
   5. HEADER BRANDING
   Logo + A-Copilot
   ========================================================= */

.academics-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
}

.academics-brand:hover {
  color: #fff;
  text-decoration: none;
}

.academics-brand__logo {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 10px 22px rgba(233, 198, 125, 0.22))
    contrast(1.05)
    brightness(1.05);
}

.academics-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}

.academics-brand__text--short strong {
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(135deg, #fffaf0 0%, #f8e6be 35%, #e9c67d 72%, #fff0cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   6. TOPBAR ICON ACTIONS / BADGES
   ========================================================= */

.academics-topbar__iconLink {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid var(--acad-border-soft);
  background: rgba(255, 255, 255, 0.05);
  color: #fff8ed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.academics-topbar__iconLink:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--acad-border);
}

.academics-topbar__iconLink span[aria-hidden="true"] {
  font-size: 22px;
  line-height: 1;
}

.academics-topbar__iconLink--home span[aria-hidden="true"] {
  font-size: 25px;
  transform: translateY(-1px);
}

.academics-topbar__badge {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7b7b, #ff5d5d);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(255, 93, 93, 0.26);
}

.academics-topbar__notifyWrap {
  position: relative;
}

/* =========================================================
   7. MENU TOGGLE
   ========================================================= */

.academics-menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--acad-border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.academics-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(233, 198, 125, 0.20);
  transform: translateY(-1px);
}

.academics-menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: #fff7ea;
}

/* =========================================================
   8. MAIN SHELL / SIDEBAR / CONTENT LAYOUT
   ========================================================= */

.academics-shell {
  width: 100%;
  display: grid;
  grid-template-columns: var(--acad-sidebar-w) minmax(0, 1fr);
  gap: var(--acad-shell-gap);
  padding: calc(var(--acad-topbar-h) + 14px) var(--acad-shell-pad) var(--acad-shell-pad);
  align-items: start;
}

.academics-sidebar {
  position: sticky;
  top: calc(var(--acad-topbar-h) + 14px);
  min-width: 0;
  z-index: 100;
}

.academics-main {
  width: 100%;
  min-width: 0;
}

.academics-content {
  width: 100%;
  min-width: 0;
}

.academics-content__inner {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 16px;
}

/* =========================================================
   9. SIDEBAR / LEFT MENU
   ========================================================= */

.academics-sidebar__inner {
  border: 1px solid var(--acad-border);
  border-radius: 24px;
  background:
    radial-gradient(340px 180px at 0% 0%, rgba(233, 198, 125, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(18, 14, 10, 0.985) 0%, rgba(10, 8, 5, 0.985) 100%);
  box-shadow: var(--acad-shadow);
  overflow: hidden;
}

.academics-sidebar__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.academics-sidebar__avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 17px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--acad-border-soft);
}

.academics-sidebar__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academics-sidebar__avatar span {
  font-size: 18px;
  font-weight: 900;
  color: #fff7ea;
}

.academics-sidebar__profileMeta {
  min-width: 0;
}

.academics-sidebar__profileMeta h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff9ef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.academics-sidebar__profileMeta p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--acad-soft);
  word-break: break-word;
}

.academics-sidebar__wallet {
  margin: 14px 16px 0;
  padding: 11px 12px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.academics-sidebar__walletText span {
  display: block;
  font-size: 11px;
  color: var(--acad-soft);
}

.academics-sidebar__walletText strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 900;
  color: #fff9ef;
}

.academics-sidebar__walletBtn {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  color: #1e1407;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(233, 198, 125, 0.20);
  background: linear-gradient(180deg, var(--acad-gold), var(--acad-gold-2));
  box-shadow: 0 10px 20px rgba(207, 154, 70, 0.20);
}

.academics-sidebar__walletBtn:hover {
  color: #1e1407;
  text-decoration: none;
}

.academics-sidebar__section {
  padding: 16px;
}

.academics-sidebar__section + .academics-sidebar__section {
  padding-top: 4px;
}

.academics-sidebar__sectionTitle {
  margin-bottom: 10px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 244, 234, 0.42);
}

.academics-sidebar__nav {
  display: grid;
  gap: 8px;
}

.academics-sidebar__link {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 15px;
  color: #fff8ed;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
  transition: 0.18s ease;
}

.academics-sidebar__link:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.12);
}

.academics-sidebar__link.is-active {
  background: linear-gradient(180deg, rgba(233, 198, 125, 0.18), rgba(207, 154, 70, 0.10));
  border-color: rgba(233, 198, 125, 0.26);
  box-shadow: 0 12px 26px rgba(207, 154, 70, 0.14);
}

.academics-sidebar__link--danger {
  border-color: rgba(255, 109, 109, 0.16);
}

.academics-sidebar__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.academics-sidebar__icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}

.academics-sidebar__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.academics-sidebar__text strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.18;
  color: #fff8ed;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.academics-sidebar__text small {
  margin-top: 2px;
  font-size: 11px;
  color: var(--acad-soft);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.academics-sidebar__footerNote {
  padding: 0 16px 16px;
  font-size: 12px;
  line-height: 1.52;
  color: var(--acad-soft);
}

/* =========================================================
   10. SHARED BUTTONS / CHIPS / SMALL UI
   ========================================================= */

.academics-btn,
.acad-btn,
.acad-btnGhost,
.acad-smallBtn,
.acad-tabBtn,
.acad-toggleBtn,
.acad-primaryBtn,
.acad-helpBtn,
.academics-inlineBtn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.academics-btn:hover,
.acad-btn:hover,
.acad-btnGhost:hover,
.acad-smallBtn:hover,
.acad-tabBtn:hover,
.acad-toggleBtn:hover,
.acad-primaryBtn:hover,
.acad-helpBtn:hover,
.academics-inlineBtn:hover {
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.academics-btn--primary,
.acad-btn,
.acad-primaryBtn {
  color: #1f1507;
  background: linear-gradient(180deg, var(--acad-gold), var(--acad-gold-2));
  box-shadow: 0 12px 24px rgba(207, 154, 70, 0.22);
}

.academics-btn--primary:hover,
.acad-btn:hover,
.acad-primaryBtn:hover {
  color: #1f1507;
}

.academics-btn--soft,
.acad-btnGhost,
.acad-smallBtn,
.acad-tabBtn,
.acad-toggleBtn,
.academics-inlineBtn {
  color: #fff8ed;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
}

.academics-btn--help,
.acad-helpBtn {
  color: #fff8ed;
  border: 1px solid rgba(243, 180, 90, 0.28);
  background: linear-gradient(180deg, rgba(243, 180, 90, 0.20), rgba(243, 180, 90, 0.10));
  box-shadow: 0 10px 22px rgba(243, 180, 90, 0.12);
}

.acad-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.acad-chip--success { color: var(--acad-green); }
.acad-chip--info { color: var(--acad-gold); }
.acad-chip--warn { color: var(--acad-orange); }
.acad-chip--danger { color: var(--acad-red); }

/* =========================================================
   11. COLLAPSE / EMPTY STATES / GENERIC BLOCKS
   ========================================================= */

.acad-collapse,
.academics-collapse {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s ease;
}

.acad-collapse.show,
.academics-collapse.show {
  max-height: 5000px;
}

.acad-empty,
.academics-emptyState {
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--acad-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* =========================================================
   12. COUNTDOWN / SMALL CARD UTILITY
   ========================================================= */

.acad-cd {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.22));
  padding: 9px;
  width: 100%;
  max-width: 260px;
}

.acad-cd-head {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.acad-cd-head span {
  font-size: 10px;
  text-align: center;
  padding: 6px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 244, 234, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.acad-cd-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.acad-cd-box {
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 6px;
  text-align: center;
}

.acad-cd-box .num {
  display: block;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff8ed;
}

/* =========================================================
   13. OVERLAYS / DRAWERS / MOBILE PANELS
   ========================================================= */

.academics-mobile-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1080;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.academics-mobile-overlay.show {
  display: block;
}

.acad-drawerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  z-index: 1140;
}

.acad-drawerOverlay.show {
  display: block;
}

.acad-drawer {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: -110%;
  width: auto;
  max-width: 760px;
  margin: 0 auto;
  z-index: 1150;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, rgba(20, 15, 11, 0.995), rgba(10, 8, 5, 0.995));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 14px;
  transition: bottom 0.24s ease;
  max-height: 82vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.acad-drawer.show {
  bottom: 0;
}

.acad-pill {
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.30);
  margin: 0 auto 12px;
}

.acad-drawerTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.acad-drawerTitle {
  font-size: 15px;
  font-weight: 900;
  color: #fff8ed;
}

.acad-drawerSub {
  margin-top: 8px;
  color: var(--acad-soft);
  font-size: 13px;
  line-height: 1.45;
}

.acad-hr {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 14px 0;
}

/* =========================================================
   14. FORM CONTROLS
   ========================================================= */

.acad-label {
  display: block;
  font-size: 12px;
  color: rgba(248, 244, 234, 0.88);
  font-weight: 900;
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}

.acad-input,
.acad-select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.acad-input::placeholder {
  color: rgba(248, 244, 234, 0.62);
}

.acad-input:focus,
.acad-select:focus {
  border-color: rgba(233, 198, 125, 0.34);
  box-shadow: 0 0 0 3px rgba(233, 198, 125, 0.10);
  background: rgba(255, 255, 255, 0.10);
}

.acad-select option {
  background: #fff !important;
  color: #111 !important;
}

.acad-formRow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.acad-right {
  display: flex;
  justify-content: flex-end;
}

.acad-hidden {
  display: none !important;
}

.acad-mt12 {
  margin-top: 12px;
}

@media (min-width: 700px) {
  .acad-formRow {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   15. TOASTS / FEEDBACK
   ========================================================= */

.academics-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  min-width: 260px;
  max-width: min(92vw, 420px);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--acad-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: 0.22s ease;
}

.academics-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.academics-toast--success {
  background: rgba(55, 211, 155, 0.16);
  border-color: rgba(55, 211, 155, 0.30);
}

.academics-toast--error {
  background: rgba(255, 109, 109, 0.15);
  border-color: rgba(255, 109, 109, 0.30);
}

/* =========================================================
   16. NOTIFICATIONS DROPDOWN
   ========================================================= */

.academics-notifyDropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  max-width: min(92vw, 320px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(20, 15, 11, 0.985), rgba(10, 8, 5, 0.985));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1200;
}

.academics-notifyDropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.academics-notifyDropdown__head {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.academics-notifyDropdown__head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: #fff8ed;
}

.academics-notifyDropdown__body {
  display: flex;
  flex-direction: column;
}

.academics-notifyDropdown__listWrap {
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
}

.academics-notifyList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.academics-notifyList li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.academics-notifyList li a,
.academics-notifyList li > div {
  display: block;
  padding: 12px 16px;
  color: #fff8ed;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.academics-notifyList li a:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}

.academics-notifyDropdown__more {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff8ed;
  font-size: 13px;
  font-weight: 800;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.academics-notifyDropdown__more:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   17. PAGE-SPECIFIC SUPPORT STATES
   ========================================================= */

.academics-supportChip.is-active {
  background: linear-gradient(135deg, #7e5a24, #d09b46);
  color: #fff;
  box-shadow: 0 10px 25px rgba(207, 154, 70, 0.35);
  transform: translateY(-2px);
}

.academics-supportChip.is-active small {
  color: rgba(255, 255, 255, 0.85);
}

.academics-supportChip__count {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin-top: 4px;
}

.academics-supportChip__urgent {
  font-size: 11px;
  margin-top: 2px;
  color: #ef4444;
  font-weight: 600;
}

.academics-supportChip.is-active .academics-supportChip__count {
  color: #fff;
}

.academics-supportChip.is-active .academics-supportChip__urgent {
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================================
   18. RESPONSIVE RULES
   Keep phone spacing efficient
   ========================================================= */

@media (max-width: 991px) {
  :root {
    --acad-topbar-h: 66px;
    --acad-shell-gap: 12px;
    --acad-shell-pad: 12px;
  }

  .academics-menu-toggle {
    display: inline-flex;
  }

  .academics-topbar {
    padding: 10px 12px;
    min-height: var(--acad-topbar-h);
    gap: 10px;
  }

  .academics-topbar__right {
    gap: 6px;
  }

  .academics-topbar__right .academics-topbar__link {
    display: none;
  }

  .academics-brand {
    gap: 7px;
  }

  .academics-brand__logo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .academics-brand__text--short strong {
    font-size: 18px;
  }

  .academics-topbar__iconLink,
  .academics-menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .academics-topbar__iconLink span[aria-hidden="true"] {
    font-size: 20px;
  }

  .academics-topbar__iconLink--home span[aria-hidden="true"] {
    font-size: 22px;
  }

  .academics-shell {
    grid-template-columns: 1fr;
    gap: var(--acad-shell-gap);
    padding: calc(var(--acad-topbar-h) + 12px) var(--acad-shell-pad) var(--acad-shell-pad);
  }

  /* Mobile sidebar opens from LEFT */
  .academics-sidebar {
    position: fixed;
    top: var(--acad-topbar-h);
    left: -320px;
    right: auto;
    width: var(--acad-sidebar-w);
    max-width: 88vw;
    height: calc(100vh - var(--acad-topbar-h));
    z-index: 1090;
    transition: left 0.24s ease;
    padding: 8px 8px 12px;
  }

  .academics-sidebar.show {
    left: 0;
  }

  .academics-sidebar__inner {
    max-height: calc(100vh - var(--acad-topbar-h) - 20px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .academics-main {
    width: 100%;
    min-width: 0;
  }

  .academics-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-width: 0;
    max-width: none;
  }

  .acad-drawer {
    left: 0;
    right: 0;
    max-width: none;
    border-radius: 24px 24px 0 0;
  }

  .academics-notifyDropdown {
    right: -6px;
    width: min(92vw, 300px);
  }
}

@media (max-width: 640px) {
  .academics-brand__logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .academics-brand__text--short strong {
    font-size: 16px;
  }

  .academics-topbar__right {
    gap: 5px;
  }

  .academics-topbar__iconLink,
  .academics-menu-toggle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .academics-topbar__iconLink span[aria-hidden="true"] {
    font-size: 18px;
  }

  .academics-topbar__iconLink--home span[aria-hidden="true"] {
    font-size: 20px;
  }

  .academics-sidebar__wallet {
    flex-direction: column;
    align-items: stretch;
  }

  .academics-sidebar__walletBtn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .academics-topbar {
    padding: 8px 8px;
  }

  .academics-brand {
    gap: 6px;
  }

  .academics-brand__logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .academics-brand__text--short strong {
    font-size: 14px;
  }

  .academics-topbar__iconLink,
  .academics-menu-toggle {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .academics-topbar__iconLink span[aria-hidden="true"] {
    font-size: 17px;
  }

  .academics-topbar__iconLink--home span[aria-hidden="true"] {
    font-size: 18px;
  }

  .academics-menu-toggle span {
    width: 16px;
  }

  .academics-sidebar__profile {
    padding: 14px;
  }

  .academics-sidebar__section {
    padding: 14px;
  }

  .academics-sidebar__link {
    min-height: 48px;
    padding: 8px 10px;
  }

  .academics-sidebar__text strong {
    font-size: 12px;
  }

  .academics-sidebar__text small {
    font-size: 10px;
  }
}