.or-lms-page .or-lms-lesson,
.or-lms-curriculum,
.or-lms-dash,
.or-lms-catalog,
.or-lms-auth {
  --or-blue: #2563eb;
  --or-blue-dark: #1e40af;
  --or-navy: #0f172a;
  --or-text: #334155;
  --or-bg: #f8fafc;
  --or-line: #e2e8f0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--or-text);
}

.or-lms-btn,
.or-lms-auth .login-submit input {
  display: inline-block;
  background: var(--or-blue, #2563eb);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.2;
}
.or-lms-btn:hover,
.or-lms-auth .login-submit input:hover {
  background: var(--or-blue-dark, #1e40af);
  color: #fff !important;
}
.or-lms-btn-outline {
  background: #fff;
  color: var(--or-blue, #2563eb) !important;
  border: 1px solid var(--or-blue, #2563eb);
}
.or-lms-btn-small { padding: 8px 16px; font-size: 14px; }
.or-lms-btn-disabled {
  background: #94a3b8;
  pointer-events: none;
}

.or-lms-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
  margin-bottom: 24px;
}
.or-lms-video iframe,
.or-lms-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.or-lms-locked {
  background: linear-gradient(180deg, #0f172a, #1e3a8a);
  color: #fff;
  border-radius: 20px;
  padding: 48px 28px;
  text-align: center;
  margin: 16px 0 32px;
}
.or-lms-locked h2 { color: #fff; margin: 8px 0 12px; }
.or-lms-locked p { color: #dbeafe; }
.or-lms-lock-icon { font-size: 40px; }

.or-lms-notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  padding: 12px 14px;
  border-radius: 12px;
  margin: 16px 0;
}
.or-lms-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.or-lms-warn { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.or-lms-pay-note {
  background: rgba(255,255,255,.08);
  color: #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  margin-top: 16px;
}

.or-lms-curriculum {
  margin: 40px 0;
  padding: 8px 0 24px;
  border-top: 1px solid var(--or-line, #e2e8f0);
}
.or-lms-curriculum-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0;
}
.or-lms-module {
  border: 1px solid var(--or-line, #e2e8f0);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}
.or-lms-module h3 {
  margin: 0;
  padding: 14px 18px;
  background: #f1f5f9;
  font-size: 15px;
}
.or-lms-module ol { list-style: none; margin: 0; padding: 0; }
.or-lms-module li { border-top: 1px solid var(--or-line, #e2e8f0); }
.or-lms-module a,
.or-lms-module li > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  text-decoration: none;
  color: inherit;
}
.or-lms-module .is-locked { opacity: .7; }
.or-lms-module .is-done a span:first-child { text-decoration: line-through; color: #64748b; }

.or-lms-progress {
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}
.or-lms-progress span {
  display: block;
  height: 100%;
  background: #2563eb;
}

.or-lms-lesson-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.or-lms-lesson-nav a { color: #2563eb; text-decoration: none; font-weight: 600; }

.or-lms-dash-hero {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #fff;
  padding: 40px 28px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.or-lms-dash-hero h1 { color: #fff; margin: 6px 0 10px; }
.or-lms-dash-hero a { color: #bfdbfe; }
.or-lms-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.or-lms-dash-card,
.or-lms-catalog-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}
.or-lms-dash-card.is-locked { background: #f8fafc; }
.or-lms-status { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #2563eb; }

.or-lms-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.or-lms-catalog-card { padding: 0; overflow: hidden; }
.or-lms-catalog-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.or-lms-catalog-body { padding: 16px; }
.or-lms-catalog-body h2 { font-size: 20px; margin: 0 0 8px; }
.or-lms-catalog-body h2 a { color: #0f172a; text-decoration: none; }
.or-lms-meta { color: #64748b; font-size: 14px; }

.or-lms-auth { display: flex; justify-content: center; padding: 24px 0; }
.or-lms-auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
}
.or-lms-auth input[type="text"],
.or-lms-auth input[type="email"],
.or-lms-auth input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}
.or-lms-empty { text-align: center; padding: 40px 16px; }

.or-lms-fapshi {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.or-lms-fapshi-title { font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.or-lms-direct-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}
.or-lms-direct-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.or-lms-direct-form input,
.or-lms-direct-form select {
  font-weight: 400;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .or-lms-curriculum-head { align-items: flex-start; }
}
