.next-course-btn {
  display: inline-flex;
  align-items: center;        /* vertical centering */
  justify-content: center;    /* horizontal centering */

  float: none;
  clear: both;

  margin-top: 20px;

  padding: 16px 40px;         /* controls height naturally */
  background: #2a7fff;
  color: #ffffff !important;

  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;           /* IMPORTANT: prevents emoji drop */

  text-decoration: none;
  border-radius: 10px;
  min-width: 280px;

  box-shadow: 0 6px 18px rgba(42, 127, 255, 0.25);
}

.next-course-btn:hover {
  background: #1e63cc;
  box-shadow: 0 8px 22px rgba(42, 127, 255, 0.35);
}
/* Remove entire right sidebar on MasterStudy timeless course pages */
.masterstudy-single-course-timeless__sidebar {
  display: none !important;
}

/* Let main content expand full width */
.masterstudy-single-course-timeless__main {
  width: 100% !important;
  max-width: 100% !important;
}
/* MASTERSTUDY: Remove "Save as draft" button on assignment submission */
a[data-id="masterstudy-course-player-assignments-save-draft-button"] {
  display: none !important;
}
/* MASTERSTUDY: Hide "Next" button until assignment is submitted */
a[data-id="masterstudy-course-player-lesson-next"] {
  display: none !important;
}
/* Hide misleading course completion message */
.masterstudy-single-course-complete__message {
  display: none;
}
/* Ensure completion modal text is always visible */
.masterstudy-single-course-complete__title,
.masterstudy-single-course-complete__opportunities-label,
.masterstudy-single-course-complete__opportunities-percent,
.masterstudy-single-course-complete__curiculum-statistic,
.masterstudy-single-course-complete__curiculum-statistic-item,
.masterstudy-single-course-complete__curiculum-statistic-item span,
.masterstudy-single-course-complete__curiculum-statistic-item strong {
  color: #227AFF !important;
}

/* Specifically ensure assignment count is visible */
.masterstudy-single-course-complete__curiculum-statistic-item_type-assignment {
  color: #227AFF !important;
}

/* Optional: make title slightly bolder for clarity */
.masterstudy-single-course-complete__title {
  font-weight: 600;
}
/* ===============================
   MASTERSTUDY: Completion Button
   Replace "View Course" with
   "Go to Part 2" (all states)
   =============================== */

/* Base button */
a[data-id="gotit"] {
  background-color: #eaf2ff;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 600;
  color: #227AFF;

  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Remove original text completely */
a[data-id="gotit"] .masterstudy-button__title {
  display: none !important;
}

/* Inject new label */
a[data-id="gotit"]::after {
  content: "Go to Part 2";
}

/* Hover / focus / active */
a[data-id="gotit"]:hover,
a[data-id="gotit"]:focus,
a[data-id="gotit"]:active {
  background-color: #227AFF;
  color: #ffffff;
}

/* MASTERSTUDY: Remove "Previous" navigation button */
a.masterstudy-nav-button_type-prev {
  display: none !important;
}

/* MASTERSTUDY: Disable Submit button until file attached */
a[data-id="masterstudy-course-player-assignments-send-button"] {
  pointer-events: none;
  opacity: 0.4;
  cursor: not-allowed;
}

/* MASTERSTUDY: Completion label — one word per line, larger */
.masterstudy-single-course-complete__opportunities-label {
  display: block;
  text-align: center;
  color: #227AFF;
  font-weight: 700;
  font-size: 34px;       /* overall size (matches 100% feel) */
  line-height: 1.15;
  max-width: 260px;
  margin: 0 auto;
  word-break: keep-all;
}

/* Force each word onto its own line */
.masterstudy-single-course-complete__opportunities-label {
  white-space: pre-line;
}







