/* Archivo: css/style.css */

/* Color principal */
:root {
    --primary-color: #1e1736;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
}

.sidebar {
    background-color: var(--primary-color);
    color: #fff;
}

/* Ocultar y mostrar el menú lateral colapsable */
.sidebar-collapsed {
    width: 80px;
}

.sidebar-expanded {
    width: 250px;
}

/* Responsiveness on Mobile: Override hardcoded paddings */
@media (max-width: 768px) {
    .ml-64, .md\:ml-64 {
        margin-left: 0 !important;
    }
    .sidebar-expanded {
        width: 250px;
    }
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10px;
}

.menu-item svg {
    margin-right: 10px;
}

/* Estilos para el menú desplegable de productos */
#sidebar_menu_products_desplegable{
    background: rgba(255, 255, 255, 0.11);
    right: 0;
    /* align-content: stretch; */
    position: absolute;
    margin-right: 0px;
    padding-right: 0px;
    cursor: pointer;
}

#sidebar_product_list_menu{
    display: none;
}

.sidebar_product_list_menu_collapsed{
    display: none;
}

.sidebar_product_list_menu_expanded{
    max-height: 500px;
    overflow: visible;
    transition: max-height 0.3s ease;
    display: block!important;
    background: #00000069;
}
.sidebar_menu_products_desplegable_expanded{
    transform: rotate(-100grad);
}

/* Estilos para el menú desplegable de CSAT */
#sidebar_menu_csat_desplegable{
    background: rgba(255, 255, 255, 0.11);
    right: 0;
    /* align-content: stretch; */
    position: absolute;
    margin-right: 0px;
    padding-right: 0px;
    cursor: pointer;
}

#sidebar_csat_list_menu{
    display: none;
}

.sidebar_csat_list_menu_collapsed{
    display: none;
}

.sidebar_csat_list_menu_expanded{
    max-height: 500px;
    overflow: visible;
    transition: max-height 0.3s ease;
    display: block!important;
    background: #00000069;
}
.sidebar_menu_csat_desplegable_expanded{
    transform: rotate(-100grad);
}

.resource-section {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    border-bottom: 2px solid #e0e0e0; /* Línea inferior para separar secciones */
    margin-bottom: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Transición para hover */
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e1736;
    margin-bottom: 20px;
    text-align: left;
    border-left: 4px solid #1e1736; /* Barra vertical para estilo moderno */
    padding-left: 10px; /* Espacio entre la barra y el texto */
}

.resource-card, .resource-link-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0; /* Sutil borde en cada recurso */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.resource-card, .resource-link-item-active {
    background-color: #d5ffcb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0; /* Sutil borde en cada recurso */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.resource-link-item {
    flex-direction: row;
    align-items: center;
}

.resource-link-item .resource-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    fill: #1e1736;
}

.resource-card:hover, .resource-link-item:hover {
    background-color: #f0f0f0;
    border-color: #1e1736; /* Cambio de color de borde al hacer hover */
}


.resource-card h4, .link-name {
    color: #1e1736;
    font-size: 1.2rem;
    font-weight: bold;
}

.link-details{
    text-align: left!important;
}

.link-description {
    text-align: left;
}

.resource-img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.link-url {
    color: #007bff;
    text-decoration: underline;
    margin-top: 4px;
}

.resource-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    fill: #1e1736;
}



/* Fondo primario para la cabecera del producto */
.bg-primary {
    background-color: #1e1736;
}

/* Cabecera del producto ajustada */
.product-header {
    max-height: 100px; /* Altura máxima */
    width: 100%; /* Ocupa todo el ancho de la pantalla */
    background-color: #1e1736;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 16px; /* Alineación hacia la izquierda */
}

/* Estilos para el botón de regresar */
.back-button {
    display: flex;
    align-items: center;
}

.back-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #f0f0f0;
}

.back-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    fill: none;
    stroke: white;
}

/* Imagen del producto */
.product-image-container {
    width: 100px; /* Imagen cuadrada de 1:1 */
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantener proporción 1:1 */
}

/* Detalles del producto */
.product-details {
    color: white;
}

.product-name {
    font-size: 1.8rem;
    font-weight: bold;
}

.product-pricing span {
    font-size: 1.2rem;
}

.product-pricing strong {
    font-weight: bold;
}









/* actividades.css */
/* actividades.css */

/* Badge para el Tipo: estilo azul */
.tipo-badge {
    background-color: #ebf8ff;  /* azul claro (blue-100) */
    color: #2b6cb0;             /* azul oscuro (blue-800) */
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: inline-block;
}

/* Badge para los Grupos: estilo verde */
.grupo-badge {
    background-color: #d1fae5;  /* verde claro (green-100) */
    color: #047857;             /* verde oscuro (green-800) */
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: inline-block;
    margin-right: 0.25rem;
}


select[multiple] {
    height: auto; /* Para que se ajuste según el contenido */
}






/*******************************************/


.jk-classroom_session_details{
    cursor: pointer;
}

.jk-classroom_session_details:hover{
    background: #e5e7eb;

}



/* Fuerza visibilidad de SVG dentro del bloque ERP */
.erp-shortcuts svg { display:block !important; }
.erp-shortcuts svg { color: inherit; }















