
/* =========================================================
   VDO Aula Virtual - Presentación corporativa
   ========================================================= */

.vdo-aula-curso {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 22px;
    color: #263238;
    font-family: inherit;
    line-height: 1.75;
}

.vdo-aula-curso *,
.vdo-aula-curso *::before,
.vdo-aula-curso *::after {
    box-sizing: border-box;
}

.vdo-aula-curso-header {
    margin-bottom: 34px;
    padding: 34px 38px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

.vdo-aula-curso-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #172033;
}

.vdo-aula-curso-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.85;
    text-align: justify;
    color: #4b5563;
}

.vdo-aula-curso-description p {
    margin: 0 0 16px;
}

.vdo-aula-curso-description p:last-child {
    margin-bottom: 0;
}

.vdo-aula-modulo {
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.055);
}

.vdo-aula-modulo > summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    background: #f8fafc;
    color: #172033;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    transition: background .2s ease;
}

.vdo-aula-modulo > summary::-webkit-details-marker {
    display: none;
}

.vdo-aula-modulo > summary::before {
    content: '+';
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8eef5;
    color: #334155;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.vdo-aula-modulo[open] > summary::before {
    content: '−';
}

.vdo-aula-modulo > summary:hover {
    background: #f1f5f9;
}

.vdo-aula-modulo-content {
    padding: 24px;
    border-top: 1px solid #edf0f3;
}

.vdo-aula-leccion {
    margin: 0 0 14px;
    border: 1px solid #e6e9ee;
    border-radius: 11px;
    background: #fff;
    overflow: hidden;
}

.vdo-aula-leccion:last-child {
    margin-bottom: 0;
}

.vdo-aula-leccion > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 19px;
    cursor: pointer;
    list-style: none;
    color: #263449;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.5;
    background: #ffffff;
}

.vdo-aula-leccion > summary::-webkit-details-marker {
    display: none;
}

.vdo-aula-leccion > summary::before {
    content: '›';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease;
}

.vdo-aula-leccion[open] > summary::before {
    transform: rotate(90deg);
}

.vdo-aula-leccion-content {
    padding: 0 22px 24px;
    color: #4b5563;
    font-size: 15.5px;
    line-height: 1.8;
}

.vdo-aula-leccion-description,
.vdo-aula-leccion-content .vdo-aula-leccion-description {
    margin: 0 0 20px;
    text-align: justify;
}

.vdo-aula-leccion-description p,
.vdo-aula-leccion-content p {
    margin: 0 0 14px;
}

.vdo-aula-leccion-content p:last-child {
    margin-bottom: 0;
}

.vdo-video-player-wrap,
.vdo-video-responsive {
    position: relative;
    width: 100%;
    margin: 22px 0 4px;
    overflow: hidden;
    border-radius: 12px;
    background: #0f172a;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

.vdo-video-player {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    background: #0f172a;
}

.vdo-video-responsive {
    aspect-ratio: 16 / 9;
}

.vdo-video-responsive iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vdo-video-aviso {
    margin-top: 20px;
    padding: 15px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .vdo-aula-curso {
        margin: 25px auto;
        padding: 0 14px;
    }

    .vdo-aula-curso-header {
        margin-bottom: 22px;
        padding: 24px 20px;
        border-radius: 13px;
    }

    .vdo-aula-curso-title {
        font-size: 28px;
    }

    .vdo-aula-curso-description {
        font-size: 15px;
        line-height: 1.75;
    }

    .vdo-aula-modulo {
        margin-bottom: 14px;
        border-radius: 11px;
    }

    .vdo-aula-modulo > summary {
        padding: 16px;
        font-size: 17px;
    }

    .vdo-aula-modulo-content {
        padding: 15px;
    }

    .vdo-aula-leccion > summary {
        padding: 14px;
        font-size: 15px;
    }

    .vdo-aula-leccion-content {
        padding: 0 15px 18px;
        font-size: 15px;
    }

    .vdo-aula-leccion-description {
        text-align: left;
    }

    .vdo-video-player-wrap,
    .vdo-video-responsive {
        margin-top: 17px;
        border-radius: 9px;
    }
}


/* =========================================================
   VDO Aula Virtual - Etapa 7: progreso del estudiante
   ========================================================= */

.vdo-aula-progreso {
    margin-top: 28px;
    padding: 20px 22px;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: #f8fafc;
}

.vdo-aula-progreso-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.vdo-aula-progreso-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    font-weight: 700;
}

.vdo-aula-progreso-text {
    display: block;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.5;
}

.vdo-aula-progreso-percent {
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.vdo-aula-progreso-bar {
    width: 100%;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.vdo-aula-progreso-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #334155;
    transition: width .35s ease;
}

.vdo-aula-leccion-body {
    padding-top: 2px;
}

.vdo-aula-leccion-accion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #f8fafc;
}

.vdo-aula-completar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

.vdo-aula-completar-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #334155;
}

.vdo-aula-estado-leccion {
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
}

.vdo-aula-estado-leccion.is-completada {
    color: #334155;
}

.vdo-aula-progreso-login {
    margin-top: 24px;
    padding: 14px 17px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .vdo-aula-progreso {
        padding: 17px;
        margin-top: 22px;
    }

    .vdo-aula-progreso-top {
        gap: 12px;
    }

    .vdo-aula-progreso-text {
        font-size: 14px;
    }

    .vdo-aula-progreso-percent {
        font-size: 19px;
    }

    .vdo-aula-leccion-accion {
        align-items: flex-start;
        flex-direction: column;
    }

    .vdo-aula-estado-leccion {
        margin-left: 28px;
    }
}


/* =========================================================
   VDO Aula Virtual - Etapa 8: acceso WooCommerce
   ========================================================= */

.vdo-aula-acceso {
    max-width: 680px;
    margin: 45px auto;
    padding: 38px 34px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .07);
}

.vdo-aula-acceso-icono {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 22px;
}

.vdo-aula-acceso h3 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 25px;
    line-height: 1.3;
}

.vdo-aula-acceso p {
    margin: 0 auto 14px;
    max-width: 560px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}

.vdo-aula-acceso-producto {
    margin-top: 18px !important;
    color: #334155 !important;
}

.vdo-aula-acceso-botones {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.vdo-aula-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 21px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    transition: opacity .2s ease, transform .2s ease;
}

.vdo-aula-boton:hover {
    transform: translateY(-1px);
    opacity: .9;
}

.vdo-aula-boton-principal {
    background: #334155;
    color: #fff !important;
}

.vdo-aula-boton-secundario {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155 !important;
}

@media (max-width: 767px) {
    .vdo-aula-acceso {
        margin: 28px 0;
        padding: 28px 20px;
    }

    .vdo-aula-acceso h3 {
        font-size: 22px;
    }

    .vdo-aula-acceso-botones {
        flex-direction: column;
    }

    .vdo-aula-boton {
        width: 100%;
    }
}


/* =========================================================
   VDO Aula Virtual - Etapa 9: Mis cursos
   ========================================================= */

.vdo-aula-mis-cursos {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 22px;
}

.vdo-aula-mis-cursos-header {
    margin-bottom: 28px;
}

.vdo-aula-mis-cursos-header h2 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 32px;
    line-height: 1.25;
}

.vdo-aula-mis-cursos-header p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.vdo-aula-cursos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.vdo-aula-curso-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .06);
}

.vdo-aula-curso-card-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
    text-decoration: none !important;
}

.vdo-aula-curso-card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vdo-aula-curso-card-sin-imagen span {
    color: #64748b;
    font-weight: 700;
}

.vdo-aula-curso-card-contenido {
    padding: 21px;
}

.vdo-aula-curso-card-contenido h3 {
    margin: 0 0 18px;
    color: #172033;
    font-size: 19px;
    line-height: 1.4;
}

.vdo-aula-curso-card-progreso {
    margin-bottom: 20px;
}

.vdo-aula-curso-card-progreso-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 13px;
}

.vdo-aula-curso-card-progreso-top strong {
    color: #334155;
}

.vdo-aula-curso-card-barra {
    height: 8px;
    margin-bottom: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.vdo-aula-curso-card-barra span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #334155;
}

.vdo-aula-curso-card-progreso small {
    color: #94a3b8;
    font-size: 12px;
}

.vdo-aula-curso-card-boton {
    width: 100%;
}

.vdo-aula-mis-cursos-vacio,
.vdo-aula-mis-cursos-login {
    max-width: 680px;
    margin: 30px auto;
    padding: 34px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .05);
}

.vdo-aula-mis-cursos-vacio h3,
.vdo-aula-mis-cursos-login h3 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 22px;
}

.vdo-aula-mis-cursos-vacio p,
.vdo-aula-mis-cursos-login p {
    margin: 0 0 20px;
    color: #64748b;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .vdo-aula-cursos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .vdo-aula-mis-cursos {
        margin: 25px auto;
        padding: 0 14px;
    }

    .vdo-aula-cursos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vdo-aula-mis-cursos-header h2 {
        font-size: 27px;
    }

    .vdo-aula-mis-cursos-vacio,
    .vdo-aula-mis-cursos-login {
        padding: 27px 20px;
    }
}


/* =========================================================
   VDO Aula Virtual - Etapa 10: Certificados
   ========================================================= */

.vdo-aula-certificado-disponible,
.vdo-aula-certificado-pendiente,
.vdo-aula-certificados-login {
    margin: 28px auto;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .05);
}

.vdo-aula-certificado-disponible strong,
.vdo-aula-certificado-pendiente strong {
    display: block;
    margin-bottom: 8px;
    color: #172033;
    font-size: 20px;
}

.vdo-aula-certificado-disponible p,
.vdo-aula-certificado-pendiente p,
.vdo-aula-certificados-login p {
    color: #64748b;
}

.vdo-aula-mis-certificados {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 22px;
}

.vdo-aula-mis-certificados-header h2 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 32px;
}

.vdo-aula-mis-certificados-header p {
    color: #64748b;
    margin-bottom: 28px;
}

.vdo-aula-certificados-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.vdo-aula-certificado-card {
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .06);
}

.vdo-aula-certificado-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #172033;
    font-weight: 800;
}

.vdo-aula-certificado-card h3 {
    margin: 0 0 15px;
    color: #172033;
    font-size: 19px;
}

.vdo-aula-certificado-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.vdo-aula-certificado-card .vdo-aula-boton {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .vdo-aula-certificados-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .vdo-aula-mis-certificados {
        margin: 25px auto;
        padding: 0 14px;
    }

    .vdo-aula-certificados-grid {
        grid-template-columns: 1fr;
    }
}


/* Etapa 10 revisada: certificados dentro de Mi cuenta */
.woocommerce-account .vdo-aula-mis-certificados {
    max-width: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .vdo-aula-mis-certificados-header h2 {
    font-size: 28px;
}

.woocommerce-account .vdo-aula-certificados-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
    .woocommerce-account .vdo-aula-certificados-grid {
        grid-template-columns: 1fr;
    }
}


/* Etapa 10 - Ajuste visual del contenido desplegable */
.vdo-aula-modulo-contenido,
.vdo-aula-leccion-contenido {
    padding: 24px 28px;
}

.vdo-aula-modulo-contenido p,
.vdo-aula-leccion-contenido p,
.vdo-aula-clase p,
.vdo-aula-clase li {
    line-height: 2;
}

.vdo-aula-leccion-contenido {
    margin-top: 4px;
}

.vdo-aula-leccion-contenido > *:first-child {
    margin-top: 0;
}

.vdo-aula-leccion-contenido > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .vdo-aula-modulo-contenido,
    .vdo-aula-leccion-contenido {
        padding: 20px 18px;
    }
}


/* Etapa 11 - Verificación pública de certificados */
.vdo-verificacion-certificado {
    max-width: 820px;
    margin: 40px auto;
}

.vdo-verificacion-card {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.vdo-verificacion-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf7ef;
    color: #198754;
    font-size: 28px;
    font-weight: 700;
}

.vdo-verificacion-card h2 {
    margin: 0 0 10px;
    text-align: center;
}

.vdo-verificacion-intro {
    margin: 0 0 26px;
    text-align: center;
    line-height: 2;
}

.vdo-verificacion-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.vdo-verificacion-form-row {
    display: flex;
    gap: 12px;
}

.vdo-verificacion-form-row input {
    flex: 1;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    font-size: 16px;
}

.vdo-verificacion-form-row button {
    min-height: 48px;
    padding: 10px 22px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.vdo-verificacion-resultado {
    margin-top: 28px;
    padding: 24px;
    border-radius: 12px;
    line-height: 2;
}

.vdo-verificacion-valido {
    background: #f1fbf5;
    border: 1px solid #bfe7cd;
}

.vdo-verificacion-invalido {
    background: #fff7f7;
    border: 1px solid #f0c7c7;
}

.vdo-verificacion-resultado-titulo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.vdo-verificacion-datos > div {
    padding: 5px 0;
}

@media (max-width: 600px) {
    .vdo-verificacion-card {
        padding: 24px 18px;
    }

    .vdo-verificacion-form-row {
        flex-direction: column;
    }

    .vdo-verificacion-form-row button {
        width: 100%;
    }
}

/* Etapa 13 - Inicio de sesión interno del aula */
.vdo-aula-login-wrap {
    max-width: 560px;
    margin: 40px auto;
}

.vdo-aula-login-card {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 38px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.vdo-aula-login-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    font-size: 25px;
}

.vdo-aula-login-card h2 {
    margin: 0 0 10px;
    text-align: center;
}

.vdo-aula-login-intro {
    margin: 0 0 26px;
    text-align: center;
    line-height: 1.8;
}

.vdo-aula-login-form p {
    margin: 0 0 18px;
}

.vdo-aula-login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.vdo-aula-login-form input[type="text"],
.vdo-aula-login-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.vdo-aula-login-recordar label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

.vdo-aula-login-recordar input {
    margin: 0;
}

.vdo-aula-login-submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    cursor: pointer;
}

.vdo-aula-login-error {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff4f4;
    border: 1px solid #efc7c7;
    color: #a12626;
    line-height: 1.7;
}

.vdo-aula-login-links {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf0f3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    line-height: 1.7;
}

.vdo-aula-login-ya {
    max-width: 560px;
    margin: 40px auto;
    text-align: center;
}

.vdo-aula-login-ya p {
    line-height: 1.8;
}

.vdo-aula-login-cerrar {
    display: inline-block;
    margin-left: 10px;
}

@media (max-width: 600px) {
    .vdo-aula-login-wrap {
        margin: 24px auto;
    }

    .vdo-aula-login-card {
        padding: 26px 20px;
    }

    .vdo-aula-login-cerrar {
        display: block;
        margin: 12px 0 0;
    }
}

/* Etapa 14 - Registro interno */
.vdo-aula-registro-wrap { max-width: 760px; margin: 40px auto; }
.vdo-aula-registro-card { background:#fff; border:1px solid #e6e9ee; border-radius:16px; padding:32px; box-shadow:0 8px 30px rgba(0,0,0,.06); }
.vdo-aula-registro-card h2 { margin:0 0 10px; }
.vdo-aula-registro-intro { margin-bottom:28px; line-height:1.8; }
.vdo-aula-registro-form label { display:block; font-weight:600; margin-bottom:7px; }
.vdo-aula-registro-form input[type=text], .vdo-aula-registro-form input[type=email], .vdo-aula-registro-form input[type=tel], .vdo-aula-registro-form input[type=password], .vdo-aula-registro-form textarea { width:100%; box-sizing:border-box; padding:12px 14px; border:1px solid #d9dee7; border-radius:8px; background:#fff; }
.vdo-aula-registro-form p { margin:0 0 18px; }
.vdo-aula-registro-seccion { background:#f7f9fc; border:1px solid #e7ebf0; border-radius:10px; padding:20px; margin:24px 0; }
.vdo-aula-registro-seccion h3 { margin:0 0 10px; }
.vdo-aula-registro-seccion .vdo-radio { display:inline-flex; align-items:center; margin-right:20px; font-weight:500; }
.vdo-aula-registro-seccion input[type=radio] { margin-right:7px; }
.vdo-aula-checkbox { line-height:1.7; }
.vdo-aula-checkbox label { font-weight:400; }
.vdo-aula-checkbox input { margin-right:7px; }
.vdo-aula-mi-cuenta-extra { margin-top:30px; padding:20px; border:1px solid #e7ebf0; border-radius:10px; }
.vdo-aula-mi-cuenta-extra legend { font-weight:700; padding:0 8px; }
.vdo-aula-account-radio label { display:inline-block; margin-right:18px; font-weight:400; }
@media (max-width:600px) { .vdo-aula-registro-card { padding:22px 18px; } .vdo-aula-registro-wrap { margin:25px auto; } }

/* Etapa 15.1 - Catálogo de cursos gratuitos
   Usa el mismo diseño de tarjetas de "Mis cursos".
*/
.vdo-aula-catalogo {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 22px;
}

.vdo-aula-catalogo .vdo-aula-mis-cursos-header {
    margin-bottom: 28px;
}

.vdo-aula-catalogo-descripcion {
    margin: 0 0 20px;
    color: #64748b;
    line-height: 1.7;
    min-height: 48px;
}

.vdo-aula-catalogo .vdo-aula-curso-card-boton {
    width: 100%;
}

.vdo-aula-catalogo-login {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
}

.vdo-aula-catalogo-ok {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.vdo-aula-catalogo .vdo-aula-mis-cursos-vacio {
    max-width: 680px;
    margin: 30px auto;
    padding: 34px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .05);
}

@media (max-width: 900px) {
    .vdo-aula-catalogo {
        margin: 30px auto;
    }
}

@media (max-width: 600px) {
    .vdo-aula-catalogo {
        margin: 25px auto;
        padding: 0 14px;
    }

    .vdo-aula-catalogo-descripcion {
        min-height: 0;
    }
}



/* Etapa 15.5 - Botón de matrícula configurable */
.vdo-aula-boton-matricula-wrap {
    width: 100%;
    margin: 18px 0;
}

.vdo-aula-boton-matricula {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    cursor: pointer;
    border: 0;
    font-weight: 600;
    line-height: 1.4;
    background: var(--vdo-aula-boton-color, #2271b1);
    color: #fff !important;
    transition: opacity .2s ease, transform .2s ease;
}

.vdo-aula-boton-matricula:hover {
    opacity: .9;
    color: #fff !important;
}

.vdo-aula-boton-icono {
    font-size: 18px;
    line-height: 1;
    flex: 0 0 auto;
}
