/* ==========================================================================
   MSBT LMS ENTERPRISE DESIGN SYSTEM
   Theme: Manchester School of Business & Technology
   Awarding Alignment: OTHM Qualifications (Ofqual RQF Levels 3–7)
   Colors: Imperial Navy #0B192C | Academic Gold #decb6a | Slate #f8fafc
   ========================================================================== */

:root {
  --msbt-navy: #0B192C;
  --msbt-navy-deep: #07101d;
  --msbt-navy-light: #15243c;
  --msbt-gold: #decb6a;
  --msbt-gold-hover: #e8d882;
  --msbt-gold-dark: #92400e;
  --msbt-gold-light: #fef9c3;
  --msbt-slate-50: #f8fafc;
  --msbt-slate-100: #f1f5f9;
  --msbt-slate-200: #e2e8f0;
  --msbt-slate-300: #cbd5e1;
  --msbt-slate-400: #94a3b8;
  --msbt-slate-500: #64748b;
  --msbt-slate-600: #475569;
  --msbt-slate-700: #334155;
  --msbt-slate-800: #1e293b;
  --msbt-slate-900: #0f172a;
  --msbt-success: #10b981;
  --msbt-success-bg: #ecfdf5;
  --msbt-font: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --msbt-radius-sm: 8px;
  --msbt-radius-md: 14px;
  --msbt-radius-lg: 20px;
  --msbt-radius-xl: 26px;
  --msbt-shadow-sm: 0 1px 3px rgba(11, 25, 44, 0.05);
  --msbt-shadow-md: 0 4px 12px rgba(11, 25, 44, 0.08);
  --msbt-shadow-lg: 0 12px 30px rgba(11, 25, 44, 0.12);
}

/* Global Reset for MSBT Portal Pages */
.msbt-portal-wrap {
  font-family: var(--msbt-font);
  background-color: var(--msbt-slate-50);
  color: var(--msbt-slate-900);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.msbt-portal-wrap * {
  box-sizing: border-box;
}

.msbt-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

/* ---------------- 1. TOP PORTAL HEADER ---------------- */
.msbt-portal-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--msbt-slate-200);
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.04);
}

.msbt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.msbt-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.msbt-brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.msbt-nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 820px) {
  .msbt-nav-links { display: flex; }
}

.msbt-nav-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--msbt-slate-600);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--msbt-radius-sm);
  transition: all 0.2s;
}

.msbt-nav-link:hover, .msbt-nav-link.active {
  color: var(--msbt-navy);
  background: var(--msbt-slate-100);
}

.msbt-user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.msbt-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--msbt-navy);
  color: var(--msbt-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  border: 2px solid var(--msbt-gold);
}

.msbt-user-info {
  display: none;
  flex-direction: column;
  text-align: left;
}

@media (min-width: 600px) {
  .msbt-user-info { display: flex; }
}

.msbt-user-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--msbt-navy);
  line-height: 1.2;
}

.msbt-user-role {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--msbt-slate-500);
}

.msbt-btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--msbt-slate-500);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--msbt-slate-200);
  text-decoration: none;
  transition: all 0.2s;
}

.msbt-btn-logout:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

/* ---------------- 2. HERO / WELCOME BANNER ---------------- */
.msbt-welcome-banner {
  position: relative;
  background: var(--msbt-navy);
  color: #ffffff;
  padding: 44px 0 50px;
  overflow: hidden;
  border-bottom: 1px solid var(--msbt-slate-200);
}

.msbt-welcome-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(222, 203, 106, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.msbt-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fef08a;
  backdrop-filter: blur(8px);
  margin-bottom: 14px;
}

.msbt-welcome-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .msbt-welcome-title { font-size: 34px; }
}

.msbt-welcome-title span {
  color: var(--msbt-gold);
}

.msbt-welcome-sub {
  font-size: 14px;
  color: var(--msbt-slate-300);
  max-width: 650px;
  margin-top: 8px;
  line-height: 1.6;
}

/* ---------------- 3. METRIC STATS 4-GRID ---------------- */
.msbt-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: -24px;
  position: relative;
  z-index: 20;
}

@media (min-width: 900px) {
  .msbt-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.msbt-stat-card {
  background: #ffffff;
  border: 1px solid var(--msbt-slate-200);
  border-radius: var(--msbt-radius-lg);
  padding: 20px 22px;
  box-shadow: var(--msbt-shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}

.msbt-stat-card:hover {
  box-shadow: var(--msbt-shadow-md);
  transform: translateY(-2px);
  border-color: rgba(222, 203, 106, 0.8);
}

.msbt-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--msbt-radius-md);
  background: var(--msbt-slate-100);
  color: var(--msbt-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.msbt-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--msbt-navy);
  line-height: 1.1;
}

.msbt-stat-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--msbt-slate-500);
  margin-top: 4px;
}

/* ---------------- 4. MAIN COURSE CARD & WORKFLOW ---------------- */
.msbt-section {
  padding: 40px 0;
}

.msbt-section-heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin-bottom: 6px;
}

.msbt-section-desc {
  font-size: 13px;
  color: var(--msbt-slate-500);
  margin-bottom: 24px;
}

.msbt-course-card {
  background: #ffffff;
  border: 1px solid var(--msbt-slate-200);
  border-radius: var(--msbt-radius-xl);
  overflow: hidden;
  box-shadow: var(--msbt-shadow-sm);
  margin-bottom: 30px;
  transition: all 0.25s ease;
}

.msbt-course-card:hover {
  box-shadow: var(--msbt-shadow-lg);
  border-color: var(--msbt-gold);
}

.msbt-course-header {
  padding: 24px 28px;
  background: linear-gradient(135deg, #0B192C 0%, #15243c 100%);
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.msbt-course-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--msbt-gold);
}

.msbt-course-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
}

.msbt-course-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.msbt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.msbt-course-body {
  padding: 28px;
}

/* Progress bar */
.msbt-progress-wrapper {
  margin: 18px 0 24px;
}

.msbt-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--msbt-slate-700);
  margin-bottom: 8px;
}

.msbt-progress-track {
  height: 10px;
  background: var(--msbt-slate-200);
  border-radius: 9999px;
  overflow: hidden;
}

.msbt-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #decb6a 0%, #f59e0b 100%);
  border-radius: 9999px;
  transition: width 0.6s ease;
}

/* ---------------- 5. THE 5 OTHM CRITERIA CARDS ---------------- */
.msbt-criteria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .msbt-criteria-grid { grid-template-columns: repeat(2, 1fr); }
}

.msbt-criterion-box {
  background: #ffffff;
  border: 1px solid var(--msbt-slate-200);
  border-radius: var(--msbt-radius-lg);
  padding: 24px;
  position: relative;
  transition: all 0.2s;
}

.msbt-criterion-box:hover {
  border-color: rgba(222, 203, 106, 0.9);
  box-shadow: var(--msbt-shadow-md);
}

.msbt-criterion-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--msbt-gold-light);
  color: var(--msbt-gold-dark);
  border: 1px solid rgba(146, 64, 14, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.msbt-criterion-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin-bottom: 8px;
}

.msbt-criterion-desc {
  font-size: 12.5px;
  color: var(--msbt-slate-600);
  line-height: 1.6;
}

.msbt-criterion-action {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--msbt-slate-100);
  padding-top: 14px;
}

/* ---------------- 6. BUTTONS & ACTIONS ---------------- */
.msbt-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--msbt-gold);
  color: var(--msbt-navy);
  font-weight: 800;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: var(--msbt-radius-md);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(222, 203, 106, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.msbt-btn-gold:hover {
  background: var(--msbt-gold-hover);
  transform: translateY(-1px);
}

.msbt-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--msbt-navy);
  font-weight: 700;
  font-size: 13px;
  padding: 11px 20px;
  border-radius: var(--msbt-radius-md);
  text-decoration: none;
  border: 1px solid var(--msbt-slate-300);
  cursor: pointer;
  transition: all 0.2s;
}

.msbt-btn-outline:hover {
  background: var(--msbt-slate-100);
  border-color: var(--msbt-slate-400);
}

/* ---------------- 7. LOGIN PAGE BESPOKE CARD ---------------- */
.msbt-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 10%, #15243c 0%, #0B192C 100%);
  padding: 30px 20px;
  color: #ffffff;
}

.msbt-login-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  color: var(--msbt-slate-900);
  border-radius: var(--msbt-radius-xl);
  padding: 40px 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.msbt-login-logo {
  height: 52px;
  width: auto;
  margin: 0 auto 18px;
  display: block;
}

.msbt-login-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--msbt-navy);
}

.msbt-login-sub {
  font-size: 13px;
  color: var(--msbt-slate-500);
  margin-top: 4px;
  margin-bottom: 24px;
}

.msbt-form-group {
  text-align: left;
  margin-bottom: 18px;
}

.msbt-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--msbt-slate-700);
  margin-bottom: 6px;
}

.msbt-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--msbt-slate-300);
  border-radius: var(--msbt-radius-md);
  font-family: inherit;
  font-size: 13px;
  color: var(--msbt-slate-900);
  background: #ffffff;
  transition: all 0.2s;
}

.msbt-input:focus {
  outline: none;
  border-color: var(--msbt-gold-dark);
  box-shadow: 0 0 0 3px rgba(222, 203, 106, 0.35);
}

.msbt-alert-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: var(--msbt-radius-md);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  margin-bottom: 18px;
}

/* ---------------- 8. OTHM AWARD CERTIFICATE ---------------- */
.msbt-certificate-canvas {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border: 12px solid #0B192C;
  outline: 3px solid #decb6a;
  outline-offset: -8px;
  padding: 60px 50px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  position: relative;
}

.msbt-cert-crest {
  height: 70px;
  width: auto;
  margin: 0 auto 16px;
}

.msbt-cert-institution {
  font-size: 26px;
  font-weight: 900;
  color: #0B192C;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.msbt-cert-sub {
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.msbt-cert-name {
  font-size: 32px;
  font-weight: 800;
  color: #0B192C;
  border-bottom: 2px solid #decb6a;
  display: inline-block;
  padding-bottom: 6px;
  margin: 24px 0 16px;
  font-family: Georgia, serif;
}

.msbt-cert-award {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

.msbt-cert-details {
  font-size: 13px;
  color: #64748b;
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.msbt-cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.msbt-cert-signature-box {
  text-align: left;
}

.msbt-cert-sig-line {
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 24px;
  color: #0B192C;
}

.msbt-cert-signer {
  font-size: 11.5px;
  font-weight: 800;
  color: #0B192C;
  text-transform: uppercase;
}

/* ==========================================================================
   MSBT GLOBAL HEADER & NAVIGATION SYSTEM
   ========================================================================== */

.msbt-global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  font-family: var(--msbt-font);
  background: #ffffff;
}

/* 1. Topbar Trust Strip */
.msbt-topbar {
  background-color: #0a1424;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: #cbd5e1;
  padding: 6px 0;
}

.msbt-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.msbt-topbar-left,
.msbt-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.msbt-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.msbt-uk-flag {
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  overflow: hidden;
}

.msbt-topbar-text-mobile {
  display: none;
}

.msbt-topbar-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}

.msbt-topbar-award {
  color: #fef08a;
  font-weight: 600;
}

.msbt-topbar-link {
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.msbt-topbar-link:hover {
  color: var(--msbt-gold);
}

.msbt-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fef08a;
  font-weight: 700;
  font-size: 11px;
}

.msbt-pulse-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.msbt-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #34d399;
  opacity: 0.75;
  animation: msbtPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.msbt-pulse-core {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  background-color: #10b981;
}

@keyframes msbtPulse {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .msbt-topbar-award,
  .msbt-topbar-email {
    display: none;
  }
}

@media (max-width: 640px) {
  .msbt-topbar-text-desktop { display: none; }
  .msbt-topbar-text-mobile { display: inline; }
  .msbt-topbar-phone { display: none; }
}

/* 2. Main Navbar */
.msbt-navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--msbt-slate-200);
  box-shadow: 0 4px 16px -2px rgba(11, 25, 44, 0.05);
}

.msbt-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.msbt-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.msbt-header-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s;
}

.msbt-logo-link:hover .msbt-header-logo {
  opacity: 0.9;
}

/* Navigation Menu */
.msbt-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 960px) {
  .msbt-nav-menu {
    display: none;
  }
}

.msbt-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--msbt-slate-700);
  text-decoration: none;
  transition: all 0.15s ease;
}

.msbt-nav-item:hover {
  color: var(--msbt-navy);
  background: var(--msbt-slate-100);
}

.msbt-nav-item.is-active {
  color: var(--msbt-navy);
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--msbt-slate-200);
}

.msbt-badge-gold {
  background: #fef3c7;
  color: #92400e;
  border-radius: 9999px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.msbt-badge-subtle {
  background: var(--msbt-slate-100);
  color: var(--msbt-slate-600);
  border-radius: 9999px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 700;
}

/* Right Header Actions */
.msbt-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.msbt-btn-signin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--msbt-gold);
  color: var(--msbt-navy);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(222, 203, 106, 0.4);
}

.msbt-btn-signin:hover {
  background-color: var(--msbt-gold-hover);
  transform: translateY(-1px);
}

/* Hamburger button */
.msbt-hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--msbt-slate-200);
  border-radius: 10px;
  padding: 7px;
  color: var(--msbt-navy);
  cursor: pointer;
  transition: background 0.15s;
}

.msbt-hamburger-btn:hover {
  background: var(--msbt-slate-100);
}

@media (max-width: 960px) {
  .msbt-hamburger-btn {
    display: inline-flex;
  }
}

/* ==========================================================================
   USER ACCOUNT HOVER DROPDOWN (LMS SPEC)
   ========================================================================== */

.msbt-account-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.msbt-account-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 5px 14px 5px 6px !important;
  border-radius: 9999px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
  box-shadow: 0 1px 4px rgba(11, 25, 44, 0.05) !important;
  text-decoration: none !important;
}

.msbt-account-trigger .msbt-avatar-circle {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #0B192C !important;
  color: #decb6a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  border: 2px solid #decb6a !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.msbt-account-trigger .msbt-account-meta {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  line-height: 1.2 !important;
}

.msbt-account-trigger .msbt-account-name {
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #0B192C !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
  line-height: 1.25 !important;
  display: block !important;
}

.msbt-account-trigger .msbt-account-role {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
  line-height: 1.25 !important;
  display: block !important;
}

.msbt-account-trigger .msbt-chevron-icon {
  stroke: #64748b !important;
  color: #64748b !important;
  flex-shrink: 0 !important;
  transition: stroke 0.2s ease, transform 0.2s ease !important;
}

/* Hover & Open States: Ultra-clean executive navy pill with gold contrast */
.msbt-account-trigger:hover,
.msbt-account-trigger:focus,
.msbt-account-dropdown:hover .msbt-account-trigger,
.msbt-account-dropdown.is-open .msbt-account-trigger {
  border-color: #decb6a !important;
  background: #0B192C !important;
  box-shadow: 0 4px 18px rgba(11, 25, 44, 0.22) !important;
}

.msbt-account-trigger:hover .msbt-avatar-circle,
.msbt-account-dropdown:hover .msbt-avatar-circle,
.msbt-account-dropdown.is-open .msbt-avatar-circle {
  background: #decb6a !important;
  color: #0B192C !important;
  border-color: #ffffff !important;
}

.msbt-account-trigger:hover .msbt-account-name,
.msbt-account-dropdown:hover .msbt-account-name,
.msbt-account-dropdown.is-open .msbt-account-name {
  color: #ffffff !important;
}

.msbt-account-trigger:hover .msbt-account-role,
.msbt-account-dropdown:hover .msbt-account-role,
.msbt-account-dropdown.is-open .msbt-account-role {
  color: #decb6a !important;
}

.msbt-account-trigger:hover .msbt-chevron-icon,
.msbt-account-dropdown:hover .msbt-chevron-icon,
.msbt-account-dropdown.is-open .msbt-chevron-icon {
  stroke: #decb6a !important;
  color: #decb6a !important;
  transform: rotate(180deg) !important;
}

@media (max-width: 600px) {
  .msbt-account-meta {
    display: none !important;
  }
}

/* Dropdown Menu Card */
.msbt-account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 310px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--msbt-slate-200);
  box-shadow: 0 20px 40px -8px rgba(11, 25, 44, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 10000;
  overflow: hidden;
}

/* Invisible hover bridge */
.msbt-account-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
}

/* Hover & Focus state */
.msbt-account-dropdown:hover .msbt-account-menu,
.msbt-account-dropdown:focus-within .msbt-account-menu,
.msbt-account-dropdown.is-open .msbt-account-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Menu Header */
.msbt-menu-header {
  background: linear-gradient(135deg, #0B192C 0%, #15273f 100%);
  padding: 18px 16px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.msbt-menu-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.msbt-avatar-lg {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #07101d;
  color: var(--msbt-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid var(--msbt-gold);
  flex-shrink: 0;
}

.msbt-menu-user-details {
  overflow: hidden;
}

.msbt-menu-user-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msbt-menu-user-email {
  font-size: 11.5px;
  color: #cbd5e1;
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msbt-menu-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 10.5px;
  font-weight: 700;
  color: #fef08a;
}

.msbt-pill-status {
  color: #10b981;
  font-size: 9px;
}

.msbt-pill-sep {
  color: rgba(255, 255, 255, 0.4);
}

.msbt-pill-id {
  color: #ffffff;
  font-weight: 800;
}

/* Menu Links */
.msbt-menu-links {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.msbt-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.msbt-menu-item:hover {
  background: var(--msbt-slate-100);
  transform: translateX(2px);
}

.msbt-menu-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.msbt-icon-gold {
  background: #fefce8;
  color: #ca8a04;
}

.msbt-icon-emerald {
  background: #ecfdf5;
  color: #059669;
}

.msbt-icon-slate {
  background: #f1f5f9;
  color: #475569;
}

.msbt-menu-item-content {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.msbt-menu-item-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--msbt-slate-800);
}

.msbt-menu-item-sub {
  font-size: 10.5px;
  color: var(--msbt-slate-500);
  font-weight: 500;
}

/* Menu Footer (Sign Out) */
.msbt-menu-footer {
  padding: 8px;
  border-top: 1px solid var(--msbt-slate-100);
  background: #fafafa;
}

.msbt-menu-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #dc2626;
  text-decoration: none;
  transition: all 0.15s ease;
}

.msbt-menu-logout:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* Mobile Drawer */
.msbt-mobile-drawer {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--msbt-slate-200);
  box-shadow: 0 10px 25px -5px rgba(11, 25, 44, 0.1);
  padding: 16px 20px;
}

.msbt-mobile-drawer.is-open {
  display: block;
}

.msbt-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msbt-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--msbt-slate-800);
  text-decoration: none;
  transition: background 0.15s;
}

.msbt-mobile-link:hover {
  background: var(--msbt-slate-100);
}

.msbt-mobile-divider {
  height: 1px;
  background: var(--msbt-slate-200);
  margin: 6px 0;
}

.msbt-mobile-user-box {
  padding: 8px 14px;
}

.msbt-mobile-user-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin: 0;
}

.msbt-mobile-user-sub {
  font-size: 11px;
  color: var(--msbt-slate-500);
  margin: 2px 0 0;
}

.msbt-mobile-logout {
  color: #dc2626;
  background: #fef2f2;
}

/* ==========================================================================
   MSBT GLOBAL FOOTER SYSTEM
   ========================================================================== */

.msbt-global-footer {
  background-color: #09121f;
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
  font-family: var(--msbt-font);
  margin-top: auto;
}

.msbt-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 1. Footer Top Trust Strip */
.msbt-footer-trustbar {
  background: #060c16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.msbt-footer-trust-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 960px) {
  .msbt-footer-trust-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.msbt-footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.msbt-footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.msbt-footer-brand-text {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 14px;
}

.msbt-footer-inst-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.msbt-footer-inst-sub {
  font-size: 11px;
  color: #94a3b8;
  margin: 2px 0 0;
}

.msbt-footer-pillars {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.msbt-pillar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.msbt-pillar-sep {
  color: rgba(255, 255, 255, 0.25);
}

/* 2. Main Footer Grid */
.msbt-footer-main {
  padding: 48px 0 40px;
}

.msbt-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

@media (max-width: 1080px) {
  .msbt-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .msbt-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .msbt-footer-grid {
    grid-template-columns: 1fr;
  }
}

.msbt-footer-col-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 14px;
  position: relative;
}

.msbt-col-accent {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--msbt-gold);
  border-radius: 2px;
  margin-top: 6px;
}

.msbt-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: #cbd5e1;
}

.msbt-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.msbt-contact-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.msbt-contact-bold {
  font-weight: 700;
  color: #ffffff;
}

.msbt-contact-sub {
  color: #94a3b8;
  font-size: 11.5px;
  margin-top: 2px;
}

.msbt-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--msbt-gold);
  font-weight: 700;
  font-size: 11px;
  margin-top: 4px;
  text-decoration: none;
}

.msbt-maps-link:hover {
  text-decoration: underline;
}

.msbt-contact-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.msbt-contact-link:hover {
  color: var(--msbt-gold);
}

.msbt-hours-item {
  font-size: 11px;
  color: #94a3b8;
}

.msbt-footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msbt-footer-link-list a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.15s;
  display: inline-block;
}

.msbt-footer-link-list a:hover {
  color: var(--msbt-gold);
}

.msbt-link-featured {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.msbt-link-gold {
  color: var(--msbt-gold) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}

.msbt-link-gold:hover {
  text-decoration: underline;
}

.msbt-view-all-li {
  padding-top: 4px;
}

.msbt-footer-review-intro {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 12px;
  line-height: 1.4;
}

.msbt-review-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: all 0.2s;
}

.msbt-review-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #00b67a;
}

.msbt-review-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.msbt-tp-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #00b67a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-review-title {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.msbt-review-sub {
  font-size: 9.5px;
  color: #94a3b8;
  margin: 1px 0 0;
}

.msbt-uk-emblem-box {
  background: #0e1d33;
  border: 1px solid rgba(222, 203, 106, 0.4);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.msbt-uk-flag-badge {
  width: 34px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  display: flex;
}

.msbt-emblem-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.msbt-emblem-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--msbt-gold);
  margin: 1px 0 0;
}

/* 3. Footer Bottom Strip */
.msbt-footer-bottom {
  background: #060c16;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  font-size: 11.5px;
}

.msbt-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 960px) {
  .msbt-footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.msbt-footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.msbt-footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.msbt-footer-legal a:hover {
  color: var(--msbt-gold);
}

.msbt-legal-sep {
  color: #475569;
}

.msbt-footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.msbt-social-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  margin-right: 4px;
}

.msbt-social-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: var(--msbt-gold);
  color: #0b1320;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.msbt-social-icon:hover {
  transform: scale(1.12);
  background-color: var(--msbt-gold-hover);
}

.msbt-footer-copy-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.msbt-footer-copy {
  color: #64748b;
  margin: 0;
  font-size: 11px;
}

.msbt-back-to-top {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.msbt-back-to-top:hover {
  background: var(--msbt-gold);
  color: #0b1320;
}

/* ==========================================================================
   MSBT MODERN LMS PROFILE & DASHBOARD SYSTEM
   ========================================================================== */

.msbt-profile-page {
  background-color: #f8fafc;
  min-height: 100vh;
  padding-bottom: 70px;
  font-family: var(--msbt-font);
  color: var(--msbt-slate-800);
}

.msbt-profile-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* 1. Hero Student Profile Banner */
.msbt-profile-hero {
  background: linear-gradient(135deg, #07101d 0%, #0B192C 50%, #15273f 100%);
  color: #ffffff;
  padding: 40px 0 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.msbt-profile-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 203, 106, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.msbt-profile-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.msbt-profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.msbt-profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: #07101d;
  color: var(--msbt-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  border: 3px solid var(--msbt-gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(222, 203, 106, 0.3);
}

.msbt-profile-online-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #10b981;
  border: 3px solid #0B192C;
}

.msbt-profile-meta {
  flex: 1;
  min-width: 280px;
}

.msbt-profile-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.msbt-pill-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
}

.msbt-dot-emerald {
  color: #10b981;
  font-size: 9px;
}

.msbt-pill-othm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(222, 203, 106, 0.15);
  border: 1px solid rgba(222, 203, 106, 0.3);
  color: #fef08a;
  font-size: 11px;
  font-weight: 700;
}

.msbt-profile-name {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.msbt-profile-id-line {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 4px 0 14px;
}

.msbt-id-code {
  font-family: monospace;
  color: var(--msbt-gold);
  letter-spacing: 0.5px;
  font-size: 13px;
}

.msbt-profile-contact-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #cbd5e1;
}

.msbt-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px 10px;
}

.msbt-profile-quick-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (max-width: 860px) {
  .msbt-profile-quick-action {
    align-items: flex-start;
    width: 100%;
  }
}

.msbt-btn-resume-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--msbt-gold);
  color: var(--msbt-navy);
  font-size: 13.5px;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(222, 203, 106, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.msbt-btn-resume-hero:hover {
  background: #ecd978;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(222, 203, 106, 0.55);
}

.msbt-quick-sub {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 6px;
  max-width: 240px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 860px) {
  .msbt-quick-sub {
    text-align: left;
  }
}

/* 2. Metric Stats Strip */
.msbt-profile-stats-sec {
  margin-top: -24px;
  position: relative;
  z-index: 20;
}

.msbt-profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 960px) {
  .msbt-profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .msbt-profile-stats-grid {
    grid-template-columns: 1fr;
  }
}

.msbt-stat-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--msbt-slate-200);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.05);
  transition: transform 0.2s;
}

.msbt-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 25, 44, 0.08);
}

.msbt-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-icon-gold-bg { background: #fefce8; }
.msbt-icon-emerald-bg { background: #ecfdf5; }
.msbt-icon-blue-bg { background: #eff6ff; }
.msbt-icon-purple-bg { background: #f5f3ff; }

.msbt-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.msbt-stat-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin: 2px 0 0;
  line-height: 1.2;
}

.msbt-stat-sub {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

/* 3. Main Dashboard Layout */
.msbt-profile-main {
  margin-top: 32px;
}

.msbt-profile-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1040px) {
  .msbt-profile-layout {
    grid-template-columns: 1fr;
  }
}

/* Course Showcase Card */
.msbt-course-showcase-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--msbt-slate-200);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.04);
  margin-bottom: 28px;
}

.msbt-showcase-banner-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
}

.msbt-showcase-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 29, 0.2) 0%, rgba(7, 16, 29, 0.85) 100%);
}

.msbt-badge-enrolled-pill {
  position: relative;
  z-index: 2;
  background: var(--msbt-gold);
  color: var(--msbt-navy);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
}

.msbt-badge-ofqual-code {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.msbt-showcase-body {
  padding: 24px;
}

.msbt-showcase-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.msbt-tag-gold {
  color: #b45309;
}

.msbt-sep-dot {
  color: #cbd5e1;
}

.msbt-showcase-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin: 0 0 10px;
  line-height: 1.3;
}

.msbt-showcase-title a {
  color: var(--msbt-navy);
  text-decoration: none;
  transition: color 0.15s;
}

.msbt-showcase-title a:hover {
  color: #b45309;
}

.msbt-showcase-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 20px;
}

.msbt-showcase-progress-wrap {
  background: #f8fafc;
  border: 1px solid var(--msbt-slate-200);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.msbt-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--msbt-navy);
  margin-bottom: 8px;
}

.msbt-progress-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.msbt-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0B192C 0%, #d97706 60%, #decb6a 100%);
  border-radius: 9999px;
  transition: width 0.5s ease;
}

.msbt-prog-subtext {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
  margin-top: 8px;
  font-weight: 500;
}

.msbt-showcase-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.msbt-btn-primary-launch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--msbt-navy);
  color: var(--msbt-gold);
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.15);
}

.msbt-btn-primary-launch:hover {
  background: #15273f;
  color: #ffffff;
  transform: translateY(-1px);
}

.msbt-btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--msbt-slate-300);
  background: #ffffff;
  color: var(--msbt-slate-700);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.15s;
}

.msbt-btn-secondary-outline:hover {
  background: var(--msbt-slate-50);
  color: var(--msbt-navy);
}

/* 5 Core OTHM Evidence Portals Hub */
.msbt-criteria-hub-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--msbt-slate-200);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.04);
  margin-bottom: 28px;
}

.msbt-hub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--msbt-slate-100);
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.msbt-kicker-gold {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.msbt-hub-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin: 3px 0 0;
}

.msbt-hub-note {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.msbt-hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 960px) {
  .msbt-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .msbt-hub-grid {
    grid-template-columns: 1fr;
  }
}

.msbt-hub-box {
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 170px;
}

.msbt-hub-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 25, 44, 0.08);
}

.msbt-hub-blue {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.03) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.msbt-hub-amber {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(217, 119, 6, 0.03) 100%);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.msbt-hub-emerald {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(5, 150, 105, 0.03) 100%);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.msbt-hub-purple {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(124, 58, 237, 0.03) 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.msbt-hub-navy {
  background: linear-gradient(135deg, rgba(11, 25, 44, 0.08) 0%, rgba(11, 25, 44, 0.03) 100%);
  border: 1px solid rgba(11, 25, 44, 0.2);
}

.msbt-hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.msbt-hub-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.msbt-hub-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: #ffffff;
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--msbt-slate-600);
}

.msbt-hub-box-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin: 0 0 4px;
  line-height: 1.25;
}

.msbt-hub-box-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.msbt-hub-bottom {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--msbt-navy);
}

/* ==========================================================================
   SUBMITTED COURSEWORK & ASSIGNMENTS TABLE (OTHM SPEC)
   ========================================================================== */

.msbt-assignments-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--msbt-slate-200);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.04);
  margin-bottom: 28px;
}

.msbt-assignments-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--msbt-slate-100);
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.msbt-assignments-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin: 4px 0 2px;
}

.msbt-assignments-sub {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
}

.msbt-btn-upload-new {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #decb6a !important;
  color: #0B192C !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  border: 1px solid #d4c05b !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(222, 203, 106, 0.35) !important;
}

.msbt-btn-upload-new:hover {
  background: #0B192C !important;
  color: #decb6a !important;
  border-color: #0B192C !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.25) !important;
}

.msbt-btn-upload-new span {
  color: inherit !important;
  font-weight: 800 !important;
}

.msbt-assignments-table-wrap {
  border-radius: 16px;
  border: 1px solid var(--msbt-slate-200);
  overflow: hidden;
  background: #ffffff;
}

.msbt-assignments-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12.5px;
}

.msbt-assignments-table thead th {
  background: #0B192C;
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 13px 16px;
}

.msbt-assignments-table tbody tr {
  border-bottom: 1px solid var(--msbt-slate-100);
  transition: background 0.15s;
}

.msbt-assignments-table tbody tr:last-child {
  border-bottom: none;
}

.msbt-assignments-table tbody tr:hover {
  background: #fafafc;
}

.msbt-assignments-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
}

.msbt-td-assign-main {
  min-width: 280px;
}

.msbt-assign-file-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.msbt-assign-file-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-assign-file-info {
  overflow: hidden;
}

.msbt-assign-name-link {
  font-weight: 700;
  color: var(--msbt-navy);
  font-size: 12.5px;
  text-decoration: none;
  display: block;
  line-height: 1.35;
  word-break: break-all;
  transition: color 0.15s;
}

.msbt-assign-name-link:hover {
  color: #b45309;
  text-decoration: underline;
}

.msbt-assign-lesson-tag {
  font-size: 11px;
  color: #64748b;
  margin-top: 3px;
}

.msbt-assign-comment-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  background: var(--msbt-slate-100);
  padding: 4px 10px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.15s;
}

.msbt-assign-comment-bubble:hover {
  background: #e2e8f0;
  color: var(--msbt-navy);
}

.msbt-badge-approved {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #0B192C;
  color: #ffffff;
  border: 1px solid #1a2f4c;
  font-size: 10.5px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 4px rgba(11, 25, 44, 0.15);
}

.msbt-badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
}

.msbt-td-date {
  font-size: 12px;
  color: #475569;
  font-weight: 500;
  white-space: nowrap;
}

.msbt-assign-actions-flex {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.msbt-btn-download-file {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--msbt-navy);
  color: var(--msbt-gold);
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.15s;
}

.msbt-btn-download-file:hover {
  background: #15273f;
  color: #ffffff;
}

.msbt-btn-feedback-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  background: #0B192C !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border: 1px solid #0B192C !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.msbt-btn-feedback-link:hover {
  background: #1e293b !important;
  color: #decb6a !important;
  border-color: #decb6a !important;
  transform: translateY(-1px) !important;
}

.msbt-btn-feedback-link span {
  color: inherit !important;
}

.msbt-assignments-empty {
  text-align: center;
  padding: 36px 20px;
}

.msbt-empty-icon {
  margin-bottom: 12px;
}

.msbt-empty-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin: 0 0 4px;
}

.msbt-empty-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 16px;
}

.msbt-btn-upload-cta {
  display: inline-flex;
  align-items: center;
  background: var(--msbt-gold);
  color: var(--msbt-navy);
  font-size: 12.5px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s;
}

.msbt-btn-upload-cta:hover {
  background: #ecd978;
}



/* Aside Column Cards */
.msbt-aside-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--msbt-slate-200);
  padding: 22px;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.04);
  margin-bottom: 20px;
}

.msbt-aside-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin: 0 0 6px;
}

.msbt-aside-sub {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 16px;
}

.msbt-faculty-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msbt-faculty-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--msbt-slate-200);
  border-radius: 14px;
  padding: 12px;
}

.msbt-faculty-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.msbt-avatar-navy {
  background: var(--msbt-navy);
  color: var(--msbt-gold);
  border: 2px solid var(--msbt-gold);
}

.msbt-avatar-slate {
  background: #1e293b;
  color: #ffffff;
}

.msbt-faculty-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--msbt-navy);
  margin: 0;
}

.msbt-faculty-role {
  font-size: 11px;
  font-weight: 600;
  color: #b45309;
  margin: 1px 0;
}

.msbt-faculty-email {
  font-size: 11px;
  color: #64748b;
  text-decoration: none;
}

.msbt-faculty-email:hover {
  text-decoration: underline;
  color: var(--msbt-navy);
}

.msbt-btn-contact-registry {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--msbt-slate-200);
  background: #ffffff;
  color: var(--msbt-slate-700);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}

.msbt-btn-contact-registry:hover {
  background: var(--msbt-slate-50);
  color: var(--msbt-navy);
}

/* Timetable */
.msbt-timetable-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.msbt-timetable-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--msbt-slate-100);
}

.msbt-timetable-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.msbt-tt-label {
  color: #64748b;
  font-size: 11.5px;
}

.msbt-tt-val {
  font-weight: 700;
  color: var(--msbt-navy);
  font-size: 12px;
}

.msbt-color-emerald {
  color: #059669;
}

/* Document Downloads */
.msbt-doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msbt-doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--msbt-slate-200);
  border-radius: 12px;
  padding: 10px 12px;
}

.msbt-doc-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--msbt-navy);
  margin: 0;
}

.msbt-doc-sub {
  font-size: 10px;
  color: #94a3b8;
  margin: 1px 0 0;
}

.msbt-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--msbt-slate-300);
  font-size: 11px;
  font-weight: 700;
  color: var(--msbt-navy);
  text-decoration: none;
  transition: all 0.15s;
}

.msbt-doc-btn:hover {
  background: var(--msbt-slate-100);
}

/* Academic Integrity Card */
.msbt-integrity-card {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: 18px;
  padding: 18px;
}

.msbt-integrity-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 6px;
}

.msbt-integrity-text {
  font-size: 11.5px;
  color: #78350f;
  line-height: 1.5;
  margin: 0;
}



/* ==========================================================================
   MSBT NOTIFICATIONS & ACADEMIC SUPPORT MODAL (OTHM Criterion 8)
   ========================================================================== */

/* Notifications Bell Component */
.msbt-notif-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.msbt-notif-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--msbt-slate-200);
  color: var(--msbt-navy);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  box-shadow: 0 1px 3px rgba(11, 25, 44, 0.06);
}

.msbt-notif-trigger:hover,
.msbt-notif-dropdown.is-open .msbt-notif-trigger {
  background: #fffdf5;
  border-color: var(--msbt-gold);
  color: #92400e;
  box-shadow: 0 4px 14px rgba(222, 203, 106, 0.25);
  transform: translateY(-1px);
}

.msbt-notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 10px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
  animation: msbtPulseAlert 2s infinite;
}

@keyframes msbtPulseAlert {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.msbt-notif-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 360px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(11, 25, 44, 0.22);
  border: 1px solid rgba(11, 25, 44, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  overflow: hidden;
}

.msbt-notif-dropdown:hover .msbt-notif-menu,
.msbt-notif-dropdown.is-open .msbt-notif-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.msbt-notif-header {
  background: linear-gradient(135deg, #0B192C 0%, #15243c 100%);
  padding: 16px 20px;
  color: #ffffff;
}

.msbt-notif-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.msbt-notif-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.msbt-notif-tag-unread {
  background: #decb6a;
  color: #0B192C;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  text-transform: uppercase;
}

.msbt-notif-mark-read-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.msbt-notif-mark-read-btn:hover {
  color: #decb6a;
}

.msbt-notif-sub {
  margin: 3px 0 0;
  font-size: 11px;
  color: #94a3b8;
}

.msbt-notif-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0;
}

.msbt-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.msbt-notif-item:last-child {
  border-bottom: none;
}

.msbt-notif-item:hover {
  background: #f8fafc;
}

.msbt-notif-item.is-unread {
  background: #f8fafc;
  border-left: 3px solid #decb6a;
}

.msbt-notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.msbt-notif-emerald {
  background: #ecfdf5;
  color: #059669;
}

.msbt-notif-amber {
  background: #fffbeb;
  color: #b45309;
}

.msbt-notif-red {
  background: #fef2f2;
  color: #dc2626;
}

.msbt-notif-purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.msbt-notif-content {
  flex: 1;
  min-width: 0;
}

.msbt-notif-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.msbt-notif-heading {
  font-size: 12.5px;
  font-weight: 700;
  color: #0B192C;
}

.msbt-notif-time {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
  flex-shrink: 0;
}

.msbt-notif-desc {
  font-size: 11.5px;
  color: #475569;
  line-height: 1.45;
  margin: 3px 0 0;
}

.msbt-notif-action-link {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  margin-top: 5px;
}

.msbt-notif-footer {
  padding: 10px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.msbt-notif-all-link {
  color: #0B192C;
  text-decoration: none;
  font-weight: 700;
}

.msbt-notif-all-link:hover {
  color: #b45309;
  text-decoration: underline;
}

/* Academic Support Trigger in Nav */
.msbt-btn-support-trigger {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.msbt-support-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

/* Faculty Menu Section in Dropdown */
.msbt-menu-faculty-section {
  padding: 10px 14px 6px;
  background: #fffbeb;
  border-bottom: 1px solid #fef08a;
}

.msbt-faculty-section-title {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #92400e;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.msbt-faculty-item-highlight {
  background: rgba(222, 203, 106, 0.25) !important;
  border-radius: 10px;
}

/* ==========================================================================
   ACADEMIC SUPPORT & TUTOR INQUIRY MODAL (OTHM Criterion 8)
   ========================================================================== */
.msbt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 25, 44, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: msbtFadeIn 0.2s ease-out;
}

@keyframes msbtFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.msbt-modal-container {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.msbt-modal-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(11, 25, 44, 0.35);
  border: 1px solid rgba(222, 203, 106, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.msbt-modal-header {
  background: linear-gradient(135deg, #0B192C 0%, #15243c 100%);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #decb6a;
}

.msbt-modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.msbt-modal-crest {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(222, 203, 106, 0.15);
  border: 1px solid rgba(222, 203, 106, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-modal-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.msbt-modal-sub {
  margin: 3px 0 0;
  font-size: 11.5px;
  color: #cbd5e1;
}

.msbt-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.msbt-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.msbt-modal-faculty-strip {
  background: #f8fafc;
  padding: 10px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
}

.msbt-modal-strip-label {
  font-weight: 700;
  color: #475569;
}

.msbt-modal-faculty-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.msbt-modal-faculty-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 3px 9px;
  border-radius: 20px;
  color: #0B192C;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.msbt-faculty-dot {
  color: #059669;
  font-size: 10px;
}

.msbt-modal-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 4px 14px 0;
  gap: 6px;
}

.msbt-modal-tab {
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.15s;
  border-radius: 8px 8px 0 0;
}

.msbt-modal-tab:hover {
  color: #0B192C;
  background: rgba(255, 255, 255, 0.6);
}

.msbt-modal-tab.is-active {
  color: #0B192C;
  background: #ffffff;
  border-bottom-color: #decb6a;
}

.msbt-modal-dialog .msbt-tab-panel,
.msbt-modal-card .msbt-tab-panel {
  padding: 22px 24px;
  overflow-y: auto;
  max-height: calc(90vh - 220px);
}

.msbt-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .msbt-form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.msbt-form-group {
  margin-bottom: 14px;
}

.msbt-form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 5px;
}

.msbt-form-select,
.msbt-form-input,
.msbt-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  font-family: inherit;
  color: #0B192C;
  background: #f8fafc;
  transition: all 0.15s;
  box-sizing: border-box;
}

.msbt-form-select:focus,
.msbt-form-input:focus,
.msbt-form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #0B192C;
  box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.1);
}

.msbt-form-hint {
  font-size: 11px;
  color: #64748b;
  margin: 5px 0 0;
}

.msbt-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 10px;
}

.msbt-btn-modal-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(135deg, #0B192C 0%, #15243c 100%);
  color: #ffffff;
  border: 1px solid #decb6a;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.18);
}

.msbt-btn-modal-submit:hover {
  background: #0B192C;
  border-color: #fef08a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 25, 44, 0.25);
}

.msbt-modal-security-note {
  font-size: 11.5px;
  color: #059669;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.msbt-modal-success {
  text-align: center;
  padding: 30px 10px;
}

.msbt-success-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.msbt-success-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0B192C;
}

.msbt-success-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 8px auto 20px;
  max-width: 460px;
}

.msbt-btn-modal-reset {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #0B192C;
  cursor: pointer;
}

.msbt-btn-modal-reset:hover {
  background: #e2e8f0;
}

/* Tutorial Tab Styles */
.msbt-tutorial-info-box {
  background: linear-gradient(135deg, #0B192C 0%, #15243c 100%);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.msbt-tutorial-heading {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #decb6a;
}

.msbt-tutorial-p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.5;
}

.msbt-tutorial-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .msbt-tutorial-steps-grid {
    grid-template-columns: 1fr;
  }
}

.msbt-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}

.msbt-step-num {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 6px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.msbt-step-card h5 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #0B192C;
}

.msbt-step-card p {
  margin: 0;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
}

/* Community Tab Styles */
.msbt-community-box {
  padding: 4px;
}

.msbt-community-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #0B192C;
}

.msbt-community-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 16px;
}

.msbt-community-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msbt-community-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.msbt-community-item h6 {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 700;
  color: #0B192C;
}

.msbt-community-item p {
  margin: 0;
  font-size: 11.5px;
  color: #64748b;
}

.msbt-btn-forum-link {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
}

.msbt-btn-forum-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ASSIGNMENT FEEDBACK & DISCUSSION CHAT STYLING (SINGLE ASSIGNMENT & FOCUS)
   ========================================================================== */

/* Single Assignment Page Hero / Notice */
.post-type-archive-sfwd-assignment,
.single-sfwd-assignment {
  background: #f8fafc;
}

.single-sfwd-assignment .ld-focus-comments,
.ld-focus-comments {
  margin-top: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(11, 25, 44, 0.05);
}

.single-sfwd-assignment .ld-focus-comments__header,
.ld-focus-comments__header {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0B192C !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Comments List Items */
.ld-focus-comments__comments-items .ld-focus-comment {
  margin-bottom: 18px;
  border-radius: 16px;
  transition: all 0.2s;
  list-style: none;
}

.ld-focus-comments__comments-items .ld-comment-wrapper {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

/* ASSESSOR / FACULTY COMMENT STYLING (DISTINCT & WAZIH) */
.ld-focus-comment.role-administrator .ld-comment-wrapper,
.ld-focus-comment.role-wdm_instructor .ld-comment-wrapper,
.ld-focus-comment.role-group_leader .ld-comment-wrapper {
  background: #fafaf9 !important;
  border: 2px solid #decb6a !important;
  box-shadow: 0 6px 20px rgba(222, 203, 106, 0.15) !important;
  position: relative;
}

.ld-focus-comment.role-administrator .ld-comment-author-name::after,
.ld-focus-comment.role-wdm_instructor .ld-comment-author-name::after,
.ld-focus-comment.role-group_leader .ld-comment-author-name::after {
  content: "VERIFIED ACADEMIC ASSESSOR · OTHM FACULTY";
  display: inline-block;
  background: #0B192C;
  color: #decb6a;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 8px;
  border: 1px solid rgba(222, 203, 106, 0.4);
  vertical-align: middle;
}

.ld-comment-avatar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ld-comment-avatar img {
  border-radius: 50%;
  border: 2px solid #decb6a;
}

.ld-comment-author-name {
  font-weight: 800 !important;
  color: #0B192C !important;
  font-size: 14px !important;
}

.ld-comment-permalink {
  font-size: 11px !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  display: block;
  margin-top: 2px;
}

.ld-comment-body {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  padding: 8px 0 6px;
}

.ld-comment-body p {
  margin: 0 0 10px;
}

.ld-comment-reply a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0B192C;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s;
}

.ld-comment-reply a:hover {
  background: #0B192C;
  color: #decb6a;
  border-color: #0B192C;
}

/* Comment Form Styling */
#respond {
  margin-top: 24px;
  padding: 20px 22px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

#reply-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0B192C !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

#commentform textarea#comment {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  padding: 12px 16px;
  font-size: 13.5px;
  font-family: inherit;
  color: #0B192C;
  background: #ffffff;
  transition: all 0.15s;
  box-sizing: border-box;
  min-height: 100px;
}

#commentform textarea#comment:focus {
  outline: none;
  border-color: #0B192C;
  box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.1);
}

#commentform input[type="submit"]#submit {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: linear-gradient(135deg, #0B192C 0%, #15243c 100%);
  color: #decb6a;
  border: 1px solid #decb6a;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

#commentform input[type="submit"]#submit:hover {
  background: #0B192C;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.25);
  transform: translateY(-1px);
}

/* Lesson 7.4 Assignment Comments Highlight */
.learndash-wrapper .ld-table-list-item .ld-table-list-column {
  align-items: center !important;
}

.learndash-wrapper .ld-assignment-comments {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  border-radius: 10px !important;
  padding: 4px 10px !important;
  font-weight: 700 !important;
  color: #92400e !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.learndash-wrapper .ld-assignment-comments:hover {
  background: #fef3c7 !important;
  border-color: #f59e0b !important;
}

/* ==========================================================================
   MSBT LMS - SINGLE COURSE PAGE & CURRICULUM ACCORDIONS
   ========================================================================== */

.msbt-course-single-page {
  background-color: #f8fafc;
  min-height: 100vh;
  padding-bottom: 80px;
}

.msbt-course-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 1. Breadcrumbs */
.msbt-course-breadcrumb-strip {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.msbt-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.msbt-breadcrumbs a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.msbt-breadcrumbs a:hover {
  color: #0B192C;
}

.msbt-breadcrumbs .msbt-sep {
  color: #cbd5e1;
}

.msbt-breadcrumbs .msbt-breadcrumb-current {
  color: #0B192C;
  font-weight: 700;
}

/* 2. Hero Section */
.msbt-course-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 40px 0;
}

.msbt-course-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .msbt-course-hero-grid {
    grid-template-columns: 8fr 4fr;
    align-items: start;
  }
}

.msbt-course-hero-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.msbt-pill-rqf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0B192C;
  color: #decb6a;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.msbt-pill-ofqual {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}

.msbt-pill-enrolled-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
}

.msbt-course-hero-title {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 800;
  color: #0B192C;
  line-height: 1.25;
  margin: 0 0 16px 0;
}

@media (min-width: 768px) {
  .msbt-course-hero-title {
    font-size: 38px;
  }
}

.msbt-course-hero-lead {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 20px 0;
}

.msbt-course-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.msbt-cm-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.msbt-cm-label {
  color: #94a3b8;
}

.msbt-cm-val {
  font-weight: 700;
  color: #0B192C;
}

.msbt-cm-dot {
  color: #cbd5e1;
}

.msbt-course-featured-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(11, 25, 44, 0.12);
  border: 1px solid #e2e8f0;
  max-height: 380px;
}

.msbt-course-featured-banner img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.msbt-banner-overlay-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(222, 203, 106, 0.4);
}

/* Hero Aside Floating Card */
.msbt-course-hero-aside {
  position: relative;
}

.msbt-course-cta-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 35px -8px rgba(11, 25, 44, 0.1);
  position: sticky;
  top: 90px;
}

.msbt-cta-status-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.msbt-cta-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.msbt-cta-status-text {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
}

.msbt-cta-progress-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 18px;
}

.msbt-prog-header-sm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.msbt-prog-lbl {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.msbt-prog-num {
  font-size: 14px;
  font-weight: 800;
  color: #059669;
}

.msbt-prog-bar-track {
  height: 7px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.msbt-prog-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.msbt-prog-steps-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.msbt-btn-course-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #0B192C 0%, #15243c 100%);
  color: #decb6a;
  border: 1px solid #decb6a;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(11, 25, 44, 0.25);
  transition: all 0.25s ease;
  margin-bottom: 18px;
}

.msbt-btn-course-launch:hover {
  background: #0B192C;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 25, 44, 0.35);
}

.msbt-cta-faculty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.msbt-cta-faculty-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fef3c7;
  color: #92400e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid #fde68a;
  flex-shrink: 0;
}

.msbt-fac-role {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.msbt-fac-name {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #0B192C;
}

.msbt-cta-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.msbt-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.msbt-spec-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-weight: 600;
}

.msbt-spec-val {
  font-weight: 700;
  color: #0B192C;
}

.msbt-btn-ask-tutor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: #f8fafc;
  color: #0B192C;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.msbt-btn-ask-tutor:hover {
  background: #ffffff;
  border-color: #0B192C;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.08);
}

/* 3. Stat Highlights Strip */
.msbt-course-highlights-strip {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0;
}

.msbt-course-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 992px) {
  .msbt-course-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.msbt-cstat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  text-align: center;
  transition: all 0.2s;
}

.msbt-cstat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 25, 44, 0.06);
  border-color: #cbd5e1;
}

.msbt-cstat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
}

.msbt-cstat-val {
  font-size: 20px;
  font-weight: 800;
  color: #0B192C;
  margin-bottom: 2px;
}

.msbt-cstat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

/* 4. Main Body & Curriculum */
.msbt-course-body-sec {
  padding: 40px 0;
}

.msbt-course-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .msbt-course-layout {
    grid-template-columns: 8fr 4fr;
    align-items: start;
  }
}

.msbt-course-col-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.msbt-course-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 6px 20px -6px rgba(11, 25, 44, 0.05);
}

.msbt-overview-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.msbt-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.msbt-bullet-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Curriculum Header & Accordions */
.msbt-curriculum-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .msbt-curriculum-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.msbt-curriculum-title {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 800;
  color: #0B192C;
  margin: 4px 0 6px 0;
}

.msbt-curriculum-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.msbt-btn-toggle-all {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0B192C;
  padding: 7px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.msbt-btn-toggle-all:hover {
  background: #0B192C;
  color: #ffffff;
}

/* Accordion Component */
.msbt-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msbt-accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.25s ease;
}

.msbt-accordion-item:hover {
  border-color: #cbd5e1;
}

.msbt-accordion-item.is-open {
  border-color: #decb6a;
  box-shadow: 0 4px 18px rgba(11, 25, 44, 0.05);
}

.msbt-accordion-trigger,
.msbt-accordion-trigger:focus,
.msbt-accordion-trigger:active,
.msbt-accordion-trigger:hover,
.msbt-accordion-trigger:focus-visible {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: #ffffff !important;
  color: #0B192C !important;
  border: none !important;
  cursor: pointer;
  text-align: left;
  outline: none !important;
  box-shadow: none !important;
  transition: background 0.18s ease;
}

.msbt-accordion-item.is-open .msbt-accordion-trigger,
.msbt-accordion-item.is-open .msbt-accordion-trigger:focus,
.msbt-accordion-item.is-open .msbt-accordion-trigger:active,
.msbt-accordion-item.is-open .msbt-accordion-trigger:hover {
  background: #fafaf9 !important;
  color: #0B192C !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.msbt-accordion-trigger-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.msbt-mod-number {
  font-size: 12px;
  font-weight: 800;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 4px 9px;
  border-radius: 8px;
  flex-shrink: 0;
}

.msbt-mod-title {
  font-size: 15px;
  font-weight: 700;
  color: #0B192C;
  line-height: 1.4;
}

.msbt-accordion-trigger-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.msbt-mod-count-badge {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 9999px;
}

.msbt-chevron-icon {
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.msbt-accordion-item.is-open .msbt-chevron-icon {
  transform: rotate(180deg);
  color: #0B192C;
}

.msbt-accordion-body {
  padding: 6px 16px 16px 16px;
}

/* Lesson List Inside Accordion */
.msbt-lesson-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msbt-lesson-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.2s;
}

.msbt-lesson-row:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.04);
}

.msbt-lesson-row.is-complete {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.msbt-lesson-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.msbt-status-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-status-icon.is-completed {
  background: #10b981;
}

.msbt-status-icon.is-pending {
  background: #e2e8f0;
}

.msbt-lesson-title-link {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}

.msbt-lesson-title-link:hover {
  color: #0B192C;
  text-decoration: underline;
}

.msbt-lesson-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.msbt-tag-assign {
  font-size: 10px;
  font-weight: 800;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.msbt-tag-feedback {
  font-size: 10px;
  font-weight: 800;
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.msbt-tag-quiz {
  font-size: 10px;
  font-weight: 800;
  background: #fefce8;
  color: #854d0e;
  border: 1px solid #fef08a;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.msbt-tag-reading {
  font-size: 10px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 6px;
}

.msbt-btn-lesson-arrow {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s;
}

.msbt-btn-lesson-arrow:hover {
  color: #0B192C;
  background: #e2e8f0;
}

/* Certificate Showcase Card */
.msbt-cert-card {
  background: #ffffff;
}

.msbt-cert-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .msbt-cert-layout {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }
}

.msbt-cert-title {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 800;
  color: #0B192C;
  margin: 6px 0 12px 0;
}

.msbt-cert-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 18px;
}

.msbt-cert-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msbt-cfeat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}

.msbt-cert-mockup {
  background: #fefce8;
  border: 2px dashed #fde047;
  border-radius: 16px;
  padding: 16px;
}

.msbt-cert-mockup-inner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.msbt-cert-mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.msbt-cert-seal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0B192C;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msbt-cert-auth {
  text-align: right;
  font-size: 10px;
}

.msbt-cert-auth span {
  display: block;
  color: #94a3b8;
  font-weight: 800;
}

.msbt-cert-auth strong {
  color: #0B192C;
}

.msbt-cert-mockup-body {
  padding: 16px 0;
  text-align: center;
}

.msbt-cert-recip {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}

.msbt-cert-qual-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 800;
  color: #0B192C;
  line-height: 1.3;
  margin-bottom: 4px;
}

.msbt-cert-credits-line {
  font-size: 11px;
  font-weight: 700;
  color: #92400e;
}

.msbt-cert-mockup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 10px;
  color: #64748b;
}

.msbt-cert-parchment-tag {
  font-weight: 700;
  color: #059669;
}

/* Progression Pathways List */
.msbt-progression-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.msbt-prog-route {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #475569;
}

.msbt-prog-route strong {
  display: block;
  color: #0B192C;
  margin-bottom: 3px;
}

/* Registry contact row */
.msbt-aside-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
}

.msbt-ac-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.msbt-ac-lbl {
  color: #94a3b8;
  font-weight: 600;
  font-size: 11px;
}

.msbt-ac-val {
  color: #0B192C;
  font-weight: 700;
}

.msbt-link {
  text-decoration: none;
  color: #2563eb;
}

.msbt-link:hover {
  text-decoration: underline;
}


/* ==========================================================================
   MSBT LMS - ALL PROGRAMMES / COURSES DIRECTORY
   ========================================================================== */

.msbt-courses-dir-page {
  background: #f8fafc;
  min-height: 100vh;
  padding-bottom: 80px;
}

.msbt-cdir-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Directory Hero */
.msbt-cdir-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 48px 0 36px 0;
}

.msbt-cdir-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0B192C;
  color: #decb6a;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.msbt-cdir-title {
  font-family: 'Cinzel', serif;
  font-size: 34px;
  font-weight: 800;
  color: #0B192C;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .msbt-cdir-title {
    font-size: 42px;
  }
}

.msbt-cdir-lead {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  max-width: 800px;
  margin: 0 0 28px 0;
}

/* Filters & Search */
.msbt-cdir-filter-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .msbt-cdir-filter-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.msbt-cdir-search-box {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.msbt-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.msbt-cdir-search-box input {
  width: 100%;
  padding: 12px 38px 12px 40px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #0B192C;
  outline: none;
  transition: all 0.2s;
}

.msbt-cdir-search-box input:focus {
  border-color: #0B192C;
  box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08);
}

#msbtSearchClearBtn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 4px;
}

#msbtSearchClearBtn:hover {
  color: #0B192C;
}

.msbt-cdir-pills-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.msbt-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 9px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.msbt-filter-pill:hover {
  background: #f8fafc;
  color: #0B192C;
  border-color: #94a3b8;
}

.msbt-filter-pill.is-active {
  background: #0B192C;
  color: #decb6a;
  border-color: #0B192C;
}

.msbt-pill-counter {
  font-size: 11px;
  opacity: 0.8;
}

/* Course Grid */
.msbt-cdir-grid-sec {
  padding: 40px 0;
}

.msbt-courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .msbt-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .msbt-courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.msbt-course-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px -6px rgba(11, 25, 44, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.msbt-course-card-item:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 30px -8px rgba(11, 25, 44, 0.12);
}

.msbt-card-thumb-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #0B192C;
}

.msbt-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.msbt-course-card-item:hover .msbt-card-thumb-wrap img {
  transform: scale(1.05);
}

.msbt-card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 25, 44, 0.1) 0%, rgba(11, 25, 44, 0.6) 100%);
}

.msbt-card-level-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #0B192C;
  color: #decb6a;
  border: 1px solid rgba(222, 203, 106, 0.4);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
}

.msbt-card-enrolled-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.msbt-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.msbt-card-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 10px;
}

.msbt-cm-tag {
  color: #92400e;
  font-weight: 700;
}

.msbt-cm-sep {
  color: #cbd5e1;
}

.msbt-card-heading {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 10px 0;
  color: #0B192C;
}

.msbt-card-heading a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.msbt-card-heading a:hover {
  color: #92400e;
}

.msbt-card-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 16px 0;
  flex: 1;
}

.msbt-card-progress {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 16px;
}

.msbt-cp-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.msbt-cp-pct {
  color: #059669;
}

.msbt-cp-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.msbt-cp-fill {
  height: 100%;
  background: #10b981;
  border-radius: 9999px;
}

.msbt-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.msbt-card-ofqual-code {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.msbt-btn-view-course {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #0B192C;
  color: #decb6a;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
}

.msbt-btn-view-course:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateX(2px);
}

/* Empty State */
.msbt-search-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
}

.msbt-empty-search-icon {
  margin-bottom: 14px;
}

.msbt-empty-search-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 800;
  color: #0B192C;
  margin: 0 0 8px 0;
}

.msbt-empty-search-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 18px 0;
}

.msbt-btn-reset-filters {
  background: #0B192C;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Trust Sec */
.msbt-cdir-trust-sec {
  border-top: 1px solid #e2e8f0;
  padding: 30px 0;
  background: #ffffff;
}

.msbt-trust-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .msbt-trust-box {
    grid-template-columns: repeat(3, 1fr);
  }
}

.msbt-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.msbt-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-trust-title {
  font-size: 14px;
  font-weight: 800;
  color: #0B192C;
  margin: 0 0 4px 0;
}

.msbt-trust-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}


/* ==========================================================================
   MSBT LMS - PROFILE TABS & MULTIPLE ENROLLED COURSES & ACCOUNT SETTINGS
   ========================================================================== */

/* Profile Tabs Nav */
.msbt-profile-tabs-sec {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.msbt-profile-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.msbt-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.msbt-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.msbt-profile-tabs-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  overflow: visible;
}

/* Ensure Profile Tab Panels expand naturally without inner scrollbar */
.msbt-profile-layout .msbt-tab-panel,
.msbt-profile-col-left .msbt-tab-panel {
  padding: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.msbt-ptab-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 18px !important;
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.msbt-ptab-btn span {
  color: inherit !important;
  display: inline-block !important;
  font-weight: 700 !important;
}

.msbt-ptab-btn svg {
  color: inherit !important;
  stroke: currentColor !important;
  flex-shrink: 0 !important;
}

.msbt-ptab-btn:hover {
  background: #0B192C !important;
  color: #ffffff !important;
  border-color: #decb6a !important;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.22) !important;
  transform: translateY(-1px) !important;
}

.msbt-ptab-btn:hover span {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.msbt-ptab-btn:hover svg {
  color: #decb6a !important;
  stroke: #decb6a !important;
}

.msbt-ptab-btn.is-active {
  background: #0B192C !important;
  color: #ffffff !important;
  border-color: #0B192C !important;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.22) !important;
}

.msbt-ptab-btn.is-active span {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.msbt-ptab-btn.is-active svg {
  color: #decb6a !important;
  stroke: #decb6a !important;
}

.msbt-tab-badge {
  font-size: 11px !important;
  font-weight: 800 !important;
  background: #e2e8f0 !important;
  color: #0B192C !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  margin-left: 4px !important;
}

.msbt-ptab-btn:hover .msbt-tab-badge {
  background: #decb6a !important;
  color: #0B192C !important;
}

.msbt-ptab-btn.is-active .msbt-tab-badge {
  background: #decb6a !important;
  color: #0B192C !important;
}

.msbt-tab-panel {
  display: none;
}

.msbt-tab-panel.is-active {
  display: block;
}

/* Additional Enrolled Courses Grid */
.msbt-additional-courses-sec {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px;
  margin-top: 24px;
}

.msbt-sec-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
}

.msbt-add-sec-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 800;
  color: #0B192C;
  margin: 4px 0 0 0;
}

.msbt-add-count-badge {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: 9999px;
}

.msbt-add-courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .msbt-add-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.msbt-add-course-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.msbt-add-course-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 22px -6px rgba(11, 25, 44, 0.08);
}

.msbt-acc-thumb {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.msbt-acc-level {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #0B192C;
  color: #decb6a;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.msbt-acc-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.msbt-acc-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 800;
  color: #0B192C;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.msbt-acc-title a {
  color: inherit;
  text-decoration: none;
}

.msbt-acc-title a:hover {
  color: #92400e;
}

.msbt-acc-prog-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 14px;
}

.msbt-acc-prog-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}

.msbt-acc-prog-bar {
  height: 5px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.msbt-acc-prog-fill {
  height: 100%;
  background: #10b981;
}

.msbt-acc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.msbt-btn-acc-enter {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: #0B192C;
  color: #decb6a;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
}

.msbt-btn-acc-enter:hover {
  background: #1e293b;
  color: #ffffff;
}

.msbt-btn-acc-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.msbt-btn-acc-details:hover {
  border-color: #0B192C;
  color: #0B192C;
}

/* Explore More Banner */
.msbt-explore-courses-banner {
  background: linear-gradient(135deg, #0B192C 0%, #1e293b 100%);
  border: 1px solid #decb6a;
  border-radius: 20px;
  padding: 28px;
  color: #ffffff;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 768px) {
  .msbt-explore-courses-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.msbt-ec-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 6px 0;
}

.msbt-ec-desc {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
  max-width: 580px;
}

.msbt-btn-browse-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #decb6a;
  color: #0B192C;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(222, 203, 106, 0.3);
  transition: all 0.2s;
}

.msbt-btn-browse-all:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   ACCOUNT SETTINGS & SECURITY FORM
   ========================================================================== */

.msbt-settings-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 6px 20px -6px rgba(11, 25, 44, 0.05);
}

.msbt-settings-header {
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.msbt-settings-title {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 800;
  color: #0B192C;
  margin: 4px 0 6px 0;
}

.msbt-settings-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.msbt-settings-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.msbt-form-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
}

.msbt-form-sec-title {
  font-size: 15px;
  font-weight: 800;
  color: #0B192C;
  margin: 0 0 4px 0;
}

.msbt-form-sec-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 16px 0;
}

.msbt-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 14px;
}

@media (min-width: 640px) {
  .msbt-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.msbt-col-full {
  grid-column: 1 / -1;
}

.msbt-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.msbt-form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.msbt-form-group input {
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #0B192C;
  outline: none;
  transition: all 0.2s;
}

.msbt-form-group input:focus {
  border-color: #0B192C;
  box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08);
}

.msbt-form-help {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
  margin-top: 2px;
}

/* Notification Preferences List */
.msbt-pref-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.msbt-pref-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.msbt-pref-item:hover {
  border-color: #cbd5e1;
}

.msbt-pref-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0B192C;
  cursor: pointer;
}

.msbt-pref-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 2px;
}

.msbt-pref-text span {
  display: block;
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

/* Form Actions */
.msbt-form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

.msbt-btn-save-settings {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0B192C 0%, #15243c 100%);
  color: #decb6a;
  border: 1px solid #decb6a;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.2);
  transition: all 0.2s;
}

.msbt-btn-save-settings:hover {
  background: #0B192C;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.3);
}


/* ==========================================================================
   LEARNWORLDS STYLE COURSE TABS & ACADEMIC MESSAGING PORTAL (OTHM SPEC)
   ========================================================================== */

/* 1. Course Subnav Tabs (Path | Discuss | Learners) */
.msbt-course-subnav-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--msbt-slate-200);
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.03);
}

.msbt-csubnav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  background: transparent;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.msbt-csubnav-tab:hover {
  color: #0B192C;
  background: #f8fafc;
}

.msbt-csubnav-tab.is-active {
  background: #0B192C;
  color: #decb6a;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.15);
}

.msbt-csubnav-badge {
  font-size: 11px;
  background: rgba(222, 203, 106, 0.25);
  color: inherit;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 800;
}

/* 2. Discuss Composer & Feed (LearnWorlds Style) */
.msbt-discuss-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--msbt-slate-200);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.04);
  margin-bottom: 24px;
}

.msbt-discuss-composer {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 28px;
  transition: border-color 0.2s;
}

.msbt-discuss-composer:focus-within {
  border-color: #0B192C;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.06);
}

.msbt-composer-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.msbt-composer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0B192C;
  color: #decb6a;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-composer-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 13.5px;
  color: #0f172a;
  resize: vertical;
  min-height: 54px;
  line-height: 1.5;
}

.msbt-composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.msbt-composer-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
}

.msbt-tool-btn {
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  transition: all 0.15s;
}

.msbt-tool-btn:hover {
  background: #e2e8f0;
  color: #0B192C;
}

.msbt-btn-share-post {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #0B192C;
  color: #decb6a;
  border: 1px solid #decb6a;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.msbt-btn-share-post:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* Discussion Threads Stream */
.msbt-threads-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.msbt-thread-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

.msbt-thread-item:hover {
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.05);
}

.msbt-thread-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.msbt-thread-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.msbt-thread-avatar.avatar-student {
  background: #0B192C;
  color: #ffffff;
}

.msbt-thread-avatar.avatar-tutor {
  background: #decb6a;
  color: #0B192C;
}

.msbt-thread-meta {
  flex: 1;
}

.msbt-thread-author {
  font-size: 14px;
  font-weight: 800;
  color: #0B192C;
  display: flex;
  align-items: center;
  gap: 8px;
}

.msbt-thread-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1e40af;
}

.msbt-thread-time {
  font-size: 11.5px;
  color: #94a3b8;
}

.msbt-thread-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 14px;
}

.msbt-thread-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.msbt-thread-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
}

.msbt-thread-action-btn:hover {
  background: #f1f5f9;
  color: #0B192C;
}

/* Nested Reply Box */
.msbt-replies-container {
  margin-top: 14px;
  padding-left: 20px;
  border-left: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msbt-reply-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
}

.msbt-tutor-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #065f46;
  background: #d1fae5;
  padding: 2px 7px;
  border-radius: 6px;
}

/* 3. Learners & Faculty Tab */
.msbt-learners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.msbt-faculty-member-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   4. COURSE PLAYER FOCUS MODE (LEARNWORLDS STYLE 3-TABS)
   ========================================================================== */
.msbt-focus-sidebar {
  background: #0B192C !important;
  color: #ffffff !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
}

.msbt-player-sidebar-header {
  padding: 16px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #07101d !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.msbt-player-header-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.msbt-player-rqf-pill {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #decb6a;
  letter-spacing: 0.5px;
}

.msbt-player-header-info #ld-focus-mode-course-heading {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.msbt-player-header-info #ld-focus-mode-course-heading:hover {
  color: #decb6a;
}

/* 3-Tabs Navigation Bar at Top of Player Sidebar */
.msbt-player-tabs-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #0f1f35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
  gap: 4px;
}

.msbt-player-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.msbt-player-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.msbt-player-tab.is-active {
  background: #decb6a !important;
  color: #0B192C !important;
  box-shadow: 0 2px 8px rgba(222, 203, 106, 0.25);
}

.msbt-player-tab-badge {
  font-size: 9.5px;
  font-weight: 800;
  background: rgba(11, 25, 44, 0.85);
  color: #decb6a;
  padding: 1px 6px;
  border-radius: 10px;
}

.msbt-player-tab.is-active .msbt-player-tab-badge {
  background: #0B192C;
  color: #decb6a;
}

/* Panel Containers */
.msbt-focus-sidebar-wrapper {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.msbt-player-panel {
  padding: 0;
}

/* Discuss Tab Inside Player */
.msbt-player-discuss-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0B192C;
  color: #ffffff;
}

.msbt-pdiscuss-assessor-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.msbt-pdiscuss-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #decb6a;
  color: #0B192C;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.msbt-pdiscuss-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.msbt-pdiscuss-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.msbt-pdiscuss-name-row strong {
  font-size: 13px;
  color: #ffffff;
}

.msbt-pdiscuss-badge-verified {
  font-size: 9px;
  font-weight: 800;
  background: #059669;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
}

.msbt-pdiscuss-status {
  font-size: 10.5px;
  color: #10b981;
}

.msbt-pdiscuss-audit-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(222, 203, 106, 0.1);
  border-bottom: 1px solid rgba(222, 203, 106, 0.2);
  font-size: 10px;
  font-weight: 700;
  color: #decb6a;
}

.msbt-pdiscuss-stream {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 400px;
  overflow-y: auto;
}

.msbt-pmsg-row {
  display: flex;
  flex-direction: column;
  max-width: 90%;
}

.msbt-pmsg-row.is-self {
  align-self: flex-end;
}

.msbt-pmsg-row.is-tutor {
  align-self: flex-start;
}

.msbt-pmsg-bubble {
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.5;
}

.msbt-pmsg-row.is-self .msbt-pmsg-bubble {
  background: #1B3B6F;
  color: #ffffff;
  border-top-right-radius: 2px;
}

.msbt-pmsg-row.is-tutor .msbt-pmsg-bubble {
  background: #15243c;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-left-radius: 2px;
}

.msbt-pmsg-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 11px;
}

.msbt-pmsg-row.is-self .msbt-pmsg-author strong {
  color: #decb6a;
}

.msbt-pmsg-row.is-tutor .msbt-pmsg-author strong {
  color: #ffffff;
}

.msbt-pmsg-author span {
  color: #94a3b8;
  font-size: 10px;
}

.msbt-pmsg-body {
  word-break: break-word;
}

.msbt-pmsg-tick {
  font-size: 9.5px;
  color: #10b981;
  text-align: right;
  margin-top: 4px;
}

.msbt-pdiscuss-empty {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin: 20px 0;
  line-height: 1.5;
}

/* Composer Inside Player */
.msbt-pdiscuss-composer {
  padding: 12px 16px;
  background: #07101d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.msbt-pdiscuss-composer textarea {
  width: 100%;
  background: #0B192C;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 12px;
  font-family: inherit;
  resize: none;
  outline: none;
}

.msbt-pdiscuss-composer textarea:focus {
  border-color: #decb6a;
}

.msbt-pdiscuss-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.msbt-pdiscuss-hub-link {
  font-size: 11px;
  color: #decb6a;
  text-decoration: none;
  font-weight: 600;
}

.msbt-pdiscuss-hub-link:hover {
  text-decoration: underline;
}

.msbt-btn-player-send {
  background: #decb6a;
  color: #0B192C;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.msbt-btn-player-send:hover {
  background: #e8d882;
}

/* Learners Tab Inside Player */
.msbt-player-learners-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.msbt-plearner-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msbt-plearner-sec-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #decb6a;
  letter-spacing: 0.5px;
  margin: 0;
}

.msbt-plearner-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.msbt-plearner-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.msbt-plearner-avatar.avatar-gold {
  background: #decb6a;
  color: #0B192C;
}

.msbt-plearner-avatar.avatar-navy {
  background: #1B3B6F;
  color: #ffffff;
}

.msbt-plearner-info {
  display: flex;
  flex-direction: column;
}

.msbt-plearner-info h5 {
  margin: 0;
  font-size: 13px;
  color: #ffffff;
  font-weight: 700;
}

.msbt-plearner-info span {
  font-size: 11px;
  color: #94a3b8;
}

.msbt-plearner-email {
  font-size: 11px;
  color: #60a5fa;
  text-decoration: none;
  margin-top: 2px;
}

.msbt-pforum-cta-box {
  background: linear-gradient(135deg, rgba(222, 203, 106, 0.1) 0%, rgba(21, 36, 60, 0.4) 100%);
  border: 1px solid rgba(222, 203, 106, 0.3);
  border-radius: 12px;
  padding: 14px;
}

.msbt-pforum-cta-box h6 {
  margin: 0 0 4px;
  font-size: 13px;
  color: #decb6a;
  font-weight: 800;
}

.msbt-pforum-cta-box p {
  margin: 0 0 10px;
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
}

.msbt-btn-pforum-enter {
  display: inline-block;
  background: #decb6a;
  color: #0B192C;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.msbt-plearner-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.msbt-plearner-peer-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #334155;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msbt-plearner-peer-info h6 {
  margin: 0;
  font-size: 12px;
  color: #e2e8f0;
}

.msbt-peer-status {
  font-size: 10px;
  color: #94a3b8;
}

.msbt-peer-status.is-online {
  color: #10b981;
  font-weight: 700;
}

/* ==========================================================================
   5. LEARNWORLDS COURSE PLAYER SIDEBAR (Path | Learners | Discuss)
   ========================================================================== */
.msbt-lw-sidebar {
  background: #ffffff !important;
  color: #1e293b !important;
  border-right: 1px solid #e2e8f0 !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 2px 0 12px rgba(11, 25, 44, 0.03);
}

.msbt-lw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
}

.msbt-lw-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-style: italic;
  text-decoration: none;
  transition: color 0.15s;
}

.msbt-lw-back:hover {
  color: #0B192C;
}

.msbt-lw-collapse-btn {
  background: none;
  border: none;
  color: #0B192C;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msbt-lw-title-block {
  padding: 8px 20px 14px;
}

.msbt-lw-course-title {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: #1e293b;
}

.msbt-lw-course-title a {
  color: inherit;
  text-decoration: none;
}

.msbt-lw-progress-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.msbt-lw-progress-track {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.msbt-lw-progress-fill {
  height: 100%;
  background: #0B192C;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.msbt-lw-progress-text {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

/* 3-Tabs Bar */
.msbt-lw-tabs-bar {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 10px;
}

.msbt-lw-tab {
  flex: 1;
  text-align: center;
  background: none;
  border: none;
  padding: 12px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
}

.msbt-lw-tab:hover {
  color: #0B192C;
}

.msbt-lw-tab.is-active {
  color: #0B192C !important;
  font-weight: 800 !important;
}

.msbt-lw-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2.5px;
  background: #0B192C;
  border-radius: 2px;
}

.msbt-lw-body-wrapper {
  flex: 1;
  overflow-y: auto;
  background: #fafafa;
}

.msbt-lw-panel {
  padding: 16px;
}

/* Learners / Cohort Tab: Executive Directory List */
.msbt-lw-learners-grid,
.msbt-player-cohort-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.msbt-lw-learner-card,
.msbt-player-cohort-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-shadow: 0 1px 3px rgba(11, 25, 44, 0.03) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.msbt-lw-learner-card:hover,
.msbt-player-cohort-card:hover {
  transform: translateX(2px) !important;
  box-shadow: 0 3px 10px rgba(11, 25, 44, 0.07) !important;
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
}

.msbt-lw-learner-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.msbt-lw-learner-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #0B192C !important;
  color: #decb6a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 4px rgba(11, 25, 44, 0.15) !important;
}

.msbt-lw-learner-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0 !important;
}

.msbt-lw-learner-name {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0B192C !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.msbt-lw-learner-role {
  display: inline-block !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  padding: 1.5px 6px !important;
  border-radius: 4px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  width: fit-content !important;
}

.msbt-lw-learner-role.role-admin {
  background: #fef3c7 !important;
  color: #92400e !important;
  border-color: #fde68a !important;
}

.msbt-lw-learner-role.role-assessor,
.msbt-lw-learner-role.role-iqa {
  background: #0B192C !important;
  color: #decb6a !important;
  border-color: #1e3a5f !important;
}

.msbt-lw-learner-role.role-learner {
  background: #f0fdf4 !important;
  color: #166534 !important;
  border-color: #bbf7d0 !important;
}

.msbt-lw-msg-link {
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.msbt-lw-msg-link:hover {
  color: #0B192C !important;
  background: #f1f5f9 !important;
}

/* Discuss Tab (Screenshot 3 - Course Community) */
.msbt-lw-community-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.msbt-lw-composer-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.msbt-lw-composer-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.msbt-lw-composer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-lw-composer-input {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  outline: none;
  color: #1e293b;
}

.msbt-lw-composer-input:focus {
  background: #ffffff;
  border-color: #cbd5e1;
}

.msbt-lw-composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.msbt-lw-composer-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.msbt-lw-tool-btn {
  background: none;
  border: none;
  padding: 4px 6px;
  border-radius: 4px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msbt-lw-tool-btn:hover {
  background: #f1f5f9;
  color: #0B192C;
}

.msbt-lw-btn-share {
  background: #0B192C;
  color: #ffffff;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}

.msbt-lw-btn-share:hover {
  opacity: 0.9;
}

/* Post Cards */
.msbt-lw-feed-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msbt-lw-post-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.msbt-lw-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.msbt-lw-post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-lw-post-author-meta {
  display: flex;
  flex-direction: column;
}

.msbt-lw-author-name {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #0B192C;
}

.msbt-lw-post-time {
  font-size: 11.5px;
  color: #94a3b8;
}

.msbt-lw-post-body {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 12px;
}

.msbt-lw-post-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #f8fafc;
  padding-top: 8px;
}

.msbt-lw-action-item {
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 12.5px;
  cursor: pointer;
  padding: 2px 4px;
}

.msbt-lw-action-item:hover {
  color: #0B192C;
}

/* Nested Replies */
.msbt-lw-replies-list {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msbt-lw-reply-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
}

.msbt-lw-reply-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.msbt-lw-reply-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msbt-lw-reply-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.msbt-lw-reply-author {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
}

.msbt-lw-reply-time {
  font-size: 11px;
  color: #94a3b8;
}

.msbt-lw-reply-body {
  font-size: 12.5px;
  color: #334155;
  margin-bottom: 6px;
}

.msbt-lw-reply-actions {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  color: #94a3b8;
}

.msbt-lw-reply-composer-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 4px 10px;
  margin-top: 6px;
}

.msbt-lw-reply-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 12px;
  background: transparent;
  color: #1e293b;
}

.msbt-lw-btn-send-reply {
  background: #0B192C;
  color: #ffffff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   6. PUBLIC USER PROFILE VIEW (/profile/?user_id=...) (Screenshot 4)
   ========================================================================== */
.msbt-public-profile-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.msbt-pub-header {
  text-align: center;
  padding: 30px 20px 40px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.04);
  margin-bottom: 36px;
}

.msbt-pub-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.msbt-pub-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.msbt-pub-name {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #0B192C;
}

.msbt-pub-role-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: #0B192C;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
}

.msbt-pub-contact-btn {
  display: inline-block;
  background: #0B192C;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  transition: opacity 0.15s, transform 0.15s;
}

.msbt-pub-contact-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.msbt-pub-section {
  margin-bottom: 36px;
}

.msbt-pub-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #0B192C;
  margin: 0 0 18px;
}

.msbt-pub-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.msbt-pub-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(11,25,44,0.03);
}

.msbt-pub-stat-val {
  font-size: 24px;
  font-weight: 800;
  color: #0B192C;
}

.msbt-pub-stat-lbl {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

.msbt-pub-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.msbt-pub-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.msbt-pub-course-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.msbt-pub-course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 25, 44, 0.08);
}

.msbt-pub-course-thumb {
  height: 140px;
  background: #0B192C;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msbt-pub-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.msbt-pub-course-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(4px);
  color: #decb6a;
  border: 1px solid rgba(222, 203, 106, 0.4);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.msbt-pub-course-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.msbt-pub-course-title {
  font-size: 15px;
  font-weight: 700;
  color: #0B192C;
  line-height: 1.4;
  margin: 0 0 12px;
}

.msbt-pub-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #64748b;
}

.msbt-pub-course-link-text {
  color: #1e3a8a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.msbt-pub-comm-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msbt-pub-comm-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.02);
}

.msbt-pub-comm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.msbt-pub-comm-author {
  font-size: 13.5px;
  font-weight: 700;
  color: #0B192C;
  display: flex;
  align-items: center;
  gap: 8px;
}

.msbt-pub-comm-time {
  font-size: 12px;
  color: #94a3b8;
}

.msbt-pub-comm-content {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

/* My Profile Dedicated Community Box */
.msbt-profile-community-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-top: 32px;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.03);
}

.msbt-profile-community-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.msbt-profile-comm-title {
  font-size: 17px;
  font-weight: 800;
  color: #0B192C;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.msbt-profile-comm-link {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.msbt-profile-comm-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   7. INBOX PAGE (/inbox/) (Screenshot 5)
   ========================================================================== */
.msbt-inbox-page-wrapper {
  background: #f8fafc;
  min-height: calc(100vh - 72px);
}

.msbt-inbox-top-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}

.msbt-inbox-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.msbt-inbox-breadcrumbs {
  font-size: 13px;
  color: #64748b;
}

.msbt-inbox-breadcrumbs a {
  color: #0B192C;
  text-decoration: none;
  font-weight: 600;
}

.msbt-inbox-top-bar .msbt-inbox-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.msbt-inbox-audit-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  padding: 3px 10px;
  border-radius: 20px;
}

.msbt-inbox-main-sec {
  padding: 24px 0 60px;
}

.msbt-inbox-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(11,25,44,0.04);
  min-height: 600px;
}

/* Inbox Left Sidebar */
.msbt-inbox-sidebar {
  border-right: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.msbt-inbox-btn-wrap {
  padding: 18px;
}

.msbt-inbox-btn-new-msg {
  width: 100%;
  background: #0B192C;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}

.msbt-inbox-btn-new-msg:hover {
  opacity: 0.9;
}

.msbt-inbox-search-wrap {
  position: relative;
  padding: 0 18px 14px;
}

.msbt-inbox-search-input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 34px 8px 12px;
  font-size: 12.5px;
  outline: none;
  color: #1e293b;
}

.msbt-inbox-search-input:focus {
  border-color: #cbd5e1;
  background: #ffffff;
}

.msbt-inbox-search-icon {
  position: absolute;
  right: 28px;
  top: 10px;
}

.msbt-inbox-convo-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.msbt-inbox-convo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  text-decoration: none;
  border-bottom: 1px solid #f8fafc;
  transition: background 0.15s;
}

.msbt-inbox-convo-item:hover {
  background: #f8fafc;
}

.msbt-inbox-convo-item.is-active {
  background: #f1f5f9;
  border-left: 3px solid #0B192C;
}

.msbt-inbox-convo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msbt-inbox-convo-info {
  flex: 1;
  overflow: hidden;
}

.msbt-inbox-convo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.msbt-inbox-convo-name {
  font-size: 13px;
  color: #0B192C;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msbt-inbox-convo-time {
  font-size: 11px;
  color: #94a3b8;
}

.msbt-inbox-convo-snippet {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Inbox Right Chat Panel */
.msbt-inbox-section-lbl {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  padding: 14px 18px 6px;
  margin: 0;
}

.msbt-inbox-chat-panel {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  height: 640px;
  max-height: 80vh;
}

.msbt-inbox-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}

.msbt-inbox-header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.msbt-inbox-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0B192C;
  color: #decb6a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.msbt-inbox-contact-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0B192C;
}

.msbt-inbox-status-indicator {
  font-size: 11.5px;
  color: #10b981;
}

/* Messages Stream */
.msbt-inbox-thread-stream {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f8fafc;
}

.msbt-inbox-msg-item {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  max-width: 72%;
}

/* Contact message (Left Aligned) */
.msbt-inbox-msg-item.is-contact {
  align-self: flex-start;
  flex-direction: row;
}

.msbt-inbox-msg-item.is-contact .msbt-inbox-msg-content {
  align-items: flex-start;
}

.msbt-inbox-msg-item.is-contact .msbt-inbox-msg-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: 16px 16px 16px 4px;
  padding: 11px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 1px 4px rgba(11,25,44,0.03);
}

/* User's own message (Right Aligned) */
.msbt-inbox-msg-item.is-self {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msbt-inbox-msg-item.is-self .msbt-inbox-msg-content {
  align-items: flex-end;
}

.msbt-inbox-msg-item.is-self .msbt-inbox-msg-meta {
  flex-direction: row-reverse;
}

.msbt-inbox-msg-item.is-self .msbt-inbox-msg-bubble {
  background: #0B192C;
  color: #ffffff;
  border-radius: 16px 16px 4px 16px;
  padding: 11px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(11,25,44,0.12);
}

.msbt-inbox-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.msbt-inbox-msg-item.is-self .msbt-inbox-msg-avatar {
  background: #0B192C;
  color: #decb6a;
}

.msbt-inbox-msg-content {
  display: flex;
  flex-direction: column;
}

.msbt-inbox-msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.msbt-inbox-msg-sender {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.msbt-inbox-msg-time {
  font-size: 10.5px;
  color: #94a3b8;
}

.msbt-inbox-empty-thread {
  text-align: center;
  color: #94a3b8;
  padding: 60px 20px;
  font-size: 13.5px;
}

/* Bottom Message Composer (WhatsApp / Modern Chat Style) */
.msbt-inbox-bottom-composer {
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.msbt-inbox-bottom-composer-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.msbt-inbox-chat-input {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  padding: 11px 18px;
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
  color: #1e293b;
  transition: all 0.15s;
}

.msbt-inbox-chat-input:focus {
  border-color: #0B192C;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11,25,44,0.06);
}

.msbt-inbox-btn-send-round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0B192C;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s, opacity 0.15s;
}

.msbt-inbox-btn-send-round:hover {
  transform: scale(1.04);
  opacity: 0.95;
}

/* Modal for New Message */
.msbt-inbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.msbt-inbox-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 25, 44, 0.6);
  backdrop-filter: blur(4px);
}

.msbt-inbox-modal-dialog {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  z-index: 1;
  overflow: hidden;
}

.msbt-inbox-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.msbt-inbox-modal-head h4 {
  margin: 0;
  font-size: 16px;
  color: #0B192C;
}

.msbt-inbox-modal-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
}

.msbt-inbox-modal-body {
  padding: 20px 24px;
}

.msbt-inbox-contact-select-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
}

.msbt-inbox-modal-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: #0B192C;
  transition: all 0.15s;
}

.msbt-inbox-modal-contact-row:hover {
  border-color: #0B192C;
  background: #f8fafc;
}

.msbt-inbox-modal-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inbox Community Forum View */
.msbt-inbox-forum-topics-stream {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0 20px;
}

.msbt-inbox-topic-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(11, 25, 44, 0.04);
}

.msbt-inbox-topic-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(11, 25, 44, 0.07);
  transform: translateY(-1px);
}

.msbt-inbox-topic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.msbt-inbox-topic-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.msbt-inbox-topic-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0B192C;
  color: #decb6a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.msbt-inbox-topic-author-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0B192C;
  text-decoration: none;
}

.msbt-inbox-topic-author-name:hover {
  color: #decb6a;
}

.msbt-inbox-topic-time {
  font-size: 11px;
  color: #94a3b8;
  margin-left: 6px;
}

.msbt-inbox-topic-replies-pill {
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 3px 9px;
  border-radius: 20px;
}

.msbt-inbox-topic-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
}

.msbt-inbox-topic-title a {
  color: #0B192C;
  text-decoration: none;
}

.msbt-inbox-topic-title a:hover {
  color: #1e40af;
  text-decoration: underline;
}

.msbt-inbox-topic-excerpt {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 12px;
}

.msbt-inbox-topic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

.msbt-inbox-topic-tag {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}

.msbt-inbox-topic-join-btn {
  font-size: 12px;
  font-weight: 700;
  color: #0B192C;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.msbt-inbox-topic-join-btn:hover {
  color: #decb6a;
}

/* ============================================================
   MSBT BBPress Forum Design System (Phase 4)
   Modern Discourse-style forum interface
   ============================================================ */

.msbt-forum-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

/* ---- Forum Hero Banner ---- */
.msbt-bbp-hero {
	background: linear-gradient(135deg, #0B192C 0%, #1e3a8a 100%);
	border-radius: 16px;
	padding: 44px 40px;
	margin-bottom: 32px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.msbt-bbp-hero::before {
	content: '';
	position: absolute;
	top: -40px; right: -40px;
	width: 200px; height: 200px;
	border-radius: 50%;
	background: rgba(222,203,106,0.07);
}
.msbt-bbp-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(222,203,106,0.15);
	border: 1px solid rgba(222,203,106,0.3);
	color: #decb6a;
	border-radius: 100px;
	padding: 5px 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.msbt-bbp-hero-title {
	font-family: 'Cinzel', serif;
	color: #fff;
	font-size: 34px;
	font-weight: 800;
	margin: 0 0 12px;
	line-height: 1.2;
}
.msbt-bbp-hero-sub {
	color: rgba(255,255,255,0.75);
	font-size: 14px;
	line-height: 1.7;
	max-width: 560px;
	margin: 0 auto 22px;
}
.msbt-bbp-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #decb6a;
	color: #0B192C;
	border-radius: 8px;
	padding: 9px 20px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s;
}
.msbt-bbp-cta-btn:hover { opacity: 0.9; text-decoration: none; }

/* ---- Forum Index List ---- */
.msbt-bbp-forum-list {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(11,25,44,0.06);
}
.msbt-bbp-forums-header {
	display: grid;
	grid-template-columns: 1fr 80px 80px 160px;
	padding: 10px 22px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.msbt-bbp-forum-row {
	display: grid;
	grid-template-columns: 1fr 80px 80px 160px;
	padding: 18px 22px;
	border-bottom: 1px solid #f1f5f9;
	align-items: center;
	transition: background 0.15s;
}
.msbt-bbp-forum-row:last-child { border-bottom: none; }
.msbt-bbp-forum-row:hover { background: #f8fafc; }
.msbt-bbp-forum-main {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.msbt-bbp-forum-icon {
	width: 42px; height: 42px;
	background: linear-gradient(135deg, #0B192C 0%, #1e3a8a 100%);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #decb6a;
	flex-shrink: 0;
}
.msbt-bbp-forum-info { flex: 1; min-width: 0; }
.msbt-bbp-forum-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 4px;
	line-height: 1.3;
}
.msbt-bbp-forum-title a {
	color: #0B192C;
	text-decoration: none;
	transition: color 0.15s;
}
.msbt-bbp-forum-title a:hover { color: #1e3a8a; }
.msbt-bbp-forum-desc {
	font-size: 12.5px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.msbt-bbp-forum-stat {
	font-size: 15px;
	font-weight: 700;
	color: #0B192C;
	text-align: center;
}
.msbt-bbp-forum-last {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.msbt-bbp-last-time {
	font-size: 12px;
	color: #64748b;
}
.msbt-bbp-last-by {
	font-size: 12px;
	color: #1e3a8a;
	font-weight: 600;
}
.msbt-bbp-no-posts { font-size: 12px; color: #94a3b8; }

/* ---- Empty State ---- */
.msbt-bbp-empty {
	padding: 48px 24px;
	text-align: center;
	color: #94a3b8;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.msbt-bbp-empty p { font-size: 14px; margin: 0; }

/* ---- Single Forum (Topic List) ---- */
.msbt-bbp-wrap { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 0 60px; box-sizing: border-box; }

.msbt-bbp-breadcrumb {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #64748b;
	margin-bottom: 24px;
}
.msbt-bbp-breadcrumb a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.15s;
}
.msbt-bbp-breadcrumb a:hover { color: #1e3a8a; }
.msbt-bbp-breadcrumb span { color: #0B192C; font-weight: 700; }

.msbt-bbp-sforum-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 28px;
}
.msbt-bbp-sforum-title {
	font-family: 'Cinzel', serif;
	font-size: 26px;
	color: #0B192C;
	margin: 0 0 6px;
}
.msbt-bbp-sforum-desc {
	font-size: 13.5px;
	color: #64748b;
	margin: 0;
	line-height: 1.6;
}
.msbt-bbp-new-topic-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #0B192C;
	color: #decb6a;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s;
}
.msbt-bbp-new-topic-btn:hover { background: #1e3a8a; color: #fff; text-decoration: none; }

/* New Topic Form */
.msbt-bbp-new-topic-wrap {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 28px;
}
.msbt-bbp-new-topic-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: #0B192C;
	margin: 0 0 18px;
}
#new-post #bbp-topic-title,
#new-reply #bbp-reply-content,
.bbp-the-content,
.bbp-topic-form input[type="text"],
.bbp-reply-form textarea {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 11px 14px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	color: #0B192C;
	background: #fff;
	margin-bottom: 12px;
	box-sizing: border-box;
}

/* Hide duplicate bbpress breadcrumb & duplicate h1 in MSBT pages */
.msbt-forums-page .bbp-breadcrumb,
.msbt-forums-page #bbpress-forums > h1,
.msbt-forums-page #bbpress-forums > .entry-title,
.msbt-forums-page #bbpress-forums > .bbp-forum-title,
.msbt-bbp-new-topic-wrap .bbp-template-notices,
.msbt-bbp-reply-form-wrap .bbp-template-notices {
	display: none !important;
}

#bbpress-forums fieldset.bbp-form {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	clear: both !important;
	float: none !important;
	width: 100% !important;
}
#bbpress-forums fieldset.bbp-form legend {
	display: none !important;
}
.msbt-bbp-reply-form-wrap,
.msbt-bbp-new-topic-wrap,
#bbpress-forums .bbp-reply-form,
#bbpress-forums .bbp-topic-form {
	clear: both !important;
	float: none !important;
	width: 100% !important;
	box-sizing: border-box !important;
}
.msbt-bbp-reply-form-heading,
.msbt-bbp-new-topic-heading {
	clear: both !important;
	float: none !important;
	width: 100% !important;
	display: flex !important;
}
.bbp-pagination {
	clear: both !important;
	float: none !important;
	margin: 18px 0 24px !important;
	text-align: center !important;
}
.bbp-pagination-links {
	float: none !important;
	display: inline-block !important;
}
#bbpress-forums fieldset.bbp-form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #0B192C;
	margin: 10px 0 6px;
	font-family: 'Plus Jakarta Sans', sans-serif;
}
#bbpress-forums input[type="text"],
#bbpress-forums textarea,
#bbpress-forums select {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 10px 14px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13.5px;
	color: #0B192C;
	background: #ffffff;
	box-sizing: border-box;
}
#bbpress-forums input[type="text"]:focus,
#bbpress-forums textarea:focus,
#bbpress-forums select:focus {
	outline: none;
	border-color: #0B192C;
	box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08);
}
#bbpress-forums .quicktags-toolbar {
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
	padding: 6px 8px;
}
#bbpress-forums textarea.bbp-the-content {
	border-radius: 0 0 8px 8px !important;
	min-height: 140px;
}
.bbp-submit-wrapper {
	margin-top: 16px;
	text-align: right;
}
#bbp_topic_submit, #bbp_reply_submit {
	background: #0B192C !important;
	color: #decb6a !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 12px 28px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	font-family: 'Plus Jakarta Sans', sans-serif;
	transition: background 0.2s, color 0.2s;
	display: inline-block;
}
#bbp_topic_submit:hover, #bbp_reply_submit:hover { 
	background: #1B2B44 !important; 
	color: #ffffff !important; 
}

/* Topic List */
.msbt-bbp-topics-header {
	display: grid;
	grid-template-columns: 40px 1fr 100px 160px;
	gap: 12px;
	padding: 12px 18px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px 10px 0 0;
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	align-items: center;
	box-sizing: border-box;
}
.msbt-bbp-topic-row {
	display: grid;
	grid-template-columns: 40px 1fr 100px 160px;
	padding: 16px 18px;
	border: 1px solid #e2e8f0;
	border-top: none;
	align-items: center;
	gap: 12px;
	transition: background 0.15s;
	background: #fff;
	box-sizing: border-box;
}
.msbt-bbp-topic-row:last-child { border-radius: 0 0 10px 10px; }
.msbt-bbp-topic-row:hover { background: #f8fafc; }
.msbt-bbp-avatar {
	width: 36px; height: 36px;
	border-radius: 50%;
	object-fit: cover;
}
.msbt-bbp-topic-title {
	font-size: 14px;
	font-weight: 700;
	color: #0B192C;
	text-decoration: none;
	display: block;
	margin-bottom: 3px;
	transition: color 0.15s;
}
.msbt-bbp-topic-title:hover { color: #1e3a8a; }
.msbt-bbp-topic-meta {
	font-size: 12px;
	color: #64748b;
}
.msbt-bbp-topic-meta a { color: #1e3a8a; text-decoration: none; }
.msbt-bbp-topic-replies {
	text-align: center;
}
.msbt-bbp-reply-count {
	font-size: 18px;
	font-weight: 800;
	color: #0B192C;
	display: block;
}
.msbt-bbp-reply-label {
	font-size: 11px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.msbt-bbp-topic-last {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.msbt-bbp-col-topic { grid-column: 2; }
.msbt-bbp-col-replies, .msbt-bbp-col-last { text-align: center; }

/* ---- Single Topic (Thread) ---- */
.msbt-bbp-topic-header {
	margin-bottom: 28px;
}
.msbt-bbp-topic-page-title {
	font-family: 'Cinzel', serif;
	font-size: 24px;
	color: #0B192C;
	margin: 0 0 10px;
	line-height: 1.3;
}
.msbt-bbp-topic-header-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 13px;
	color: #64748b;
}
.msbt-bbp-topic-header-meta a { color: #1e3a8a; text-decoration: none; }
.msbt-bbp-sep { color: #cbd5e1; }
.msbt-bbp-avatar-sm { width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.msbt-bbp-avatar-md { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.msbt-bbp-avatar-lg { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* OP Card */
.msbt-bbp-op-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(11,25,44,0.06);
}
.msbt-bbp-op-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}
.msbt-bbp-op-author-meta { flex: 1; }
.msbt-bbp-op-name {
	font-size: 15px;
	font-weight: 700;
	color: #0B192C;
	text-decoration: none;
	display: block;
}
.msbt-bbp-op-time { font-size: 12px; color: #94a3b8; }
.msbt-bbp-op-badge {
	background: #0B192C;
	color: #decb6a;
	font-size: 10px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 100px;
	letter-spacing: 0.5px;
}
.msbt-bbp-op-content {
	font-size: 14.5px;
	color: #334155;
	line-height: 1.7;
}
.msbt-bbp-op-content p { margin: 0 0 12px; }
.msbt-bbp-op-content p:last-child { margin: 0; }

/* Replies Section */
.msbt-bbp-replies-section { margin-bottom: 32px; }
.msbt-bbp-replies-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #0B192C;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f1f5f9;
}
.msbt-bbp-reply-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 12px;
	transition: box-shadow 0.15s;
}
.msbt-bbp-reply-card:hover { box-shadow: 0 2px 10px rgba(11,25,44,0.08); }
.msbt-bbp-reply-author {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.msbt-bbp-reply-author-meta { flex: 1; }
.msbt-bbp-reply-name {
	font-size: 13.5px;
	font-weight: 700;
	color: #0B192C;
	text-decoration: none;
	display: block;
}
.msbt-bbp-reply-time { font-size: 12px; color: #94a3b8; }
.msbt-bbp-reply-content {
	font-size: 14px;
	color: #334155;
	line-height: 1.65;
}
.msbt-bbp-reply-content p { margin: 0 0 10px; }
.msbt-bbp-reply-content p:last-child { margin: 0; }

/* Reply Form */
.msbt-bbp-reply-form-wrap {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
}
.msbt-bbp-reply-form-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: #0B192C;
	margin: 0 0 18px;
}
.msbt-bbp-login-prompt {
	text-align: center;
	padding: 24px;
}

/* ============================================================
   MSBT Course Player Sidebar — Discuss Tab (BBPress-linked)
   ============================================================ */
.msbt-lw-forum-header-block {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	background: linear-gradient(135deg, #0B192C 0%, #1a2f50 100%);
	border-radius: 10px;
	margin-bottom: 14px;
}
.msbt-lw-forum-title-sm {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #decb6a;
	font-size: 12.5px;
	font-weight: 700;
	margin: 0 0 4px;
}
.msbt-lw-forum-sub-text {
	font-size: 11px;
	color: rgba(255,255,255,0.6);
	margin: 0;
	line-height: 1.4;
}
.msbt-lw-view-forum-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(222,203,106,0.2);
	border: 1px solid rgba(222,203,106,0.4);
	color: #decb6a;
	border-radius: 6px;
	padding: 5px 10px;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background 0.15s;
}
.msbt-lw-view-forum-btn:hover { background: rgba(222,203,106,0.35); text-decoration: none; }

.msbt-lw-forum-topics-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 14px;
}
.msbt-lw-topic-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.15s;
}
.msbt-lw-topic-row:hover {
	background: #f8fafc;
	border-color: #c7d2fe;
	text-decoration: none;
}
.msbt-lw-topic-avatar {
	width: 28px; height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 800;
	flex-shrink: 0;
}
.msbt-lw-topic-meta { flex: 1; min-width: 0; }
.msbt-lw-topic-name {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #0B192C;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.msbt-lw-topic-sub {
	display: block;
	font-size: 10.5px;
	color: #94a3b8;
	margin-top: 2px;
}
.msbt-lw-topic-replies { flex-shrink: 0; }
.msbt-lw-reply-bubble {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px; height: 22px;
	background: #f1f5f9;
	border-radius: 50%;
	font-size: 10px;
	font-weight: 700;
	color: #475569;
}

.msbt-lw-forum-empty {
	padding: 20px;
	text-align: center;
	font-size: 12.5px;
	color: #94a3b8;
}

.msbt-lw-start-discussion {
	display: flex;
	gap: 8px;
	margin-top: 4px;
}
.msbt-lw-start-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: #0B192C;
	color: #decb6a;
	border-radius: 7px;
	padding: 9px 12px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s;
}
.msbt-lw-start-btn:hover { background: #1e3a8a; color: #fff; text-decoration: none; }
.msbt-lw-msg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: #f1f5f9;
	color: #475569;
	border: 1px solid #e2e8f0;
	border-radius: 7px;
	padding: 9px 12px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
	white-space: nowrap;
}
.msbt-lw-msg-btn:hover { background: #e2e8f0; color: #0B192C; text-decoration: none; }

/* ============================================================
   MSBT Public Profile — Forum Activity Section
   ============================================================ */
.msbt-pub-forum-activity {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.msbt-pub-forum-topic-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.15s;
}
.msbt-pub-forum-topic-row:hover {
	background: #f8fafc;
	border-color: #c7d2fe;
	text-decoration: none;
}
.msbt-pub-forum-topic-icon {
	width: 34px; height: 34px;
	background: linear-gradient(135deg, #0B192C 0%, #1e3a8a 100%);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #decb6a;
	flex-shrink: 0;
}
.msbt-pub-forum-topic-info {
	flex: 1;
	min-width: 0;
}
.msbt-pub-forum-topic-title {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #0B192C;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 3px;
}
.msbt-pub-forum-topic-meta {
	font-size: 12px;
	color: #64748b;
}
.msbt-pub-forum-topic-replies {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	flex-shrink: 0;
}

/* ============================================================
   MSBT BBPress Pagination
   ============================================================ */
.bbp-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 24px 0;
}
.bbp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
	border: 1px solid #e2e8f0;
	background: #fff;
	transition: all 0.15s;
}
.bbp-pagination .page-numbers.current,
.bbp-pagination .page-numbers:hover {
	background: #0B192C;
	color: #decb6a;
	border-color: #0B192C;
}

/* Hide default bbPress styling we don't want */
#bbpress-forums .bbp-forum-header,
#bbpress-forums .bbp-forum-title > :not(a),
.bbp-reply-header { display: none; }


/* ============================================================
   MSBT Forums Dedicated Container & Modern bbPress Suite
   ============================================================ */
.msbt-forums-container {
	max-width: 1320px;
	width: 100%;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

/* Hide default bbPress notices, duplicate breadcrumbs, legends, unrestricted html warnings */
#bbpress-forums .bbp-template-notice,
#bbpress-forums .bbp-template-notice.info,
#bbpress-forums div.bbp-template-notice,
.msbt-reply-composer-wrap .bbp-template-notice,
.msbt-topic-composer-wrap .bbp-template-notice,
.msbt-forums-page .bbp-template-notices,
.msbt-forums-page .bbp-template-notice,
.msbt-forums-page .bbp-breadcrumb,
.msbt-forums-page #bbpress-forums > h1,
.msbt-forums-page #bbpress-forums > .entry-title,
.msbt-forums-page #bbpress-forums > .bbp-forum-title,
#bbpress-forums fieldset.bbp-form legend {
	display: none !important;
}

#bbpress-forums fieldset.bbp-form {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	clear: both !important;
	float: none !important;
	width: 100% !important;
	background: transparent !important;
}

/* ============================================================
   MSBT Forums Archive (Cohort Cards - Full Width)
   ============================================================ */
.msbt-bbp-archive-wrap {
	width: 100%;
	box-sizing: border-box;
}

.msbt-bbp-archive-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.msbt-bbp-archive-title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 20px;
	font-weight: 800;
	color: #0B192C;
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: -0.3px;
}

.msbt-bbp-archive-title svg {
	stroke: #0B192C;
	flex-shrink: 0;
}

.msbt-bbp-archive-sub {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13.5px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

.msbt-bbp-archive-stats-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	padding: 7px 16px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #0B192C;
	box-shadow: 0 2px 6px rgba(11, 25, 44, 0.04);
}

.msbt-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
	display: inline-block;
	animation: msbtPulse 2s infinite ease-in-out;
}

@keyframes msbtPulse {
	0%, 100% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.25);
		opacity: 0.7;
	}
}

.msbt-bbp-forum-grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.msbt-bbp-cohort-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px 28px;
	box-shadow: 0 2px 8px rgba(11, 25, 44, 0.03);
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
	            border-color 0.22s ease, 
	            box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
	position: relative;
	box-sizing: border-box;
}

.msbt-bbp-cohort-card:hover {
	transform: translateY(-3px);
	border-color: #0B192C;
	box-shadow: 0 12px 32px rgba(11, 25, 44, 0.08);
}

.msbt-bbp-cohort-card:active {
	transform: translateY(-1px) scale(0.998);
	box-shadow: 0 4px 14px rgba(11, 25, 44, 0.06);
}

.msbt-bbp-cohort-icon-col {
	flex-shrink: 0;
}

.msbt-bbp-cohort-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, #0B192C 0%, #1e3a5f 100%);
	color: #decb6a;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
	box-shadow: 0 4px 12px rgba(11, 25, 44, 0.15);
}

.msbt-bbp-cohort-card:hover .msbt-bbp-cohort-icon {
	transform: scale(1.08) rotate(-2deg);
	box-shadow: 0 6px 18px rgba(11, 25, 44, 0.25);
}

.msbt-bbp-cohort-content-col {
	flex: 1;
	min-width: 0;
}

.msbt-bbp-cohort-title-row {
	margin-bottom: 6px;
}

.msbt-bbp-cohort-title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 18px;
	font-weight: 800;
	margin: 0;
	line-height: 1.35;
	letter-spacing: -0.2px;
}

.msbt-bbp-cohort-title a {
	color: #0B192C;
	text-decoration: none;
	transition: color 0.15s ease;
}

.msbt-bbp-cohort-title a:hover {
	color: #1e3a5f;
}

.msbt-bbp-cohort-desc {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13.5px;
	color: #475569;
	line-height: 1.55;
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.msbt-bbp-cohort-desc p {
	margin: 0;
}

.msbt-bbp-cohort-meta-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.msbt-bbp-chips-group {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.msbt-bbp-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f1f5f9;
	color: #334155;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	transition: background 0.15s, border-color 0.15s;
}

.msbt-bbp-cohort-card:hover .msbt-bbp-chip {
	background: #e2e8f0;
	border-color: #cbd5e1;
}

.msbt-bbp-chip strong {
	color: #0B192C;
	font-weight: 800;
}

.msbt-bbp-chip svg {
	color: #64748b;
}

.msbt-bbp-cohort-last-active {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12px;
	color: #64748b;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.msbt-bbp-last-clock {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.msbt-bbp-last-clock svg {
	color: #94a3b8;
}

.msbt-bbp-last-author {
	font-weight: 600;
	color: #0B192C;
}

.msbt-bbp-cohort-action-col {
	flex-shrink: 0;
}

.msbt-bbp-enter-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 10px;
	background: #0B192C;
	color: #ffffff !important;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	border: 1px solid #0B192C;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(11, 25, 44, 0.08);
}

.msbt-bbp-cohort-card:hover .msbt-bbp-enter-btn {
	background: #1e3a5f;
	color: #decb6a !important;
	border-color: #1e3a5f;
	transform: translateX(4px);
	box-shadow: 0 4px 14px rgba(11, 25, 44, 0.16);
}

.msbt-bbp-enter-btn:hover {
	background: #1e3a5f;
	color: #decb6a !important;
	border-color: #1e3a5f;
}

.msbt-bbp-enter-btn:active {
	transform: translateX(2px) scale(0.98);
}

.msbt-bbp-enter-btn svg {
	transition: transform 0.2s ease;
}

.msbt-bbp-cohort-card:hover .msbt-bbp-enter-btn svg {
	transform: translateX(2px);
}

/* ============================================================
   MSBT Modern Academic Reply & Topic Composer
   ============================================================ */
.msbt-reply-composer-wrap,
.msbt-topic-composer-wrap {
	width: 100% !important;
	box-sizing: border-box !important;
	margin-top: 36px;
	clear: both !important;
	float: none !important;
}

.msbt-reply-composer-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px 32px;
	box-shadow: 0 4px 24px rgba(11, 25, 44, 0.05);
	box-sizing: border-box;
	width: 100% !important;
	clear: both !important;
	float: none !important;
	position: relative;
}

.msbt-composer-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 20px;
	margin-bottom: 24px;
	border-bottom: 1px solid #f1f5f9;
}

.msbt-composer-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(11, 25, 44, 0.06) 0%, rgba(30, 58, 95, 0.1) 100%);
	color: #0B192C;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.msbt-composer-title-block {
	flex: 1;
}

.msbt-composer-title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: #0B192C;
	margin: 0 0 4px;
	letter-spacing: -0.2px;
}

.msbt-composer-sub {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13px;
	color: #64748b;
	font-weight: 500;
	display: block;
}

.msbt-composer-form {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	clear: both !important;
	float: none !important;
}

/* Editor Styling */
.msbt-composer-editor-box {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 20px;
}

.msbt-composer-editor-box #wp-bbp_reply_content-wrap,
.msbt-composer-editor-box #wp-bbp_topic_content-wrap,
.msbt-composer-editor-box .wp-editor-wrap {
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.msbt-composer-editor-box .wp-editor-wrap:focus-within {
	border-color: #0B192C;
	box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08);
}

.msbt-composer-editor-box .quicktags-toolbar {
	background: #f8fafc !important;
	border: none !important;
	border-bottom: 1px solid #e2e8f0 !important;
	padding: 8px 12px !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	box-sizing: border-box !important;
}

.msbt-composer-editor-box .quicktags-toolbar input.ed_button {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 6px !important;
	padding: 5px 12px !important;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #475569 !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.msbt-composer-editor-box .quicktags-toolbar input.ed_button:hover {
	background: #0B192C !important;
	color: #decb6a !important;
	border-color: #0B192C !important;
	transform: translateY(-1px) !important;
}

.msbt-composer-editor-box .quicktags-toolbar input.ed_button:active {
	transform: translateY(0) !important;
}

.msbt-composer-editor-box textarea.bbp-the-content {
	width: 100% !important;
	border: none !important;
	outline: none !important;
	padding: 18px 20px !important;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
	font-size: 14.5px !important;
	line-height: 1.65 !important;
	color: #0B192C !important;
	box-sizing: border-box !important;
	min-height: 170px !important;
	resize: vertical !important;
	background: #ffffff !important;
	box-shadow: none !important;
}

.msbt-composer-editor-box textarea.bbp-the-content:focus {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}

/* Form Groups & Inputs */
.msbt-form-group {
	margin-bottom: 22px;
	width: 100%;
	box-sizing: border-box;
}

.msbt-form-label {
	display: block;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13.5px;
	font-weight: 700;
	color: #0B192C;
	margin-bottom: 8px;
}

.msbt-required {
	color: #ef4444;
	margin-left: 3px;
}

.msbt-modern-input {
	width: 100% !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 10px !important;
	padding: 12px 18px !important;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 14px !important;
	color: #0B192C !important;
	background: #ffffff !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
}

.msbt-modern-input:focus {
	outline: none !important;
	border-color: #0B192C !important;
	box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08) !important;
}

/* Composer Footer */
.msbt-composer-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #f1f5f9;
	flex-wrap: wrap;
}

.msbt-composer-options {
	display: flex;
	align-items: center;
}

.msbt-composer-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13px;
	color: #475569;
	font-weight: 500;
	cursor: pointer;
	user-select: none;
}

.msbt-composer-checkbox-label:hover {
	color: #0B192C;
}

.msbt-custom-chk {
	accent-color: #0B192C;
	width: 17px;
	height: 17px;
	cursor: pointer;
	border-radius: 4px;
}

.msbt-composer-submit-wrap {
	margin-left: auto;
}

.msbt-composer-btn,
#bbpress-forums #bbp_reply_submit,
#bbpress-forums #bbp_topic_submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	background: linear-gradient(135deg, #0B192C 0%, #1e3a5f 100%) !important;
	color: #ffffff !important;
	border: 1px solid #0B192C !important;
	border-radius: 12px !important;
	padding: 12px 28px !important;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
	box-shadow: 0 4px 14px rgba(11, 25, 44, 0.16) !important;
	text-shadow: none !important;
	text-decoration: none !important;
	line-height: 1.4 !important;
}

.msbt-composer-btn:hover,
#bbpress-forums #bbp_reply_submit:hover,
#bbpress-forums #bbp_topic_submit:hover {
	background: #0B192C !important;
	color: #decb6a !important;
	border-color: #0B192C !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px rgba(11, 25, 44, 0.24) !important;
}

.msbt-composer-btn:active,
#bbpress-forums #bbp_reply_submit:active,
#bbpress-forums #bbp_topic_submit:active {
	transform: translateY(0) scale(0.98) !important;
	box-shadow: 0 2px 8px rgba(11, 25, 44, 0.12) !important;
}

.msbt-composer-btn svg {
	transition: transform 0.2s ease;
}

.msbt-composer-btn:hover svg {
	transform: translate(2px, -2px);
}

/* Authentication prompt for logged out users */
.msbt-composer-login-prompt {
	margin-top: 36px;
	width: 100%;
}

.msbt-composer-login-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 36px 30px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(11, 25, 44, 0.04);
}

.msbt-composer-login-card svg {
	margin-bottom: 14px;
}

.msbt-composer-login-card h4 {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: #0B192C;
	margin: 0 0 8px;
}

.msbt-composer-login-card p {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	color: #64748b;
	margin: 0 0 20px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

/* Single Topic OP Card & Replies modern refinement */
.msbt-bbp-wrap {
	width: 100%;
	box-sizing: border-box;
}

.msbt-bbp-op-card {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px !important;
	padding: 28px 32px !important;
	margin-bottom: 28px !important;
	box-shadow: 0 2px 12px rgba(11, 25, 44, 0.04) !important;
}

.msbt-bbp-op-author {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f1f5f9;
}

.msbt-bbp-avatar-lg {
	width: 48px !important;
	height: 48px !important;
	border-radius: 50% !important;
	border: 2px solid #decb6a !important;
	box-shadow: 0 2px 6px rgba(11, 25, 44, 0.1);
}

.msbt-bbp-op-name {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 16px;
	font-weight: 800;
	color: #0B192C;
	text-decoration: none;
	display: block;
	margin-bottom: 2px;
}

.msbt-bbp-op-name:hover {
	color: #1e3a5f;
}

.msbt-bbp-op-time {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12.5px;
	color: #64748b;
}

.msbt-bbp-op-badge {
	margin-left: auto;
	background: #0B192C !important;
	color: #decb6a !important;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 4px 12px !important;
	border-radius: 9999px !important;
}

.msbt-bbp-op-content {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: #1e293b;
}

.msbt-bbp-replies-section {
	margin-bottom: 36px;
}

.msbt-bbp-replies-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 16px;
	font-weight: 800;
	color: #0B192C;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f1f5f9;
	letter-spacing: -0.2px;
}

.msbt-bbp-reply-card {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 14px !important;
	padding: 22px 26px !important;
	margin-bottom: 14px !important;
	box-shadow: 0 1px 4px rgba(11, 25, 44, 0.02) !important;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.msbt-bbp-reply-card:hover {
	border-color: #cbd5e1 !important;
	box-shadow: 0 6px 20px rgba(11, 25, 44, 0.06) !important;
	transform: translateY(-2px);
}

.msbt-bbp-avatar-md {
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	border: 1.5px solid #cbd5e1 !important;
}

.msbt-bbp-reply-name {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14.5px;
	font-weight: 700;
	color: #0B192C;
	text-decoration: none;
	display: block;
	margin-bottom: 2px;
}

.msbt-bbp-reply-name:hover {
	color: #1e3a5f;
}

.msbt-bbp-reply-time {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12px;
	color: #64748b;
}

.msbt-bbp-reply-content {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14.5px;
	line-height: 1.68;
	color: #334155;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.msbt-bbp-cohort-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 20px;
	}
	.msbt-bbp-cohort-action-col {
		width: 100%;
	}
	.msbt-bbp-enter-btn {
		width: 100%;
		justify-content: center;
	}
	.msbt-reply-composer-card,
	.msbt-bbp-op-card,
	.msbt-bbp-reply-card {
		padding: 20px 18px !important;
	}
	.msbt-composer-foot {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	.msbt-composer-submit-wrap {
		width: 100%;
		margin-left: 0;
	}
	.msbt-composer-btn {
		width: 100%;
	}
}

/* ============================================================
   MSBT Focus Mode Course Player — Modern Curriculum Accordions
   ============================================================ */
.msbt-player-sidebar {
	background: #ffffff !important;
	border-right: 1px solid #e2e8f0 !important;
	box-shadow: 2px 0 16px rgba(11, 25, 44, 0.04) !important;
}

.msbt-lw-pill-wrap {
	margin-bottom: 8px;
}

.msbt-lw-pill-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #0B192C;
	color: #decb6a;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 9999px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

/* 3-Tabs Bar: Modern Segmented Pill */
.msbt-player-sidebar .msbt-lw-tabs-bar {
	display: flex !important;
	background: #f1f5f9 !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	padding: 4px !important;
	margin: 10px 16px 14px !important;
	gap: 4px !important;
}

.msbt-player-sidebar .msbt-lw-tab {
	flex: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	border: none !important;
	outline: none !important;
	background: transparent !important;
	border-radius: 8px !important;
	padding: 8px 6px !important;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	color: #64748b !important;
	cursor: pointer !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
	text-align: center !important;
	box-shadow: none !important;
}

.msbt-player-sidebar .msbt-lw-tab:hover {
	color: #0B192C !important;
	background: rgba(255, 255, 255, 0.7) !important;
}

.msbt-player-sidebar .msbt-lw-tab.is-active {
	background: #0B192C !important;
	color: #decb6a !important;
	font-weight: 800 !important;
	box-shadow: 0 2px 8px rgba(11, 25, 44, 0.16) !important;
}

.msbt-player-sidebar .msbt-lw-tab.is-active::after {
	display: none !important;
}

/* Curriculum Accordions in Sidebar */
.msbt-player-curriculum-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 2px;
}

.msbt-player-mod-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.msbt-player-mod-card.is-open {
	border-color: #cbd5e1;
	box-shadow: 0 2px 10px rgba(11, 25, 44, 0.04);
}

.msbt-player-mod-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	background: #ffffff;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: 'Plus Jakarta Sans', sans-serif;
	transition: background 0.15s ease;
}

.msbt-player-mod-trigger:hover {
	background: #f8fafc;
}

.msbt-player-mod-card.is-open .msbt-player-mod-trigger {
	background: #f8fafc;
	border-bottom: 1px solid #f1f5f9;
}

.msbt-player-mod-left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.msbt-player-mod-number {
	font-size: 11px;
	font-weight: 800;
	color: #92400e;
	background: #fef3c7;
	border: 1px solid #fde68a;
	padding: 2px 7px;
	border-radius: 6px;
	flex-shrink: 0;
}

.msbt-player-mod-title {
	font-size: 13px;
	font-weight: 700;
	color: #0B192C;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.msbt-player-mod-right {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.msbt-player-mod-count {
	font-size: 10.5px;
	font-weight: 700;
	color: #64748b;
	background: #f1f5f9;
	padding: 2px 7px;
	border-radius: 9999px;
}

.msbt-player-mod-card .msbt-chevron-icon {
	color: #94a3b8;
	transition: transform 0.25s ease;
}

.msbt-player-mod-card.is-open .msbt-chevron-icon {
	transform: rotate(180deg);
	color: #0B192C;
}

.msbt-player-mod-body {
	padding: 8px 10px 10px;
	background: #ffffff;
}

.msbt-player-lesson-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.msbt-player-lesson-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	text-decoration: none !important;
	transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
}

.msbt-player-lesson-row:hover {
	background: #ffffff;
	border-color: #cbd5e1;
	transform: translateX(2px);
	box-shadow: 0 2px 8px rgba(11, 25, 44, 0.05);
}

.msbt-player-lesson-row.is-complete {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.msbt-player-lesson-row.is-active-lesson {
	background: #ffffff !important;
	border: 1.5px solid #0B192C !important;
	box-shadow: 0 3px 12px rgba(11, 25, 44, 0.08), inset 4.5px 0 0 #decb6a !important;
}

.msbt-player-lesson-left {
	display: flex;
	align-items: center;
	gap: 9px;
	flex: 1;
	min-width: 0;
}

.msbt-status-icon {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.msbt-status-icon.is-completed {
	background: #10b981;
	box-shadow: 0 1px 4px rgba(16, 185, 129, 0.3);
}

.msbt-status-icon.is-current {
	background: #fef3c7;
	border: 1px solid #fde68a;
}

.msbt-dot-pulse {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #d97706;
	animation: msbtPulse 1.8s infinite;
}

.msbt-status-icon.is-pending {
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
}

.msbt-player-lesson-name {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12.5px;
	color: #334155;
	font-weight: 600;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.msbt-player-lesson-row:hover .msbt-player-lesson-name {
	color: #0B192C;
}

.msbt-player-lesson-row.is-active-lesson .msbt-player-lesson-name {
	color: #0B192C !important;
	font-weight: 800 !important;
}

.msbt-player-lesson-right {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.msbt-arrow-icon {
	color: #94a3b8;
	transition: transform 0.15s ease;
}

.msbt-player-lesson-row:hover .msbt-arrow-icon {
	color: #0B192C;
	transform: translateX(1px);
}

/* Category Badges - Executive Academic Navy and Gold */
.msbt-tag-assign {
	font-size: 10px;
	font-weight: 800;
	color: #0B192C;
	background: #fef3c7;
	border: 1px solid #fde68a;
	padding: 1.5px 6px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.msbt-tag-feedback {
	font-size: 10px;
	font-weight: 800;
	color: #6b21a8;
	background: #f3e8ff;
	border: 1px solid #e9d5ff;
	padding: 1.5px 6px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.msbt-tag-quiz {
	font-size: 10px;
	font-weight: 800;
	color: #075985;
	background: #e0f2fe;
	border: 1px solid #bae6fd;
	padding: 1.5px 6px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.msbt-tag-reading {
	font-size: 10px;
	font-weight: 700;
	color: #475569;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	padding: 1.5px 6px;
	border-radius: 4px;
	letter-spacing: 0.2px;
}

/* LearnDash Player Masthead & Navigation Buttons Modernization */
#ld-focus-header {
	background: #ffffff !important;
	border-bottom: 1px solid #e2e8f0 !important;
	box-shadow: 0 2px 10px rgba(11, 25, 44, 0.04) !important;
	height: 64px !important;
}

#ld-focus-header .ld-course-navigation-heading {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-weight: 800 !important;
	color: #0B192C !important;
	font-size: 12px !important;
	letter-spacing: 0.5px !important;
}

#ld-focus-header .ld-progress-bar {
	background: #e2e8f0 !important;
	border-radius: 9999px !important;
	height: 7px !important;
}

#ld-focus-header .ld-progress-bar-percentage {
	background: linear-gradient(90deg, #0B192C 0%, #1e3a5f 100%) !important;
	border-radius: 9999px !important;
}

/* Player Navigation Action Buttons */
.ld-content-actions .ld-button,
.ld-focus-header .ld-button,
a.ld-button,
button.ld-button {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-weight: 700 !important;
	border-radius: 10px !important;
	padding: 10px 20px !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ld-button-primary,
#learndash-complete-button,
.learndash_mark_complete_button {
	background: linear-gradient(135deg, #0B192C 0%, #1e3a5f 100%) !important;
	color: #ffffff !important;
	border: 1px solid #0B192C !important;
	box-shadow: 0 4px 12px rgba(11, 25, 44, 0.15) !important;
}

.ld-button-primary:hover,
#learndash-complete-button:hover,
.learndash_mark_complete_button:hover {
	background: #0B192C !important;
	color: #decb6a !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 18px rgba(11, 25, 44, 0.22) !important;
}

/* Callout & Academic framing inside lesson content */
.ld-focus-content h1.entry-title,
.ld-focus-content .ld-focus-content-title {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 28px !important;
	font-weight: 800 !important;
	color: #0B192C !important;
	letter-spacing: -0.4px !important;
	margin: 0 0 16px !important;
	line-height: 1.25 !important;
}

/* ============================================================
   1. TOTAL ANTI-PINK & ACCENT BLEED OVERRIDE (Focus Mode & LMS)
   ============================================================ */
.learndash-wrapper button:focus,
.learndash-wrapper button:active,
.learndash-wrapper button:focus-visible,
.msbt-player-sidebar button:focus,
.msbt-player-sidebar button:active,
.msbt-player-sidebar button:focus-visible,
.msbt-player-mod-trigger:focus,
.msbt-player-mod-trigger:active,
.msbt-player-mod-trigger:focus-visible,
.msbt-player-mod-card:focus,
.msbt-player-mod-card:active,
.msbt-player-mod-card:focus-within,
.msbt-lw-tab:focus,
.msbt-lw-tab:active,
.msbt-lw-tab:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	-webkit-tap-highlight-color: transparent !important;
}

.msbt-player-mod-trigger:focus,
.msbt-player-mod-trigger:active {
	background: #ffffff !important;
	color: #0B192C !important;
}

.msbt-player-mod-card.is-open .msbt-player-mod-trigger:focus,
.msbt-player-mod-card.is-open .msbt-player-mod-trigger:active {
	background: #f8fafc !important;
	color: #0B192C !important;
}

/* Ensure no child text or badge turns pink on focus */
.msbt-player-mod-trigger:focus .msbt-player-mod-title,
.msbt-player-mod-trigger:active .msbt-player-mod-title {
	color: #0B192C !important;
}

.msbt-player-mod-trigger:focus .msbt-player-mod-number,
.msbt-player-mod-trigger:active .msbt-player-mod-number {
	background: #fef3c7 !important;
	color: #92400e !important;
	border-color: #fde68a !important;
}

.msbt-player-mod-trigger:focus .msbt-player-mod-count,
.msbt-player-mod-trigger:active .msbt-player-mod-count {
	background: #f1f5f9 !important;
	color: #64748b !important;
}

/* ============================================================
   2. STANDARDIZED LESSON CONTENT TYPOGRAPHY & LAYOUT
   ============================================================ */
.ld-focus-content,
.ld-focus-content .entry-content,
.ld-focus-content .learndash-wrapper {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 15px !important;
	line-height: 1.7 !important;
	color: #334155 !important;
}

.ld-focus-content h2 {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #0B192C !important;
	margin: 28px 0 14px !important;
	line-height: 1.3 !important;
}

.ld-focus-content h3 {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #0B192C !important;
	margin: 22px 0 10px !important;
	line-height: 1.35 !important;
}

.ld-focus-content h4 {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #0B192C !important;
	margin: 18px 0 8px !important;
}

.ld-focus-content p {
	font-size: 15px !important;
	line-height: 1.75 !important;
	color: #334155;
	margin: 0 0 16px !important;
}

.ld-focus-content ul,
.ld-focus-content ol {
	font-size: 15px !important;
	line-height: 1.75 !important;
	color: #334155;
	padding-left: 24px !important;
	margin: 0 0 20px !important;
}

/* Maintain high contrast for dark background banners, feedback matrices & assessor cards */
.ld-focus-content [style*="background:#0B192C"] p,
.ld-focus-content [style*="background: #0B192C"] p,
.ld-focus-content [style*="background:#0b192c"] p,
.ld-focus-content [style*="background: #0b192c"] p,
.ld-focus-content .msbt-dark-box p,
.ld-focus-content .msbt-feedback-header p {
	color: #f1f5f9 !important;
}

.ld-focus-content [style*="background:#0B192C"] h4,
.ld-focus-content [style*="background: #0B192C"] h4,
.ld-focus-content [style*="background:#0b192c"] h4,
.ld-focus-content [style*="background: #0b192c"] h4,
.ld-focus-content .msbt-dark-box h4,
.ld-focus-content .msbt-feedback-header h4 {
	color: #decb6a !important;
}

.ld-focus-content li {
	margin-bottom: 8px !important;
}

/* ============================================================
   3. SMOOTH SIDEBAR COLLAPSE & EXPAND FIX
   ============================================================ */
.learndash-wrapper .ld-focus .ld-focus-sidebar {
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
	z-index: 100 !important;
}

.learndash-wrapper .ld-focus.ld-focus-sidebar-collapsed .ld-focus-sidebar {
	width: 0 !important;
	min-width: 0 !important;
	max-width: 0 !important;
	opacity: 0 !important;
	visibility: hidden !important;
	border: none !important;
	box-shadow: none !important;
	overflow: hidden !important;
	transform: translateX(-100%) !important;
}

.learndash-wrapper .ld-focus.ld-focus-sidebar-collapsed .ld-focus-main {
	margin-left: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 100% !important;
}

.msbt-lw-collapse-btn {
	background: #f1f5f9 !important;
	border: 1px solid #e2e8f0 !important;
	color: #0B192C !important;
	cursor: pointer !important;
	width: 32px !important;
	height: 32px !important;
	border-radius: 8px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.15s ease !important;
}

.msbt-lw-collapse-btn:hover {
	background: #0B192C !important;
	color: #decb6a !important;
	border-color: #0B192C !important;
}

/* ============================================================
   4. MODERN ASSIGNMENT DRAG & DROP SUBMISSION SUITE
   ============================================================ */
.msbt-assignment-suite-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px 30px;
	margin-top: 32px;
	box-shadow: 0 2px 14px rgba(11, 25, 44, 0.04);
}

.msbt-assignment-suite-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f1f5f9;
}

.msbt-assignment-suite-title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: #0B192C;
	margin: 0 0 4px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.msbt-assignment-suite-sub {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

.msbt-assignment-suite-badge {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	background: #0B192C !important;
	color: #decb6a !important;
	padding: 5px 12px !important;
	border-radius: 6px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.4px !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	height: fit-content !important;
}

/* Upload Mode Tabs (File Dropzone vs Online Document URL) */
.msbt-upload-mode-tabs {
	display: inline-flex;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 3px;
	gap: 4px;
	margin-bottom: 20px;
}

.msbt-upload-tab-btn {
	padding: 7px 16px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	color: #64748b !important;
	background: transparent !important;
	border: none !important;
	border-radius: 7px !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	transition: all 0.15s ease !important;
}

.msbt-upload-tab-btn:hover {
	background: #e2e8f0 !important;
	color: #0B192C !important;
}

.msbt-upload-tab-btn.is-active,
.msbt-upload-tab-btn.is-active:hover,
.msbt-upload-tab-btn.is-active:focus {
	background: #0B192C !important;
	color: #ffffff !important;
	box-shadow: 0 2px 6px rgba(11, 25, 44, 0.15) !important;
}

/* Drag & Drop Zone */
.msbt-dropzone {
	border: 2px dashed #cbd5e1;
	border-radius: 14px;
	background: #f8fafc;
	padding: 36px 24px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
}

.msbt-dropzone:hover,
.msbt-dropzone.is-dragover {
	border-color: #decb6a;
	background: #fefdf7;
	transform: scale(1.005);
}

.msbt-dropzone-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #0B192C;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	transition: all 0.2s;
}

.msbt-dropzone:hover .msbt-dropzone-icon {
	background: #0B192C;
	color: #decb6a;
}

.msbt-dropzone-lead {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #0B192C;
	margin: 0 0 6px;
}

.msbt-dropzone-hint {
	font-size: 12.5px;
	color: #64748b;
	margin: 0 0 16px;
}

.msbt-btn-browse-file {
	background: #0B192C;
	color: #ffffff;
	border: 1px solid #0B192C;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	padding: 8px 18px;
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.15s ease;
}

.msbt-btn-browse-file:hover {
	background: #1e3a5f;
	color: #decb6a;
}

.msbt-selected-file-card {
	display: none;
	align-items: center;
	justify-content: space-between;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 10px;
	padding: 12px 16px;
	margin-top: 14px;
}

.msbt-selected-file-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.msbt-selected-file-name {
	font-size: 13px;
	font-weight: 700;
	color: #166534;
}

.msbt-selected-file-size {
	font-size: 11.5px;
	color: #15803d;
}

/* External Document URL Option */
.msbt-url-field-wrap {
	display: none;
	flex-direction: column;
	gap: 8px;
}

.msbt-url-input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	color: #0B192C;
	box-sizing: border-box;
	transition: border-color 0.15s;
}

.msbt-url-input:focus {
	outline: none;
	border-color: #0B192C;
	box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08);
}

/* Academic Integrity Declaration Checkbox */
.msbt-declaration-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px 16px;
	margin: 18px 0;
	cursor: pointer;
}

.msbt-declaration-row input[type="checkbox"] {
	margin-top: 3px;
	width: 17px;
	height: 17px;
	accent-color: #0B192C;
	cursor: pointer;
}

.msbt-declaration-text {
	font-size: 12.5px;
	line-height: 1.55;
	color: #334155;
}

.msbt-declaration-text strong {
	color: #0B192C;
}

.msbt-submit-assignment-btn {
	width: 100%;
	background: linear-gradient(135deg, #0B192C 0%, #1e3a5f 100%);
	color: #ffffff;
	border: 1px solid #0B192C;
	border-radius: 10px;
	padding: 14px 24px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 4px 14px rgba(11, 25, 44, 0.16);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.msbt-submit-assignment-btn:hover {
	background: #0B192C;
	color: #decb6a;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(11, 25, 44, 0.22);
}

/* ============================================================
   5. INSTRUCTOR & FACULTY PORTAL DASHBOARD STYLES
   ============================================================ */
.msbt-instructor-page {
	background: #f8fafc;
	min-height: 100vh;
}

.msbt-instructor-container {
	max-width: 1320px;
	width: 100%;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

/* Stats Metric Grid */
.msbt-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin: 28px 0;
}

.msbt-stat-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 22px 20px;
	box-shadow: 0 2px 10px rgba(11, 25, 44, 0.04);
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.msbt-stat-number {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 28px;
	font-weight: 800;
	color: #0B192C;
	line-height: 1.1;
	margin: 0 0 4px;
}

.msbt-stat-label {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.msbt-stat-icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Submissions Marking Queue Table */
.msbt-table-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px;
	margin-bottom: 30px;
	box-shadow: 0 2px 12px rgba(11, 25, 44, 0.04);
}

.msbt-table-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.msbt-table-title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: #0B192C;
	margin: 0 0 4px;
}

.msbt-table-sub {
	font-size: 12.5px;
	color: #64748b;
	margin: 0;
}

.msbt-marking-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.msbt-marking-table th {
	background: #f8fafc;
	color: #475569;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	padding: 12px 16px;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
}

.msbt-marking-table td {
	padding: 14px 16px;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13px;
	color: #334155;
	vertical-align: middle;
}

.msbt-marking-table tbody tr {
	cursor: pointer;
	transition: background 0.15s ease;
}

.msbt-marking-table tbody tr:hover td {
	background: #f8fafc !important;
}

.msbt-similarity-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 6px;
}

.msbt-similarity-pill.is-clean {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.msbt-similarity-pill.is-amber {
	background: #fffbeb;
	color: #92400e;
	border: 1px solid #fde68a;
}

.msbt-similarity-pill.is-refer {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.msbt-btn-grade-now {
	background: #0B192C !important;
	color: #decb6a !important;
	border: 1px solid #0B192C !important;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	padding: 7px 14px !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	transition: all 0.15s ease !important;
	text-decoration: none !important;
}

.msbt-btn-grade-now:hover,
.msbt-btn-grade-now:focus {
	background: #1e3a5f !important;
	color: #ffffff !important;
	border-color: #1e3a5f !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px rgba(11, 25, 44, 0.15) !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
	.msbt-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.msbt-stats-grid {
		grid-template-columns: 1fr;
	}
	.msbt-table-card {
		padding: 18px 14px;
		overflow-x: auto;
	}
	.msbt-marking-table {
		min-width: 600px;
	}
}

/* ==========================================================================
   GLOBAL BULLETPROOF ANTI-PINK KILL SWITCH (#c36 / #92003b / #cc3366)
   ========================================================================== */
a {
  color: #0B192C;
}
a:hover, a:focus {
  color: #1e3a5f;
}

[type="button"]:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):not(.msbt-lw-tab):not(.msbt-upload-tab-btn):not(.msbt-lw-collapse-btn):not(.msbt-inbox-modal-close):not(.msbt-btn-toggle-all):not([onclick*="Close"]),
[type="submit"]:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger),
[type="reset"],
button:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):not(.msbt-lw-tab):not(.msbt-upload-tab-btn):not(.msbt-lw-collapse-btn):not(.msbt-inbox-modal-close):not(.msbt-btn-toggle-all):not([onclick*="Close"]) {
  border-color: #0B192C;
  color: #0B192C;
}

[type="button"]:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):not(.msbt-lw-tab):not(.msbt-upload-tab-btn):not(.msbt-lw-collapse-btn):not(.msbt-inbox-modal-close):not(.msbt-btn-toggle-all):not([onclick*="Close"]):focus,
[type="button"]:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):not(.msbt-lw-tab):not(.msbt-upload-tab-btn):not(.msbt-lw-collapse-btn):not(.msbt-inbox-modal-close):not(.msbt-btn-toggle-all):not([onclick*="Close"]):hover,
[type="button"]:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):not(.msbt-lw-tab):not(.msbt-upload-tab-btn):not(.msbt-lw-collapse-btn):not(.msbt-inbox-modal-close):not(.msbt-btn-toggle-all):not([onclick*="Close"]):active,
[type="submit"]:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):focus,
[type="submit"]:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):hover,
[type="submit"]:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):active,
[type="reset"]:focus,
[type="reset"]:hover,
[type="reset"]:active,
button:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):not(.msbt-lw-tab):not(.msbt-upload-tab-btn):not(.msbt-lw-collapse-btn):not(.msbt-inbox-modal-close):not(.msbt-btn-toggle-all):not([onclick*="Close"]):focus,
button:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):not(.msbt-lw-tab):not(.msbt-upload-tab-btn):not(.msbt-lw-collapse-btn):not(.msbt-inbox-modal-close):not(.msbt-btn-toggle-all):not([onclick*="Close"]):hover,
button:not(.msbt-player-mod-trigger):not(.msbt-accordion-trigger):not(.msbt-lw-tab):not(.msbt-upload-tab-btn):not(.msbt-lw-collapse-btn):not(.msbt-inbox-modal-close):not(.msbt-btn-toggle-all):not([onclick*="Close"]):active {
  background-color: #0B192C !important;
  color: #ffffff !important;
  border-color: #0B192C !important;
  text-decoration: none !important;
}

/* ==========================================================================
   ACADEMIC INTEGRITY & TURNITIN POLICY CARD & BUTTON
   ========================================================================== */
.msbt-integrity-card {
  background: #fffdf2 !important;
  border: 1px solid #fde68a !important;
  border-radius: 14px !important;
  padding: 22px 24px !important;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.05) !important;
  margin-top: 24px !important;
}

.msbt-integrity-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #92400e !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.2px !important;
}

.msbt-integrity-desc {
  font-size: 13px !important;
  color: #78350f !important;
  line-height: 1.65 !important;
  margin: 0 0 16px 0 !important;
}

.msbt-integrity-link-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #0B192C !important;
  color: #decb6a !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.15) !important;
  border: 1px solid #0B192C !important;
}

.msbt-integrity-link-btn:hover,
.msbt-integrity-link-btn:focus {
  background: #1e3a5f !important;
  color: #ffffff !important;
  border-color: #1e3a5f !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.22) !important;
  text-decoration: none !important;
}

/* ==========================================================================
   INBOX TOP ACTION BAR (SEARCH + NEW MESSAGE ON SAME LINE) & CHAT ENHANCEMENTS
   ========================================================================== */
.msbt-inbox-top-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 16px 18px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
}

.msbt-inbox-top-actions .msbt-inbox-search-wrap {
  flex: 1 !important;
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
}

.msbt-inbox-top-actions .msbt-inbox-search-input {
  width: 100% !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 9px 34px 9px 12px !important;
  font-size: 13px !important;
  outline: none !important;
  color: #1e293b !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.msbt-inbox-top-actions .msbt-inbox-search-input:focus {
  border-color: #0B192C !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08) !important;
}

.msbt-inbox-top-actions .msbt-inbox-search-icon {
  position: absolute !important;
  right: 11px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

.msbt-inbox-top-actions .msbt-inbox-btn-new-msg {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #0B192C !important;
  color: #ffffff !important;
  border: 1px solid #0B192C !important;
  padding: 9px 15px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 2px 6px rgba(11, 25, 44, 0.12) !important;
  flex-shrink: 0 !important;
  width: auto !important;
}

.msbt-inbox-top-actions .msbt-inbox-btn-new-msg:hover,
.msbt-inbox-top-actions .msbt-inbox-btn-new-msg:focus,
.msbt-inbox-top-actions .msbt-inbox-btn-new-msg:active {
  background: #1e3a5f !important;
  color: #decb6a !important;
  border-color: #1e3a5f !important;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.2) !important;
  outline: none !important;
  opacity: 1 !important;
}

/* Chat bubble aesthetics */
.msbt-inbox-msg-item.is-self .msbt-inbox-msg-bubble {
  background: #0B192C !important;
  color: #ffffff !important;
  border-radius: 18px 18px 4px 18px !important;
  padding: 12px 18px !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.12) !important;
}

.msbt-inbox-msg-item.is-contact .msbt-inbox-msg-bubble {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px 18px 18px 4px !important;
  padding: 12px 18px !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.04) !important;
}

.msbt-inbox-bottom-composer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 16px 20px !important;
}

.msbt-inbox-bottom-composer-inner {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 28px !important;
  padding: 6px 8px 6px 18px !important;
  transition: all 0.2s ease !important;
}

.msbt-inbox-bottom-composer-inner:focus-within {
  border-color: #0B192C !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08) !important;
}

.msbt-inbox-chat-input {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  font-size: 13.5px !important;
  color: #0f172a !important;
  outline: none !important;
  padding: 6px 0 !important;
}

.msbt-inbox-btn-send-round {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #0B192C !important;
  color: #ffffff !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}

.msbt-inbox-btn-send-round:hover,
.msbt-inbox-btn-send-round:focus {
  background: #1e3a5f !important;
  color: #decb6a !important;
  transform: scale(1.05) !important;
}

/* ==========================================================================
   ASSIGNMENT UPLOAD BUTTONS - CRYSTAL CLEAR HIGH CONTRAST TEXT
   ========================================================================== */
.msbt-btn-browse-file,
button.msbt-btn-browse-file,
[type="button"].msbt-btn-browse-file {
  background: #0B192C !important;
  color: #decb6a !important;
  border: 1px solid #0B192C !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.2) !important;
  text-decoration: none !important;
}

.msbt-btn-browse-file svg,
button.msbt-btn-browse-file svg {
  stroke: #decb6a !important;
}

.msbt-btn-browse-file:hover,
button.msbt-btn-browse-file:hover,
[type="button"].msbt-btn-browse-file:hover {
  background: #1e3a5f !important;
  color: #ffffff !important;
  border-color: #1e3a5f !important;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.25) !important;
}

.msbt-btn-browse-file:hover svg,
button.msbt-btn-browse-file:hover svg {
  stroke: #ffffff !important;
}

.msbt-submit-assignment-btn,
button.msbt-submit-assignment-btn,
#uploadfile_btn,
[type="submit"]#uploadfile_btn {
  background: linear-gradient(135deg, #0B192C 0%, #1e3a5f 100%) !important;
  color: #ffffff !important;
  border: 1px solid #0B192C !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 24px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.2) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

.msbt-submit-assignment-btn svg,
#uploadfile_btn svg {
  stroke: #decb6a !important;
}

.msbt-submit-assignment-btn span,
#uploadfile_btn span {
  color: #ffffff !important;
}

.msbt-submit-assignment-btn:hover,
button.msbt-submit-assignment-btn:hover,
#uploadfile_btn:hover {
  background: linear-gradient(135deg, #1e3a5f 0%, #0B192C 100%) !important;
  color: #decb6a !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(11, 25, 44, 0.3) !important;
}

.msbt-upload-tab-btn.is-active,
button.msbt-upload-tab-btn.is-active {
  background: #0B192C !important;
  color: #decb6a !important;
  font-weight: 800 !important;
}

.msbt-upload-tab-btn:not(.is-active),
button.msbt-upload-tab-btn:not(.is-active) {
  background: #f8fafc !important;
  color: #475569 !important;
  font-weight: 600 !important;
}

.msbt-upload-tab-btn:not(.is-active):hover,
button.msbt-upload-tab-btn:not(.is-active):hover {
  background: #f1f5f9 !important;
  color: #0B192C !important;
  border-color: #cbd5e1 !important;
}

/* ==========================================================================
   EXECUTIVE CONTRAST & ACCORDION HOVER PERFECTION (ZERO INVISIBLE TEXT)
   ========================================================================== */

/* 1. FOCUS MODE SIDEBAR ACCORDIONS */
.msbt-player-sidebar .msbt-player-mod-card,
.msbt-player-mod-card {
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
}

.msbt-player-sidebar .msbt-player-mod-card:hover,
.msbt-player-mod-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.06) !important;
}

.msbt-player-sidebar .msbt-player-mod-card.is-open,
.msbt-player-mod-card.is-open {
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(11, 25, 44, 0.04) !important;
}

.msbt-player-sidebar .msbt-player-mod-trigger,
.msbt-player-mod-trigger,
button.msbt-player-mod-trigger,
[type="button"].msbt-player-mod-trigger {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0B192C !important;
  border: none !important;
  cursor: pointer !important;
  text-align: left !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  transition: background 0.18s ease, color 0.18s ease !important;
  outline: none !important;
  box-shadow: none !important;
}

.msbt-player-sidebar .msbt-player-mod-trigger:hover,
.msbt-player-sidebar .msbt-player-mod-trigger:focus,
.msbt-player-sidebar .msbt-player-mod-trigger:active,
.msbt-player-mod-trigger:hover,
.msbt-player-mod-trigger:focus,
.msbt-player-mod-trigger:active,
button.msbt-player-mod-trigger:hover,
button.msbt-player-mod-trigger:focus,
button.msbt-player-mod-trigger:active,
[type="button"].msbt-player-mod-trigger:hover,
[type="button"].msbt-player-mod-trigger:focus,
[type="button"].msbt-player-mod-trigger:active {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  color: #0B192C !important;
  outline: none !important;
  box-shadow: none !important;
}

.msbt-player-sidebar .msbt-player-mod-card.is-open .msbt-player-mod-trigger,
.msbt-player-mod-card.is-open .msbt-player-mod-trigger,
.msbt-player-sidebar .msbt-player-mod-card.is-open button.msbt-player-mod-trigger,
.msbt-player-mod-card.is-open button.msbt-player-mod-trigger {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  border-bottom: 1px solid #f1f5f9 !important;
  color: #0B192C !important;
}

.msbt-player-sidebar .msbt-player-mod-card.is-open .msbt-player-mod-trigger:hover,
.msbt-player-mod-card.is-open .msbt-player-mod-trigger:hover,
.msbt-player-sidebar .msbt-player-mod-card.is-open button.msbt-player-mod-trigger:hover,
.msbt-player-mod-card.is-open button.msbt-player-mod-trigger:hover {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  color: #0B192C !important;
}

/* Sidebar Module Title Text */
.msbt-player-mod-title,
.msbt-player-mod-trigger .msbt-player-mod-title,
.msbt-player-mod-trigger:hover .msbt-player-mod-title,
.msbt-player-mod-trigger:focus .msbt-player-mod-title,
.msbt-player-mod-trigger:active .msbt-player-mod-title,
.msbt-player-mod-card.is-open .msbt-player-mod-title,
.msbt-player-mod-card.is-open .msbt-player-mod-trigger:hover .msbt-player-mod-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0B192C !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Sidebar Module Number Badge */
.msbt-player-mod-number,
.msbt-player-mod-trigger .msbt-player-mod-number,
.msbt-player-mod-trigger:hover .msbt-player-mod-number,
.msbt-player-mod-trigger:focus .msbt-player-mod-number,
.msbt-player-mod-card.is-open .msbt-player-mod-number {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #92400e !important;
  background: #fef3c7 !important;
  background-color: #fef3c7 !important;
  border: 1px solid #fde68a !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}

/* Sidebar Module Lesson Count Badge */
.msbt-player-mod-count,
.msbt-player-mod-trigger .msbt-player-mod-count,
.msbt-player-mod-trigger:hover .msbt-player-mod-count,
.msbt-player-mod-trigger:focus .msbt-player-mod-count,
.msbt-player-mod-card.is-open .msbt-player-mod-count {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
}

/* Sidebar Chevron Icon */
.msbt-player-mod-trigger .msbt-chevron-icon,
.msbt-player-mod-trigger:hover .msbt-chevron-icon,
.msbt-player-mod-trigger:focus .msbt-chevron-icon {
  color: #94a3b8 !important;
  stroke: #94a3b8 !important;
  transition: transform 0.25s ease !important;
}

.msbt-player-mod-card.is-open .msbt-chevron-icon,
.msbt-player-mod-card.is-open .msbt-player-mod-trigger:hover .msbt-chevron-icon {
  transform: rotate(180deg) !important;
  color: #0B192C !important;
  stroke: #0B192C !important;
}

/* 2. SINGLE COURSE PAGE ACCORDIONS */
.msbt-accordion-trigger,
button.msbt-accordion-trigger,
[type="button"].msbt-accordion-trigger {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 18px 20px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0B192C !important;
  border: none !important;
  cursor: pointer !important;
  text-align: left !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background 0.18s ease !important;
}

.msbt-accordion-trigger:hover,
.msbt-accordion-trigger:focus,
.msbt-accordion-trigger:active,
button.msbt-accordion-trigger:hover,
button.msbt-accordion-trigger:focus,
button.msbt-accordion-trigger:active,
[type="button"].msbt-accordion-trigger:hover,
[type="button"].msbt-accordion-trigger:focus,
[type="button"].msbt-accordion-trigger:active {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  color: #0B192C !important;
}

.msbt-accordion-item.is-open .msbt-accordion-trigger,
.msbt-accordion-item.is-open button.msbt-accordion-trigger,
.msbt-accordion-item.is-open [type="button"].msbt-accordion-trigger {
  background: #fafaf9 !important;
  background-color: #fafaf9 !important;
  color: #0B192C !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.msbt-accordion-item.is-open .msbt-accordion-trigger:hover,
.msbt-accordion-item.is-open button.msbt-accordion-trigger:hover,
.msbt-accordion-item.is-open [type="button"].msbt-accordion-trigger:hover {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
}

.msbt-accordion-trigger .msbt-mod-title,
.msbt-accordion-trigger:hover .msbt-mod-title,
.msbt-accordion-trigger:focus .msbt-mod-title,
.msbt-accordion-item.is-open .msbt-mod-title {
  color: #0B192C !important;
}

/* 3. FOCUS SIDEBAR COLLAPSE TOGGLE BUTTON */
.msbt-lw-collapse-btn,
button.msbt-lw-collapse-btn,
#ld-focus-sidebar-toggle {
  background: #f1f5f9 !important;
  color: #0B192C !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 6px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.msbt-lw-collapse-btn:hover,
button.msbt-lw-collapse-btn:hover,
#ld-focus-sidebar-toggle:hover {
  background: #0B192C !important;
  color: #decb6a !important;
  border-color: #0B192C !important;
}

.msbt-lw-collapse-btn svg,
#ld-focus-sidebar-toggle svg {
  stroke: currentColor !important;
}

/* 4. TOGGLE ALL ACCORDIONS BUTTON */
.msbt-btn-toggle-all,
button.msbt-btn-toggle-all {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0B192C !important;
  padding: 7px 16px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.msbt-btn-toggle-all:hover,
button.msbt-btn-toggle-all:hover {
  background: #0B192C !important;
  color: #decb6a !important;
  border-color: #0B192C !important;
}

/* 5. MODAL CLOSE & DISMISS BUTTONS */
.msbt-inbox-modal-close,
button.msbt-inbox-modal-close {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.msbt-inbox-modal-close:hover,
button.msbt-inbox-modal-close:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}


