﻿.learning-path-menu-desktop,
.learning-path-menu-mobile,
.learning-path-content {
    border-radius: 4px;
}

.learning-path-menu-mobile {
    padding: 3px;
    margin-bottom: 10px;
}

.learning-path-content {
    padding: 1em;
}

/* ---------- Text hierarchy ---------- */
.lp-text-nav-title {
    color: var(--lp-text-main2);
    font-weight: 500;
    line-height: 1.3;
}

.lp-text-lesson-title {
    color: var(--lp-text-main);
    font-weight: 550;
    line-height: 1.3;
}

.lp-text-lesson-summary {
    color: var(--lp-text-soft);
    font-weight: 400;
    line-height: 1.4;
}

.lp-text-meta {
    color: var(--lp-text-muted);
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

.lp-text-locked {
    color: var(--mud-palette-error);
}

/* ---------- Navigation items ---------- */

.lp-item {
    position: relative;
    border-radius: 4px;
    padding: 12px;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

    .lp-item:hover {
        background-color: rgba(var(--mud-palette-text-primary-rgb), 0.04);
    }

.lp-item-selected {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.08);
    box-shadow: inset 0 0 0 1px rgba(var(--mud-palette-primary-rgb), 0.18);
    border-radius: 4px;
}

    .lp-item-selected::before {
        content: "";
        position: absolute;
        left: 0;
        top: 6px;
        bottom: 6px;
        width: 4px;
        border-radius: 4px;
        background-color: var(--mud-palette-primary);
    }

/* ---------- Progress ---------- */

.lp-progress-text {
    min-width: 40px;
    text-align: right;
}

.lp-progress-bar {
    height: 6px;
}

/* ---------- Sections ---------- */

.lp-section-block {
    gap: 12px;
    margin: 12px 0px 0px 0px;
}

/* ---------- Lesson rows ---------- */

.lp-lesson-button {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 16px;
}

.lp-lesson-row {
    margin: 6px 0px 0px 0px;
    border: 2px solid var(--lp-border-soft);
    border-radius: 4px;
    background: var(--lp-surface-1);
    overflow: hidden;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.lp-lesson-row-clickable {
    cursor: pointer;
}

    .lp-lesson-row-clickable:hover {
        background: var(--lp-surface-2);
        border-color: var(--lp-border-mid);
        box-shadow: 0 0 0 1px color-mix(in srgb, var(--mud-palette-primary) 18%, transparent);
    }

.lp-lesson-row-locked {
    opacity: 0.7;
}