a {
    transition: transform 300ms;
}

a:hover {
    transform: scale(1.05);
}

.inter{
    font-family: "Inter", sans-serif;
}

button {
    transition: transform 300ms;
}

button:hover {
    transform: scale(1.05);
}

/* Excepción para el botón del sidebar */
#toggleSidebar {
    transition: color 300ms !important;
}

#toggleSidebar:hover {
    transform: none !important;
}

/* ============================================
   ESTILOS BASE PARA TABLAS
   ============================================ */

.table {
    width: 100% !important;
}

td > p > span[style*="background-color"] {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* Forzar que se muestren los puntos de la lista incluso dentro de blockquote */
 blockquote ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
}

 blockquote li {
    list-style-type: disc !important;
    display: list-item !important;
}

.ck-editor__editable {
    padding: 0px !important;
}

/* ============================================
   CONTENEDOR RESPONSIVO GENERAL
   ============================================ */

.prose {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.prose td {
    padding: 0.5rem 0.75rem !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* Hover effect para filas */
.prose tbody tr:hover {
    background-color: #eff6ff !important;
}

/* Asegurar que el contenido de las celdas se muestre correctamente */
.prose td p {
    margin: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
}

/* Ajustar el ancho de las columnas para mejor distribución */
.prose table {
    table-layout: auto !important;
    border-collapse: collapse !important;
}

.prose td:first-child {
    width: auto !important;
    min-width: 80px !important;
    font-weight: 500 !important;
}

.prose td:last-child {
    width: auto !important;
}

/* ============================================
   ESTILOS PARA UNA SOLA TABLA
   ============================================ */

.tabla-simple {
    width: 100%;
}

.tabla-simple .tabla-container {
    width: 100%;
}

.tabla-simple table {
    width: 100% !important;
}

/* Para tabla SIMPLE: 1ra fila BLANCA, 2da fila GRIS */
.tabla-simple tbody tr:nth-child(odd) {
    background-color: #FFFFFF !important;
}

.tabla-simple tbody tr:nth-child(even) {
    background-color: #EDEDED !important;
}

/* ============================================
   ESTILOS PARA DOS TABLAS (LADO A LADO)
   ============================================ */

.tablas-dobles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.tablas-dobles .tabla-container {
    width: 100%;
    overflow-x: auto;
}

.tablas-dobles table {
    width: 100% !important;
}

/* Para tablas DOBLES: 1ra fila GRIS, 2da fila BLANCA */
.tablas-dobles tbody tr:nth-child(odd) {
    background-color: #EDEDED !important;
}

.tablas-dobles tbody tr:nth-child(even) {
    background-color: #FFFFFF !important;
}

/* ============================================
   RESPONSIVE - MÓVILES
   ============================================ */

@media (max-width: 768px) {
    /* En móvil, las 2 tablas se apilan verticalmente */
    .tablas-dobles {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .prose table {
        font-size: 0.875rem !important;
    }
    
    .prose th,
    .prose td {
        padding: 0.4rem 0.5rem !important;
    }
}

/* ============================================
   RESPONSIVE - TABLETS
   ============================================ */

@media (max-width: 1024px) and (min-width: 769px) {
    .tablas-dobles {
        gap: 1rem;
    }
    
    .prose table {
        font-size: 0.875rem !important;
    }
    
    .prose td {
        padding: 0.5rem !important;
    }
}

/* Ocultar scrollbar en pantallas md y superiores */
@media (min-width: 768px) {
    .tabs-scroll::-webkit-scrollbar {
        display: none;
    }
}