@charset "utf-8";
/* CSS Document */

:root {
    --header-height: 90px;
    --content-sidebar-width: 280px;
}

/* Layout general */

body {
    overflow: hidden;
}

.content-stepper {
	width: 100%;
	margin-bottom: 1.75rem;
	overflow-x: auto;
	padding: 0.25rem 0 0.5rem;
}

.content-stepper-steps {
	display: flex;
	align-items: flex-start;
	width: 100%;
	min-width: max-content;
	padding: 0;
	margin: 0;
	list-style: none;
}

.content-stepper-step {
	position: relative;
	flex: 1 1 0;
	min-width: 8rem;
	display: flex;
	justify-content: center;
}

.content-stepper-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 1rem;
	left: calc(50% + 1.25rem);
	right: calc(-50% + 1.25rem);
	height: 2px;
	background: var(--color-primary-600);
	z-index: 1;
}

.content-stepper-step:has(.content-stepper-button.complete)::after {
	background: var(--color-primary-800);
}

.content-stepper-button {
	position: relative;
	z-index: 2;
	width: auto;
	min-width: 4.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	border: 0;
	background: transparent;
	color: var(--color-primary-600);
	padding: 0;
	text-align: center;
	cursor: pointer;
}

.content-stepper-button:hover,
.content-stepper-button:focus {
	color: var(--color-primary-800);
	outline: none;
}

.content-stepper-button:focus-visible .content-stepper-indicator {
	box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-600), 0.25);
}

.content-stepper-indicator {
	width: 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid var(--color-primary-600);
	background: var(--bs-body-bg);
	color: var(--color-primary-600);
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1;
}

.content-stepper-label {
	font-size: 0.95rem;
	line-height: 1.2;
	white-space: nowrap;
}

.content-stepper-button.active {
	color: var(--color-primary-600);
	font-weight: 700;
}

.content-stepper-button.active .content-stepper-indicator {
	background: var(--color-primary-600);
	color: #fff;
	border-color: var(--color-primary-600);
}

.content-stepper-button.complete {
	color: var(--bs-body-color);
}

.content-stepper-button.complete .content-stepper-indicator {
	background: var(--color-primary-600);
	color: #fff;
	border-color: var(--color-primary-600);
	font-size: 0;
}

.content-stepper-button.complete .content-stepper-indicator::before {
	content: "✓";
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
}

.content-stepper-button.complete.active .content-stepper-indicator {
	background: var(--color-primary-600);
	color: #fff;
}

@media (max-width: 575.98px) {
	.content-stepper-step {
		min-width: 5.5rem;
	}

	.content-stepper-label {
		font-size: 0.8rem;
	}
}

.content-view-layout {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    overflow: hidden;
}

.content-view-sidebar {
    width: var(--content-sidebar-width);
    flex: 0 0 var(--content-sidebar-width);
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
}

.content-view-main {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    padding-top: .5rem;
}

.content-view-topbar {
    margin-bottom: 1rem;
}

.content-view-body {
    max-width: 100%;
}

/* Mobile layout */

@media (max-width: 991.98px) {
    body {
        overflow: auto;
    }

    .content-view-layout {
        position: static;
        display: block;
        height: auto;
        overflow: visible;
    }

    .content-view-sidebar {
        width: 100%;
        height: auto;
        overflow: visible;
        border-right: 0;
    }

    .content-view-main {
        height: auto;
        overflow: visible;
        padding: 1rem;
    }
}

/* Índice */

.content-index {
    font-size: 0.9rem;
}

/* Mobile: botón de índice */

.content-index-mobile-toggle {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
}

.content-index-mobile-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Secciones / clases */

.content-index-section {
    border-bottom: 1px solid var(--bs-border-color);
    background: transparent;
}

.content-index-section-header {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--bs-body-color);
    text-align: left;
    font-weight: 600;
}

.content-index-section-header:not(.collapsed) {
    background: var(--color-primary-500);
    color: #fff;
}

.content-index-section-main {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    flex: 1;
}

.content-index-section-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.content-index-section-title {
    font-weight: 700;
    line-height: 1.2;
}

.content-index-section-progress {
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.9;
}

.content-index-section-header:not(.collapsed) .content-index-section-progress {
    color: rgba(255, 255, 255, 0.9);
}

.content-index-section-icon {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.content-index-section-header:not(.collapsed) .content-index-section-icon {
    transform: rotate(180deg);
}

.content-index-section-body {
    padding: 0.35rem 0;
}

/* Estado visual de la clase */

.content-index-section-state {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 1.1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0.05rem;
}

.content-index-section-state-done {
    background: var(--bs-success);
    color: #fff;
}

.content-index-section-state-done::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.62rem;
    line-height: 1;
}

.content-index-section-state-progress {
    border: 2px solid var(--bs-warning);
    background: conic-gradient(var(--bs-warning) 0 180deg, transparent 180deg 360deg);
}

.content-index-section-state-empty {
    border: 2px solid var(--bs-warning);
    background: transparent;
}

.content-index-section-state-locked {
    border: 2px solid var(--color-neutral-400, #b7b1c2);
    background: transparent;
}

/* Estados del círculo cuando la sección está abierta */

.content-index-section-header:not(.collapsed) .content-index-section-state-empty {
    border-color: #fff;
}

.content-index-section-header:not(.collapsed) .content-index-section-state-progress {
    border-color: #fff;
    background: conic-gradient(#fff 0 180deg, transparent 180deg 360deg);
}

.content-index-section-header:not(.collapsed) .content-index-section-state-locked {
    border-color: var(--color-neutral-500, #9b96a5);
}

/* Estado de clase bloqueada */

.content-index-section.content-index-section-is-locked .content-index-section-header {
    color: var(--color-neutral-500, #9b96a5);
}

.content-index-section.content-index-section-is-locked .content-index-section-progress {
    color: var(--color-neutral-500, #9b96a5);
    opacity: 0.85;
}

.content-index-section.content-index-section-is-locked .content-index-section-icon {
    color: var(--color-neutral-500, #9b96a5);
}

.content-index-section.content-index-section-is-locked .content-index-section-header:not(.collapsed) {
    background: var(--color-neutral-200, #eeeaf3);
    color: var(--color-neutral-600, #7f788c);
}

.content-index-section.content-index-section-is-locked .content-index-section-header:not(.collapsed) .content-index-section-progress {
    color: var(--color-neutral-600, #7f788c);
}

/* Unidades internas, si las hubiera */

.content-index-unit {
    padding: 0.65rem 1rem 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Contenidos internos */

.content-index-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 1rem;
    color: var(--bs-body-color);
    text-decoration: none;
    line-height: 1.25;
    font-size: 0.775rem;
    margin: 0;
}

.content-index-item:hover {
    background: var(--bs-tertiary-bg);
    color: var(--color-primary-700);
}

.content-index-item.active {
    background: var(--color-primary-100);
    color: var(--color-primary-700);
    font-weight: 600;
}

.content-index-item.disabled {
    opacity: 0.6;
    cursor: default;
}

.content-index-item.disabled .content-index-item-label {
    opacity: 0.8;
}

.content-index-item-label {
    min-width: 0;
}

/* Líneas entre elementos internos */

.content-index-section-body > * + * {
    border-top: 1px solid var(--bs-border-color);
}

/* Estado de cada contenido */

.content-index-status {
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    color: #fff;
}

.content-index-status-done {
    background: var(--bs-success);
}

.content-index-status-pending {
    background: var(--bs-danger);
}

.content-index-status-locked {
    background: transparent;
    color: var(--color-neutral-500, #9b96a5);
    border: 1.5px solid var(--color-neutral-400, #b7b1c2);
}

/* Futuros: candado + texto + badge Próximo */

.content-index-item-upcoming {
    align-items: flex-start;
}

.content-index-item-content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.content-index-item-title {
    line-height: 1.2;
}

.content-index-item-meta {
    font-size: 0.72rem;
    line-height: 1.2;
    color: var(--color-neutral-500, #9b96a5);
}

.content-index-item-badge {
    flex: 0 0 auto;
    margin-left: auto;
    margin-top: 0.05rem;
    font-size: 0.72rem;
}

.content-index-item-upcoming.disabled {
    opacity: 1;
    cursor: default;
}

.content-index-item-upcoming.disabled .content-index-item-title {
    color: var(--color-neutral-600, #7f788c);
}

.content-index-item-upcoming.disabled .content-index-item-meta {
    color: var(--color-neutral-500, #9b96a5);
}

.content-index-item-upcoming:not(.disabled) .content-index-item-title {
    color: var(--bs-body-color);
}

/*******************************************************************************/
.exercise-true-false-description,
.exercise-true-false-instructions {
	margin-bottom: 1rem;
}

.exercise-true-false-progress {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-primary-700);
	margin-bottom: 0.5rem;
}

.exercise-true-false-statement {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.exercise-true-false-options {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.exercise-true-false-option {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	font-weight: 700;
	white-space: normal;
	padding: 0.75rem 1rem;
}

.exercise-true-false-actions {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1rem;
}

.exercise-true-false-review-item,
.exercise-true-false-answer {
	border-top: 1px solid var(--bs-border-color);
	padding: 1rem 0;
}

.exercise-true-false-review-item:first-child,
.exercise-true-false-answer:first-child {
	border-top: 0;
}

.exercise-true-false-review-statement,
.exercise-true-false-answer-statement {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.exercise-true-false-answer-success {
	border-left: 4px solid var(--bs-success);
	padding-left: 1rem;
}

.exercise-true-false-answer-danger {
	border-left: 4px solid var(--bs-danger);
	padding-left: 1rem;
}

.exercise-true-false-explanation {
	background: var(--bs-tertiary-bg);
	border-radius: 0.5rem;
	padding: 0.75rem;
	margin-top: 0.75rem;
}

.exercise-true-false-result,
.exercise-true-false-feedback {
	margin-bottom: 1rem;
}
/*******************************************************************************/
.exercise-questions-description,
.exercise-questions-instructions {
    margin-bottom: 1rem;
}

.exercise-questions-progress {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-700);
    margin-bottom: 0.5rem;
}

.exercise-questions-question {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.exercise-questions-help {
    color: var(--bs-secondary-color);
    font-size: 0.95rem;
}

.exercise-questions-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

.exercise-questions-review-item,
.exercise-questions-answer {
    border-top: 1px solid var(--bs-border-color);
    padding: 1rem 0;
}

.exercise-questions-review-item:first-child,
.exercise-questions-answer:first-child {
    border-top: 0;
}

.exercise-questions-review-question,
.exercise-questions-answer-question {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.exercise-questions-review-answer,
.exercise-questions-answer-text {
    white-space: pre-wrap;
    color: var(--bs-body-color);
    margin-bottom: 0.75rem;
}

.exercise-questions-feedback {
    margin-bottom: 1rem;
}
/*******************************************************************************/
.exer-choice-explanation {
	margin-bottom: 1rem;
}

.exer-choice-progress {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-primary-700);
	margin-bottom: 0.5rem;
}

.exer-choice-question {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.exer-choice-options {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.exer-choice-option {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	font-weight: 700;
	white-space: normal;
}

.exer-choice-actions {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1rem;
}

.exer-choice-review-item,
.exer-choice-answer {
	border-top: 1px solid var(--bs-border-color);
	padding: 1rem 0;
}

.exer-choice-review-item:first-child,
.exer-choice-answer:first-child {
	border-top: 0;
}

.exer-choice-review-question,
.exer-choice-answer-question {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.exer-choice-answer-success {
	border-left: 4px solid var(--bs-success);
	padding-left: 1rem;
}

.exer-choice-answer-danger {
	border-left: 4px solid var(--bs-danger);
	padding-left: 1rem;
}

.exer-choice-result {
	margin-bottom: 1rem;
}
/*******************************************************************************/
.videoconference-content .videoconference-status-card {
	max-width: 760px;
	border-color: var(--bs-border-color);
	background: var(--color-neutral-50, var(--bs-body-bg));
}

.videoconference-content .videoconference-status-badge {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .875rem;
}

.videoconference-content .videoconference-status-dot {
	width: .7rem;
	height: .7rem;
	border-radius: 999px;
	display: inline-block;
}

.videoconference-content .videoconference-status-dot-soon,
.videoconference-content .videoconference-status-dot-live {
	background: var(--bs-danger);
}

.videoconference-content .videoconference-recording-alert {
	border-color: rgba(var(--bs-info-rgb), .35);
}

.videoconference-content .videoconference-recording-disclaimer {
	line-height: 1.45;
}

.videoconference-content .videoconference-recording-embed {
	background: var(--color-neutral-100, #e9ecef);
}

.videoconference-content .videoconference-platform-alert {
	background: var(--bs-body-bg);
}

.videoconference-content .videoconference-platform-alert i {
	color: var(--bs-primary);
}