.main-content {
    flex-grow: 1;
    padding: 20px 20px 20px 50px;
}

.main-content {
    background-image: none;
    background-position:
        bottom center,
        bottom center;
    background-size:
        100% auto,
        100% auto;
    background-repeat: no-repeat;
    /* background-color: #FFF; */
}

.main-title {
    display: flex;
    justify-content: space-between;
}

.main-title img {
    height: 50px;
    min-width: 55px;
    object-fit: scale-down;
}

.main-title span {
    white-space: nowrap;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.desk-title {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

.desk-body {
    display: flex;
    /* Activa el modo horizontal */
    width: 100%;
    /* Ocupa todo el ancho del contenedor */
    align-items: stretch;
    /* Asegura que todos los hijos tengan el mismo alto */
    justify-content: center;
    /* Alinea los hijos hacia el centro */
}

.desk-tools {
    position: relative;
    flex: 0 0 32px;
    min-width: 32px;
    padding-top: 1px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.desk-tools-left {
    align-items: end;
}

.desk-tools-right {
    align-items: start;
}

.desk-tools-lp-left {
    border-radius: 9px 0 0 9px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    align-items: end;
}

.desk-tools-lp-right {
    border-radius: 0 9px 9px 0;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    align-items: start;
}

.desk-tools-lp-left,
.desk-tools-lp-right {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    cursor: pointer;
    width: 32px;
    height: 160px;
    background: #FC4241;
}

.desk-tools-lp-left span,
.desk-tools-lp-right span {
    color: #FFF;
    font-size: 13px;
    font-weight: 500;
}

.desk-tools-lp-right span {
    writing-mode: vertical-rl;
    margin-left: 8px;
}

.desk-tools-lp-left span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-right: 8px;
}

.desk-tools-control-page-left {
    width: 24px;
    height: 185px;
    border-radius: 8px 0 0 8px;
    background: #A2A2A2;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.desk-tools-control-page-right {
    width: 24px;
    height: 185px;
    border-radius: 0 8px 8px 0;
    background: #A2A2A2;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.desk-tools-control-page-right img {
    transform: rotate(180deg);
}

.cont-desk-tools-control-page {
    overflow: auto;
    max-width: 90%;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    border-top: 1px solid #EDEDED;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
}

.cont-desk-tools-control-page::-webkit-scrollbar {
    display: none;
}

#zoom_inner {
    transform-origin: top left;
}

.desk-content {
    display: flex;
    flex: 0 1 auto;
    width: fit-content;
    min-width: 300px; /* Evita que colapse a cero */
    /* max-width: 90%; */
    /* justify-content: center; */
    /* align-items: center; */
    /* overflow: hidden; */
    /* height: 100%; */
    /* box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    border-top: 1px solid #EDEDED; */
    position: relative;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: width, transform;
    transform-origin: top left;
}

.desk-content-item {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    line-height: 0;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.desk-content-item::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.desk-content-item:first-child::after {
    right: 0;
    background: linear-gradient(to left,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.05) 50%,
            transparent 100%);
    border-right: 1px solid rgba(0, 0, 0, 0.18);
}

.desk-content-item:last-child::after {
    left: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.05) 50%,
            transparent 100%);
    border-left: 1px solid rgba(0, 0, 0, 0.18);
}

.desk-content-item img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 220px);
    object-fit: contain;
}

.main-body {
    padding: 20px 20px 20px 50px;
}

/*Library*/
.badage-active {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 106px;
    height: 25px;
    border-radius: 12px;
    background: #F04031;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    cursor: pointer;
}

.badage-inactive {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 106px;
    height: 25px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    color: rgba(233, 229, 229, 0.8);
    /* Mejorado para contraste */
    font-size: 18px;
    font-weight: 400;
    overflow: hidden;
    cursor: pointer;
}

.badage-inactive span,
.badage-inactive img {
    position: absolute;
}

.badage-inactive img {
    z-index: 2;
    height: 100%;
}

.badage-inactive span {
    z-index: 1;
}

.component {
    display: flex;
    flex-direction: column;
    /* Apila los elementos verticalmente */
    justify-content: center;
    /* Centra el grupo verticalmente */
    align-items: center;
}

.component img {
    width: 16rem;
    height: auto;
    aspect-ratio: 37/49;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: 15px;
    order: -1;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.component img:hover {
    opacity: 0.5;
    transform: scale(1.05);
    cursor: pointer;
}

.component span {
    color: #B4B4B4;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* DESK */
.badage-active-desk {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 150px;
    height: 25px;
    border-radius: 12px;
    background: #F04031;
    color: #FFF;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding-left: 1rem;
    padding-right: 1rem;
}

.badage-dark {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 77px;
    height: 25px;
    border-radius: 12px;
    background: #000000;
    color: #FFF;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    gap: 5px;
    z-index: 100;
}

.badage-active-component {
    background: #9F9F9F;
    color: #6A6969;
    pointer-events: none;
}

#desk-text {
    color: #262626;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
    .main-content {
        padding: 10px;
    }

    .component img {
        width: 200px;
        height: 266px;
    }

    .flex.g-100 {
        flex-direction: column;
        gap: 20px;
    }

    .badage-active,
    .badage-inactive {
        width: 80px;
        font-size: 14px;
    }
}

/* Learning paths */
/* Los disparadores (Learning Path) */
.lp-trigger {
    cursor: pointer;
    /* background: transparent; O el color inicial que tengas */
    transition: background 0.3s ease;
}

/* Clase activa cuando el menú está abierto */
.lp-trigger.active {
    background: #6A6969 !important;
}

/* Estilo Base del Menú */
.lp-menu {
    position: absolute;
    top: 10px;
    width: 250px;
    background: #D9D9D9;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 0;
    display: none; /* Oculto por defecto */
    z-index: 1000;
}

/* Mostrar cuando el padre tiene la clase open */
.desk-tools.open .lp-menu {
    display: block;
}

/* Posicionamiento específico */
.menu-to-right {
    left: 37px; /* Se despliega a la derecha del botón izquierdo */
}

.menu-to-left {
    right: 37px; /* Se despliega a la izquierda del botón derecho */
}

/* Lista interna del menú */
.lp-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-menu li {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    transition: background 0.2s;
    cursor: pointer;
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-radius: 5px;
    }

.lp-menu li:hover {
    background: #f8f8f8;
}

.lp-menu li img:nth-child(1) {
    width: 20px;
    height: 20px;
}

/* Selecciona la imagen en la posición 2 */
/* .lp-menu li img:nth-child(2) {
    width: 20px;
    height: 20px;
} */

/* MODAL TERMINOS DE USO */
/* Fondo oscuro que cubre toda la pantalla */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25); /* Tu color solicitado */
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* La tarjeta blanca */
.modal-content {
    width: 700px;
    height: 500px;
    background: #FFF;
    color: #262626;
    border-radius: 20px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 70px;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-sizing: border-box; /* Para que el padding no afecte el tamaño total */
}

/* Elementos internos */
.modal-title {
    margin-bottom: 28px;
    font-size: 23px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.modal-body {
    flex-grow: 1;
    font-size: 17px;
    line-height: 1.5;
    color: #333;
}

.modal-body p {
    text-align: left;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-accept {
    background-color: #FC034F; /* El color magenta de tu imagen */
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
}

/* Contenedor principal para alinear texto y cuadro */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    gap: 12px; /* Espacio entre el cuadro y el texto */
}

/* Ocultar el checkbox original del navegador */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Crear el cuadro del checkbox (estado desmarcado) */
.checkmark {
    height: 25px;
    width: 25px;
    background-color: #FFF; /* Gris claro cuando está vacío */
    border: 1px solid #A2A2A2;;
    border-radius: 4px; /* Bordes redondeados sutiles */
    transition: all 0.2s;
}

/* --- AQUÍ ESTÁ EL CAMBIO: Fondo cuando está marcado --- */
.checkbox-container input:checked ~ .checkmark {
    background-color: rgba(106, 105, 105, 1); /* El color fucsia de tu diseño */
    border-color: rgb(83, 83, 83);
}

/* Crear el indicador (el check/palomita) - oculto por defecto */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Mostrar el check cuando está marcado */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Estilo del check (una L invertida blanca) */
.checkbox-container .checkmark:after {
    left: 9px;
    top: 3px;
    width: 5px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.separator-v {
    transform: rotate(90deg);
    cursor: default !important;
}


