/* Estilos básicos del módulo E-learning - reutiliza tokens spt- */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    color: inherit;
}
.spt-elearning {
    margin: 0 auto;
    padding: 0 2.5rem 4rem;
    max-width: 1320px;
}

.spt-elearning.spt-course-catalog {
    padding-bottom: 2.5rem;
}

.spt-elearning:first-child {
    margin-top: 0;
    padding-top: 0;
}

.entry-content > .spt-elearning:first-child {
    margin-top: 0;
    padding-top: 0;
}


.single-spt_course .entry-content,
.single-spt_course .entry-content > .wp-block-group,
.single-spt_course .entry-content > .wp-block-group > .wp-block-group__inner-container,
.single-spt_course .entry-content > .wp-block-group > .spt-elearning,
.single-spt_course .entry-content > .wp-block-group > .wp-block-group__inner-container > .spt-elearning {
    margin-top: 0;
    margin-block-start: 0;
    padding-top: 0;
    padding-block-start: 0;
}

.spt-elearning.spt-course {
    margin-top: 0;
    padding-top: 1.5rem;
}

.spt-elearning.spt-course-study {
    margin-top: 0;
    padding-top: 0;
}

.spt-elearning.spt-course:first-child,
.entry-content > .spt-elearning.spt-course:first-child {
    padding-top: 0;
}

.entry-content > .spt-elearning.spt-course-study:first-child,
.spt-elearning.spt-course-study:first-child {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
    padding-block-start: 0 !important;
}



.spt-catalog__header {
    margin: 0 0 1.75rem;
}

.spt-catalog__header .spt-intro {
    color: var(--spt-ink-2);
    margin: .75rem 0 0;
    max-width: 980px;
}

.spt-grid--courses {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.spt-grid--courses.has-single {
    grid-template-columns: minmax(0, 1fr);
}

.spt-course-card {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    padding: clamp(1rem, 2.5vw, 1.75rem);
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.spt-course-card.is-active {
    border-color: rgba(94, 106, 255, 0.25);
    transform: translateY(-4px);
}

.spt-course-card .spt-card__body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1.25rem);
}

.spt-course-card__media {
    position: relative;
    overflow: hidden;
    border-radius: var(--spt-radius-lg, 16px);
    background: var(--spt-soft-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    height: 100%;
}

.spt-course-card__media img,
.spt-course-card__media picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spt-course-card__media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--spt-muted);
    font-size: 2.5rem;
}

.spt-course-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.spt-course-card__excerpt {
    margin: 0;
    color: var(--spt-ink-2);
    line-height: 1.6;
}

.spt-course-card__stats {
    list-style: disc;
    margin: 0;
    padding: 0 0 0 1.1rem;
    display: block;
    color: var(--spt-text);
    list-style-position: inside;
}

.spt-course-card__stat {
    display: list-item;
    background: none;
    border-radius: 0;
    padding: 0;
    margin: 0.25rem 0;
}

.spt-course-card__stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--spt-text);
    letter-spacing: normal;
    text-transform: none;
    margin-right: 0.25rem;
}

.spt-course-card__stat-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--spt-text);
}

.spt-course-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: auto;
}

.spt-course-card__actions .spt-btn {
    flex: 0 0 auto;
    min-width: 160px;
    text-align: center;
}

.spt-course-card .spt-toast-container {
    margin-top: 1rem;
}

.spt-course-card .spt-toast {
    position: static;
    box-shadow: none;
}

@media (min-width: 960px) {
    .spt-grid--courses {
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    }
}

@media (max-width: 900px) {
    .spt-course-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .spt-course-card__media {
        min-height: 200px;
    }
}

@media (max-width: 640px) {
    .spt-course-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .spt-course-card__actions .spt-btn {
        width: 100%;
    }
}

.spt-catalog__course-view {
    margin: 0 auto 2.5rem;
    max-width: 980px;
}

.spt-course-catalog.is-detail .spt-catalog__course-view {
    margin: 0;
    max-width: none;
    padding: 0;
}

.spt-catalog__back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: 1.25rem;
}

.spt-course__breadcrumbs {
    margin: 0 0 1.5rem;
    font-size: .9rem;
    color: var(--spt-ink-2, #334155);
}

.spt-course__breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.spt-course__breadcrumbs li {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
}

.spt-course__breadcrumbs li + li::before {
    content: '›';
    color: var(--spt-border-strong, #cbd5e1);
    font-weight: 600;
}

.spt-course__breadcrumbs a {
    color: var(--spt-primary);
    font-weight: 600;
    text-decoration: none;
}

.spt-course__breadcrumbs a:hover {
    text-decoration: underline;
}

.spt-course__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
    padding: 0;
    margin-bottom: 2rem;
}

.spt-course__header-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spt-course__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    color: var(--spt-text);
}

.spt-course__summary {
    margin: 0;
    font-size: 1.05rem;
    color: var(--spt-ink-2);
    line-height: 1.6;
}


.spt-course__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.spt-course__meta li {
    padding: 0;
    font-size: .95rem;
    font-weight: 500;
    color: var(--spt-ink-2);
}


.spt-course__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2.5rem;
}

.spt-course__actions .spt-progress {
    flex: 1 1 220px;
    max-width: 360px;
}

.spt-course__signin {
    margin: 0;
    color: var(--spt-ink-2);
    font-size: .95rem;
}

.spt-course__media {
    border-radius: var(--spt-radius-lg, 16px);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .1);
    background: var(--spt-soft-bg);
}

.spt-course__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spt-course__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
}

.spt-course__main {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 4vw, 3.5rem);
}

.spt-course__description {
    color: var(--spt-ink-2);
    line-height: 1.75;
}

.spt-course__description > *:first-child {
    margin-top: 0;
}

.spt-course__curriculum {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.spt-course__section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--spt-border);
}

.spt-course__section-heading h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--spt-text);
}

.spt-course__section-heading p {
    margin: .35rem 0 0;
    color: var(--spt-ink-2);
}

.spt-course__curriculum-actions {
    display: flex;
    gap: .5rem;
}

.spt-course__curriculum-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--spt-primary);
    text-decoration: none;
    padding: .25rem .1rem;
}

.spt-course__curriculum-link:hover,
.spt-course__curriculum-link:focus {
    text-decoration: underline;
}

.spt-course__curriculum-link:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.spt-course__curriculum-link + .spt-course__curriculum-link {
    margin-left: .25rem;
}

.spt-course__plan-message {
    width: 100%;
}

.spt-course__plan-message .spt-upgrade-notice {
    margin: 0;
}

.spt-course__plan-message-text {
    margin: .5rem 0 0;
    color: var(--spt-ink-2);
    font-weight: 500;
}

.spt-course-outline {
    display: flex;
    flex-direction: column;
    gap: calc(1.25rem / 3);
}

.spt-outline-module {
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    overflow: hidden;
}

.spt-outline-module[data-open="true"] {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.spt-outline-module__header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: inherit;
    font: inherit;
    border-radius: inherit;
    transition: background-color .2s ease;
}

.spt-outline-module__header:hover {
    background: transparent;
}

.spt-outline-module[data-open="true"] .spt-outline-module__header {
    background: transparent;
}

.spt-outline-module__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--spt-text, #0f172a);
    flex: 1 1 auto;
    text-align: left;
    min-width: 0;
}

.spt-outline-module__meta {
    color: var(--spt-ink-2, #475569);
    font-size: .9rem;
    font-weight: 500;
    flex-shrink: 0;
}

.spt-outline-module__chevron {
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 999px;
    flex-shrink: 0;
    position: relative;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
    background: #fff;
}

.spt-outline-module__chevron::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--spt-ink-2, #475569);
    border-bottom: 2px solid var(--spt-ink-2, #475569);
    transform: translate(-50%, -60%) rotate(45deg);
}

.spt-outline-module[data-open="true"] .spt-outline-module__chevron {
    transform: rotate(180deg);
}

.spt-outline-module__body {
    padding: 0 1.5rem 1.5rem;
    background: #fff;
}

.spt-outline-module__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.spt-outline-item {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.spt-outline-item:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.spt-outline-item.is-active {
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
    background: #fff;
}

.spt-outline-item.is-active .spt-outline-item__icon,
.spt-outline-item.is-active .spt-outline-item__chevron {
    color: #15803d;
}

.spt-outline-item.is-active .spt-outline-item__icon {
    background: rgba(34, 197, 94, 0.18);
}


.spt-outline-item__open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: .85rem 1rem;
    background: none;
    border: none;
    border-radius: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.spt-outline-item__open:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.spt-outline-item__open[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
}

.spt-outline-item__info {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.spt-outline-item__icon {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--spt-ink-1, #0f172a);
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.spt-outline-item__text {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.spt-outline-item__title {
    display: block;
    font-weight: 600;
    color: var(--spt-text, #0f172a);
    font-size: .95rem;
}

.spt-outline-item__type {
    display: block;
    font-size: .75rem;
    color: var(--spt-ink-2, #64748b);
    text-transform: capitalize;
}

.spt-outline-item__chevron {
    font-size: 1.25rem;
    color: #94a3b8;
    transition: transform .2s ease, color .2s ease;
}

.spt-outline-item:hover .spt-outline-item__chevron {
    color: #1d4ed8;
    transform: translateX(3px);
}

.spt-outline-item__lock {
    margin: 0 1rem 1rem;
    color: #b91c1c;
    font-size: .75rem;
}


.spt-outline-item[data-status="done"] {
    border-color: rgba(34, 197, 94, 0.45);
    background: #fff;
}

.spt-outline-item[data-status="done"] .spt-outline-item__icon {
    background: rgba(34, 197, 94, 0.18);
    color: #15803d;
}

.spt-outline-item[data-status="done"] .spt-outline-item__icon::after {
    content: 'check';
    font-family: 'Material Symbols Outlined', sans-serif;
    font-size: .95rem;
    line-height: 1;
    position: absolute;
    bottom: -0.2rem;
    right: -0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background: #fff;
    color: #15803d;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spt-outline-item[data-status="done"] .spt-outline-item__chevron {
    color: #15803d;
}

.spt-outline-item[data-status="locked"] {
    border-color: rgba(239, 68, 68, 0.35);
    background: #fff;
}

.spt-outline-item[data-status="locked"] .spt-outline-item__icon {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
}

.spt-outline-item[data-status="locked"] .spt-outline-item__icon::after {
    content: 'lock';
    font-family: 'Material Symbols Outlined', sans-serif;
    font-size: .9rem;
    line-height: 1;
    position: absolute;
    bottom: -0.2rem;
    right: -0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background: #fff;
    color: #b91c1c;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spt-outline-item[data-status="locked"] .spt-outline-item__chevron {
    color: #cbd5e1;
}

.spt-course__viewer {
    border: 1px solid var(--spt-border);
    border-radius: var(--spt-radius-lg, 16px);
    padding: 1.75rem;
    background: var(--spt-bg);
    box-shadow: 0 18px 30px rgba(15, 23, 42, .08);
}

.spt-course-viewer__body {
    display: grid;
    gap: 1.25rem;
}

.spt-course-viewer__body iframe {
    width: 100%;
    min-height: 360px;
    border: none;
    border-radius: .65rem;
}

.spt-certificate-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spt-certificate-view__header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--spt-text, #0f172a);
}

.spt-certificate-view__header p {
    margin: 0.35rem 0 0;
    color: var(--spt-ink-2, #475569);
    font-size: 1rem;
}

.spt-certificate-view__preview {
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 0.75rem;
    background: #fff;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.spt-certificate-view__preview iframe {
    width: 100%;
    height: clamp(420px, 65vh, 720px);
    border: 0;
}

.spt-certificate-view__preview p {
    margin: 0;
    padding: 2rem;
    text-align: center;
    color: var(--spt-ink-2, #475569);
}

.spt-certificate-view__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;






    justify-content: center;
    align-items: center;
}

.spt-certificate-view__download {
    min-width: clamp(200px, 40%, 280px);








}

.spt-course-viewer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.spt-course__viewer[data-current-type="spt_quiz"] .spt-course-viewer__footer {
    display: none;
}

.spt-course-viewer__nav {
    display: flex;
    gap: .75rem;
    margin-left: auto;
    flex-wrap: wrap;
}

.spt-course-viewer__nav-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1d4ed8;
    padding: .55rem 1rem;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.spt-course-viewer__nav-btn:hover,
.spt-course-viewer__nav-btn:focus-visible {
    background: #eff6ff;
    border-color: #1d4ed8;
    color: #1d4ed8;
}

.spt-course-viewer__nav-btn[disabled] {
    cursor: default;
    opacity: .5;
    color: #64748b;
    border-color: #e2e8f0;
    background: #f8fafc;
}

.spt-course__sidebar {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.spt-course-progress-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.spt-course-progress-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--spt-text);
}

.spt-course-progress__empty {
    margin: 0 0 1.25rem;
    color: var(--spt-ink-2);
}

.spt-course-progress__stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spt-course-progress__stats li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .95rem;
    color: var(--spt-ink-2);
}

.spt-course-progress__stats strong {
    color: var(--spt-text);
    font-weight: 700;
}

@media (max-width: 1200px) {
    .spt-elearning {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .spt-course__header {
        grid-template-columns: 1fr;
    }

    .spt-course__content {
        grid-template-columns: 1fr;
    }

    .spt-course__media {
        max-width: 360px;
        justify-self: start;
    }

    .spt-course__sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .spt-course__header {
        padding: 0;
    }

    .spt-course__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .spt-course-viewer__footer {
        align-items: stretch;
    }

    .spt-course-viewer__nav {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }

    .spt-course-viewer__nav-btn {
        flex: 1 1 48%;
        text-align: center;
    }

    .spt-course__curriculum,
    .spt-course__description {
        padding: 0;
    }

    .spt-course__curriculum-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.spt-toast-container {
    position: relative;
    margin-top: 1.5rem;
}

.spt-toast {
    background: #0f172a;
    color: #fff;
    padding: .85rem 1.2rem;
    border-radius: .75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.spt-toast[data-type="success"] { background: #16a34a; }
.spt-toast[data-type="error"] { background: #dc2626; }
.spt-toast[data-type="warning"] { background: #f97316; }

.spt-toast__close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}

.spt-quiz [hidden] {
    display: none !important;
}

.spt-quiz__intro {
    max-width: 520px;
    margin: 6rem auto 0;
    padding: 3rem 3.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.spt-quiz__intro h2 {
    font-size: clamp(2rem, 2.4vw + 1.4rem, 2.8rem);
    margin: 0;
    color: #0f172a;
    font-weight: 700;
}

.spt-quiz__intro p {
    margin: 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 28ch;
}

.spt-quiz__intro .spt-btn {
    min-width: min(100%, 240px);
    justify-content: center;
    font-size: 1.05rem;
    padding: .95rem 2rem;
}

@media (max-width: 768px) {
    .spt-quiz__intro {
        margin-top: 4rem;
        padding: 2.5rem 2rem;
        gap: 1.1rem;
    }

    .spt-quiz__intro h2 {
        font-size: 2.1rem;
    }

    .spt-quiz__intro p {
        font-size: 1rem;
    }
}

.spt-quiz__form {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spt-quiz__header {
    display: flex;
    justify-content: center;
}

.spt-quiz__header .spt-quiz__progress {
    margin: 0;
}

.spt-quiz__masthead {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.spt-quiz__title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.spt-quiz__subtitle {
    font-size: 1rem;
    color: #475569;
    margin: 0;
}

.spt-quiz__panel {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.spt-quiz__status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #facc15;
    color: #0f172a;
    font-weight: 600;
    border-radius: .875rem;
    padding: 0.9rem 1.25rem;
}

.spt-quiz__status {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.spt-quiz__progress {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0f172a;
    text-align: center;
}

.spt-quiz__timer {
    font-size: .95rem;
    background: rgba(15, 23, 42, .12);
    padding: .35rem .9rem;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

.spt-quiz__finish {
    border-radius: 999px;
    padding-inline: 1.5rem;
}

.spt-quiz__questions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spt-quiz-question__actions {
    display: flex;
    justify-content: flex-end;
}

.spt-quiz-question__actions .spt-btn {
    min-width: 0;
}

.spt-quiz-question__feedback {
    border-radius: .75rem;
    border: 1px solid rgba(15, 23, 42, .12);
    background: #f8fafc;
    color: #0f172a;
    padding: 1rem 1.25rem;
    font-weight: 500;
}

.spt-quiz-question.is-correct .spt-quiz-question__feedback {
    border-color: #86efac;
    background: #dcfce7;
    color: #166534;
}

.spt-quiz-question.is-incorrect .spt-quiz-question__feedback {
    border-color: #fca5a5;
    background: #fee2e2;
    color: #b91c1c;
}

.spt-quiz-question[hidden] {
    display: none !important;
}

.spt-quiz-question {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.spt-quiz-question__header {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.spt-quiz-question__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--spt-primary, #2563eb);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
}

.spt-quiz-question__title {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #0f172a;
    margin: 0;
}

.spt-quiz-question__content {
    color: #475569;
    font-size: 1rem;
}


.spt-quiz-question__options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}



.spt-quiz-question__options-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.spt-quiz-option {
    border: 1px solid rgba(148, 163, 184, .45);
    border-radius: .95rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.spt-quiz-option input {
    width: 1.15rem;
    height: 1.15rem;
}

.spt-quiz-option__label {
    flex: 1;
}

.spt-quiz-option:hover,
.spt-quiz-option:focus-within {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .18);
}

.spt-quiz-option.is-selected {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, .15);
}

.spt-quiz__footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.spt-quiz__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    min-height: 5.5rem;
}

.spt-quiz__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.spt-quiz__nav-btn {
    border: 1px solid rgba(15, 23, 42, .18);

    background: #fff;
    color: #0f172a;
    font-weight: 600;
    border-radius: 999px;
    padding: .55rem 1.25rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.spt-quiz__nav-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.spt-quiz__pager {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.spt-quiz__pager-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .18);
    background: #fff;
    color: #0f172a;
    font-weight: 600;

    background: #fff;
    color: #0f172a;
    font-weight: 600;
    border-radius: 999px;
    padding: .55rem 1.25rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.spt-quiz__nav-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.spt-quiz__pager {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.spt-quiz__pager-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .18);
    background: #fff;
    color: #0f172a;
    font-weight: 600;

    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.spt-quiz__pager-btn:hover,
.spt-quiz__pager-btn:focus-visible {
    border-color: #f97316;
}

.spt-quiz__pager-btn.is-active,
.spt-quiz__pager-btn[aria-current="true"] {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.spt-quiz__check {
    align-self: flex-start;
    font-size: .95rem;
    font-weight: 600;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.spt-quiz__check::before {
    content: '\2713';
    font-size: 1rem;


}

@media (max-width: 768px) {
    .spt-quiz__panel {
        padding: 1.25rem;
        gap: 1.5rem;
    }

    .spt-quiz__status-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }

    .spt-quiz__finish {
        width: 100%;
    }

    .spt-quiz__nav {
        flex-direction: column;
        gap: .75rem;
    }

}

.spt-quiz__result {
    margin: 0;
    padding: 0;
}

.spt-quiz-result-card {
    max-width: 520px;
    margin: 6rem auto 0;
    padding: 3rem 3.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.spt-quiz-result-card__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.spt-quiz-result-card__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.spt-quiz-result-card--pending .spt-quiz-result-card__icon {
    background: #fef3c7;
    color: #f97316;
}


.spt-quiz-result-card--failed .spt-quiz-result-card__icon {
    background: #fee2e2;
    color: #dc2626;
}



.spt-quiz-result-card--passed .spt-quiz-result-card__icon {
    background: #dcfce7;
    color: #16a34a;
}

.spt-quiz-result-card__eyebrow {
    margin: 0;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
}

.spt-quiz-result-card__title {
    margin: 0;
    font-size: clamp(2rem, 2.4vw + 1.4rem, 2.8rem);
    color: #0f172a;
    font-weight: 700;
}

.spt-quiz-result-card__score {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    display: flex;
    align-items: baseline;
    gap: .35rem;
}

.spt-quiz-result-card__score strong {
    font-size: clamp(2rem, 2.4vw + 1.4rem, 2.75rem);
    font-weight: 700;
    line-height: 1;
}

.spt-quiz-result-card__score span {
    font-size: .95rem;
    color: #475569;
}

.spt-quiz-result-card__description {
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}


.spt-quiz-result-card__actions {
    display: flex;
    justify-content: center;
    margin-top: .5rem;
}



.spt-quiz-result-card__details {
    margin-top: .5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.spt-quiz-result-card__details-title {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
}

.spt-quiz-result__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.spt-quiz-result__item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
}

.spt-quiz-result__item-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.spt-quiz-result__item--correct .spt-quiz-result__item-icon {
    background: #dcfce7;
    color: #16a34a;
}

.spt-quiz-result__item--incorrect .spt-quiz-result__item-icon {
    background: #fee2e2;
    color: #dc2626;
}

.spt-quiz-result__item-text {
    flex: 1 1 auto;
    color: #0f172a;
    font-size: .975rem;
    line-height: 1.5;
}


.spt-quiz-result-card__summary {
    margin: 1rem 0 0;
    text-align: center;
    color: #475569;
    font-size: .975rem;
}



@media (max-width: 768px) {
    .spt-quiz-result-card {
        margin-top: 4rem;
        padding: 2.5rem 2rem;
        gap: 1.25rem;
    }

    .spt-quiz-result-card__score {
        flex-direction: column;
        align-items: center;
    }

    .spt-quiz-result-card__details-title {
        text-align: center;
    }

    .spt-quiz-result__item {
        padding: .875rem 1rem;
    }
}

@media (max-width: 768px) {
    .spt-quiz__panel {
        padding: 1.25rem;
        gap: 1.5rem;
    }

    .spt-quiz__status-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .spt-quiz__status {
        justify-content: space-between;
    }

    .spt-quiz__nav {
        flex-direction: column;
        gap: .75rem;
    }
}

.spt-certificate-card {
    padding: 1.5rem;
}

.spt-verify-form {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.spt-verify-form__controls {
    display: flex;
    gap: .75rem;
}

.spt-lesson__video {
    margin-bottom: 1rem;
}

.spt-lesson__resources {
    margin-top: 1.5rem;
}

.spt-lesson__resources-table-wrapper {
    overflow-x: auto;
}

.spt-lesson__resources-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 320px;
}

.spt-lesson__resources-table th,
.spt-lesson__resources-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    font-size: 0.95rem;
}

.spt-lesson__resources-table thead th {
    background: #f1f5f9;
    font-weight: 600;
    color: #0f172a;
}

.spt-lesson__resources-table tbody tr:hover td {
    background: #f8fafc;
}

.spt-lesson__resources-table-action {
    text-align: center;
    width: 72px;


    width: 56px;


}

.spt-lesson__resource-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #16a34a;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.spt-lesson__resource-download .material-symbols-outlined {
    font-size: 22px;
    line-height: 1;
}

.spt-lesson__resource-download:hover,
.spt-lesson__resource-download:focus {
    background: #bbf7d0;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.25);
}




    color: #1f1f1f;
    text-decoration: none;
    padding: 0.25rem;
}

.spt-lesson__resource-download .material-symbols-outlined {
    font-size: 24px;
    line-height: 1;
}



@media (max-width: 640px) {
    .spt-lesson__resources-table thead {
        display: none;
    }

    .spt-lesson__resources-table tbody tr {
        display: grid;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 1rem;
        background: #fff;
    }

    .spt-lesson__resources-table tbody tr td {
        border: 0;
        padding: 0;
    }

    .spt-lesson__resources-table tbody tr td[data-label]::before {
        content: attr(data-label) ': ';
        display: inline-block;
        font-weight: 600;
        color: #0f172a;
        margin-right: 0.25rem;
    }

    .spt-lesson__resources-table-action {
        text-align: left;
    }
}

.spt-progress--inline {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
    overflow: hidden;
}

.spt-progress--inline .spt-progress-bar {
    height: 100%;
    background: var(--spt-primary, #2563eb);
    border-radius: inherit;
    transition: width 0.25s ease;
}

.spt-progress-label {
    display: block;
    margin-top: .5rem;
    font-size: .8rem;
    color: var(--spt-text-muted, #475569);
}



.spt-course-study.spt-elearning {
    max-width: none;
    padding: 0;
    background: #f8fafc;
}

.spt-course-study__frame {
    --spt-study-radius: 0px;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: #fff;
    border-radius: 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@supports (height: 100dvh) {
    .spt-course-study__frame {
        min-height: 100dvh;
    }
}


.spt-course-study__inner {
    --spt-study-safe-offset: var(--spt-sticky-header-offset, 0px);

    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}

.spt-course-study__topbar {
  /*  position: sticky;
    top: var(--spt-study-safe-offset, 0px); */
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-inline: clamp(1.5rem, 4vw, 2.5rem);
    padding-block: clamp(0.5rem, 1.5vw, 0.75rem);
    background: #1d4ed8;
    color: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.12);
}

.spt-course-study__topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.spt-course-study__menu-toggle {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: inherit;
    border-radius: 6px;
    padding: 0.4rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.spt-course-study__menu-toggle:hover,
.spt-course-study__menu-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.spt-course-study__info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.spt-course-study__title {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 700;
    color: inherit;
}

.spt-course-study__topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.spt-course-study__progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    min-width: 180px;
}

.spt-course-study__progress-items {
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.spt-course-study__progress .spt-progress {
    width: 200px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.spt-course-study__progress .spt-progress-bar {
    background: #fff;
}

.spt-course-study__progress .spt-progress-label {
    margin: 0;
    text-align: right;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
}

.spt-course-study__close {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .9rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.spt-course-study__close::before {
    content: '\00d7';
    font-size: 1rem;
}

.spt-course-study__close:hover,
.spt-course-study__close:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.spt-course-study__layout {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: clamp(260px, 35vw, 420px) minmax(0, 1fr);
    background: #fff;
    overflow: hidden;
}

.spt-course-study__sidebar {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e2e8f0;
    background: #fff;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.spt-course-study__search {
    position: relative;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.spt-course-study__search::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-4.35-4.35m0 0a7.5 7.5 0 10-10.607-10.607 7.5 7.5 0 0010.607 10.607z'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
}

.spt-course-study__search input[type="search"] {
    width: 100%;
    padding: .65rem .95rem .65rem 2.5rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: .95rem;
    color: #1f2937;
    font-weight: 500;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    appearance: none;
}

.spt-course-study__search input[type="search"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
    background: #fff;
}

.spt-course-study__search input[type="search"]::placeholder {
    color: #64748b;
    font-weight: 400;
}

.spt-course-study__search input[type="search"]::-webkit-search-cancel-button,
.spt-course-study__search input[type="search"]::-webkit-search-decoration {
    display: none;
}

.spt-course-study__outline {
    flex: 1 1 auto;
    padding: 1.25rem 1.5rem 2rem;
    background: #fff;
}

.spt-course-study__search-empty {
    margin: 0;
    padding: 1rem 1.5rem 2rem;
    font-size: .9rem;
    color: var(--spt-ink-2, #475569);
}

.spt-course-study__content {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 2rem) clamp(2.5rem, 6vw, 3.75rem) clamp(2.25rem, 5vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.spt-course-study__content .spt-course__viewer {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 0;
}

.spt-course-study__content .spt-course-viewer__body {
    flex: 1 1 auto;
    min-height: 0;
}

.spt-course-study .is-hidden {
    display: none !important;
}

body.spt-course-study-fullscreen {
    margin: 0;
    background: var(--spt-surface-muted, #f8fafc);
    overflow: hidden;
    --spt-admin-bar-offset: 0px;

    --spt-viewport-height: 100vh;
}

@supports (height: 100dvh) {
    body.spt-course-study-fullscreen {
        --spt-viewport-height: 100dvh;
    }

}

body.admin-bar.spt-course-study-fullscreen {
    --spt-admin-bar-offset: var(--wp-admin-bar--height, 32px);



}

body.admin-bar.spt-course-study-fullscreen {
    --spt-admin-bar-offset: 32px;

}

@media (max-width: 782px) {
    body.admin-bar.spt-course-study-fullscreen {
        --spt-admin-bar-offset: 46px;
    }
}

body.spt-course-study-fullscreen .spt-course-study-fullscreen__content {
    margin: 0;

    min-height: calc(var(--spt-viewport-height, 100vh) - var(--spt-admin-bar-offset, 0px));
    box-sizing: border-box;
    padding-top: var(--spt-admin-bar-offset, 0px);
    display: flex;
}



    min-height: calc(var(--spt-viewport-height, 100vh) - var(--spt-admin-bar-offset, 0px));
    display: flex;
}


    min-height: calc(100vh - var(--spt-admin-bar-offset, 0px));
    display: flex;
}

@supports (min-height: 100dvh) {
    body.spt-course-study-fullscreen .spt-course-study-fullscreen__content {
        min-height: calc(100dvh - var(--spt-admin-bar-offset, 0px));
    }
}

body.spt-course-study-fullscreen .spt-course-study__frame {
    min-height: calc(var(--spt-viewport-height, 100vh) - var(--spt-admin-bar-offset, 0px));
    height: calc(var(--spt-viewport-height, 100vh) - var(--spt-admin-bar-offset, 0px));
}

@supports (height: 100dvh) {
    body.spt-course-study-fullscreen .spt-course-study__frame {
        min-height: calc(100dvh - var(--spt-admin-bar-offset, 0px));
        height: calc(100dvh - var(--spt-admin-bar-offset, 0px));
    }
}

body.spt-course-study-fullscreen .spt-course-study__layout {
    padding-block-start: clamp(0.35rem, 1.25vw, 0.85rem);
}

body.spt-course-study-fullscreen .spt-course-study__topbar {
    top: var(--spt-admin-bar-offset, 0px);
    margin-bottom: 0;
    padding-block-start: 0.85rem;
}

body.spt-course-study-fullscreen .spt-course-study__inner {
    --spt-study-safe-offset: var(--spt-admin-bar-offset, 0px);
    padding-top: 0;
}



body.spt-course-study-fullscreen .spt-elearning.spt-course-study {
    flex: 1 1 auto;
}

.spt-course-study.is-sidebar-hidden .spt-course-study__layout {
    grid-template-columns: minmax(0, 1fr);
}

.spt-course-study.is-sidebar-hidden .spt-course-study__sidebar {
    display: none;
}

.spt-course-study.is-sidebar-hidden .spt-course-study__content {
    padding: 2.5rem clamp(3rem, 7vw, 4.5rem);
}

.spt-course-study__blocked {
    max-width: 520px;
    margin: clamp(2.5rem, 6vw, 4rem) auto;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.spt-course-study__blocked .spt-btn {
    align-self: center;
}

@media (max-width: 960px) {
    .spt-course-study__frame {
        border-radius: 0;
        box-shadow: none;
        height: auto;
        overflow: visible;
    }

    body.spt-course-study-fullscreen .spt-course-study__frame {
        min-height: auto;
        height: auto;
    }

    .spt-course-study__inner {
        border-radius: 0;
        min-height: auto;
    }

    .spt-course-study__layout {
        grid-template-columns: minmax(0, 1fr);
        overflow: visible;
    }

    .spt-course-study__sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(203, 213, 225, 0.8);
        box-shadow: none;
        overflow: visible;
        height: auto;
    }

    .spt-course-study__content {
        overflow: visible;
        height: auto;
    }

    .spt-course-study__content {
        padding: clamp(2rem, 6vw, 3rem);
    }
}

@media (max-width: 640px) {
    .spt-course-study__topbar {
        padding: 1rem 1.35rem;
        gap: 1.25rem;
    }

    .spt-course-study__topbar-right {
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
    }

    .spt-course-study__close {
        margin-left: auto;
    }

    .spt-course-study__progress {
        width: 100%;
        min-width: 0;
        align-items: flex-start;
    }

    .spt-course-study__progress .spt-progress {
        flex: 1 1 100%;
        width: 100%;
    }

    .spt-course-study__progress .spt-progress-label,
    .spt-course-study__progress-items {
        text-align: left;
        width: 100%;
    }

    .spt-course-study__content {
        padding: 1.35rem;
    }

    .spt-outline-item {
        flex-direction: column;
        align-items: stretch;
    }

    .spt-outline-item__open {
        width: 100%;
        justify-content: center;
    }

    .spt-outline-item__lock {
        text-align: center;
    }
}

