.stusp-lms-login-screen,
.stusp-lms-app,
.stusp-lms-surface,
.stusp-lms-courses {
  --stusp-blue: #075ce8;
  --stusp-blue-2: #0d7dff;
  --stusp-navy: #061b3c;
  --stusp-ink: #101b33;
  --stusp-muted: #60708a;
  --stusp-line: #dfe7f3;
  --stusp-soft: #f3f7fc;
  color: var(--stusp-ink);
  font-family: inherit;
  line-height: 1.65;
}

.stusp-lms-home-body {
  background: #f3f7fc;
}

.stusp-lms-login-body {
  background:
    radial-gradient(circle at 12% 12%, rgba(18, 117, 255, 0.18), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(32, 191, 132, 0.14), transparent 24%),
    linear-gradient(135deg, #f7fbff 0%, #eaf2fb 100%);
  min-height: 100vh;
}

.stusp-lms-login-screen {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
}

.stusp-lms-login-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(195, 211, 234, 0.88);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(8, 27, 60, 0.18);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  max-width: 1120px;
  overflow: hidden;
  width: 100%;
}

.stusp-lms-login-copy {
  background: linear-gradient(135deg, #061b3c 0%, #075ce8 100%);
  color: #ffffff;
  min-height: 560px;
  padding: 54px;
}

.stusp-lms-login-brand {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 56px;
}

.stusp-lms-login-brand span {
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  color: #075ce8;
  display: inline-flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.stusp-lms-login-brand strong {
  font-size: 26px;
  letter-spacing: 0;
}

.stusp-lms-login-kicker {
  color: #9cc8ff;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.stusp-lms-login-copy h1 {
  color: #ffffff;
  font-size: 44px;
  line-height: 1.18;
  margin: 0 0 18px;
}

.stusp-lms-login-copy p {
  color: #d8e7fb;
  font-size: 16px;
  margin: 0;
  max-width: 560px;
}

.stusp-lms-login-preview {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.stusp-lms-login-preview div {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 16px;
}

.stusp-lms-login-preview span,
.stusp-lms-login-preview strong {
  display: block;
}

.stusp-lms-login-preview span {
  color: #b8d3f5;
  font-size: 12px;
}

.stusp-lms-login-preview strong {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.1;
  margin-top: 6px;
}

.stusp-lms-login-card {
  align-self: center;
  padding: 42px;
}

.stusp-lms-login-card-head span {
  color: #075ce8;
  font-size: 13px;
  font-weight: 800;
}

.stusp-lms-login-card h2 {
  color: #071a3c;
  font-size: 32px;
  margin: 4px 0 8px;
}

.stusp-lms-login-card p {
  color: #60708a;
  margin: 0;
}

.stusp-lms-login-error {
  background: #fff1f1;
  border: 1px solid #ffcaca;
  border-radius: 8px;
  color: #b42318 !important;
  margin-top: 20px !important;
  padding: 12px 14px;
}

.stusp-lms-login-form {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.stusp-lms-login-form label {
  color: #21324d;
  font-size: 13px;
  font-weight: 800;
}

.stusp-lms-login-form input {
  background: #f8fbff;
  border: 1px solid #cfdced;
  border-radius: 8px;
  box-sizing: border-box;
  color: #101b33;
  font-size: 16px;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.stusp-lms-login-form input:focus {
  border-color: #075ce8;
  box-shadow: 0 0 0 3px rgba(7, 92, 232, 0.14);
  outline: none;
}

.stusp-lms-login-form button {
  background: linear-gradient(135deg, #075ce8, #0d7dff);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 24px rgba(7, 92, 232, 0.24);
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  margin-top: 8px;
  min-height: 50px;
}

.stusp-lms-login-note {
  border-top: 1px solid #e4ebf5;
  font-size: 13px;
  margin-top: 24px !important;
  padding-top: 18px;
}

.stusp-lms-home-shell {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1320px;
  min-height: 100vh;
  padding: 28px;
}

.stusp-lms-app {
  background:
    radial-gradient(circle at 86% 8%, rgba(13, 125, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid #d8e6f8;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  margin: 24px 0;
  min-height: 560px;
  overflow: hidden;
}

.stusp-lms-nav {
  background: linear-gradient(180deg, #061b3c 0%, #021025 100%);
  color: #ffffff;
  padding: 24px 18px;
}

.stusp-lms-brand-mark {
  align-items: center;
  background: var(--stusp-blue);
  border-radius: 8px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  margin-bottom: 12px;
  width: 38px;
}

.stusp-lms-nav strong,
.stusp-lms-nav span,
.stusp-lms-nav a {
  display: block;
}

.stusp-lms-nav strong {
  font-size: 18px;
  letter-spacing: 0;
}

.stusp-lms-nav span {
  color: #90a7c8;
  font-size: 12px;
  margin-bottom: 28px;
}

.stusp-lms-nav nav {
  display: grid;
  gap: 8px;
}

.stusp-lms-nav a {
  border-radius: 6px;
  color: #cbd9ee;
  padding: 10px 12px;
  text-decoration: none;
}

.stusp-lms-nav a.is-active {
  background: var(--stusp-blue);
  color: #ffffff;
}

.stusp-lms-main {
  min-width: 0;
  padding: 24px;
}

.stusp-lms-surface,
.stusp-lms-catalog {
  background:
    radial-gradient(circle at 90% 0%, rgba(13, 125, 255, 0.12), transparent 24%),
    #ffffff;
  border: 1px solid #d9e5f5;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(9, 29, 64, 0.10);
  margin: 24px 0;
  padding: 24px;
}

.stusp-lms-hero {
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  border: 1px solid #d9e7f8;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 22px;
}

.stusp-lms-hero-compact {
  margin-bottom: 22px;
}

.stusp-lms-kicker {
  color: var(--stusp-blue);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 4px;
}

.stusp-lms-hero h1,
.stusp-lms-hero h2,
.stusp-lms-header h2,
.stusp-lms-surface h3,
.stusp-lms-course h3 {
  color: #071a3c;
  line-height: 1.24;
  margin: 0 0 8px;
}

.stusp-lms-hero h1,
.stusp-lms-hero h2 {
  font-size: 30px;
  font-weight: 800;
}

.stusp-lms-hero p,
.stusp-lms-header p,
.stusp-lms-empty {
  color: var(--stusp-muted);
  margin: 0;
}

.stusp-lms-stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.stusp-lms-stat {
  background: #ffffff;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(12, 37, 75, 0.08);
  padding: 16px;
}

.stusp-lms-stat span,
.stusp-lms-stat small {
  color: var(--stusp-muted);
  display: block;
}

.stusp-lms-stat strong {
  color: #0a1b39;
  display: block;
  font-size: 30px;
  line-height: 1.1;
  margin: 7px 0 2px;
}

.stusp-lms-panel {
  background: #ffffff;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(12, 37, 75, 0.08);
  padding: 18px;
}

.stusp-lms-dashboard-grid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 260px;
}

.stusp-lms-side-stack {
  display: grid;
  gap: 16px;
}

.stusp-lms-mini-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dce7f5;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(12, 37, 75, 0.10);
  padding: 16px;
}

.stusp-lms-panel-head {
  align-items: center;
  border-bottom: 1px solid #e8eef7;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.stusp-lms-panel-head h3 {
  margin: 0;
}

.stusp-lms-panel-head span {
  color: var(--stusp-blue);
  font-size: 13px;
  font-weight: 700;
}

.stusp-lms-tree {
  color: #30415c;
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stusp-lms-tree li {
  border-left: 2px solid #d8e4f5;
  padding-left: 10px;
}

.stusp-lms-tree li:first-child {
  border-left-color: var(--stusp-blue);
  color: #071a3c;
  font-weight: 800;
}

.stusp-lms-report-row {
  align-items: center;
  border-bottom: 1px solid #e8eef7;
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.stusp-lms-report-row span {
  color: var(--stusp-muted);
}

.stusp-lms-recent-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.stusp-lms-recent-list div {
  align-items: center;
  border-bottom: 1px solid #edf2f8;
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
}

.stusp-lms-recent-list span {
  color: var(--stusp-muted);
  font-size: 13px;
}

.stusp-lms-report-row strong {
  color: #071a3c;
  font-size: 20px;
}

.stusp-lms-course-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.stusp-lms-course {
  background: #ffffff;
  border: 1px solid #d9e5f5;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(12, 37, 75, 0.08);
  overflow: hidden;
  padding: 0 0 16px;
}

.stusp-lms-course h3,
.stusp-lms-course div:not(.stusp-lms-course-thumb):not(.stusp-lms-progress):not(.stusp-lms-course-meta) {
  padding-left: 16px;
  padding-right: 16px;
}

.stusp-lms-course-thumb {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(4, 20, 52, 0.30), rgba(4, 20, 52, 0.05)),
    linear-gradient(135deg, #0f5de4, #0bb4ff);
  display: flex;
  height: 118px;
  margin-bottom: 14px;
  padding: 12px;
}

.stusp-lms-course-thumb span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: var(--stusp-blue);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 9px;
}

.stusp-lms-progress {
  background: #e9eef7;
  border-radius: 999px;
  height: 7px;
  margin: 14px 16px 0;
  overflow: hidden;
}

.stusp-lms-progress span {
  background: linear-gradient(90deg, var(--stusp-blue), #28bd73);
  display: block;
  height: 100%;
}

.stusp-lms-progress-large {
  margin: -4px 0 22px;
}

.stusp-lms-course-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 2px 16px 0;
}

.stusp-lms-course-meta span {
  color: var(--stusp-muted);
  font-size: 13px;
}

.stusp-lms-course-meta strong {
  color: var(--stusp-blue);
}

.stusp-lms-course-action {
  margin: 14px 16px 0;
}

.stusp-lms-table-wrap {
  overflow-x: auto;
}

.stusp-lms-surface table,
.stusp-lms-panel table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.stusp-lms-surface th,
.stusp-lms-surface td,
.stusp-lms-panel th,
.stusp-lms-panel td {
  border-bottom: 1px solid #e8eef7;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.stusp-lms-surface th,
.stusp-lms-panel th {
  background: #f5f8fd;
  color: #40506a;
  font-size: 13px;
  font-weight: 800;
}

.stusp-lms-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
}

.stusp-lms-status.is-complete {
  background: #e9f8ef;
  color: #16813f;
}

.stusp-lms-status.is-active {
  background: #e9f1ff;
  color: var(--stusp-blue);
}

.stusp-lms-lesson-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.stusp-lms-lesson-list li {
  padding: 4px 0;
}

.stusp-lms-lesson-row {
  align-items: center;
  background: #fbfdff;
  border: 1px solid #e3ebf6;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 36px minmax(0, 1fr) auto auto;
  padding: 12px !important;
}

.stusp-lms-lesson-index {
  align-items: center;
  background: #e9f1ff;
  border-radius: 8px;
  color: var(--stusp-blue);
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.stusp-lms-lesson-row small,
.stusp-lms-lesson-tools span {
  color: var(--stusp-muted);
  display: block;
  font-size: 13px;
}

.stusp-lms-lesson-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
}

.stusp-lms-player-controls {
  background: #f8fbff;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin: 14px 0;
  padding: 14px;
}

.stusp-lms-player-controls strong {
  color: #071a3c;
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.stusp-lms-speed-buttons,
.stusp-lms-chapter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stusp-lms-speed-buttons button,
.stusp-lms-chapter-buttons button {
  background: #ffffff;
  border: 1px solid #c9d7ea;
  border-radius: 6px;
  color: #12345f;
  cursor: pointer;
  font-weight: 800;
  min-height: 36px;
  padding: 7px 10px;
}

.stusp-lms-speed-buttons button.is-active,
.stusp-lms-speed-buttons button:hover,
.stusp-lms-chapter-buttons button:hover {
  background: var(--stusp-blue);
  border-color: var(--stusp-blue);
  color: #ffffff;
}

.stusp-lms-chapter-buttons button span {
  color: inherit;
  display: inline-block;
  font-size: 12px;
  margin-right: 6px;
  opacity: 0.78;
}

.stusp-lms-video video {
  aspect-ratio: 16 / 9;
  background: #061b3c;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(6, 27, 60, 0.22);
  display: block;
  max-width: 100%;
  width: 100%;
}

.stusp-lms-button {
  align-items: center;
  background: var(--stusp-blue);
  border: 1px solid var(--stusp-blue);
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  text-decoration: none;
}

.stusp-lms-button:hover,
.stusp-lms-button:focus {
  background: #0049c8;
  border-color: #0049c8;
  color: #ffffff;
}

.stusp-lms-button:disabled {
  background: #a7b1c2;
  border-color: #a7b1c2;
  cursor: not-allowed;
}

.stusp-lms-button-secondary {
  background: #ffffff;
  border-color: #b8c7dd;
  color: #0b3f8a;
}

.stusp-lms-button-secondary:hover,
.stusp-lms-button-secondary:focus {
  background: #f1f6ff;
  border-color: #8fb0da;
  color: #0b3f8a;
}

.stusp-lms-quiz fieldset {
  background: #fbfdff;
  border: 1px solid #d9e5f5;
  border-radius: 8px;
  margin: 16px 0;
  padding: 16px;
}

.stusp-lms-quiz legend {
  color: #071a3c;
  font-weight: 800;
  padding: 0 6px;
}

.stusp-lms-choice {
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e4ebf5;
  border-radius: 6px;
  display: flex;
  gap: 8px;
  margin: 8px 0;
  padding: 9px 10px;
}

.stusp-lms-form input[type="password"] {
  border: 1px solid #bdc8d8;
  border-radius: 6px;
  box-sizing: border-box;
  margin-top: 6px;
  max-width: 420px;
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

.stusp-lms-alert,
.stusp-lms-success,
.stusp-lms-quiz-result {
  border-radius: 6px;
  margin: 12px 0;
  padding: 10px 12px;
}

.stusp-lms-alert {
  background: #fff4f4;
  color: #9b1c1c;
}

.stusp-lms-success,
.stusp-lms-quiz-result {
  background: #eef8f1;
  color: #17643a;
}

.stusp-lms-quiz-result.is-fail {
  background: #fff7ed;
  color: #9a3412;
}

.stusp-lms-quiz-result strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.stusp-lms-answer-review {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.stusp-lms-answer-review li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 101, 52, 0.18);
  border-radius: 8px;
  padding: 10px;
}

.stusp-lms-answer-review li.is-wrong {
  border-color: rgba(154, 52, 18, 0.24);
}

.stusp-lms-answer-review span,
.stusp-lms-answer-review p {
  display: block;
  margin: 4px 0 0;
}

.stusp-lms-review-history {
  background: #f8fbff;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  margin: 0 0 18px;
  padding: 14px;
}

.stusp-lms-review-history h4 {
  color: #071a3c;
  font-size: 16px;
  margin: 0;
}

.stusp-lms-review-attempt {
  background: #ffffff;
  border: 1px solid #e3ebf6;
  border-radius: 8px;
  margin-top: 10px;
  padding: 12px;
}

.stusp-lms-review-attempt div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stusp-lms-review-attempt strong {
  color: var(--stusp-blue);
  font-size: 20px;
}

.stusp-lms-review-attempt span,
.stusp-lms-review-attempt p,
.stusp-lms-review-attempt li {
  color: var(--stusp-muted);
}

.stusp-lms-review-attempt ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.stusp-lms-next-action strong,
.stusp-lms-next-action span,
.stusp-lms-next-action a {
  display: block;
}

.stusp-lms-next-action strong {
  color: #071a3c;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.stusp-lms-next-action span {
  color: var(--stusp-muted);
  margin-bottom: 14px;
}

.stusp-lms-next-label {
  color: var(--stusp-blue);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 6px;
}

@media (max-width: 900px) {
  .stusp-lms-login-panel {
    grid-template-columns: 1fr;
  }

  .stusp-lms-login-copy {
    min-height: auto;
    padding: 32px 24px;
  }

  .stusp-lms-login-copy h1 {
    font-size: 32px;
  }

  .stusp-lms-login-preview {
    margin-top: 28px;
  }

  .stusp-lms-app {
    grid-template-columns: 1fr;
  }

  .stusp-lms-nav {
    display: none;
  }

  .stusp-lms-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stusp-lms-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stusp-lms-login-screen {
    padding: 12px;
  }

  .stusp-lms-login-preview {
    grid-template-columns: 1fr;
  }

  .stusp-lms-login-card {
    padding: 28px 24px;
  }

  .stusp-lms-home-shell {
    padding: 12px;
  }

  .stusp-lms-main,
  .stusp-lms-surface,
  .stusp-lms-catalog {
    padding: 16px;
  }

  .stusp-lms-hero {
    padding: 18px;
  }

  .stusp-lms-hero h1,
  .stusp-lms-hero h2 {
    font-size: 24px;
  }

  .stusp-lms-stat-grid,
  .stusp-lms-course-grid {
    grid-template-columns: 1fr;
  }

  .stusp-lms-lesson-row {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .stusp-lms-lesson-row .stusp-lms-status,
  .stusp-lms-lesson-row .stusp-lms-button {
    grid-column: 2;
    justify-self: start;
  }

  .stusp-lms-player-controls {
    padding: 12px;
  }

  .stusp-lms-speed-buttons,
  .stusp-lms-chapter-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stusp-lms-speed-buttons button,
  .stusp-lms-chapter-buttons button,
  .stusp-lms-button {
    width: 100%;
  }

  .stusp-lms-review-attempt div {
    align-items: flex-start;
    flex-direction: column;
  }
}
