/* ============================================================
    NICE LEARNING – Body and HTML
============================================================ */
body {
background: white !important;
}

.nl-title-container {
    box-shadow: 0 0 20px rgba(0, 0, 0, .06);
    border-top: 1px solid #e5e5f5;
    border-bottom: 1px solid #e5e5f5;
    background: #eff3f9;
}

/* ============================================================
    NICE LEARNING – HERO STYLES
============================================================ */

.nl-hero {
    --nl-primary:      #1F5F73;
    --nl-primary-soft: #EFF6FF;
    --nl-accent:       #374C50;
    --nl-dark:         #0F1729;
    --nl-mid:          #334155;
    --nl-soft:         #64748B;
    --nl-line:         rgba(37, 99, 235, .12);
    --nl-glass:        rgba(255, 255, 255, .72);
    --nl-radius:       1.25rem;
    --nl-shadow:       0 4px 32px rgba(15, 23, 41, .10);
    position: relative;
    overflow: hidden;
    background: #f8faff;
}

/* ── Decorative Background Canvas ─────────────────────────── */
.nl-hero__canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.nl-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: .55;
}
.nl-hero__blob--1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #bfdbfe 0%, transparent 70%);
    top: -140px; right: -80px;
}
.nl-hero__blob--2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #fde68a 0%, transparent 70%);
    bottom: -100px; left: -60px;
}
.nl-hero__blob--3 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, #c7d2fe 0%, transparent 70%);
    top: 40%; left: 42%;
    opacity: .35;
}

.nl-hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #94a3b8 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: .18;
}

/* ── Inner content above canvas ───────────────────────────── */
.nl-hero__inner {
    position: relative;
    z-index: 1;
}

/* ── Badge pill ───────────────────────────────────────────── */
.nl-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .9rem .35rem .55rem;
    background: var(--nl-primary-soft);
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--nl-primary);
    letter-spacing: .02em;
}

.nl-badge-pill .nl-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--nl-primary);
}

/* ── Heading ──────────────────────────────────────────────── */
.nl-hero__heading {
    font-size: clamp(2.2rem, 5vw, 3.0rem);
    font-weight: 800;
    line-height: 1.14;
    color: var(--nl-dark);
    letter-spacing: -.025em;
}

.nl-hero__heading mark {
    background: var(--nl-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0;
}

.nl-hero__heading .nl-underline {
    display: inline-block;
    position: relative;
}

.nl-hero__heading .nl-underline::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 4px;
    border-radius: 100px;
    background: #374C50;
}

/* ── Sub-text ─────────────────────────────────────────────── */
.nl-hero__sub {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--nl-soft);
    line-height: 1.72;
    max-width: 500px;
}

.nl-stat {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.nl-stat__num {
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--nl-dark);
    line-height: 1;
}

.nl-stat__lbl {
    font-size: .75rem;
    color: var(--nl-soft);
    font-weight: 400;
    margin-top: .15rem;
}

.nl-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--nl-line);
}

/* ── Image Placeholder ────────────────────────────────────── */
.nl-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--nl-radius);
    background: linear-gradient(145deg, #e2eaff 0%, #eef2ff 50%, #fef9ec 100%);
    border: 1.5px dashed rgba(37, 99, 235, .28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    box-shadow: var(--nl-shadow);
}

.nl-img-placeholder__icon {
    width: 60px; height: 60px;
    border-radius: 1rem;
    background: rgba(37, 99, 235, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--nl-primary);
}

.nl-img-placeholder__label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--nl-primary);
    opacity: .7;
    letter-spacing: .02em;
}

.nl-img-placeholder__sub {
    font-size: .75rem;
    color: var(--nl-soft);
    margin-top: -.25rem;
}

/* ── RTL support ──────────────────────────────────────────── */
[dir="rtl"] .nl-hero__heading .nl-underline::after {
    left: 0; right: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .nl-hero { padding: 4rem 0 3.5rem; }
}
@media (max-width: 767.98px) {
    .nl-hero { padding: 3.5rem 0 3rem; }
    .nl-hero__sub { max-width: 100%; }
}

.nl-browser {
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1.5px solid rgba(31, 95, 115, .12);
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(15, 23, 41, .13);
}

.nl-browser__bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    background: #f1f5f9;
    border-bottom: 1px solid rgba(31, 95, 115, .08);
    flex-shrink: 0;
}

.nl-browser__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.nl-browser__dot--red    { background: #f87171; }
.nl-browser__dot--yellow { background: #fbbf24; }
.nl-browser__dot--green  { background: #34d399; }

.nl-browser__url {
    flex: 1;
    background: #ffffff;
    border-radius: 100px;
    padding: .25rem .85rem;
    margin-left: .25rem;
    font-size: .72rem;
    color: #94a3b8;
    border: 1px solid rgba(31, 95, 115, .1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.nl-browser__url i {
    color: #34d399;
    font-size: .7rem;
    flex-shrink: 0;
}

.nl-browser__screen {
    overflow: hidden;
    max-height: 400px;
    position: relative;
}

.nl-browser__screen img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* Fade at bottom to suggest more content below */
.nl-browser__screen::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,.85) 100%);
    pointer-events: none;
}

/* ── Floating badge on mockup ─────────────────────────────── */
.nl-browser-wrap {
    position: relative;
}

.nl-browser-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .12);
    border-radius: .85rem;
    font-size: .78rem;
    font-weight: 700;
    color: #0F1729;
    box-shadow: 0 8px 24px rgba(15, 23, 41, .1);
    white-space: nowrap;
}

.nl-browser-badge i {
    color: #1F5F73;
    font-size: .88rem;
}

.nl-browser-badge--tr {
    bottom: auto;
    top: -1rem;
    left: auto;
    right: -1rem;
}


.nl-browser--link {
    display: block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.nl-browser-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 41, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}


.nl-browser-overlay__btn {
    background: #ffffff;
    color: #0F1729;
    padding: 0.65rem 1.2rem;
    border-radius: 0.6rem;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(10px);
    transition: all 0.3s ease;
}


.nl-browser--link:hover .nl-browser-overlay {
    opacity: 1;
}

.nl-browser--link:hover .nl-browser-overlay__btn {
    transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .nl-browser__screen { max-height: 300px; }
    .nl-browser-badge   { display: none; }
}

/* ============================================================
    NICE LEARNING – HERO STYLES
============================================================ */

/* ============================================================
    NICE LEARNING – FEATURES SECTION STYLES
============================================================ */

/* ── Section wrapper ──────────────────────────────────────── */
.nl-features {
    background: #ffffff;
}

/* ── Section header ───────────────────────────────────────── */
.nl-features__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .85rem;
    background: #EFF6FF;
    border: 1px solid rgba(31, 95, 115, .2);
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    color: #1F5F73;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.nl-features__title {
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0F1729;
    line-height: 1.2;
    letter-spacing: -.022em;
}

.nl-features__title span {
    color: #1F5F73;
}

.nl-features__subtitle {
    font-size: 1rem;
    color: #64748B;
    line-height: 1.7;
    max-width: 520px;
    margin-inline: auto;
}

/* ── Feature card ─────────────────────────────────────────── */
.nl-feat-card {
    background: #f8faff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: border-color .2s, box-shadow .2s;
}

/* ── Icon box ─────────────────────────────────────────────── */
.nl-feat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: .9rem;
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #1F5F73;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

/* ── Card text ────────────────────────────────────────────── */
.nl-feat-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0F1729;
    margin-bottom: .5rem;
    letter-spacing: -.01em;
}

.nl-feat-card__desc {
    font-size: .9rem;
    color: #64748B;
    line-height: 1.65;
    margin: 0;
}

/* ── Divider rule ─────────────────────────────────────────── */
.nl-features__divider {
    height: 1px;
    background: rgba(31, 95, 115, .1);
    margin: 0;
    border: none;
}

/* ── Bottom strip ─────────────────────────────────────────── */
.nl-features__strip {
    background: #f8faff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: 1.25rem;
    padding: 1.5rem 2rem;
}

.nl-features__strip-label {
    font-size: .82rem;
    color: #64748B;
    font-weight: 500;
}

.nl-features__strip-value {
    font-size: .9rem;
    font-weight: 700;
    color: #1F5F73;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .nl-features { padding: 3.5rem 0; }
    .nl-features__subtitle { max-width: 100%; }
    .nl-features__strip { padding: 1.25rem; }
}

/* ============================================================
    NICE LEARNING – FEATURES SECTION STYLES
============================================================ */

/* ============================================================
    NICE LEARNING – SUBMIT A TICKET STYLES
============================================================ */

/* ── Section wrapper ──────────────────────────────────────── */
.nl-ticket {
    background: linear-gradient(145deg, #e2eaff 0%, #eef2ff 50%, #fef9ec 100%);
    position: relative;
}

/* ── Dot grid (mirrors hero canvas) ──────────────────────── */
.nl-ticket__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #94a3b8 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: .10;
    pointer-events: none;
    z-index: 0;
}

.nl-ticket__inner {
    position: relative;
    z-index: 1;
}

/* ── Card ─────────────────────────────────────────────────── */
.nl-ticket__card {
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .12);
    border-radius: 1.25rem;
    text-align: center;
}


/* ── Eyebrow ──────────────────────────────────────────────── */
.nl-ticket__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .85rem;
    background: #EFF6FF;
    border: 1px solid rgba(31, 95, 115, .2);
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    color: #1F5F73;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

/* ── Title ────────────────────────────────────────────────── */
.nl-ticket__title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #0F1729;
    line-height: 1.2;
    letter-spacing: -.022em;
    margin-bottom: .85rem;
}

.nl-ticket__title span {
    color: #1F5F73;
}

/* ── Subtitle ─────────────────────────────────────────────── */
.nl-ticket__subtitle {
    font-size: .97rem;
    color: #64748B;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto .85rem;
}

/* ── Facts strip ──────────────────────────────────────────── */
.nl-ticket__strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin-top: 2.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(31, 95, 115, .1);
}

.nl-ticket__fact {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: #64748B;
    font-weight: 500;
}

.nl-ticket__fact i {
    color: #1F5F73;
    font-size: .95rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .nl-ticket { padding: 4rem 0; }
}

@media (max-width: 767.98px) {
    .nl-ticket { padding: 3.5rem 0; }
    .nl-ticket__card { padding: 2.5rem 1.5rem; }
}

/* ============================================================
    NICE LEARNING – SUBMIT A TICKET STYLES
============================================================ */

/* ============================================================
   NICE LEARNING – BLOCK SHOW PAGE
============================================================ */

/* ============================================================
   SIDEBAR
============================================================ */
.nl-sidebar {
    position: sticky;
    top: 1.5rem;
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: 1.25rem;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, .06);
}

.nl-sidebar__back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    margin-bottom: 1.25rem;
    padding: .3rem .6rem;
    border-radius: .5rem;
    border: 1px solid rgba(31, 95, 115, .12);
}

.nl-sidebar__back:hover {
    color: #1F5F73;
    border-color: rgba(31, 95, 115, .3);
}

.nl-sidebar__category-label {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    color: #1F5F73;
    padding: 0 .25rem .75rem;
    border-bottom: 1px solid rgba(31, 95, 115, .1);
    margin-bottom: .75rem;
}

.nl-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.nl-sidebar__link {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .75rem;
    border-radius: .65rem;
    font-size: .875rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
}

.nl-sidebar__link:hover {
    background: #f1f5f9;
    color: #1F5F73;
}

.nl-sidebar__link--active {
    background: #EFF6FF;
    color: #1F5F73;
    font-weight: 600;
}

.nl-sidebar__link-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

.nl-sidebar__link--active .nl-sidebar__link-dot {
    background: #1F5F73;
}

/* COLLAPSIBLE NAV */
.nl-collapsible {
    position: relative;
    max-height: 320px; /* approx 10 items */
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* FADE EFFECT */
.nl-collapsible::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(
        180deg,
        hsla(0, 0%, 100%, 0) 0%,
        rgb(255 255 255) 100%
    );
    pointer-events: none;
}

/* EXPANDED */
.nl-collapsible.expanded {
    max-height: none;
}

.nl-collapsible.expanded::after {
    display: none;
}

/* SHOW MORE BUTTON */
.nl-show-more {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: .5rem;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
}

/* ============================================================
   BLOCK DETAIL CARD
============================================================ */
.nl-block-detail {
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: 1.25rem;
    overflow: hidden;
}

/* ── Image ────────────────────────────────────────────────── */
.nl-block-detail__image-wrap {
    width: 100%;
    overflow: hidden;
    border-bottom: 1.5px solid rgba(31, 95, 115, .08);
    background: #f1f5f9;
}

.nl-block-detail__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Header ───────────────────────────────────────────────── */
.nl-block-detail__header {
    padding: 10px;
    border-bottom: 1px solid rgba(31, 95, 115, .08);
}

.nl-block-detail__title {
    font-size: 18px;
    font-weight: 800;
    color: #0F1729;
    letter-spacing: -.022em;
    margin: 0;
}

/* ── Badges ───────────────────────────────────────────────── */
.nl-block-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .75rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
}

.nl-block-badge--category {
    background: #EFF6FF;
    border: 1px solid rgba(31, 95, 115, .18);
    color: #1F5F73;
}

.nl-block-badge--avail {
    background: #f0fdf4;
    border: 1px solid rgba(34, 197, 94, .25);
    color: #16a34a;
}

/* ── Meta strip ───────────────────────────────────────────── */
.nl-block-detail__meta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 10px;
    background: #f8faff;
    border-bottom: 1px solid rgba(31, 95, 115, .08);
}

.nl-block-detail__meta-item {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .25rem 1.5rem .25rem 0;
}

.nl-block-detail__meta-divider {
    width: 1px;
    height: 32px;
    background: rgba(31, 95, 115, .12);
    margin: 0 1.5rem 0 0;
    flex-shrink: 0;
}

.nl-block-detail__meta-label {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
}

.nl-block-detail__meta-value {
    font-size: .88rem;
    font-weight: 600;
    color: #0F1729;
}

.nl-block-detail__meta-code {
    font-size: .82rem;
    font-weight: 600;
    color: #1F5F73;
    background: #EFF6FF;
    padding: .15rem .5rem;
    border-radius: .4rem;
    border: 1px solid rgba(31, 95, 115, .15);
}

/* ── Note ─────────────────────────────────────────────────── */
.nl-block-detail__note {
    display: flex;
    gap: 1rem;
    margin: 10px 10px 0 10px;
    padding: 10px;
    background: #fffbeb;
    border: 1.5px solid rgba(245, 158, 11, .22);
    border-radius: .9rem;
}

.nl-block-detail__note-icon {
    font-size: 1.1rem;
    color: #d97706;
    flex-shrink: 0;
    margin-top: .1rem;
}

.nl-block-detail__note-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #92400e;
    margin-bottom: .35rem;
}

.nl-block-detail__note-text {
    font-size: .88rem;
    color: #78350f;
    line-height: 1.65;
}

.nl-block-detail__note-text p:last-child {
    margin: 0;
}

/* ── Section ──────────────────────────────────────────────── */
.nl-block-detail__section {
    padding: 10px;
}

.nl-block-detail__section-heading {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    font-weight: 700;
    color: #0F1729;
}

.nl-block-detail__section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 .5rem;
    border-radius: 100px;
    background: #EFF6FF;
    border: 1px solid rgba(31, 95, 115, .18);
    font-size: .72rem;
    font-weight: 700;
    color: #1F5F73;
}

/* ── Settings list ────────────────────────────────────────── */
.nl-settings-list {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.nl-settings-item {
    display: flex;
    gap: 1rem;
    padding: 10px;
    background: #f8faff;
    border: 1.5px solid rgba(31, 95, 115, .08);
    border-radius: .85rem;
}

.nl-settings-item__icon {
    width: 36px;
    height: 36px;
    border-radius: .6rem;
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: #1F5F73;
    flex-shrink: 0;
}

.nl-settings-item__name {
    font-size: .88rem;
    font-weight: 700;
    color: #0F1729;
}

.nl-settings-item__type {
    display: inline-flex;
    align-items: center;
    padding: .15rem .55rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 600;
    color: #64748B;
    font-family: monospace;
}

.nl-settings-item__desc {
    font-size: .83rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

.nl-settings-collapsible {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    transition: 
        max-height 0.4s ease, 
        opacity 0.3s ease,
        padding-top 0.3s ease;
}

.nl-settings-collapsible.expanded {
    max-height: 1000px;
    opacity: 1;
    padding-top: 1.5rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .nl-sidebar {
        position: static;
        margin-bottom: .5rem;
    }
}

@media (max-width: 767.98px) {
    .nl-block-detail__header,
    .nl-block-detail__meta-strip,
    .nl-block-detail__note { padding-left: 1.25rem; padding-right: 1.25rem; }
    .nl-block-detail__meta-divider { display: none; }
    .nl-block-detail__meta-item { padding-right: 0; width: 50%; }
}

/* ============================================================
   NICE LEARNING – BLOCK SHOW PAGE
============================================================ */

/* ============================================================
   NICE LEARNING – CHANGE LOG PAGE
============================================================ */

.nl-changelog-card {
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: 1.25rem;
    overflow: hidden;
}

/* ── Header ───────────────────────────────────────────────── */
.nl-changelog-card__header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(31, 95, 115, .08);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
}

.nl-changelog-card__title {
    font-size: 1rem;
    font-size: 1.25rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(31, 95, 115, .1);
    color: #0F1729;
    font-weight: 800;
    letter-spacing: -.022em;
    margin-bottom: .85rem;
    line-height: 1.25;
}

/* ── Version badge ────────────────────────────────────────── */
.nl-changelog-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .75rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
}

.nl-changelog-badge--build {
    background: #EFF6FF;
    border: 1px solid rgba(31, 95, 115, .18);
    color: #1F5F73;
    font-family: monospace;
}

/* ── Meta strip ───────────────────────────────────────────── */
.nl-changelog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: .75rem 1.5rem;
    background: #f8faff;
    border-bottom: 1px solid rgba(31, 95, 115, .08);
}

.nl-changelog-card__meta-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .2rem 1.5rem .2rem 0;
    font-size: .82rem;
    color: #64748B;
    font-weight: 500;
}

.nl-changelog-card__meta-item i {
    color: #1F5F73;
    font-size: .85rem;
}

.nl-changelog-card__meta-divider {
    width: 1px;
    height: 20px;
    background: rgba(31, 95, 115, .12);
    margin: 0 1.5rem 0 0;
    flex-shrink: 0;
}

/* ── Highlights list ──────────────────────────────────────── */
.nl-changelog-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.nl-changelog-card__section-heading {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    font-weight: 700;
    color: #0F1729;
    margin-bottom: 1rem;
}

.nl-changelog-card__section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 .5rem;
    border-radius: 100px;
    background: #EFF6FF;
    font-size: .72rem;
    font-weight: 700;
    color: #1F5F73;
    line-height: 28px;
}

.nl-changelog-highlights__item p {
    margin-bottom: 0;
    display: contents;
}



/* ── Empty state ──────────────────────────────────────────── */
.nl-changelog-empty {
    background: #f8faff;
    border: 1.5px dashed rgba(31, 95, 115, .2);
    border-radius: 1.25rem;
    padding: 3rem 2rem;
    text-align: center;
    color: #64748B;
    font-size: .92rem;
}

.nl-changelog-empty i {
    font-size: 1.75rem;
    color: #1F5F73;
    opacity: .45;
    margin-bottom: .75rem;
    display: block;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .nl-changelog-card__header,
    .nl-changelog-card__meta,
    .nl-changelog-card__body { padding-left: 1.25rem; padding-right: 1.25rem; }
    .nl-changelog-card__meta-divider { display: none; }
}

/* ============================================================
   NICE LEARNING – CHANGE LOG PAGE
============================================================ */

/* ============================================================
   NICE LEARNING – PAGE / DOCUMENTATION CONTENT
============================================================ */

.nl-doc-content {
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: 1.25rem;
    padding: 2rem 2.25rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, .06);
}

/* ── Headings ─────────────────────────────────────────────── */
.nl-doc-content h1,
.nl-doc-content h2,
.nl-doc-content h3,
.nl-doc-content h4,
.nl-doc-content h5,
.nl-doc-content h6 {
    color: #0F1729;
    font-weight: 800;
    letter-spacing: -.022em;
    margin-top: 2rem;
    margin-bottom: .85rem;
    line-height: 1.25;
}

.nl-doc-content h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.nl-doc-content h2 {
    font-size: 1.25rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(31, 95, 115, .1);
}
.nl-doc-content h3 { font-size: 1.05rem; }
.nl-doc-content h4 { font-size: .95rem; }

.nl-doc-content > *:first-child { margin-top: 0; }

/* ── Paragraph ────────────────────────────────────────────── */
.nl-doc-content p {
    font-size: .95rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* ── Links ────────────────────────────────────────────────── */
.nl-doc-content a {
    color: #1F5F73;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(31, 95, 115, .35);
    transition: text-decoration-color .15s;
}

.nl-doc-content a:hover {
    text-decoration-color: #1F5F73;
}

/* ── Lists ────────────────────────────────────────────────── */

/* Remove default bullets */
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Base list item styling */
ul li {
    position: relative;
    margin-top: 10px;
    line-height: 1.65;
    font-size: clamp(0.85rem, 0.9vw, 0.95rem);
}

/* ── BULLETS (Centered + Responsive) ─────────────────────── */

/* LEVEL 1 */
ul > li::before {
    content: '●';
    font-size: 0.9rem;
    line-height: 1;
    color: #1F5F73;
    padding-right: 10px;
}

/* LEVEL 2 */
ul ul > li::before {
    content: '○';
    font-size: 0.6rem;
    line-height: 1;
    color: black;
    padding-right: 5px;
}

/* LEVEL 3 */
ul ul ul > li::before {
    content: '▪';
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    line-height: 1;
    color: black;
}

/* ── Nested spacing ─────────────────────────────────────── */

ul ul {
    margin-top: 8px;
    margin-left: 10px;
}

ul ul ul {
    margin-left: 10px;
}

/* ── Mobile Optimization ─────────────────────────────────── */

@media (max-width: 576px) {
    ul li {
        padding: 0.55rem 0.9rem 0.55rem 1.6rem;
        font-size: 0.85rem;
    }

    ul li::before {
        left: 0.5rem;
    }
}

/* Start Ordered List */

ol {
  margin: 0;
  padding: 0;
  line-height: normal;
}

ol ol {
  counter-reset: step-counter;
}

ol li {
  line-height: 25px;
  margin: 0 0 20px;
  counter-increment: step-counter;
  list-style: none;
  position: relative;
  padding: 0px 0 0 35px;
}

ol li::before {
  border-radius: 5px;
}

ol li::before {
  border-radius: 50%;
}

ol li::before {
    content: counter(step-counter);
    margin-right: 5px;
    background-color: rgb(239, 246, 255);
    color: rgb(31, 95, 115);
    padding: 3px 8px;
    position: absolute;
    left: 0;
    width: 25px;
    height: 25px;
    text-align: center;
    font-weight: normal;
    line-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
  ol {
    margin: 25px 0 30px;
  }

  ol li {
    line-height: 22px;
    margin: 0 0 15px;
    padding: 0 0 0 32px;
  }

  ol li::before {
    padding: 3px 2px;
    top: 0;
    width: 24px;
    height: 24px;
    line-height: 17px;
    font-size: 13px
  }
}

/* ── Lists ────────────────────────────────────────────────── */

/* ── Inline code ──────────────────────────────────────────── */
.nl-doc-content :not(pre) > code {
    font-size: .82rem;
    font-weight: 600;
    color: #1F5F73;
    background: #EFF6FF;
    padding: .15rem .5rem;
    border-radius: .4rem;
    border: 1px solid rgba(31, 95, 115, .15);
    font-family: monospace;
}

.nl-doc-content .code-long {
    background: none !important;
    border: none;
}

/* ── Code block ───────────────────────────────────────────── */
.nl-doc-content pre {
    position: relative;
    background: #0F1729;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
    overflow-x: auto;
    border: 1.5px solid rgba(255, 255, 255, .06);
}

.nl-doc-content pre code {
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    font-size: .83rem;
    color: #e2e8f0;
    background: none;
    border: none;
    padding: 0;
    line-height: 1.75;
}

/* language label */
.nl-doc-content pre[data-lang]::before {
    content: attr(data-lang);
    position: absolute;
    top: .6rem;
    right: .85rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(148, 163, 184, .7);
}

/* ── Blockquote ───────────────────────────────────────────── */
.nl-doc-content blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    background: #f8faff;
    border-left: 4px solid #1F5F73;
    border-radius: 0 .85rem .85rem 0;
    font-size: .92rem;
    color: #334155;
    line-height: 1.7;
    font-style: italic;
}

.nl-doc-content blockquote p:last-child { margin: 0; }

/* ── Horizontal rule ──────────────────────────────────────── */
.nl-doc-content hr {
    border: none;
    height: 1px;
    background: rgba(31, 95, 115, .1);
    margin: 2rem 0;
}

/* ── Table ────────────────────────────────────────────────── */
.nl-doc-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
    margin: 1.25rem 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1.5px solid rgba(31, 95, 115, .1);
}

.nl-doc-content thead {
    background: #f8faff;
}

.nl-doc-content thead th {
    padding: .75rem 1rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #1F5F73;
    border-bottom: 1px solid rgba(31, 95, 115, .1);
    text-align: left;
}

.nl-doc-content tbody tr {
    border-bottom: 1px solid rgba(31, 95, 115, .07);
    transition: background .15s;
}

.nl-doc-content tbody tr:last-child { border-bottom: none; }

.nl-doc-content tbody tr:hover { background: #f8faff; }

.nl-doc-content tbody td {
    padding: .7rem 1rem;
    color: #334155;
    vertical-align: top;
}

/* ── Bootstrap alert overrides ────────────────────────────── */
.nl-doc-content .alert , .nl-block-page .alert{
    border-radius: .9rem;
    border-width: 1.5px;
    font-size: .88rem;
    line-height: 1.65;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.25rem;
}

.nl-doc-content .alert::before,
.nl-block-page .alert::before {
    font-family: 'bootstrap-icons';
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: .05rem;
}

.nl-doc-content .alert-info,
.nl-block-page .alert-info {
    background: #EFF6FF;
    border-color: rgba(31, 95, 115, .25);
    color: #1F5F73;
}

.nl-doc-content .alert-info::before,
.nl-block-page .alert-info::before {
    content: '\f431';
    color: #1F5F73;
}

.nl-doc-content .alert-warning,
.nl-block-page .alert-warning {
    background: #fffbeb;
    border-color: rgba(245, 158, 11, .3);
    color: #92400e;
}

.nl-doc-content .alert-warning::before,
.nl-block-page .alert-warning::before {
    content: '\f33a'; color: #d97706;
}
    
.nl-doc-content .alert-danger,
.nl-block-page .alert-danger {
    background: #fef2f2;
    border-color: rgba(239, 68, 68, .28);
    color: #991b1b;
    align-items: center;
}

.nl-doc-content .alert-danger::before,
.nl-block-page .alert-danger::before {
    content: '\f623'; color: #dc2626;
}

.nl-doc-content .alert-success,
.nl-block-page .alert-success {
    background: #f0fdf4;
    border-color: rgba(34, 197, 94, .28);
    color: #14532d;
    align-items: center;
}

.nl-doc-content .alert-success::before,
.nl-block-page .alert-success::before { 
    content: '\f26b'; color: #16a34a; 
    
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .nl-doc-content { padding: 1.5rem 1.25rem; }
    .nl-doc-content pre { padding: 1rem 1.1rem; border-radius: .85rem; }
}

/* ============================================================
   NICE LEARNING – PAGE / DOCUMENTATION CONTENT
============================================================ */

/* ============================================================
   NICE LEARNING – MOODLE COMPATIBILITY PAGE
============================================================ */

.nl-compat-card {
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: 1.25rem;
    overflow: hidden;
    padding: 2rem 2.25rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, .06);
}

/* ── Intro text ───────────────────────────────────────────── */

.nl-compat-intro p {
    font-size: .95rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.nl-compat-intro p + p {
    margin-top: .65rem;
}

.nl-compat-heading {
    font-size: 1.25rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(31, 95, 115, .1);
    color: #0F1729;
    font-weight: 800;
    letter-spacing: -.022em;
    margin-top: 2rem;
    margin-bottom: .85rem;
    line-height: 1.25;
}

/* ── Section heading ──────────────────────────────────────── */
.nl-compat-heading__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 .5rem;
    border-radius: 100px;
    background: #EFF6FF;
    font-size: .72rem;
    font-weight: 700;
    color: #1F5F73;
    line-height: 28px;
    margin-left: 10px;
}


/* ── Table ────────────────────────────────────────────────── */
.nl-compat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1.5px solid rgba(31, 95, 115, .1);
}

.nl-compat-table thead {
    background: #f8faff;
}

.nl-compat-table thead th {
    padding: .75rem 1rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #1F5F73;
    border-bottom: 1px solid rgba(31, 95, 115, .1);
    text-align: left;
    white-space: nowrap;
}

.nl-compat-table thead th:first-child {
    width: 60px;
    text-align: center;
}

.nl-compat-table tbody tr {
    border-bottom: 1px solid rgba(31, 95, 115, .07);
    transition: background .15s;
}

.nl-compat-table tbody tr:last-child {
    border-bottom: none;
}

.nl-compat-table tbody td {
    padding: .75rem 1rem;
    color: #334155;
    vertical-align: middle;
    font-size: .875rem;
}

/* ── Row number cell ──────────────────────────────────────── */
.nl-compat-table__num {
    text-align: center;
}

.nl-compat-table__num span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 100px;
    background: #EFF6FF;
    font-size: .72rem;
    font-weight: 700;
    color: #1F5F73;
    line-height: 28px;
}

/* ── Name cell ────────────────────────────────────────────── */
.nl-compat-table__name {
    font-weight: 600;
    color: #0F1729;
}

/* ── Build number cell ────────────────────────────────────── */
.nl-compat-table__build code {
    font-size: .78rem;
    font-weight: 600;
    color: #1F5F73;
    background: #EFF6FF;
    padding: .15rem .5rem;
    border-radius: .4rem;
    border: 1px solid rgba(31, 95, 115, .15);
    font-family: monospace;
}

/* ── Date cell ────────────────────────────────────────────── */
.nl-compat-table__date {
    color: #64748B;
    font-size: .83rem;
}

/* ── Empty state ──────────────────────────────────────────── */
.nl-compat-empty {
    padding: 3.5rem 1.75rem;
    text-align: center;
    color: #64748B;
    font-size: .9rem;
}

.nl-compat-empty i {
    font-size: 2rem;
    color: #1F5F73;
    opacity: .35;
    margin-bottom: .75rem;
    display: block;
}

/* ============================================================
   NICE LEARNING – MOODLE COMPATIBILITY PAGE
============================================================ */


/* ============================================================
   NICE LEARNING – SCREENSHOT SHOWCASE
============================================================ */

.nl-showcase {
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: 1.25rem;
    overflow: hidden;
}

/* ── Header ───────────────────────────────────────────────── */
.nl-showcase__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid rgba(31, 95, 115, .08);
    background: #f8faff;
}

.nl-showcase__heading {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .88rem;
    font-weight: 700;
    color: #0F1729;
    margin: 0;
}

.nl-showcase__heading i {
    color: #1F5F73;
}

.nl-showcase__counter {
    font-size: .78rem;
    font-weight: 600;
    color: #64748B;
}

.nl-showcase__counter span {
    color: #1F5F73;
    font-weight: 700;
}

/* ── Featured viewer ──────────────────────────────────────── */
.nl-showcase__viewer {
    position: relative;
    background: #0F1729;
    overflow: hidden;
    cursor: zoom-in;
}

.nl-showcase__viewer-inner {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.nl-showcase__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
    overflow-y: auto;
    scrollbar-width: none;
}

.nl-showcase__slide::-webkit-scrollbar { display: none; }

.nl-showcase__slide--active {
    opacity: 1;
}

.nl-showcase__slide img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
}

/* ── Viewer nav arrows ────────────────────────────────────── */
.nl-showcase__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #979595;
    border: 1.5px solid rgba(255, 255, 255, .2);
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    backdrop-filter: blur(4px);
}

.nl-showcase__arrow:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .4);
}

.nl-showcase__arrow--prev { left: 1rem; }
.nl-showcase__arrow--next { right: 1rem; }

/* ── Label bar ────────────────────────────────────────────── */
.nl-showcase__label-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 2rem 1.25rem .85rem;
    background: linear-gradient(to top, rgba(15, 23, 41, .85) 0%, transparent 100%);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nl-showcase__label {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .01em;
}

.nl-showcase__zoom-hint {
    margin-left: auto;
    font-size: .72rem;
    color: rgba(255, 255, 255, .45);
    display: flex;
    align-items: center;
    gap: .3rem;
}

/* ── Thumbnail strip ──────────────────────────────────────── */
.nl-showcase__strip {
    display: flex;
    gap: .6rem;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    border-top: 1px solid rgba(31, 95, 115, .08);
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 95, 115, .2) transparent;
}

.nl-showcase__strip::-webkit-scrollbar {
    height: 4px;
}

.nl-showcase__strip::-webkit-scrollbar-track {
    background: transparent;
}

.nl-showcase__strip::-webkit-scrollbar-thumb {
    background: rgba(31, 95, 115, .2);
    border-radius: 100px;
}

.nl-showcase__thumb {
    flex-shrink: 0;
    width: 110px;
    border-radius: .65rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s, opacity .2s;
    opacity: .55;
    background: #f1f5f9;
}

.nl-showcase__thumb:hover {
    opacity: .85;
    border-color: rgba(31, 95, 115, .3);
}

.nl-showcase__thumb--active {
    opacity: 1;
    border-color: #1F5F73;
}

.nl-showcase__thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.nl-showcase__thumb-label {
    padding: .3rem .5rem;
    font-size: .65rem;
    font-weight: 600;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #f8faff;
}

/* ── Lightbox ─────────────────────────────────────────────── */
.nl-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 41, .96);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.nl-lightbox--open {
    display: flex;
}

.nl-lightbox__inner {
    position: relative;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.15) transparent;
}

.nl-lightbox__inner::-webkit-scrollbar { width: 4px; }
.nl-lightbox__inner::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.15);
    border-radius: 100px;
}

.nl-lightbox__inner img {
    width: 100%;
    display: block;
    border-radius: 1rem;
}

.nl-lightbox__close {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .2);
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    z-index: 10;
}

.nl-lightbox__close:hover {
    background: rgba(255, 255, 255, .2);
}

.nl-lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .2);
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.nl-lightbox__nav:hover { background: rgba(255,255,255,.2); }
.nl-lightbox__nav--prev { left: 1rem; }
.nl-lightbox__nav--next { right: 1rem; }

.nl-lightbox__label {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    background: rgba(15, 23, 41, .6);
    padding: .4rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.nl-showcase-p {
    font-size: .95rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .nl-showcase__viewer-inner { height: 320px; }
    .nl-showcase__arrow { display: none; }
    .nl-showcase__thumb { width: 88px; }
    .nl-showcase__thumb img { height: 56px; }
    .nl-showcase__header { padding: .85rem 1.1rem; }
    .nl-showcase__strip { padding: .85rem 1rem; }
}

/* ============================================================
   NICE LEARNING – SCREENSHOT SHOWCASE
============================================================ */

/* ============================================================
   FOOTER
============================================================ */

.footer {
    background: #f5f6f7;
    width: 100%;
}

/* ============================================================
   FOOTER
============================================================ */

/* ============================================================
   NICE LEARNING – PREV / NEXT NAVIGATION
============================================================ */

.nl-sidebar-nav-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .85rem;
    background: #f8faff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: 1rem;
}

/* ── Shared base ──────────────────────────────────────────── */
.nl-nav-prev,
.nl-nav-next {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .85rem;
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .12);
    border-radius: .65rem;
    text-decoration: none !important;
    font-size: .82rem;
    font-weight: 600;
    color: #1F5F73;
    transition: border-color .2s, background .2s, color .2s;
    max-width: 45%;
    overflow: hidden;
}

.nl-nav-prev:hover,
.nl-nav-next:hover {
    background: #EFF6FF;
    border-color: rgba(31, 95, 115, .3);
    color: #1F5F73;
    text-decoration: none;
}

/* ── Icon ─────────────────────────────────────────────────── */
.nl-nav-prev i,
.nl-nav-next i {
    font-size: .8rem;
    flex-shrink: 0;
}

/* ── Title ────────────────────────────────────────────────── */
.nl-nav-prev span,
.nl-nav-next span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* If only one exists, push next to the right automatically */
.nl-nav-next:only-child {
    margin-left: auto;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .nl-nav-prev,
    .nl-nav-next { max-width: 48%; font-size: .78rem; }
}

/* ============================================================
   NICE LEARNING – PREV / NEXT NAVIGATION
============================================================ */

/* ============================================================
   NICE LEARNING – BUTTON SYSTEM
============================================================ */

/* ── Base ─────────────────────────────────────────────────── */
.nl-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .85rem;
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .12);
    border-radius: .65rem;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    color: #1F5F73;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
    white-space: nowrap;
}

.nl-btn:hover,
.nl-btn:focus-visible {
    background: #EFF6FF;
    border-color: rgba(31, 95, 115, .3);
    color: #1F5F73;
    text-decoration: none;
    outline: none;
}

.nl-btn:active {
    background: #e0edf8;
    border-color: rgba(31, 95, 115, .4);
}

.nl-btn i {
    font-size: .82rem;
    flex-shrink: 0;
}

/* ── Sizes ────────────────────────────────────────────────── */
.nl-btn--sm {
    padding: .3rem .65rem;
    font-size: .75rem;
    border-radius: .55rem;
}

.nl-btn--sm i {
    font-size: .75rem;
}

.nl-btn--lg {
    padding: .65rem 1.25rem;
    font-size: .92rem;
    border-radius: .85rem;
}

.nl-btn--lg i {
    font-size: .9rem;
}

/* ── Variants ─────────────────────────────────────────────── */

/* Solid primary */
.nl-btn--primary {
    background: #1F5F73;
    border-color: #1F5F73;
    color: #ffffff;
}

.nl-btn--primary:hover,
.nl-btn--primary:focus-visible {
    background: #174f61;
    border-color: #174f61;
    color: #ffffff;
}

.nl-btn--primary:active {
    background: #10404f;
    border-color: #10404f;
}

/* Soft / ghost (default — same as prev/next) */
.nl-btn--soft {
    background: #ffffff;
    border-color: rgba(31, 95, 115, .12);
    color: #1F5F73;
}

.nl-btn--soft:hover {
    background: #EFF6FF;
    border-color: rgba(31, 95, 115, .3);
    color: #1F5F73;
}

/* Muted / secondary */
.nl-btn--muted {
    background: #f8faff;
    border-color: rgba(31, 95, 115, .1);
    color: #64748B;
}

.nl-btn--muted:hover {
    background: #EFF6FF;
    border-color: rgba(31, 95, 115, .25);
    color: #1F5F73;
}

/* Danger */
.nl-btn--danger {
    background: #ffffff;
    border-color: rgba(239, 68, 68, .25);
    color: #dc2626;
}

.nl-btn--danger:hover {
    background: #fef2f2;
    border-color: rgba(239, 68, 68, .4);
    color: #dc2626;
}

/* Success */
.nl-btn--success {
    background: #ffffff;
    border-color: rgba(34, 197, 94, .25);
    color: #16a34a;
}

.nl-btn--success:hover {
    background: #f0fdf4;
    border-color: rgba(34, 197, 94, .4);
    color: #16a34a;
}

/* ── Full width ───────────────────────────────────────────── */
.nl-btn--block {
    width: 100%;
    justify-content: center;
}

/* ── Disabled ─────────────────────────────────────────────── */
.nl-btn:disabled,
.nl-btn--disabled {
    opacity: .45;
    pointer-events: none;
    cursor: not-allowed;
}

/* ── Icon only (square) ───────────────────────────────────── */
.nl-btn--icon {
    padding: .45rem;
    aspect-ratio: 1;
    justify-content: center;
}

.nl-btn--icon.nl-btn--sm { padding: .3rem; }
.nl-btn--icon.nl-btn--lg { padding: .65rem; }

/* ============================================================
   NICE LEARNING – BUTTON SYSTEM
============================================================ */

/* ============================================================
   NICE LEARNING – CONTAINER
============================================================ */
.nl-container {
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: 1.25rem;
    padding: 2rem 2.25rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, .06);
}

.nl-category-brief p {
    font-size: .95rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.nl-container .main-paragraph {
    font-size: .95rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 1rem;
}
/* ============================================================
   NICE LEARNING – CONTAINER
============================================================ */

/* ============================================================
   NICE LEARNING – BLOCKS INDEX PAGE
============================================================ */

.nl-blocks-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ── Category group ───────────────────────────────────────── */
.nl-block-group {}

.nl-block-group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(31, 95, 115, .1);
}

.nl-block-group__title {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .95rem;
    font-weight: 800;
    color: #0F1729;
    text-decoration: none;
    letter-spacing: -.018em;
    transition: color .15s;
}

.nl-block-group__title:hover {
    color: #1F5F73;
    text-decoration: none;
}

.nl-block-group__title-icon {
    width: 34px;
    height: 34px;
    border-radius: .6rem;
    background: #EFF6FF;
    border: 1.5px solid rgba(31, 95, 115, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    color: #1F5F73;
    flex-shrink: 0;
}

.nl-block-group__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 .5rem;
    border-radius: 100px;
    background: #EFF6FF;
    border: 1px solid rgba(31, 95, 115, .18);
    font-size: .72rem;
    font-weight: 700;
    color: #1F5F73;
}

.nl-block-group__view-all {
    font-size: .75rem;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    transition: color .15s;
}

.nl-block-group__view-all:hover {
    color: #1F5F73;
    text-decoration: none;
}

/* ── Block cards grid ─────────────────────────────────────── */
.nl-block-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .65rem;
}

/* ── Single block card ────────────────────────────────────── */
.nl-block-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    background: #ffffff;
    border: 1.5px solid rgba(31, 95, 115, .1);
    border-radius: .9rem;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}

.nl-block-card:hover {
    background: #f8faff;
    border-color: rgba(31, 95, 115, .28);
    text-decoration: none;
}

.nl-block-card__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1F5F73;
    flex-shrink: 0;
    opacity: .45;
    transition: opacity .2s;
}

.nl-block-card:hover .nl-block-card__dot {
    opacity: 1;
}

.nl-block-card__name {
    font-size: .83rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
    transition: color .2s;
}

.nl-block-card:hover .nl-block-card__name {
    color: #1F5F73;
}

/* ── Empty state ──────────────────────────────────────────── */
.nl-blocks-empty {
    background: #f8faff;
    border: 1.5px dashed rgba(31, 95, 115, .2);
    border-radius: 1.25rem;
    padding: 3.5rem 2rem;
    text-align: center;
    color: #64748B;
    font-size: .9rem;
}

.nl-blocks-empty i {
    font-size: 2rem;
    color: #1F5F73;
    opacity: .35;
    margin-bottom: .75rem;
    display: block;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .nl-block-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .nl-block-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   NICE LEARNING – BLOCKS INDEX PAGE
============================================================ */
