/* =========================================
   CURSOS — SISTEMA STREAMING
   ========================================= */

.curso-lista{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:10px;
}

/* ITEM */

.curso-item{
    display:block;
    padding:10px;
    border-radius:12px;
    background:#0b1220;
    border:1px solid rgba(255,255,255,.04);
    text-decoration:none;
    color:white;
    transition:
        transform .2s ease,
        background .2s ease,
        border .2s ease,
        box-shadow .2s ease;
}

.curso-item:hover{
    background:#111827;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,0,0,.35);
}

/* ACTIVO */

.curso-item.active{
    border:1px solid rgba(245,158,11,.6);
    background:rgba(245,158,11,.08);
    box-shadow:0 0 20px rgba(245,158,11,.15);
}

/* CONTENIDO */

.curso-item-inner{
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:space-between;
}

/* THUMB */

.curso-thumb{
    width:110px;
    aspect-ratio:16/9;
    border-radius:8px;
    overflow:hidden;
    flex-shrink:0;
    background:#0b1220;
}

.curso-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease;
}

.curso-item:hover .curso-thumb img{
    transform:scale(1.05);
}

.thumb-empty{
    width:100%;
    height:100%;
    background:#111827;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:.6;
    font-size:10px;
}

/* INFO */

.curso-info{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:4px;
}

.curso-title{
    font-size:12px;
    line-height:1.3;
    font-weight:500;
    color:white;
}

/* BADGE */

.curso-item .am-badge-member{
    margin-left:6px;
}

/* 🔥 PALOMA */

.curso-check{
    width:16px;
    height:16px;
    border-radius:50%;
    background:#3b82f6;
    position:relative;
    margin-left:6px;
    flex-shrink:0;
}

.curso-check::after{
    content:'';
    position:absolute;
    width:4px;
    height:7px;
    border:2px solid white;
    border-top:none;
    border-left:none;
    transform:rotate(45deg);
    top:3px;
    left:5px;
}

/* NAV */

.curso-nav{
    display:flex;
    justify-content:space-between;
    margin-top:15px;
    gap:10px;
}

.curso-nav a{
    flex:1;
    text-align:center;
    font-size:13px;
}

/* MOBILE */

@media (max-width:768px){

    .curso-item{
        padding:8px;
    }

    .curso-item-inner{
        gap:10px;
    }

    .curso-thumb{
        width:90px;
    }

    .curso-title{
        font-size:10px;
    }

}
/* ===== PROGRESO CURSO ===== */

.curso-progress{
    margin-bottom:15px;
}

.curso-progress-bar{
    width:100%;
    height:6px;
    background:rgba(255,255,255,.08);
    border-radius:10px;
    overflow:hidden;
}

.curso-progress-fill{
    height:100%;
    background:#3b82f6;
    width:0;
    transition:width .4s ease;
}

.curso-progress-text{
    font-size:12px;
    margin-top:5px;
    opacity:.7;
}
/* === FIX REAL CURSOS === */

/* === RESIZE CURSOS 25% === */

.am-tutorial-thumb{
    width:200px;
    height:112px;
    border-radius:10px;
    overflow:hidden;
    flex-shrink:0;
    background:#0b1220;
}

.am-tutorial-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/*CARRUCEL VERTICAL*/
.curso-lista{
    max-height:400px;   /* 🔥 ajusta a gusto */
    overflow-y:auto;
    padding-right:5px;
}.curso-lista::-webkit-scrollbar{
    width:6px;
}

.curso-lista::-webkit-scrollbar-thumb{
    background:#1f2937;
    border-radius:10px;
}