/* BattlePack™ SkillPack — portrait cards 220×391 */

.bp-skillpack-wrap { max-width: 100%; margin: 0 auto; }

/* ── Filter dropdowns — single centered row, always 3 ───────────────────── */
.bp-sp-filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
}

.bp-sp-select {
    flex: 1;
    min-width: 0;
    max-width: 200px;
    padding: 9px 10px;
    background: #fff;
    color: #2c3236;
    border: 1.5px solid #d0d3d7;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    appearance: auto;
    -webkit-appearance: menulist;
    box-sizing: border-box;
}

.bp-sp-select:focus { border-color: #a800ff; }

@media (max-width: 480px) {
    .bp-sp-select { font-size: 12px; padding: 8px 6px; }
}

/* ── Row ─────────────────────────────────────────────────────────────────── */
.bp-sp-row { margin-bottom: 40px; }

.bp-sp-row-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2c3236;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e4e7;
}

/* ── Cards scroll ────────────────────────────────────────────────────────── */
.bp-sp-cards {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #a800ff transparent;
    -webkit-overflow-scrolling: touch;
}

.bp-sp-cards::-webkit-scrollbar { height: 3px; }
.bp-sp-cards::-webkit-scrollbar-thumb { background: #a800ff; border-radius: 2px; }

/* ── Card — 220×391 portrait ─────────────────────────────────────────────── */
.bp-sp-card {
    flex: 0 0 220px;
    width: 220px;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f6f7;
    border: 1px solid #e2e4e7;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}

.bp-sp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.13);
    text-decoration: none;
    color: inherit;
}

.bp-sp-card.bp-sp-locked { opacity: 0.65; cursor: not-allowed; }

.bp-sp-card-img {
    position: relative;
    width: 220px;
    height: 340px;
    background: #2c3236;
    overflow: hidden;
}

.bp-sp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bp-sp-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #2c3236 0%, #495258 60%, #a800ff 100%);
}

.bp-sp-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.bp-sp-card-info {
    padding: 10px 12px;
    height: 51px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.bp-sp-card-title {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bp-sp-card-count {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #a800ff;
}

.bp-sp-row-empty {
    color: #64747d;
    font-size: 14px;
    padding: 16px 0;
}

/* ── Lesson list (course page) ───────────────────────────────────────────── */
.bp-lesson-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    overflow: hidden;
}

.bp-lesson-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    text-decoration: none;
    color: #2c3236;
    border-bottom: 1px solid #f0f1f2;
    transition: background 0.1s;
}

.bp-lesson-item:last-child { border-bottom: none; }
.bp-lesson-item:hover { background: #f9f9fb; text-decoration: none; color: #2c3236; }
.bp-lesson-item.bp-lesson-locked { opacity: 0.6; cursor: not-allowed; }
.bp-lesson-item.bp-lesson-passed .bp-lesson-status { color: #00a32a; }

.bp-lesson-num { font-size: 12px; font-weight: 700; color: #a800ff; min-width: 20px; }
.bp-lesson-title-wrap { flex: 1; }
.bp-lesson-title { font-size: 14px; font-weight: 700; margin: 0 0 2px; }
.bp-lesson-meta { font-size: 11px; color: #64747d; }
.bp-lesson-status { font-size: 16px; flex-shrink: 0; }

.bp-back-link {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    color: #a800ff;
    text-decoration: none;
}

.bp-back-link:hover { text-decoration: underline; }

.bp-quiz-heading {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 36px 0 18px;
    padding-top: 28px;
    border-top: 2px solid #e2e4e7;
}

@media (max-width: 480px) {
    .bp-sp-card     { flex: 0 0 160px; width: 160px; }
    .bp-sp-card-img { width: 160px; height: 247px; }
    .bp-sp-card-info { height: auto; padding: 8px 10px; }
    .bp-sp-filters  { gap: 10px; }
    .bp-sp-filter-item { min-width: 130px; }
}
