.extra-small { font-size: 0.75rem; }

.lesson-video-strip {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.bg-success-soft {
    background-color: #e6f4ea;
    color: #1e7e34;
    font-size: 0.65rem;
    padding: 0.25em 0.6em;
}
.extra-small {
    font-size: 0.75rem;
}
.list-group-item-action:hover {
    background-color: #f8f9fa;
}
.list-group-item:not(:last-child) {
    border-bottom: 1px solid #dee2e6 !important;
}
.lesson-video-card {
    flex: 0 0 220px;
    min-width: 220px;
    scroll-snap-align: start;
    padding: 10px;
    background: transparent;
    transition: transform .2s ease, background .2s ease;
}

.lesson-video-card:hover {
    transform: translateY(-4px);
    background: rgba(0,0,0,0.02);
}

.lesson-video-card.active-item {
    background: rgba(13, 110, 253, 0.05);
}

.lesson-video-card.active-item .ratio {
    border-color: #0d6efd !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15) !important;
}

@media (max-width: 767.98px) {
    .lesson-video-card {
        flex: 0 0 75%;
        min-width: 75%;
    }
}

.list-group-item:last-child {
    border-bottom: 0 !important;
}

.border-dashed {
    border: 2px dashed #dee2e6 !important;
}
.rating-stars {
    gap: 2px;
}

.rating-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-star {
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    color: #d0d5dd;
    transition: color .15s ease, transform .15s ease;
    user-select: none;
    margin: 0;
}

.rating-star:hover {
    transform: scale(1.08);
}

.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-input:checked ~ label {
    color: #f5b301;
}