/* ── Videos: Accordion + Player ─────────────────────────────────── */

.video-curso {
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.video-curso__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f5f5f5;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.video-curso__header:hover {
    background: #eee;
}

.video-curso__arrow {
    font-size: 10px;
    color: #999;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.video-curso__nome {
    flex: 1;
    font-size: 14px;
}

.video-curso__count {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.video-curso__conteudo {
    padding: 0 14px 12px;
}

/* Assunto (nivel 2) */

.video-assunto {
    margin-top: 8px;
}

.video-assunto__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #fafafa;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.video-assunto__header:hover {
    background: #f0f0f0;
}

.video-assunto__arrow {
    font-size: 9px;
    color: #bbb;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.video-assunto__nome {
    flex: 1;
    font-size: 13px;
    color: #444;
}

.video-assunto__count {
    font-size: 11px;
    color: #888;
    white-space: nowrap;
}

.video-assunto__aulas {
    padding-left: 18px;
    margin-top: 4px;
}

/* Aula individual */

.video-aula {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-top: 4px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    background: white;
    transition: all 0.2s;
}

.video-aula:hover {
    background: #f0f7ff;
}

.video-aula--assistida {
    border-left-color: #4CAF50;
    background: #E8F5E9;
}

.video-aula__check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.video-aula__check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4CAF50;
    cursor: pointer;
}

.video-aula__titulo {
    font-size: 13px;
    color: var(--primary-color);
    cursor: pointer;
    flex: 1;
}

.video-aula__titulo:hover {
    text-decoration: underline;
}

.video-aula--assistida .video-aula__titulo {
    color: #2E7D32;
}

/* Player embed container */

.video-player-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Professor: list item */

.video-prof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 4px 12px;
    font-size: 13px;
}

.video-prof-item a {
    font-size: 11px;
    color: var(--primary-color);
}

.video-prof-item button {
    background: #FF6B6B;
    padding: 2px 8px;
    font-size: 11px;
}
