.smartcore-lms-cct-form {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.smartcore-lms-cct-field {
  margin-bottom: 12px;
}

.smartcore-lms-cct-field--full {
  grid-column: 1 / -1;
}

.smartcore-lms-cct-field label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.smartcore-lms-cct-field input,
.smartcore-lms-cct-field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.smartcore-lms-backup-card {
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.smartcore-lms-backup-row {
  display: block;
  margin: 0 0 10px;
}

.smartcore-lms-backup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 8px 0 12px;
}

.smartcore-lms-backup-card select[data-backup-provider-preset] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.smartcore-lms-backup-preset-help {
  margin: -2px 0 10px;
  color: #475569;
  font-size: 12px;
}

.smartcore-lms-backup-last {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.smartcore-lms-backup-last h5 {
  margin: 0 0 8px;
}

.smartcore-lms-backup-health {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.smartcore-lms-backup-health.is-unknown {
  background: #e2e8f0;
  color: #334155;
}

.smartcore-lms-backup-health.is-green {
  background: #dcfce7;
  color: #166534;
}

.smartcore-lms-backup-health.is-yellow {
  background: #fef9c3;
  color: #854d0e;
}

.smartcore-lms-backup-health.is-red {
  background: #fee2e2;
  color: #991b1b;
}

.smartcore-lms-backup-last dl {
  margin: 0;
}

.smartcore-lms-backup-last dl > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px;
  margin-bottom: 5px;
}

.smartcore-lms-backup-last dt {
  font-weight: 600;
  color: #334155;
}

.smartcore-lms-backup-last dd {
  margin: 0;
  color: #0f172a;
  word-break: break-all;
}

.smartcore-lms-backup-links {
  margin: 8px 0 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.smartcore-lms-backup-guide {
  margin-top: 10px;
  border-top: 1px dashed #cbd5e1;
  padding-top: 10px;
}

.smartcore-lms-backup-guide summary {
  cursor: pointer;
  font-weight: 600;
}

.smartcore-lms-backup-guide ol {
  margin: 8px 0 0 18px;
}

.smartcore-lms-notice {
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 6px;
}

.smartcore-lms-notice.is-success {
  background: #ecfdf5;
  color: #166534;
}

.smartcore-lms-notice.is-error {
  background: #fef2f2;
  color: #991b1b;
}

.smartcore-lms-answer-card {
  margin-top: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  background: #ffffff;
}

.smartcore-lms-answer-card > summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 8px;
}

.smartcore-lms-answer-card.is-correct {
  border-color: #16a34a;
  box-shadow: inset 0 0 0 1px #16a34a;
  background: #f0fdf4;
}

.smartcore-lms-cct-delete-form {
  margin-top: 8px;
}

.smartcore-lms-danger {
  background: #b91c1c;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
}

.smartcore-lms-sort-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.smartcore-lms-inline-form {
  display: inline-block;
}

.smartcore-lms-answer-card[draggable="true"] {
  user-select: none;
}

.smartcore-lms-answer-card.is-dragging {
  opacity: 0.5;
}

.smartcore-lms-answer-card.drop-before {
  box-shadow: inset 0 3px 0 0 #2563eb;
}

.smartcore-lms-answer-card.drop-after {
  box-shadow: inset 0 -3px 0 0 #2563eb;
}

.smartcore-lms-my-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.smartcore-lms-dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.smartcore-lms-kicker {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #64748b;
}

.smartcore-lms-dashboard-head h2 {
  margin: 0;
  font-size: 22px;
}

.smartcore-lms-subline {
  margin: 6px 0 0;
  color: #475569;
  font-size: 14px;
}

.smartcore-lms-metric {
  min-width: 94px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.smartcore-lms-metric-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.smartcore-lms-metric-label {
  color: #475569;
  font-size: 12px;
}

.smartcore-lms-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.smartcore-lms-search,
.smartcore-lms-sort {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
}

.smartcore-lms-search {
  flex: 1;
}

.smartcore-lms-drilldown-head {
  margin-bottom: 12px;
}

.smartcore-lms-drilldown-head h2 {
  margin: 8px 0 2px;
  font-size: 22px;
}

.smartcore-lms-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.smartcore-lms-option-tile {
  display: block;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid #dbe3ee;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.smartcore-lms-option-tile:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.smartcore-lms-course-card {
  --smartcore-course-accent: #0ea5e9;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.smartcore-lms-course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.smartcore-lms-course-thumb {
  height: 118px;
  background: #f8fafc;
  border-bottom: 3px solid var(--smartcore-course-accent);
}

.smartcore-lms-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.smartcore-lms-course-thumb-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
  font-weight: 600;
}

.smartcore-lms-course-body {
  padding: 10px;
}

.smartcore-lms-course-topline {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.smartcore-lms-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 3px 7px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}

.smartcore-lms-badge.is-key {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #334155;
}

.smartcore-lms-course-topline .smartcore-lms-btn--copy-participant {
  margin-left: auto;
  font-size: 11px;
  padding: 4px 10px;
  line-height: 1.25;
  cursor: pointer;
  font-family: inherit;
}

.smartcore-lms-course-topline .smartcore-lms-btn--copy-participant.is-copied {
  border-color: #86efac;
  background: #ecfdf5;
  color: #166534;
}

.smartcore-lms-course-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.18;
}

.smartcore-lms-course-description {
  margin: 0 0 8px;
  color: #334155;
  min-height: 38px;
  font-size: 13px;
}

.smartcore-lms-course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.smartcore-lms-course-actions.is-secondary {
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

.smartcore-lms-btn {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  color: #0f172a;
  background: #f8fafc;
  font-size: 12px;
  line-height: 1.2;
}

.smartcore-lms-btn:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}

details.smartcore-lms-new-answer-wrap {
  margin-top: 14px;
}

details.smartcore-lms-new-answer-wrap > summary.smartcore-lms-new-answer-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

details.smartcore-lms-new-answer-wrap > summary.smartcore-lms-new-answer-summary::-webkit-details-marker {
  display: none;
}

details.smartcore-lms-new-answer-wrap[open] > summary.smartcore-lms-new-answer-summary {
  margin-bottom: 10px;
}

.smartcore-lms-new-answer-panel {
  padding-top: 4px;
}

.smartcore-lms-course-actions:not(.is-secondary) .smartcore-lms-btn:first-child {
  background: var(--smartcore-course-accent);
  border-color: var(--smartcore-course-accent);
  color: #fff;
}

@media (max-width: 640px) {
  .smartcore-lms-dashboard-head {
    flex-direction: column;
  }

  .smartcore-lms-metric {
    width: 100%;
    text-align: left;
  }

  .smartcore-lms-my-courses-grid {
    grid-template-columns: 1fr;
  }

  .smartcore-lms-toolbar {
    flex-direction: column;
  }

  .smartcore-lms-option-grid {
    grid-template-columns: 1fr;
  }
}

.smartcore-lms-workspace-router {
  margin-top: 16px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  width: 100%;
  box-sizing: border-box;
}

.smartcore-lms-workspace-head h3 {
  margin: 0;
}

.smartcore-lms-workspace-breadcrumb {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.smartcore-lms-workspace-breadcrumb a {
  color: #475569;
  text-decoration: none;
}

.smartcore-lms-workspace-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.smartcore-lms-back-btn {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  text-decoration: none;
  color: #0f172a;
  font-size: 12px;
}

.smartcore-lms-back-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.smartcore-lms-workspace-sub {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.smartcore-lms-quiz-context-label {
  font-weight: 700;
  color: #334155;
}

.smartcore-lms-workspace-breadcrumb .smartcore-lms-quiz-context-label {
  font-weight: 600;
}

.smartcore-lms-quiz-context-sep {
  font-weight: 400;
  color: #94a3b8;
}

.smartcore-lms-quiz-context-body {
  font-weight: 400;
  color: #475569;
}

.smartcore-lms-workspace-sub--quiz-question {
  line-height: 1.45;
}

.smartcore-lms-course-key--quiz-question {
  line-height: 1.45;
}

.smartcore-lms-workspace-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.smartcore-lms-tab {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  color: #0f172a;
  text-decoration: none;
  font-size: 12px;
  background: #fff;
}

.smartcore-lms-tab.is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.smartcore-lms-workspace-empty {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #475569;
}

.smartcore-lms-workspace-list h4 {
  margin: 14px 0 8px;
}

.smartcore-lms-workspace-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.smartcore-lms-workspace-card > summary {
  cursor: pointer;
  font-weight: 600;
}

.smartcore-lms-slide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

/* Quizfragen-Karten: etwas kompakter als Folien (ohne Bild) */
.smartcore-lms-quiz-card.smartcore-lms-slide-card {
  min-height: 220px;
}

.smartcore-lms-quiz-card .smartcore-lms-slide-hero {
  height: 96px;
  border-bottom-color: #334155;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.smartcore-lms-quiz-card .smartcore-lms-slide-hero-fallback {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.smartcore-lms-slide-card {
  margin: 0;
  min-height: 250px;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #dbe3ee;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.smartcore-lms-slide-card[data-item-id] {
  cursor: grab;
}

.smartcore-lms-slide-card[data-item-id].is-dragging {
  cursor: grabbing;
  opacity: 0.92;
}

.smartcore-lms-slide-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px 4px;
}

.smartcore-lms-slide-drag {
  font-size: 14px;
  color: #64748b;
  user-select: none;
}

.smartcore-lms-slide-thumb {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.smartcore-lms-slide-thumb-placeholder {
  width: 52px;
  height: 40px;
  border-radius: 6px;
  border: 1px dashed #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #64748b;
}

.smartcore-lms-slide-title {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.smartcore-lms-slide-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px 12px;
}

.smartcore-lms-slide-actions .smartcore-lms-cct-delete-form {
  margin: 0;
}

.smartcore-lms-slide-hero {
  height: 140px;
  border-bottom: 2px solid #0f172a;
  background: #f8fafc;
}

.smartcore-lms-slide-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.smartcore-lms-slide-hero-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: 600;
}

.smartcore-lms-slide-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 12px;
}

.smartcore-lms-slide-summary {
  margin: 8px 0 0;
  padding: 0 12px;
  color: #334155;
  font-size: 14px;
  min-height: 60px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.smartcore-lms-slide-actions {
  margin-top: auto;
}

.smartcore-lms-delete-zone {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  border-radius: 10px;
  max-width: 420px;
}

.smartcore-lms-delete-confirm {
  width: 100%;
  max-width: 240px;
  margin: 8px 0;
  padding: 8px 10px;
  border: 1px solid #fca5a5;
  border-radius: 8px;
}

.smartcore-lms-delete-compact {
  display: inline-block;
}

.smartcore-lms-delete-confirm-wrap {
  margin-top: 8px;
  padding: 8px;
  border: 1px dashed #fca5a5;
  border-radius: 8px;
  background: #fff;
}

.smartcore-lms-cct-form--slide {
  width: 100%;
  max-width: 1200px;
}

.smartcore-lms-cct-form--course {
  width: 100%;
  max-width: 1200px;
}

.smartcore-lms-cct-form--slide .smartcore-lms-course-grid,
.smartcore-lms-cct-form--course .smartcore-lms-course-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.smartcore-lms-course-form-intro {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.smartcore-lms-course-section-inner {
  padding: 4px 0 2px;
}

.smartcore-lms-course-subsec {
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.smartcore-lms-course-section-inner .smartcore-lms-course-subsec:first-child {
  margin-top: 4px;
}

.smartcore-lms-cct-form--course .smartcore-lms-cct-select {
  width: 100%;
  max-width: 420px;
  padding: 8px 2.35rem 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background-color: #fff;
}

.smartcore-lms-course-submit {
  margin-top: 16px;
}

.smartcore-lms-course-password {
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}

.smartcore-lms-course-color-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.smartcore-lms-course-color-input {
  width: 56px;
  height: 40px;
  padding: 2px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.smartcore-lms-course-color-hex {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: #475569;
  font-weight: 600;
}

.smartcore-lms-media-preview--course {
  margin-bottom: 10px;
}

.smartcore-lms-media-preview--course img {
  max-width: 100%;
  width: auto;
  max-height: 240px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.smartcore-lms-course-number {
  width: 100%;
  max-width: 220px;
}

.smartcore-lms-radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.smartcore-lms-radio-option {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.smartcore-lms-media-preview {
  margin-bottom: 8px;
}

.smartcore-lms-media-preview img {
  width: 100%;
  max-width: 280px;
  border-radius: 8px;
  border: 1px solid #dbe3ee;
  display: block;
}

.smartcore-lms-media-action,
.smartcore-lms-media-new {
  width: 100%;
  max-width: 320px;
  margin-top: 6px;
}

.smartcore-lms-media-new input {
  width: 100%;
}

.smartcore-lms-media-new .smartcore-lms-media-pick {
  margin-top: 8px;
}

.smartcore-lms-password-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.smartcore-lms-password-wrap .smartcore-lms-course-password {
  flex: 1 1 auto;
}

.smartcore-lms-password-toggle {
  border: 1px solid #d0d7e2;
  background: #fff;
  color: #334155;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.smartcore-lms-help {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
}

.smartcore-lms-policy-help {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #f8fbff;
}

.smartcore-lms-policy-help__title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.smartcore-lms-policy-help__list {
  margin: 0;
  padding-left: 16px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.smartcore-lms-policy-help__list li {
  margin: 0 0 5px;
}

.smartcore-lms-policy-help__list li:last-child {
  margin-bottom: 0;
}

.smartcore-lms-language-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.smartcore-lms-language-check {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.smartcore-lms-language-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.smartcore-lms-language-check span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3ee;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  min-height: 30px;
  line-height: 1.1;
}

.smartcore-lms-language-check input[type="checkbox"]:checked + span {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.smartcore-lms-quiz-rule-hint {
  margin: 8px 0 0;
  padding: 8px 10px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 12px;
  line-height: 1.4;
}

.smartcore-lms-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  padding: 10px 12px;
}

.smartcore-lms-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 0;
}

.smartcore-lms-lang-tab {
  border: 1px solid #dbe3ee;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.smartcore-lms-lang-tab.is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.smartcore-lms-lang-pane {
  display: none;
}

.smartcore-lms-lang-pane.is-active {
  display: block;
}

@media (max-width: 1400px) {
  .smartcore-lms-slide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .smartcore-lms-slide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .smartcore-lms-slide-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .smartcore-lms-slide-thumb,
  .smartcore-lms-slide-thumb-placeholder {
    width: 44px;
    height: 34px;
  }

  .smartcore-lms-slide-hero {
    height: 120px;
  }

  .smartcore-lms-slide-title {
    font-size: 16px;
  }

  .smartcore-lms-cct-form--slide .smartcore-lms-course-grid,
  .smartcore-lms-cct-form--course .smartcore-lms-course-grid {
    grid-template-columns: 1fr;
  }
}

.smartcore-lms-workspace-links {
  margin: 6px 0 10px;
  padding-left: 18px;
}

.smartcore-lms-submissions-wrap {
  margin-top: 8px;
}

.smartcore-lms-submissions-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.smartcore-lms-submissions-toolbar__label {
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
}

.smartcore-lms-analytics-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.smartcore-lms-analytics-check input[type="checkbox"] {
  margin: 0;
}

.smartcore-lms-submissions-filter {
  flex: 1 1 220px;
  max-width: 420px;
  min-width: 180px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
}

.smartcore-lms-submissions-filter:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.smartcore-lms-submissions-toolbar .smartcore-lms-submissions-range {
  width: auto;
  flex: 0 0 210px;
  min-width: 170px;
  max-width: 240px;
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.smartcore-lms-results-table-wrap {
  margin-top: 0;
  overflow: auto;
}

.smartcore-lms-results-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.smartcore-lms-results-table--submissions {
  min-width: 780px;
}

.smartcore-lms-submissions-detail-cell {
  white-space: nowrap;
  vertical-align: middle;
}

.smartcore-lms-submission-detail-open {
  cursor: pointer;
}

/* Einreichung: Lightbox-Detail */
.smartcore-lms-submission-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px 32px;
  box-sizing: border-box;
  overflow-y: auto;
}

.smartcore-lms-submission-detail-modal[hidden] {
  display: none;
}

.smartcore-lms-submission-detail-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 0;
}

.smartcore-lms-submission-detail-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
  box-sizing: border-box;
}

.smartcore-lms-submission-detail-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.smartcore-lms-submission-detail-modal__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #0f172a;
  flex: 1 1 160px;
  min-width: 0;
}

.smartcore-lms-submission-detail-modal__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 220px;
}

.smartcore-lms-submission-detail-modal__tool {
  cursor: pointer;
  white-space: nowrap;
}

.smartcore-lms-submission-detail-modal__close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: #f1f5f9;
  color: #334155;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.smartcore-lms-submission-detail-modal__close:hover {
  background: #e2e8f0;
}

.smartcore-lms-submission-detail-modal__body {
  padding: 14px 16px 18px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.smartcore-lms-submission-detail-sheet {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.smartcore-lms-submission-detail-section {
  margin: 0;
}

.smartcore-lms-submission-detail-section__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.smartcore-lms-submission-tech-details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.smartcore-lms-submission-tech-details__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
}

.smartcore-lms-submission-tech-details__summary::-webkit-details-marker {
  display: none;
}

.smartcore-lms-submission-tech-details__summary::after {
  content: "▾";
  color: #64748b;
  font-size: 12px;
  transform: rotate(-90deg);
  transition: transform 0.15s ease;
}

.smartcore-lms-submission-tech-details[open] .smartcore-lms-submission-tech-details__summary::after {
  transform: rotate(0deg);
}

.smartcore-lms-submission-tech-details__summary .smartcore-lms-submission-detail-section__title {
  margin: 0;
}

.smartcore-lms-submission-tech-details__content {
  border-top: 1px solid #e2e8f0;
  padding: 10px 12px;
}

.smartcore-lms-submission-detail-kv {
  display: flex;
  flex-direction: column;
  gap: 8px 12px;
}

.smartcore-lms-submission-detail-kv__row {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 10px 14px;
  align-items: start;
  font-size: 14px;
  line-height: 1.45;
}

.smartcore-lms-submission-detail-kv__k {
  color: #64748b;
  font-weight: 500;
}

.smartcore-lms-submission-detail-kv__v {
  color: #0f172a;
  word-break: break-word;
}

.smartcore-lms-submission-detail-kv--mono .smartcore-lms-submission-detail-kv__v {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.smartcore-lms-submission-detail-empty {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.smartcore-lms-submission-detail-qa-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: auto;
  max-height: 360px;
  background: #f8fafc;
}

.smartcore-lms-quiz-einzel-table--modal {
  background: #fff;
}

.smartcore-lms-submission-detail-raw {
  margin-top: 12px;
}

.smartcore-lms-submission-detail-raw > summary {
  cursor: pointer;
  font-weight: 600;
  color: #475569;
  font-size: 13px;
}

.smartcore-lms-submission-detail-pre {
  margin: 8px 0 0;
  padding: 10px 12px;
  max-height: 220px;
  overflow: auto;
  font-size: 11px;
  line-height: 1.4;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
}

[data-sclms-submission-export-json] {
  display: none !important;
}

@media print {
  body * {
    visibility: hidden;
  }

  .smartcore-lms-submission-detail-modal:not([hidden]),
  .smartcore-lms-submission-detail-modal:not([hidden]) * {
    visibility: visible;
  }

  .smartcore-lms-submission-detail-modal[hidden] {
    display: none !important;
  }

  .smartcore-lms-submission-detail-modal:not([hidden]) {
    position: static !important;
    inset: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    display: block !important;
  }

  .smartcore-lms-submission-detail-modal:not([hidden]) .smartcore-lms-submission-detail-modal__backdrop {
    display: none !important;
  }

  .smartcore-lms-submission-detail-modal:not([hidden]) .smartcore-lms-submission-detail-modal__panel {
    max-height: none !important;
    width: 100% !important;
    max-width: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    page-break-inside: avoid;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
  }

  .smartcore-lms-submission-detail-modal:not([hidden]) .smartcore-lms-submission-detail-modal__toolbar {
    display: none !important;
  }

  .smartcore-lms-submission-detail-modal:not([hidden]) .smartcore-lms-submission-detail-modal__body {
    overflow: visible !important;
    padding: 0 12px 12px !important;
  }

  .smartcore-lms-submission-detail-modal:not([hidden]) .smartcore-lms-submission-detail-qa-wrap {
    max-height: none !important;
  }
}

.smartcore-lms-results-table th,
.smartcore-lms-results-table td {
  border: 1px solid #e2e8f0;
  padding: 8px;
  text-align: left;
}

.smartcore-lms-results-table th {
  background: #f8fafc;
}

.smartcore-lms-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.smartcore-lms-stat {
  border: 1px solid #dbeafe;
  background: #eff6ff;
  border-radius: 10px;
  padding: 10px;
}

.smartcore-lms-stat span {
  display: block;
  font-size: 12px;
  color: #475569;
}

.smartcore-lms-stat strong {
  display: block;
  font-size: 20px;
}

.smartcore-lms-analytics-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.smartcore-lms-analytics-exec {
  margin: 12px 0 6px;
  padding: 10px;
  border: 1px solid #cfe3ff;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}

.smartcore-lms-analytics-exec__label {
  margin: 0 0 8px;
  font-size: 12px;
  color: #334155;
}

.smartcore-lms-analytics-exec__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.smartcore-lms-analytics-exec__card {
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.smartcore-lms-analytics-exec__card h6 {
  margin: 0 0 4px;
  font-size: 12px;
  color: #475569;
  font-weight: 600;
}

.smartcore-lms-analytics-exec__card strong {
  display: block;
  font-size: 18px;
  color: #0f172a;
}

.smartcore-lms-analytics-exec__card small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
}

.smartcore-lms-analytics-exec__card small.is-up {
  color: #166534;
}

.smartcore-lms-analytics-exec__card small.is-down {
  color: #991b1b;
}

.smartcore-lms-analytics-exec__card small.is-neutral {
  color: #475569;
}

.smartcore-lms-analytics-storage {
  margin: 12px 0 8px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fbff;
  padding: 10px;
}

.smartcore-lms-analytics-storage h5 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #0f172a;
}

.smartcore-lms-analytics-subhead {
  margin: 10px 0 6px;
  font-size: 13px;
  color: #334155;
}

.smartcore-lms-analytics-heatmap {
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  overflow-x: auto;
}

.smartcore-lms-analytics-heatmap__head,
.smartcore-lms-analytics-heatmap__row {
  display: grid;
  grid-template-columns: 26px repeat(24, minmax(10px, 1fr));
  gap: 2px;
  align-items: center;
}

.smartcore-lms-analytics-heatmap__head {
  margin-bottom: 4px;
  font-size: 9px;
  color: #64748b;
}

.smartcore-lms-analytics-heatmap__label {
  font-size: 10px;
  color: #475569;
  font-weight: 600;
}

.smartcore-lms-analytics-heatmap__cell {
  display: block;
  height: 11px;
  border-radius: 2px;
  background: #2563eb;
}

.smartcore-lms-analytics-heatmap.is-office-hours .smartcore-lms-analytics-heatmap__row .smartcore-lms-analytics-heatmap__cell:nth-child(n + 10):nth-child(-n + 20) {
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.55);
  background: linear-gradient(180deg, #f59e0b 0%, #2563eb 100%);
}

.smartcore-lms-analytics-card {
  border: 1px solid #dbeafe;
  background: #f8fbff;
  border-radius: 10px;
  padding: 10px;
}

.smartcore-lms-analytics-card h5 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #0f172a;
}

.smartcore-lms-analytics-trend {
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  padding: 6px 8px;
  margin-bottom: 10px;
}

.smartcore-lms-analytics-trend__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 4px;
  font-size: 11px;
  color: #334155;
}

.smartcore-lms-analytics-trend__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.smartcore-lms-analytics-trend__legend i {
  width: 14px;
  height: 2px;
  background: #2563eb;
  display: inline-block;
}

.smartcore-lms-analytics-trend__legend i.is-secondary {
  background: #0f766e;
}

.smartcore-lms-analytics-trend svg {
  width: 100%;
  height: 120px;
  display: block;
}

.smartcore-lms-analytics-trend__axis {
  stroke: #bfdbfe;
  stroke-width: 1;
}

.smartcore-lms-analytics-trend__area {
  fill: rgba(59, 130, 246, 0.16);
}

.smartcore-lms-analytics-trend__line {
  fill: none;
  stroke: #2563eb;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.smartcore-lms-analytics-trend__line.is-secondary {
  stroke: #0f766e;
  stroke-width: 2;
  stroke-dasharray: 6 4;
}

.smartcore-lms-analytics-trend__dots circle {
  fill: #1d4ed8;
}

.smartcore-lms-analytics-dist-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.smartcore-lms-analytics-dist-item__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #334155;
}

.smartcore-lms-analytics-dist-item__head strong {
  font-size: 12px;
  color: #0f172a;
}

.smartcore-lms-analytics-dist-item__bar {
  margin-top: 4px;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.smartcore-lms-analytics-dist-item__bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
}

.smartcore-lms-analytics-hour-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px 6px;
}

.smartcore-lms-analytics-hour-item {
  text-align: center;
  font-size: 10px;
  color: #475569;
}

.smartcore-lms-analytics-hour-item__label {
  display: block;
  margin-bottom: 3px;
}

.smartcore-lms-analytics-hour-item__bar {
  height: 64px;
  border: 1px solid #dbeafe;
  border-radius: 5px;
  background: #f8fafc;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 3px;
}

.smartcore-lms-analytics-hour-item__bar > span {
  width: 100%;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
}

.smartcore-lms-analytics-bar {
  width: 100%;
  max-width: 170px;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 3px;
}

.smartcore-lms-analytics-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.smartcore-lms-analytics-chip {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  border-radius: 999px;
  padding: 4px 7px;
  font-weight: 600;
}

.smartcore-lms-analytics-chip.is-top {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.smartcore-lms-analytics-chip.is-flop {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.smartcore-lms-invite-due-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.smartcore-lms-btn--due-preset {
  padding: 5px 8px;
  font-size: 11px;
}

.smartcore-lms-btn--danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.smartcore-lms-btn--danger:hover {
  border-color: #fca5a5;
  background: #fee2e2;
}

.smartcore-lms-company-portal-detail {
  margin-top: 8px;
}

.smartcore-lms-company-portal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding: 6px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.smartcore-lms-company-portal-meta small {
  font-size: 11px;
  color: #475569;
  line-height: 1.4;
}

.smartcore-lms-company-portal-meta span {
  color: #0f172a;
  font-weight: 600;
}

.smartcore-lms-company-portal-detail summary {
  cursor: pointer;
  color: #1d4ed8;
  font-weight: 600;
}

.smartcore-lms-company-portal-invite-list {
  margin-top: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  max-height: 180px;
  overflow: auto;
}

.smartcore-lms-company-portal-invite-item {
  padding: 7px 9px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
  color: #334155;
}

.smartcore-lms-company-portal-invite-item:last-child {
  border-bottom: 0;
}

.smartcore-lms-slide-live-preview {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.smartcore-lms-live-preview-head {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.smartcore-lms-live-preview-head h4 {
  margin: 0;
}

.smartcore-lms-live-device-toggle {
  display: inline-flex;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  padding: 2px;
}

.smartcore-lms-live-device-btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  padding: 4px 9px;
  cursor: pointer;
}

.smartcore-lms-live-device-btn.is-active {
  background: #eff6ff;
  color: #1d4ed8;
}

.smartcore-lms-live-card {
  display: block;
  margin: 0 auto;
  width: 100%;
  transition: max-width .18s ease;
}

.smartcore-lms-slide-live-preview.is-mobile .smartcore-lms-live-card {
  max-width: 360px;
}

.smartcore-lms-slide-live-preview.is-desktop .smartcore-lms-live-card {
  max-width: 100%;
}

.smartcore-lms-live-hero {
  height: 190px;
  background: #f8fafc;
}

.smartcore-lms-live-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.smartcore-lms-live-body {
  padding: 12px;
}

.smartcore-lms-live-body h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.smartcore-lms-live-subtitle {
  margin: 0 0 8px;
  color: #475569;
}

.smartcore-lms-live-text {
  margin: 0 0 10px;
  color: #334155;
  line-height: 1.5;
  max-height: 7.2em;
  overflow: hidden;
  position: relative;
}

.smartcore-lms-live-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.4em;
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0), rgba(248, 250, 252, 1));
  pointer-events: none;
}

.smartcore-lms-live-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.smartcore-lms-live-link {
  margin: 8px 0 0;
  color: #475569;
  font-size: 12px;
}

/* Modern UI refresh overrides */
.smartcore-lms-cct-form,
.smartcore-lms-workspace-router {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.smartcore-lms-cct-field label {
  font-weight: 700;
  color: #0f172a;
  font-size: 13px;
  margin-bottom: 6px;
}

.smartcore-lms-cct-field input,
.smartcore-lms-cct-field textarea,
.smartcore-lms-cct-field select,
.smartcore-lms-sort,
.smartcore-lms-search {
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.smartcore-lms-cct-field input:focus,
.smartcore-lms-cct-field textarea:focus,
.smartcore-lms-cct-field select:focus,
.smartcore-lms-sort:focus,
.smartcore-lms-search:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

/* Einheitliches Dropdown-Chevron (native Pfeile wirken je Theme kaum sichtbar) */
.smartcore-lms-cct-field select,
.smartcore-lms-cct-form select,
.smartcore-lms-toolbar select.smartcore-lms-sort {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.35rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 1rem 1rem;
}

.smartcore-lms-cct-form button[type="submit"] {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.26);
  cursor: pointer;
}

.smartcore-lms-cct-form button[type="submit"]:hover {
  filter: brightness(1.03);
}

.smartcore-lms-option-tile {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.smartcore-lms-option-tile:hover {
  transform: translateY(-1px);
  border-color: #93c5fd;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.smartcore-lms-slide-card:hover,
.smartcore-lms-course-card:hover {
  transform: translateY(-2px);
}

.smartcore-lms-cct-form--course .smartcore-lms-course-section,
.smartcore-lms-cct-form--slide .smartcore-lms-course-section {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
  margin-bottom: 14px;
}

.smartcore-lms-cct-form--course .smartcore-lms-course-section > summary,
.smartcore-lms-cct-form--slide .smartcore-lms-course-section > summary {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 11px 13px;
  font-weight: 700;
}

.smartcore-lms-lang-tabs {
  margin-bottom: 8px;
}

.smartcore-lms-cct-form--slide .smartcore-lms-wp-editor-wrap,
.smartcore-lms-cct-form--course .smartcore-lms-wp-editor-wrap {
  max-width: 100%;
}

.smartcore-lms-cct-form--slide .smartcore-lms-wp-editor-wrap .wp-editor-container,
.smartcore-lms-cct-form--course .smartcore-lms-wp-editor-wrap .wp-editor-container {
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  overflow: hidden;
}

.smartcore-lms-cct-form--slide .smartcore-lms-wp-editor-wrap .mce-toolbar-grp,
.smartcore-lms-cct-form--course .smartcore-lms-wp-editor-wrap .mce-toolbar-grp {
  border-bottom: 1px solid #e2e8f0;
}

.smartcore-lms-quiz-flow-intro,
.smartcore-lms-quiz-answer-flow-hint {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.smartcore-lms-cct-form--quiz .smartcore-lms-cct-select,
.smartcore-lms-cct-form--quiz-answer .smartcore-lms-cct-select {
  width: 100%;
  max-width: 100%;
  padding: 8px 2.35rem 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: #fff;
}

.smartcore-lms-hotspot-editor {
  margin-top: 8px;
}

.smartcore-lms-hotspot-stage-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.smartcore-lms-hotspot-stage-img {
  display: block;
  max-width: 100%;
  height: auto;
  cursor: crosshair;
  user-select: none;
}

.smartcore-lms-hotspot-rect {
  position: absolute;
  box-sizing: border-box;
  border: 2px solid #dc2626;
  background: rgba(220, 38, 38, 0.22);
  pointer-events: none;
  display: none;
}

.smartcore-lms-correct-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}

.smartcore-lms-correct-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.smartcore-lms-muted {
  color: #64748b;
}

.smartcore-lms-quiz-result-detail {
  max-width: 420px;
}

.smartcore-lms-quiz-result-detail > summary {
  cursor: pointer;
  font-weight: 600;
  color: #2563eb;
  list-style: none;
}

.smartcore-lms-quiz-result-detail > summary::-webkit-details-marker {
  display: none;
}

.smartcore-lms-quiz-einzel-wrap {
  margin-top: 8px;
  max-height: 280px;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.smartcore-lms-quiz-einzel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.smartcore-lms-quiz-einzel-table th,
.smartcore-lms-quiz-einzel-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.smartcore-lms-quiz-einzel-table th {
  background: #f1f5f9;
  font-weight: 600;
}

.smartcore-lms-cert-validity {
  margin-top: 4px;
}

.smartcore-lms-cert-validity .smartcore-lms-course-grid {
  align-items: end;
}

.smartcore-lms-invite-list-wrap {
  margin-top: 10px;
}

.smartcore-lms-invite-bulk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 10px;
}

.smartcore-lms-invite-bulk-bar__status {
  font-size: 13px;
  color: #475569;
}

.smartcore-lms-results-table--invites .smartcore-lms-invite-col-check {
  width: 42px;
  text-align: center;
  vertical-align: middle;
}

.smartcore-lms-results-table--invites .smartcore-lms-invite-col-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  vertical-align: middle;
}

.smartcore-lms-invite-bulk-sep {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 22px 0 16px;
}

.smartcore-lms-invite-bulk-textarea {
  width: 100%;
  max-width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.4;
}

.smartcore-lms-invite-bulk-errors {
  margin: 8px 0 10px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
}

.smartcore-lms-invite-bulk-preview {
  margin: 10px 0 12px;
  max-height: 280px;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.smartcore-lms-invite-bulk-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.smartcore-lms-invite-bulk-preview-table th,
.smartcore-lms-invite-bulk-preview-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.smartcore-lms-invite-bulk-preview-table th {
  background: #f1f5f9;
  font-weight: 600;
}

.smartcore-lms-invite-bulk-preview-table tr.is-ok td {
  background: #ecfdf5;
}

.smartcore-lms-invite-bulk-preview-table tr.is-err td {
  background: #fef2f2;
}

.smartcore-lms-invite-bulk-preview-table tr.is-skip td {
  background: #f9fafb;
  color: #64748b;
}

.smartcore-lms-invite-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.smartcore-lms-student-assignments-toolbar {
  margin: 10px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.smartcore-lms-student-filter-label {
  font-size: 13px;
  color: #334155;
}

.smartcore-lms-student-filter-input {
  margin-left: 6px;
  min-width: 200px;
  padding: 6px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.smartcore-lms-student-status-select,
.smartcore-lms-student-due-input {
  max-width: 100%;
  font-size: 13px;
}

.smartcore-lms-student-cct-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}
