/* =============================
   ITlearn360 — Modern SaaS Light (Pastel Sections)
   Single source of truth for ALL pages
   ============================= */

   :root{
    /* Pastels */
    --p1: #FDFDFD;
    --p2: #FCF7DE;
    --p3: #DEFDE0;
    --p4: #DEF3FD;
    --p5: #F0DEFD;
  
    /* App base */
    --bg: #f6f8fc;
    --bg2: #ffffff;
    --card: rgba(255,255,255,.86);
    --card2: rgba(255,255,255,.92);
    --text: #0f172a;
    --muted: #64748b;
    --border: rgba(15,23,42,.10);
  
    --brand: #2563eb;
    --brand2:#7c3aed;
  
    --radius: 18px;
    --radius2: 22px;
  
    --shadow-sm: 0 10px 28px rgba(2,6,23,.06);
    --shadow-md: 0 18px 60px rgba(2,6,23,.12);
  
    --ring: rgba(59,130,246,.22);
  }
  
  /* Base */
  html, body {
    height: 100%;
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings: "GRAD" 0;
  }
  body{
    margin:0;
    color: var(--text);
    background:
      radial-gradient(900px 540px at 10% -10%, rgba(37,99,235,.10), transparent 60%),
      radial-gradient(900px 540px at 100% 0%, rgba(124,58,237,.10), transparent 60%),
      var(--bg);
  }
  *{ box-sizing:border-box; }
  a{ color: inherit; }
  button, select, input { font-family: inherit; }
  img, video, canvas { max-width: 100%; }
  
  /* =============================
     Utilities (tiny tailwind-ish)
     ============================= */
  .grid{ display:grid; }
  .flex{ display:flex; }
  .flex-wrap{ flex-wrap:wrap; }
  .items-center{ align-items:center; }
  .items-start{ align-items:flex-start; }
  .items-end{ align-items:flex-end; }
  .justify-between{ justify-content:space-between; }
  .justify-end{ justify-content:flex-end; }
  .w-full{ width:100%; }
  .hidden{ display:none; }
  .overflow-auto{ overflow:auto; }
  .max-w-2xl{ max-width: 42rem; }
  .max-w-3xl{ max-width: 48rem; }
  .max-w-none{ max-width: none; }
  .rounded-2xl{ border-radius: var(--radius2); }
  .text-left{ text-align:left; }
  
  /* grid cols (MISSING BEFORE - REQUIRED) */
  .grid-cols-1{ grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  /* gap */
  .gap-1{ gap:.25rem; } .gap-2{ gap:.5rem; } .gap-3{ gap:.75rem; } .gap-4{ gap:1rem; } .gap-6{ gap:1.5rem; } .gap-8{ gap:2rem; }
  
  /* padding */
  .p-3{ padding:.75rem; } .p-4{ padding:1rem; } .p-5{ padding:1.25rem; } .p-6{ padding:1.5rem; } .p-8{ padding:2rem; }
  
  /* margin */
  .mt-1{ margin-top:.25rem; } .mt-2{ margin-top:.5rem; } .mt-3{ margin-top:.75rem; } .mt-4{ margin-top:1rem; } .mt-5{ margin-top:1.25rem; } .mt-6{ margin-top:1.5rem; }
  .mt-8{ margin-top:2rem; }
  .mb-2{ margin-bottom:.5rem; } .mb-3{ margin-bottom:.75rem; }
  .mx-1{ margin-left:.25rem; margin-right:.25rem; } .mx-2{ margin-left:.5rem; margin-right:.5rem; }
  
  /* footer padding used */
  .py-10{ padding-top: 2.5rem; padding-bottom: 2.5rem; }
  
  /* typography */
  .text-xs{ font-size:.75rem; }
  .text-sm{ font-size:.875rem; }
  .text-base{ font-size:1rem; }
  .text-lg{ font-size:1.125rem; }
  .text-xl{ font-size:1.25rem; }
  .text-2xl{ font-size:1.5rem; }
  .text-3xl{ font-size:1.875rem; }
  .text-4xl{ font-size:2.25rem; line-height: 2.5rem; } /* MISSING BEFORE */
  .font-semibold{ font-weight:600; }
  .font-bold{ font-weight:700; }
  .font-black{ font-weight:900; }
  .uppercase{ text-transform:uppercase; }
  .tracking-tight{ letter-spacing:-.02em; }
  .tracking-wide{ letter-spacing:.08em; }
  .tracking-wider{ letter-spacing:.10em; } /* MISSING BEFORE */
  .leading-snug{ line-height: 1.375; }      /* MISSING BEFORE */
  .text-center{ text-align:center; }        /* MISSING BEFORE */
  .leading-none{ line-height: 1; }
  
  /* layout helpers often used in your JS */
  .min-w-0{ min-width: 0; }
  .min-w-\[220px\]{ min-width: 220px; }
  .truncate{ overflow:hidden; text-overflow: ellipsis; white-space: nowrap; }
  .space-y-2 > * + *{ margin-top: .5rem; }
  .space-y-3 > * + *{ margin-top: .75rem; }
  .space-y-5 > * + *{ margin-top: 1.25rem; }
  
  /* Disabled helper used by your buttons */
  .disabled\:opacity-40:disabled{ opacity:.4; cursor:not-allowed; }
  
  /* Responsive columns */
  @media (min-width: 768px){
    .md\:p-12{ padding:3rem; }
    .md\:grid-cols-12{ grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .md\:grid-cols-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); } /* MISSING BEFORE */
    .md\:col-span-3{ grid-column: span 3 / span 3; }
    .md\:col-span-9{ grid-column: span 9 / span 9; }
    .md\:text-lg{ font-size:1.125rem; }
    .md\:text-5xl{ font-size:3rem; line-height: 1; }
  }
  @media (min-width: 1024px){
    .lg\:grid-cols-12{ grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-4{ grid-column: span 4 / span 4; }
    .lg\:col-span-8{ grid-column: span 8 / span 8; }
    .lg\:col-span-12{ grid-column: span 12 / span 12; }
  }
  
  /* =============================
     Core components
     ============================= */
  .lms-muted{ color: var(--muted); }
  .lms-link{
    color: var(--brand);
    text-decoration:none;
    font-weight: 900;
  }
  .lms-link:hover{ text-decoration: underline; }
  
  .lms-card{
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius2);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
  }
  .lms-subcard{
    background: var(--card2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 18px rgba(2,6,23,.05);
  }
  
  /* Hovercard polish */
  .lms-hovercard{
    transition: transform .10s ease, box-shadow .15s ease, border-color .15s ease;
  }
  .lms-hovercard:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37,99,235,.16);
  }
  
  .lms-chip{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.90);
    font-size: 15px;
    font-weight: 900;
    color: #334155;
    white-space:nowrap
  }
  
  .lms-btn, .lms-btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap: 8px;
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
    text-decoration:none;
    user-select:none;
    white-space: nowrap;
  }
  
  .lms-btn{
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: white;
    box-shadow: 0 10px 22px rgba(37,99,235,.22);
  }
  .lms-btn:hover{ transform: translateY(-1px); }
  .lms-btn:focus{ outline:none; box-shadow: 0 0 0 4px var(--ring); }
  
  .lms-btn-secondary{
    background: rgba(255,255,255,.90);
    color: var(--text);
    border-color: var(--border);
  }
  .lms-btn-secondary:hover{
    background: rgba(15,23,42,.03);
    transform: translateY(-1px);
  }
  .lms-btn-secondary:focus{ outline:none; box-shadow: 0 0 0 4px var(--ring); }
  
  .lms-btn-sm{
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 15px;
  }
  
  /* Inputs */
  .lms-input, .lms-select{
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.92);
    font-weight: 800;
    color: var(--text);
    box-shadow: 0 8px 16px rgba(2,6,23,.04);
  }
  .lms-input:focus, .lms-select:focus{
    outline:none;
    box-shadow: 0 0 0 4px var(--ring);
    border-color: rgba(37,99,235,.35);
  }
  .lms-select-sm{
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 15px;
  }
  
  /* =============================
     Sections / hero
     ============================= */
  .hero{
    border-radius: 28px;
    border: 1px solid var(--border);
    background:
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)),
      radial-gradient(700px 420px at 10% 0%, rgba(37,99,235,.10), transparent 60%),
      radial-gradient(700px 420px at 100% 0%, rgba(124,58,237,.10), transparent 60%);
    box-shadow: var(--shadow-md);
  }
  
  /* SECTION PADDING (MISSING BEFORE - REQUIRED) */
  .lms-section{
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow-sm);
    background: rgba(255,255,255,.76);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
  }
  @media (min-width: 768px){
    .lms-section{ padding: 2rem; }
  }
  
  /* Pastel section gradients */
  .lms-p1{ background: linear-gradient(180deg, var(--p1), rgba(255,255,255,.70)); } /* MISSING BEFORE */
  .lms-p2{ background: linear-gradient(180deg, var(--p2), rgba(255,255,255,.70)); }
  .lms-p3{ background: linear-gradient(180deg, var(--p3), rgba(255,255,255,.70)); }
  .lms-p4{ background: linear-gradient(180deg, var(--p4), rgba(255,255,255,.70)); }
  .lms-p5{ background: linear-gradient(180deg, var(--p5), rgba(255,255,255,.70)); }
  
  /* =============================
     Page container
     ============================= */
  .lms-page { min-width: 1300px;max-width: 1300px; margin: 0 auto; }
  @media (max-width: 980px){ .lms-page { padding: 14px; } }
  
  /* =============================
     Player shell (legacy support)
     ============================= */
  .lms-shell{
    display:grid;
    padding: 18px;
    min-width: 1300px;
    max-width: 1300px;
    margin: 0 auto;
  }
  @media (max-width: 980px){
    .lms-shell{ grid-template-columns: 1fr; padding: 14px; }
  }
  
  /* =============================
     Sidebar tree styles
     ============================= */
  .lms-tree{
    background: rgba(255,255,255,.86);
    border: 1px solid var(--border);
    border-radius: var(--radius2);
    box-shadow: var(--shadow-sm);
    overflow:hidden;
    backdrop-filter: blur(8px);
  }
  .lms-treeBody{ padding: 12px 10px 14px; }
  .lms-treeSectionTitle{
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 900;
    color: #64748b;
    margin: 10px 10px 6px;
  }
  .lms-lessonList{ display:grid; gap: 6px; padding: 0 10px 12px; }
  
  .lms-itemRow{
    display:flex;
    align-items:center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration:none;
    transition: transform .08s ease, background .12s ease, border-color .12s ease;
    color: var(--text);
    font-weight: 900;
    background: rgba(255,255,255,.70);
  }
  .lms-itemRow:hover{
    transform: translateY(-1px);
    background: rgba(15,23,42,.03);
  }
  .lms-itemRowActive{
    background: rgba(37,99,235,.10);
    border-color: rgba(37,99,235,.18);
  }
  .lms-itemTitle{ font-weight: 950; }
  .lms-itemSub{ font-size: 13px; color: var(--muted); font-weight: 800; }
  
  /* Dots (progress) */
  .lms-dot{
    width: 10px; height: 10px;
    border-radius: 999px;
    background: rgba(15,23,42,.20);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.7);
  }
  .lms-dotDone{ background: rgba(34,197,94,.70); }
  .lms-dotActive{ background: rgba(37,99,235,.75); }
  
  /* Sticky side panels */
  @media (min-width: 1024px){
    .lms-sticky{ position: sticky; top: 16px; align-self: start; }
    /* safer scoping to player shell */
    .lms-shell aside.lg\:col-span-4{ position: sticky; top: 16px; align-self: start; height: fit-content; }
  }
  
  /* =============================
     Tabs
     ============================= */
  .lms-tab{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.80);
    font-weight: 950;
    cursor:pointer;
    text-decoration:none;
  }
  .lms-tab:hover{ background: rgba(15,23,42,.03); }
  .lms-tab-active{
    border-color: rgba(37,99,235,.30);
    box-shadow: 0 0 0 4px rgba(59,130,246,.14);
  }
  
  /* =============================
     Toolbar
     ============================= */
  .lms-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid rgba(15,23,42,.08);
    background: rgba(255,255,255,.78);
    box-shadow: 0 10px 18px rgba(2,6,23,.04);
    margin-top: 10px;
  }
  .lms-toolbar > .flex{ gap: 8px; }
  
  /* =============================
     Prose (lesson HTML)
     ============================= */
  .lms-prose, .prose{
    color: #0f172a;
    line-height: 1.65;
  }
  .lms-prose h1, .lms-prose h2, .lms-prose h3,
  .prose h1, .prose h2, .prose h3{
    letter-spacing: -.02em;
  }
  .lms-prose a, .prose a{
    color: var(--brand);
    font-weight: 950;
  }
  
  /* Code blocks */
  .lms-prose pre, .prose pre{
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(15,23,42,.03);
    border-radius: 18px;
    padding: 14px 16px;
    overflow: auto;
  }
  .lms-prose code, .prose code{
    font-weight: 800;
    background: rgba(15,23,42,.04);
    border: 1px solid rgba(15,23,42,.08);
    padding: 2px 6px;
    border-radius: 10px;
  }
  
  /* =============================
     Media (video + pdf)
     ============================= */
  .lms-mediaFrame{
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 12px 26px rgba(2,6,23,.06);
    overflow: hidden;
    aspect-ratio: 16 / 9;
  }
  .lms-media{
    width: 100%;
    height: 100%;
    display: block;
    background: #fff;
  }
  video{
    border-radius: 18px;
    border: 1px solid var(--border);
    background: #fff;
  }
  canvas[data-pdf-canvas]{
    display:block;
    width:100%;
    height:auto;
    border-radius: 18px;
  }
  
  /* =============================
     Tables
     ============================= */
  .lms-table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.92);
  }
  .lms-table th, .lms-table td{
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15,23,42,.06);
    vertical-align: top;
  }
  .lms-table th{
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(37,99,235,.06), rgba(124,58,237,.03));
  }
  .lms-table tr:last-child td{ border-bottom: 0; }
  .lms-table tr:hover td{ background: rgba(15,23,42,.02); }
  
  /* Pagination / pills */
  .lms-pill{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.85);
    font-weight: 900;
    font-size: 13px;
  }
  .lms-pill.is-active{
    border-color: rgba(37,99,235,.35);
    box-shadow: 0 0 0 4px rgba(59,130,246,.14);
  }
  
  /* Quiz option cards */
  .quiz-option, .lms-option{
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 16px;
    padding: 12px 12px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 18px rgba(2,6,23,.05);
    transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
  }
  .quiz-option:hover, .lms-option:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 60px rgba(2,6,23,.10);
    border-color: rgba(37,99,235,.20);
  }
  .quiz-option.is-correct, .lms-option.is-correct{
    border-color: rgba(34,197,94,.35);
    box-shadow: 0 0 0 4px rgba(34,197,94,.10);
  }
  .quiz-option.is-wrong, .lms-option.is-wrong{
    border-color: rgba(239,68,68,.35);
    box-shadow: 0 0 0 4px rgba(239,68,68,.10);
  }
  
  /* Explanation box */
  .lms-explain{
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.92);
    border-radius: 18px;
    padding: 12px 14px;
  }
  .lms-explain b{ font-weight: 950; }
  
  /* =============================
     Softer scrollbars
     ============================= */
  *::-webkit-scrollbar{ height: 10px; width: 10px; }
  *::-webkit-scrollbar-thumb{
    background: rgba(15,23,42,.16);
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.7);
  }
  *::-webkit-scrollbar-track{ background: transparent; }
  /* =============================
   Header / Top Nav (ITlearn360)
   ============================= */

.lms-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(246,248,252,.92), rgba(246,248,252,.72));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.lms-headerInner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 980px){
  .lms-headerInner{ padding: 10px 14px; }
}

.lms-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 950;
}

.lms-logo{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 22px rgba(37,99,235,.20);
}

.lms-brandText{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.lms-brandName{
  font-size: 15px;
  font-weight: 950;
}
.lms-brandTagline{
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
}

.lms-nav{
  display: flex;
  align-items: center;
  gap: 8px;
}

.lms-nav a{
  text-decoration: none;
  font-weight: 900;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
  background: transparent;
  transition: background .12s ease, transform .08s ease, border-color .12s ease;
}

.lms-nav a:hover{
  background: rgba(255,255,255,.65);
  border-color: rgba(15,23,42,.08);
  transform: translateY(-1px);
}

.lms-nav a.is-active{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.18);
}

.lms-headerRight{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile: keep simple, wrap if needed */
@media (max-width: 720px){
  .lms-brandTagline{ display: none; }
  .lms-nav{ gap: 4px; }
  .lms-nav a{ padding: 8px 8px; }
}

/* =============================
   Courses Page — UI/UX Upgrade
   ============================= */

   .lms-coursesPage{
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px;
  }
  @media (max-width: 980px){ .lms-coursesPage{ padding: 14px; } }
  
  .lms-coursesHero{
    border-radius: 28px;
    border: 1px solid var(--border);
    background:
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)),
      radial-gradient(700px 420px at 10% 0%, rgba(37,99,235,.10), transparent 60%),
      radial-gradient(700px 420px at 100% 0%, rgba(124,58,237,.10), transparent 60%);
    box-shadow: var(--shadow-md);
    padding: 18px;
  }
  @media (min-width: 768px){ .lms-coursesHero{ padding: 22px; } }
  
  .lms-coursesTitleRow{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 14px;
    flex-wrap: wrap;
  }
  .lms-coursesTitle{
    margin: 0;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.02em;
  }
  @media (min-width: 768px){
    .lms-coursesTitle{ font-size: 34px; }
  }
  
  .lms-kpis{
    display:flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }
  
  .lms-searchRow{
    display:grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }
  @media (min-width: 1024px){
    .lms-searchRow{ grid-template-columns: 1.5fr .7fr .5fr; align-items: center; }
  }
  
  .lms-coursesLayout{
    display:grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  @media (min-width: 1024px){
    .lms-coursesLayout{ grid-template-columns: 320px 1fr; align-items: start; }
  }
  
  .lms-filterPanel{
    background: rgba(255,255,255,.86);
    border: 1px solid var(--border);
    border-radius: var(--radius2);
    box-shadow: var(--shadow-sm);
    padding: 14px;
    backdrop-filter: blur(8px);
  }
  @media (min-width: 1024px){
    .lms-filterPanel{ position: sticky; top: 76px; }
  }
  
  .lms-filterHeader{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
  }
  
  .lms-filterTitle{
    font-weight: 950;
    letter-spacing: -.01em;
  }
  .lms-filterHint{
    font-size: 13px;
    color: var(--muted);
    font-weight: 800;
    margin-top: 4px;
  }
  
  .lms-chipGroup{
    display:flex;
    flex-wrap:wrap;
    gap: 8px;
    margin-top: 12px;
  }
  
  .lms-chipBtn{
    appearance:none;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.90);
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    padding: 7px 10px;
    border-radius: 999px;
    cursor:pointer;
    transition: transform .08s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
  }
  .lms-chipBtn:hover{ transform: translateY(-1px); background: rgba(15,23,42,.03); }
  .lms-chipBtn.is-active{
    border-color: rgba(37,99,235,.30);
    box-shadow: 0 0 0 4px rgba(59,130,246,.14);
    background: rgba(37,99,235,.08);
  }
  
  .lms-resultsBar{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 12px;
    border-radius: 18px;
    border: 1px solid rgba(15,23,42,.08);
    background: rgba(255,255,255,.78);
    box-shadow: 0 10px 18px rgba(2,6,23,.04);
  }
  
  .lms-resultsMeta{
    font-size: 15px;
    color: var(--muted);
    font-weight: 800;
  }
  
  .lms-cardsGrid{
    margin-top: 12px;
    display:grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  @media (min-width: 768px){
    .lms-cardsGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  }
  @media (min-width: 1200px){
    .lms-cardsGrid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  
  .lms-courseCard{
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius2);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
    overflow:hidden;
    transition: transform .10s ease, box-shadow .15s ease, border-color .15s ease;
  }
  .lms-courseCard:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37,99,235,.16);
  }
  .lms-courseCardTop{
    padding: 14px 14px 10px;
  }
  .lms-courseTagline{
    font-size: 13px;
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
  }
  .lms-courseName{
    margin-top: 8px;
    font-size: 16px;
    font-weight: 950;
    line-height: 1.25;
    letter-spacing: -.01em;
  }
  .lms-courseTags{
    margin-top: 10px;
    display:flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .lms-courseCardBottom{
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(15,23,42,.06);
    background: rgba(255,255,255,.55);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
  }
  .lms-courseUpdated{
    font-size: 13px;
    color: var(--muted);
    font-weight: 800;
  }
  
  .lms-pagination{
    margin-top: 14px;
    display:flex;
    flex-wrap: wrap;
    align-items:center;
    justify-content:center;
    gap: 8px;
  }
  .lms-pageBtn{
    appearance:none;
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.85);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
    font-size: 13px;
    cursor:pointer;
  }
  .lms-pageBtn:disabled{ opacity:.45; cursor:not-allowed; }
  .lms-pageBtn.is-active{
    border-color: rgba(37,99,235,.35);
    box-shadow: 0 0 0 4px rgba(59,130,246,.14);
  }
  
  .lms-empty{
    background: rgba(255,255,255,.86);
    border: 1px solid var(--border);
    border-radius: var(--radius2);
    box-shadow: var(--shadow-sm);
    padding: 18px;
  }
  .lms-emptyTitle{ font-weight: 950; font-size: 18px; }
  .lms-emptyText{ margin-top: 8px; color: var(--muted); font-weight: 800; }
  .lms-emptyActions{ margin-top: 12px; display:flex; gap: 10px; flex-wrap: wrap; }
  /* =============================
   Course Sidebar (Tree + Details)
   ============================= */

/* Sidebar wrapper already uses .lms-card; add consistent header separation */
.lms-sideHeader{
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.80));
}
.lms-sideCourseTitle{
  display:block;
  margin-top: 6px;
  font-weight: 950;
  font-size: 16px;
  letter-spacing: -.01em;
  text-decoration: none;
}
.lms-sideCourseTitle:hover{ text-decoration: underline; }

.lms-progressTrack{
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.08);
  overflow: hidden;
}
.lms-progressBar{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  width: 0%;
}

/* Tree container (you already have .lms-tree base) */
.lms-tree details{
  border-top: 1px solid rgba(15,23,42,.06);
}
.lms-tree details:first-child{ border-top: 0; }

.lms-tree summary{
  list-style: none;
  cursor: pointer;
  padding: 10px 10px;
  user-select: none;
}
.lms-tree summary::-webkit-details-marker{ display:none; }

.lms-tree summary:hover{
  background: rgba(15,23,42,.02);
}

/* Module header row inside summary */
.lms-modHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.lms-modTitle{
  font-weight: 950;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.lms-modMeta{
  margin-top: 6px;
  display:flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* small pills in module meta */
.lms-sidePill{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.80);
  font-size: 11px;
  font-weight: 900;
  color: #334155;
}

/* module overview button */
.lms-sideBtn{
  flex: none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 950;
  text-decoration:none;
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}
.lms-sideBtn:hover{
  transform: translateY(-1px);
  background: rgba(15,23,42,.03);
  border-color: rgba(37,99,235,.18);
}

/* Open state highlight */
.lms-tree details[open] > summary{
  background: rgba(37,99,235,.06);
}

/* Body padding already exists as .lms-treeBody, keep it nice */
.lms-treeBody{ padding: 10px 10px 14px; }

/* Tighten section title spacing */
.lms-treeSectionTitle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

/* Make item rows feel like list items */
.lms-itemRow{
  background: rgba(255,255,255,.80);
}
.lms-itemRowActive{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.18);
}

/* Optional: soften the "Load failed" state */
.lms-sidePill.is-warn{
  border-color: rgba(239,68,68,.25);
  background: rgba(239,68,68,.06);
  color: #7f1d1d;
}
/* =============================
   Player Fullscreen helpers
   ============================= */
   .lms-fsOverlay{
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15,23,42,.55);
    backdrop-filter: blur(8px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 14px;
  }
  
  .lms-fsPanel{
    width: min(1200px, 100%);
    height: min(92vh, 900px);
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(2,6,23,.35);
    overflow:hidden;
    display:flex;
    flex-direction: column;
  }
  
  .lms-fsTopbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(15,23,42,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.80));
  }
  
  .lms-fsBody{
    flex: 1;
    overflow:auto;
    padding: 12px;
  }
  
  .lms-fsCanvasWrap{
    background:#fff;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 18px;
    padding: 10px;
  }
  .lms-btn-primary.w-full,
.lms-btn.w-full,
.lms-btn-secondary.w-full {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

/* If your button has max-width set somewhere, kill it */
.lms-btn-primary,
.lms-btn,
.lms-btn-secondary {
  max-width: none !important;
}
/* Header logo */
.lms-headerLogo{
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* Footer logo */
.itf-logo{
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}
/* ============================
   ITlearn360 style footer
   ============================ */

   .itf-footer { margin-top: 28px; }

   .itf-wrap{
     max-width: 1180px;
     margin: 0 auto;
     padding: 28px 18px;
   }
   
   .itf-top{
     background: #eaf3fb; /* light blue like screenshot */
     border-top: 1px solid rgba(15,23,42,.08);
   }
   
   .itf-grid{
     display: grid;
     grid-template-columns: 1.1fr 1fr 1fr 1.4fr;
     gap: 26px;
     align-items: start;
   }
   
   .itf-brandRow{
     display:flex;
     gap: 12px;
     align-items:center;
     margin-bottom: 10px;
   }
   
   .itf-mark{
     width: 42px;
     height: 42px;
     border-radius: 10px;
     background: linear-gradient(135deg, #2563eb, #7c3aed);
     box-shadow: 0 10px 30px rgba(37,99,235,.25);
   }
   
   .itf-name{
     font-weight: 900;
     font-size: 20px;
     letter-spacing: -0.02em;
     color:#0f172a;
   }
   
   .itf-tag{
     font-size: 13px;
     color: rgba(15,23,42,.65);
     font-weight: 700;
   }
   
   .itf-copy{
     margin-top: 14px;
     font-size: 15px;
     color: rgba(15,23,42,.75);
   }
   
   .itf-head{
     font-weight: 900;
     color:#0f172a;
     margin-bottom: 10px;
     font-size: 16px;
   }
   
   .itf-link{
     display:block;
     color: rgba(15,23,42,.85);
     text-decoration: none;
     padding: 8px 0;
     font-weight: 700;
     font-size: 15px;
   }
   
   .itf-link:hover{ text-decoration: underline; }
   
   .itf-about .itf-text{
     margin: 0;
     color: rgba(15,23,42,.78);
     font-size: 15px;
     line-height: 1.65;
   }
   
   .itf-bottom{
     background: #0b0f17;
   }
   
   .itf-bottomGrid{
     display:grid;
     grid-template-columns: 1fr 1.2fr 1fr;
     gap: 18px;
     align-items: center;
   }
   
   .itf-social{
     display:flex;
     gap: 18px;
     align-items:center;
   }
   
   .itf-ico{
     width: 34px;
     height: 34px;
     border-radius: 10px;
     display:flex;
     align-items:center;
     justify-content:center;
     background: rgba(255,255,255,.06);
     color: rgba(255,255,255,.9);
     text-decoration: none;
     font-weight: 900;
     letter-spacing: -0.02em;
   }
   
   .itf-ico:hover{
     background: rgba(255,255,255,.12);
   }
   
   .itf-meta{
     color: rgba(255,255,255,.82);
     font-weight: 700;
     font-size: 15px;
     text-align: center;
   }
   
   .itf-strong{
     color: rgba(255,255,255,.98);
     font-weight: 900;
   }
   
   @media (max-width: 980px){
     .itf-grid{
       grid-template-columns: 1fr 1fr;
     }
     .itf-bottomGrid{
       grid-template-columns: 1fr;
       text-align: center;
     }
     .itf-social{
       justify-content: center;
     }
   }
   
/* ===============================
   Courses Mega Menu (Complete)
   Uses your "courses-*" classes
================================ */

.no-scroll { overflow: hidden; }

/* Backdrop */
.courses-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  z-index: 1200;
  display: none;
}
.courses-backdrop.open{ display:block; }

/* Panel */
.courses-mega{
  position: fixed;
  top: 92px; /* below your header */
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100vw - 32px));
  height: min(640px, calc(100vh - 140px));
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: 0 40px 110px rgba(0,0,0,.25);
  z-index: 1201;
  overflow: hidden;
  display: none;
}
.courses-mega.open{ display:block; }

/* Header row */
.courses-megaHead{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(15,23,42,.10);
}

.courses-searchWrap{
  flex: 1;
  display:flex;
  align-items:center;
  gap: 10px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  padding: 0 12px;
  background: #fff;
}
.courses-searchIcon{ font-size: 15px; opacity: .7; }
.courses-search{
  flex: 1;
  border: 0;
  outline: none;
  height: 42px;
  font-size: 15px;
  background: transparent;
}

.courses-close{
  height: 44px;
  width: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.courses-close:hover{
  background: rgba(15,23,42,.05);
}

/* Body layout */
.courses-body{
  display: grid;
  grid-template-columns: 340px 1fr;
  height: calc(100% - 76px);
}

/* Left tracks */
.courses-cats{
  padding: 16px;
  border-right: 1px solid rgba(15,23,42,.08);
  overflow: auto;
  background: #fff;
}

.courses-cat{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  cursor: pointer;
  margin-bottom: 10px;
  text-align:left;
}
.courses-cat:hover{ background: rgba(15,23,42,.03); }
.courses-cat.active{
  background: rgba(99,102,241,.08);
  border-color: rgba(99,102,241,.30);
}
.courses-catTitle{
  font-weight: 600;
  font-size: 15px;
}
.courses-catCount{
  font-size: 13px;
  opacity: .7;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 999px;
  padding: 4px 10px;
}

/* Right side */
.courses-right{
  padding: 18px;
  overflow: auto;
  background: #fff;
}
.courses-rightHead{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  padding-bottom: 14px;
}
.courses-rightTitle{
  font-size: 16px;
  font-weight: 800;
}
.courses-rightMeta{
  font-size: 13px;
  opacity: .7;
}

/* Grid */
.courses-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Course card (matches your Courses page vibe) */
.course-card{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 20px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(2,6,23,.06);
  cursor: pointer;
  min-height: 170px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.course-card:hover{
  box-shadow: 0 18px 38px rgba(2,6,23,.10);
  transform: translateY(-1px);
}
.course-topline{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .6;
}
.course-title{
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.course-tags{
  font-size: 13px;
  opacity: .7;
}

/* Actions (Open / Details) */
.course-actions{
  margin-top: auto;
  display:flex;
  gap: 10px;
  justify-content:flex-end;
}
.course-btn{
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.14);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor:pointer;
}
.course-btn.primary{
  border: 0;
  background: #4f46e5;
  color: #fff;
}
.course-btn:hover{ background: rgba(15,23,42,.04); }
.course-btn.primary:hover{ filter: brightness(.98); }

/* Empty */
.courses-empty{
  padding: 20px;
  opacity: .7;
}

/* Responsive */
@media (max-width: 1024px){
  .courses-body{ grid-template-columns: 1fr; }
  .courses-cats{
    border-right: 0;
    border-bottom: 1px solid rgba(15,23,42,.08);
  }
  .courses-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .courses-mega{
    top: 76px;
    height: min(720px, calc(100vh - 110px));
  }
  .courses-grid{ grid-template-columns: 1fr; }
}
/* ===== Header layout (new) ===== */
.lms-headerInner{
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 16px;
}

/* Main grid */
.lms-headerGrid{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

/* LEFT column: logo + courses stacked */
.lms-leftCol{
  display: flex;
  flex-direction: row;
  gap: 12px;              /* 👈 key spacing fix */
  align-items: flex-start;
}

/* Brand row */
.lms-brandRow{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.lms-headerLogo{
  height: 34px;
  width: auto;
}

/* Brand text */
.lms-brandText{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.lms-brandName{
  font-size: 15px;
  font-weight: 800;
}

.lms-brandTagline{
  font-size: 13px;
  opacity: .75;
}

/* Courses button — stable & centered */
.lms-coursesBtn{
  align-self: flex-start;   /* 👈 keeps it under logo, not stretched */
  height: 40px;
  padding: 0 18px;
  border-radius: 14px;
  background: #4f46e5;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(79,70,229,.25);
}

.lms-coursesBtn:hover{
  filter: brightness(.97);
}

/* Center nav */
.lms-navCenter{
  display: flex;
  justify-content: center;
  gap: 22px;
}

/* Right column */
.lms-rightCol{
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

/* ===== Profile dropdown ===== */
.lms-profile{ position: relative; }

.lms-profileBtn{
  height: 42px;
  width: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lms-profileBtn:hover{ background: rgba(15,23,42,.04); }

.lms-avatar{
  font-size: 18px;
  line-height: 1;
}

/* Menu */
.lms-profileMenu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 220px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(2,6,23,.18);
  padding: 10px;
  display: none;
  z-index: 1400;
}
.lms-profileMenu.open{ display: block; }

.lms-profileEmail{
  font-size: 13px;
  opacity: .75;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(15,23,42,.06);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lms-menuSep{
  height: 1px;
  background: rgba(15,23,42,.10);
  margin: 10px 0;
}

.lms-menuItem{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #0f172a;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
.lms-menuItem:hover{ background: rgba(15,23,42,.05); }
.lms-menuItem.danger{ color: #b91c1c; }
.lms-menuItem.danger:hover{ background: rgba(185,28,28,.08); }

/* Responsive */
@media (max-width: 900px){
  .lms-headerGrid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lms-navCenter{ justify-self: start; }
  .lms-rightCol{ justify-self: start; }
}
@media (max-width: 768px){
  .lms-headerGrid{
    grid-template-columns: 1fr auto;
    row-gap: 12px;
  }

  .lms-leftCol{
    grid-column: 1 / -1;   /* 👈 full width */
  }

  .lms-navCenter{
    display: none;         /* optional: hide Home/Quizzes on mobile */
  }

  .lms-rightCol{
    grid-column: 2;
    align-self: start;
  }
}
.lms-blogProse h1, .lms-blogProse h2, .lms-blogProse h3 { font-weight: 900; }
.lms-blogProse img { border-radius: 16px; border: 1px solid rgba(15,23,42,.10); }
.lms-blogProse a { text-decoration: underline; }  
.lms-blogThumb{
  width: 132px;
  height: 92px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  overflow: hidden;
  background: rgba(255,255,255,.8);
  flex: 0 0 auto;
}
.lms-blogThumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lms-blogThumb--empty{
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(124,58,237,.10));
}
.lms-blogThumbEmpty{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(15,23,42,.65);
  text-transform: uppercase;
}

/* Blog content typography (works with your existing styles.css) */
.lms-blogProse h1, .lms-blogProse h2, .lms-blogProse h3{
  font-weight: 900;
  letter-spacing: -0.02em;
}
.lms-blogProse img{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  max-width: 100%;
  height: auto;
}
.lms-blogProse a{
  text-decoration: underline;
}

.lms-blogThumb{
  width: 132px;
  height: 92px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  overflow: hidden;
  background: rgba(255,255,255,.8);
  flex: 0 0 auto;
}
.lms-blogThumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lms-blogThumb--empty{
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(124,58,237,.10));
}
.lms-blogThumbEmpty{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(15,23,42,.65);
  text-transform: uppercase;
}
/* Blog prose */
.lms-blogProse{
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.75;
  font-size: 16px;
}
.lms-blogProse h2{
  margin-top: 1.4em;
  font-size: 1.35em;
  font-weight: 900;
}
.lms-blogProse h3{
  margin-top: 1.1em;
  font-size: 1.12em;
  font-weight: 800;
}
.lms-blogProse p{ margin: .85em 0; }
.lms-blogProse ul, .lms-blogProse ol{ margin: .8em 0 .8em 1.2em; }
.lms-blogProse li{ margin: .35em 0; }
.lms-blogProse code{
  padding: .1em .4em;
  border-radius: .6em;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.04);
  font-size: .92em;
}
.lms-blogProse pre{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
  overflow: auto;
}
.lms-blogProse img{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  max-width: 100%;
  height: auto;
}

/* TOC */
.toc{ display:flex; flex-direction:column; gap:10px; }
.toc-link{
  display:block;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(15,23,42,.78);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.toc-link:hover{
  background: rgba(15,23,42,.04);
}
.toc-link.active{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.20);
  color: rgba(15,23,42,.95);
  font-weight: 800;
}
.toc-sub{
  padding-left: 18px;
  font-size: 13px;
  color: rgba(15,23,42,.70);
}
/* =========================
   Blog Headings – Strong by default
========================= */

.lms-blogProse h1,
.lms-blogProse h2,
.lms-blogProse h3,
.lms-blogProse h4,
.lms-blogProse h5,
.lms-blogProse h6 {
  font-weight: 900;               /* strong emphasis */
  letter-spacing: -0.01em;
  color: #0f172a;                 /* slate-900 */
}

.lms-blogProse h2 {
  margin-top: 1.6em;
  font-size: 1.4em;
}

.lms-blogProse h3 {
  margin-top: 1.3em;
  font-size: 1.15em;
}

.lms-blogProse h4 {
  margin-top: 1.1em;
  font-size: 1.05em;
}
/* =========================
   Blog UL with intuitive icons
========================= */

.lms-blogProse ul,.lms-blogProse ol {
  list-style: none;
  padding-left: 0;
  margin: 1em 0;
}

.lms-blogProse ul li,.lms-blogProse ol li {
  position: relative;
  padding-left: 28px;
  margin: 0.6em 0;
  line-height: 1.65;
}

.lms-blogProse ul li::before,.lms-blogProse ol li::before {
  content: "➜";
  color: #7c3aed; /* brand violet */
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.9em;
  font-weight: 900;
  color: #2563eb; /* brand blue */
}
