/*
* Archivo: ScoreDistributorsMexico.css
* Ruta: src\static\css\Ventas\ScoreDistributorsMX\ScoreDistributorsMexico.css
* Descripción: Estilos para el cotizador de plantas eléctricas en EUA

* Estructura del archivo:
* 1. Variables y configuración global
* 2. Contenedor principal y barra de progreso
* 3. Estructura del formulario
* 4. Estilos de formulario
* 5. Secciones específicas
* 6. Componentes de navegación
* 7. Media Queries
*/


/*----------------------------------------------
 1. Variables Globales (CSS Custom Properties)
----------------------------------------------*/
:root {
    /* Colores principales */
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    
    /* Colores de estado */
    --hover-primary: #0056b3;
    --hover-secondary: #5a6268;
    --hover-success: #218838;
    
    /* Colores de fondo */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    
    /* Bordes y sombras */
    --border-color: #e9ecef;
    --border-radius: 8px;
    
    /* Espaciados */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    
    /* Fuentes */
    --font-size-small: 12px;
    --font-size-normal: 14px;
    --font-size-large: 24px;

    /* DATATABLE */
    /* Colores principales y variantes */
    --primary-color: #1f71c2;
    /* Azul principal usado en encabezados */
    --primary-color-light: #1f71c249;
    /* Versión con transparencia para filtros */
    --secondary-color: #007bff;
    /* Azul secundario para botones y elementos interactivos */
    --secondary-color-dark: #0056b3;
    /* Versión oscura para estados hover */

    /* Colores para acciones */
    --success-color: green;
    /* Color para acciones de aprobación */
    --success-color-dark: darkgreen;
    /* Versión oscura para hover */
    --danger-color: red;
    /* Color para acciones de rechazo/error */
    --danger-color-dark: darkred;
    /* Versión oscura para hover */

    /* Colores neutros */
    --light-bg: #f2f2f2;
    /* Fondo claro para filas alternas */
    --border-color: #ccc;
    /* Color de bordes estándar */
    --text-color: #333;
    /* Color principal para texto */
    --white: white;
    /* Blanco puro */
    --black: black;
    /* Negro puro */
}


/* ===============================
    🎨 ESTILOS PARA LA TABLA CLIENTES SCORE COMPATIBLES
   =============================== */

/* 📌 Estilos para los títulos de la tabla */
#ClienteScoreTable_wrapper .dataTables_scrollHead thead th {
    background-color: #1f71c2 !important; /* Color de fondo */
    color: white !important; /* Color del texto */
    font-size: 14px !important; /* Tamaño de fuente */
    font-weight: bold !important; /* Negrita */
    text-align: center !important; /* Alineación horizontal */
    vertical-align: middle !important; /* Alineación vertical */
    padding: 10px !important; /* Espaciado */
}

/* 📌 Alinear todos los títulos de columnas en DataTables a la derecha */
#ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th {
    text-align: center !important;
}

/* 📌 Personalizar alineación de la tercera columna en los títulos generados por DataTables */
#ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(3) {
    text-align: center !important;
}

/* 📌 Cambiar el color de fondo de la fila de filtros */
#ClienteScoreTable_wrapper .dataTables_scrollHead thead tr:nth-child(2) th {
    background-color: #1f71c249 !important;
}

/* 📌 Ajustar el tamaño de texto y remover bordes de la fila de filtros */
#ClienteScoreTable_wrapper .dataTables_scrollHead thead input {
    font-size: 12px !important;  /* Tamaño del texto */
    font-family: inherit !important;  /* Usa la misma fuente que el resto de la tabla */
    text-align: center !important; /* Centrar el texto */
    padding: 2px !important; /* Espaciado interno */
    border: none !important; /* Quitar el borde */
    /* background-color: transparent !important; */ /* Hacer el fondo transparente */
    outline: none !important; /* Evitar el contorno azul al hacer clic */
    width: auto !important; /* Ajustar al ancho del texto */
    min-width: 80px !important; /* Evita que sean demasiado pequeños */
    max-width: 100% !important; /* Asegura que no crezcan más allá de la celda */
}

/* 📌 Estilos para el cuerpo de la tabla */
#ClienteScoreTable tbody td {
    font-size: 12px; /* Tamaño de fuente */
    text-align: left; /* Alineación predeterminada */
    vertical-align: middle; /* Alineación vertical */
    padding: 8px 0; /* 🔥 8px arriba y abajo, 0px en los lados */
}

/* 📌 Alinear las columnas del cuerpo a de la tabla*/
    #ClienteScoreTable tbody td:nth-child(1) { /* OrderNum */
        text-align: center;
    }
    #ClienteScoreTable tbody td:nth-child(2){ /* Tipo */
        text-align: center;
    }
    #ClienteScoreTable tbody td:nth-child(3){ /* Departamento */
        text-align: left;
    }
    #ClienteScoreTable tbody td:nth-child(4) { /* Vendedor */
        text-align: left;
    }

    #ClienteScoreTable tbody td:nth-child(5)  {/* Name */
        text-align: left;
    }

    #ClienteScoreTable tbody td:nth-child(6),  /* Capacidad */
    #ClienteScoreTable tbody td:nth-child(7) { /* OrderDate */
        text-align: center;
    }
    #ClienteScoreTable tbody td:nth-child(8) { /* NeedByDate */
        text-align: center;
    }
    #ClienteScoreTable tbody td:nth-child(9) { /* FechaPlaneación */
        text-align: center;
    }
    #ClienteScoreTable tbody td:nth-child(10) { /* FechaVenta */
        text-align: center;
    }
    #ClienteScoreTable tbody td:nth-child(11) { /* Faltante_M */
        text-align: center;
    }
    #ClienteScoreTable tbody td:nth-child(12) { /* Estatus_M */
        text-align: justify;
    }
    #ClienteScoreTable tbody td:nth-child(13) { /* Fecha_Llegada_M */
        text-align: center;
    }
    #ClienteScoreTable tbody td:nth-child(14) { /* Faltante_G */
        text-align: center;
    }
    #ClienteScoreTable tbody td:nth-child(15) { /* Estatus_G */
        text-align: center;
    }
    #ClienteScoreTable tbody td:nth-child(16) { /* Fecha_Llegada_G */
        text-align: center;
    }

/* 📌 Estilos para las filas impares (para mejor visualización) */
#ClienteScoreTable tbody tr:nth-child(odd) {
    background-color: #f2f2f2; /* Color de fondo alterno */
}

/* Forzar que la tabla use el ancho correcto */
#ClienteScoreTable {
    table-layout: fixed !important; /* Fija el ancho de la tabla */
    width: 100% !important; /* Asegura que la tabla use todo el ancho disponible */
}
/* Evitar que DataTables sobreescriba los anchos de las columnas */
#ClienteScoreTable_wrapper .dataTables_scrollHead table {
    table-layout: fixed !important; /* Fijar el ancho de las columnas en el encabezado */
    width: 100% !important;
}
    /* Especificar los anchos de las columnas */
    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(1), /* Aplica cuando usas scrollX OrderNum*/
    #ClienteScoreTable thead th:nth-child(1),
    #ClienteScoreTable tbody td:nth-child(1) {
        width: 150px !important; /* Columna 1 */
        min-width: 150px !important;
        max-width: 150px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(2), /* Aplica cuando usas scrollX Tipo*/
    #ClienteScoreTable thead th:nth-child(2),
    #ClienteScoreTable tbody td:nth-child(2) {
        width: 100px !important; /* Columna 2 */
        min-width: 100px !important;
        max-width: 100px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(3), /* Aplica cuando usas scrollX Departamento*/
    #ClienteScoreTable thead th:nth-child(3),
    #ClienteScoreTable tbody td:nth-child(3) {
        width: 120px !important; /* Columna 3 */
        min-width: 120px !important;
        max-width: 120px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(4), /* Aplica cuando usas scrollX Vendedor*/
    #ClienteScoreTable thead th:nth-child(4),
    #ClienteScoreTable tbody td:nth-child(4) {
        width: 280px !important; /* Columna 4 - VENDEDOR CORREGIDO */
        min-width: 280px !important;
        max-width: 280px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(5), /* Aplica cuando usas scrollX Name*/
    #ClienteScoreTable thead th:nth-child(5),
    #ClienteScoreTable tbody td:nth-child(5) {
        width: 230px !important; /* Columna 5 */
        min-width: 230px !important;
        max-width: 230px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(6), /* Aplica cuando usas scrollX Capacidad*/
    #ClienteScoreTable thead th:nth-child(6),
    #ClienteScoreTable tbody td:nth-child(6) {
        width: 115px !important; /* Columna 6 */
        min-width: 115px !important;
        max-width: 115px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(7), /* Aplica cuando usas scrollX OrderDate*/
    #ClienteScoreTable thead th:nth-child(7),
    #ClienteScoreTable tbody td:nth-child(7) {
        width: 110px !important; /* Columna 7 */
        min-width: 110px !important;
        max-width: 110px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(8), /* Aplica cuando usas scrollX NeedByDate*/
    #ClienteScoreTable thead th:nth-child(8),
    #ClienteScoreTable tbody td:nth-child(8) {
        width: 110px !important; /* Columna 8 */
        min-width: 110px !important;
        max-width: 110px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(9), /* Aplica cuando usas scrollX FechaPlaneación*/
    #ClienteScoreTable thead th:nth-child(9),
    #ClienteScoreTable tbody td:nth-child(9) {
        width: 150px !important; /* Columna 9 */
        min-width: 150px !important;
        max-width: 150px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(10), /* Aplica cuando usas scrollX FechaVenta*/
    #ClienteScoreTable thead th:nth-child(10),
    #ClienteScoreTable tbody td:nth-child(10) {
        width: 110px !important; /* Columna 10 */
        min-width: 110px !important;
        max-width: 110px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(11), /* Aplica cuando usas scrollX Faltante_M*/
    #ClienteScoreTable thead th:nth-child(11),
    #ClienteScoreTable tbody td:nth-child(11) {
        width: 110px !important; /* Columna 11 */
        min-width: 110px !important;
        max-width: 110px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(12), /* Aplica cuando usas scrollX Estatus_M*/
    #ClienteScoreTable thead th:nth-child(12),
    #ClienteScoreTable tbody td:nth-child(12) {
        width: 180px !important; /* Columna 12 */
        min-width: 180px !important;
        max-width: 180px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(13), /* Aplica cuando usas scrollX Fecha_Llegada_M*/
    #ClienteScoreTable thead th:nth-child(13),
    #ClienteScoreTable tbody td:nth-child(13) {
        width: 110px !important; /* Columna 13 */
        min-width: 110px !important;
        max-width: 110px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(14), /* Aplica cuando usas scrollX Faltante_G*/
    #ClienteScoreTable thead th:nth-child(14),
    #ClienteScoreTable tbody td:nth-child(14) {
        width: 150px !important; /* Columna 14 */
        min-width: 150px !important;
        max-width: 150px !important;
    }
    
    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(15), /* Aplica cuando usas scrollX Estatus_G*/
    #ClienteScoreTable thead th:nth-child(15),
    #ClienteScoreTable tbody td:nth-child(15) {
        width: 100px !important; /* Columna 15 */
        min-width: 100px !important;
        max-width: 100px !important;
    }

    #ClienteScoreTable_wrapper .dataTables_scrollHead table thead tr th:nth-child(16), /* Aplica cuando usas scrollX Fecha_Llegada_G*/
    #ClienteScoreTable thead th:nth-child(16),
    #ClienteScoreTable tbody td:nth-child(16) {
        width: 110px !important; /* Columna 16 */
        min-width: 110px !important;
        max-width: 110px !important;
    }

/* ===============================
    🔘 ESTILOS PARA LOS BOTONES DEL BODY
   =============================== */

/* 📌 Estilos generales para los botones de acción */
#ClienteScoreTable tbody button {
    font-size: 12px; /* Tamaño del texto */
    padding: 5px 10px; /* Espaciado interno */
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Cursor de mano */
    transition: 0.3s; /* Suavizar efectos */
}

/* 📌 Estilos específicos para botones de aprobación */
#ClienteScoreTable tbody .btn-approve {
    background-color: red;
    color: white;
    border: none;
}

#ClienteScoreTable tbody .btn-approve:hover {
    background-color: darkred;
}

/* 📌 Estilos específicos para botones de rechazo */
#ClienteScoreTable tbody .btn-reject {
    background-color: red;
    color: white;
    border: none;
}

#ClienteScoreTable tbody .btn-reject:hover {
    background-color: darkred;
}

/* ===============================
    📤 ESTILOS PARA LOS BOTONES DE EXPORTACIÓN
   =============================== */

.dt-buttons .dt-button {
    background-color: #007bff !important; /* Azul */
    color: white !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
    border-radius: 5px !important;
    margin-right: 5px !important;
}

.dt-buttons .dt-button:hover {
    background-color: #0056b3 !important; /* Azul más oscuro */
}

/* ===============================
    🔍 ESTILOS PARA EL BUSCADOR Y PAGINACIÓN
   =============================== */

/* 📌 Estilos para la barra de búsqueda */
.dataTables_filter {
    font-size: 13px;
}

.dataTables_filter input {
    font-size: 12px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* 📌 Estilos para la paginación */
.dataTables_paginate {
    font-size: 13px;
}

/* 📌 Estilos para los botones de paginación */
.dataTables_paginate .paginate_button {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #ddd;
    color: black;
    margin: 0 2px;
    transition: 0.3s;
}

.dataTables_paginate .paginate_button:hover {
    background-color: #007bff;
    color: white;
}

/* 📌 Estilos para el texto "Showing X to X of X entries" */
#ClienteScoreTable_wrapper .dataTables_info {
    font-size: 12px !important; /* Tamaño del texto */
    font-weight: bold !important; /* Negrita */
    color: #333 !important; /* Color del texto (puedes cambiarlo) */
    font-family: inherit !important; /* Mantener la fuente general */
    padding-top: 10px !important; /* Espaciado superior */
}

/* 📌 Por defecto (pantallas grandes) → Desactivamos desplazamiento horizontal */
#ClienteScoreTable_wrapper {
    overflow-x: unset !important; /* Permite que la tabla se ajuste automáticamente */
    white-space: normal !important; /* Permite que el texto se ajuste */
}

/*
* Archivo: CZM_GensetModel.css
* Ruta: src\static\css\Operaciones\Ingenieria\PE\PE_DM\CZM_GensetModel.css
* Descripción: Estilos para la interfaz de aprobación de distribuidores
*/

/* ===============================
    🎨 ESTILOS PARA EL MODAL
   =============================== */

/* 📌 Control del ancho del modal - Define el tamaño máximo */
#EstandarModal .modal-custom-width {
    max-width: 50% !important;
    /*width: 950px !important;*/
}

/* 📌 Estilos para el título del modal */
#EstandarModal .modal-header .modal-title {
    font-family: Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: bold !important;
    text-align: left !important;
    width: 100% !important;
}

/* 📌 Control del ancho del contenido del modal */
#EstandarModal .modal-content {
    width: 100% !important;
}

/* 📌 Estilos para los campos requeridos - Añade un asterisco rojo */
#EstandarModal .required::after {
    content: " *";
    color: var(--danger-color);
    font-weight: bold;
}

/* 📌 Estilos para el footer del modal */
#EstandarModal .modal-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px !important;
}

/* 📌 Estilos para los botones dentro del footer del modal */
#EstandarModal .modal-footer .btn {
    font-size: 14px !important;
    padding: 10px 20px !important;
    margin: 5px !important;
    min-width: 100px !important;
    text-align: center !important;
}

/* ===============================
    🎨 ESTILOS PERSONALIZADOS PARA EL FORMULARIO DENTRO DEL MODAL
   =============================== */

.modal-form-custom {
    font-size: 12px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    box-sizing: border-box !important;
}

/* 📌 Mejora en la apariencia del textarea */
.modal-form-custom textarea {
    resize: none !important;
    min-height: 100px !important;
}

/* 📌 Estructura de las filas - Layout flexible */
.form-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

/* 📌 Estructura de cada grupo de inputs - Columna flexible */
.form-group {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-width: 0 !important;
}

/* 📌 Asegura que los inputs y selects ocupen el 100% dentro del form-group */
.form-group select.form-select,
.form-group input.form-control {
    width: 100% !important;
}

/* 📌 Estilos para los labels */
.form-group label {
    display: block !important;
    margin-bottom: 2px !important;
    margin-top: 7px !important;
    font-size: 12px !important;
}

/* 📌 Estilos generales para los select */
.form-select {
    width: 100% !important;
    padding: 8px !important;
    font-size: 12px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 5px !important;
    background-color: var(--white) !important;
    transition: border-color 0.3s ease-in-out !important;
    cursor: pointer !important;
}

/* 📌 Efecto al enfocar el select */
.form-select:focus {
    border-color: var(--secondary-color) !important;
    outline: none !important;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5) !important;
}

/* 📌 Estilos generales para los inputs y textarea */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: border-color 0.3s ease-in-out;
}

/* 📌 Estilos exclusivos para el campo "Comentario" */
.form-group-comentario {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.form-group-comentario textarea {
    min-height: 120px !important;
    padding: 10px !important;
    resize: vertical !important;
    font-size: 12px !important;
}

/* ===============================
    📱 ESTILO DE overlay global
   =============================== */

#global-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-content {
    background-color: white;
    padding: 30px 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.loading-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
}

/* ===============================
    📱 ESTILOS RESPONSIVOS MEJORADOS
   =============================== */

@media screen and (max-width: 1000px) {

    /* 📌 Ocultar la fila de filtros en pantallas pequeñas */
    #ClienteScoreTable_wrapper .dataTables_scrollHead thead tr:nth-child(2),
    #ClienteScoreTable_wrapper .dataTables_scrollHead thead tr:nth-child(2) input {
        display: none !important;
    }

    /* 📌 Si necesitas ocultar solo algunos filtros, descomenta según sea necesario */
    /* #ClienteScoreTable_wrapper .dataTables_scrollHead thead tr:nth-child(2) th:nth-child(1) input { display: none !important; }  Ocultar filtro de Compañía */
    /* #ClienteScoreTable_wrapper .dataTables_scrollHead thead tr:nth-child(2) th:nth-child(3) input { display: none !important; }  Ocultar filtro de Dirección */

    /* 📌 Ajustar tamaño de los inputs de los filtros en pantallas pequeñas */
    /*
    #ClienteScoreTable_wrapper .dataTables_scrollHead thead input {
        font-size: 12px !important;
        padding: 3px !important;
        min-width: 60px !important;
    }
    */

    /* 📌 En pantallas pequeñas → Activamos desplazamiento horizontal en toda la tabla */
    #ClienteScoreTable_wrapper {
        overflow-x: auto !important; /* Activa desplazamiento horizontal */
        white-space: nowrap !important; /* Evita que el texto se rompa */
    }

    /* 📌 Evitar desplazamiento horizontal en toda la página */
    body {
        overflow-x: hidden !important;
    }

    /* 📌 Mantener un ancho mínimo en la tabla para simular 1200px en móviles */
    #ClienteScoreTable {
        width: 1200px !important; /* La tabla ocupará 1200px aunque la pantalla sea más pequeña */
        min-width: 1200px !important; /* Evita que se reduzca */
    }

    /* 📌 Mantener los encabezados fijos en la parte superior */
    #ClienteScoreTable_wrapper .dataTables_scrollHead {
        position: sticky !important;
        top: 0 !important;
        background-color: #1f71c2 !important; /* Asegurar el color de fondo */
        z-index: 1000 !important;
        width: 100% !important; /* 🔥 Asegurar que no se desajuste */
    }

    /* 📌 Estilos para la barra de búsqueda */
    .dataTables_filter {
        font-size: 13px;
        text-align: center; /* 🔥 Alinear búsqueda al centro */
    }

    .dataTables_filter input {
        font-size: 12px;
        padding: 5px 10px; /* 🔥 Padding solo superior/inferior */
        border-radius: 5px;
        border: 1px solid #ccc;
        margin-bottom: 10px; /* 🔥 Espaciado debajo del input */
    }

    .text-modal-content {
        max-width: 90vw !important;   /* Modal ocupa casi todo el ancho de la pantalla */
        width: 90vw !important;       /* Asegura que el modal use el ancho */
        min-width: unset !important;  /* Por si algún min-width interfiere */
        left: 50% !important;         /* Centrado */
        transform: translate(-50%, -50%) !important;
    }    
    
    .text-modal-body {
        font-size: 11px !important;
    }

}

/* Seccion de certificacion checkbox */
.form-check-sec .form-check-input {
    width: 1em;
    height: 1em;
    min-height: 1em;
    margin-left: 10%;
}

/* Asegura que los checkboxes y labels estén alineados */
.form-check {
    display: flex;
    align-items: center;  /* Centra verticalmente */
    min-height: 24px;     /* Altura mínima para evitar solapamiento */
}

/* Estilo para los inputs (checkboxes y radios) */
.form-check-input {
    width: 16px;
    height: 16px;
    margin: 0;            /* Elimina márgenes por defecto */
    margin-right: 8px;    /* Espacio entre el checkbox y el texto */
}

/* Estilo para las etiquetas (labels) */
.form-check-label {
    padding: 0;
    line-height: 1.5;     /* Mejora la alineación vertical */
    margin-left: 0;       /* Elimina margen izquierdo si existe */
}

/* Aplica solo a los elementos dentro de form-check-sec */
.form-check-sec .form-check-input {
    transform: scale(1);
    margin-right: 15px;
    margin-top: 5px;
}
  
/* Para el radio button con clase check-radio */
.check-radio {
    transform: scale(0.6); /* Puedes hacer este aún más pequeño si lo necesitas */
}
  
/* Para mantener la alineación de los labels */
.form-check-sec .form-check-label.check {
    font-size: 13px;
    padding: 0;
    margin: 0;
    line-height: 1;
    vertical-align: middle;
    position: relative;
    top: 3px; /* Ajuste fino de alineación en los checkbox*/
}
  
/* Cada item checkbox/radio */
.form-check {
    display: flex;
    align-items: center; /* Alinea verticalmente los elementos */
    min-height: 10px; /* Altura consistente */
    line-height: 1px; /* Elimina espacio extra vertical */
}



/*AJUSTES DE LA TABLA*/

/* Añade esto al final de tu CSS sin eliminar nada existente */
#ClienteScoreTable_wrapper {
    width: 100% !important;
}

#ClienteScoreTable {
    min-width: 2000px; /* Ajusta según el ancho total necesario */
    width: 100% !important;
}

.dataTables_scrollBody {
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

/* Contenedor principal */
#ClienteScoreTable_wrapper {
    position: relative;
    overflow: auto;
    width: 100%;
    max-width: 100%;
}

/* Tabla principal */
#ClienteScoreTable {
    width: auto !important;
    min-width: 100%;
    table-layout: fixed;
}

/* Cabeceras fijas */
.dataTables_scrollHead {
    overflow: hidden !important;
}

/* Cuerpo con scroll */
.dataTables_scrollBody {
    overflow-x: auto !important;
    max-height: none !important;
}

/* Columnas */
#ClienteScoreTable th, 
#ClienteScoreTable td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 100px; /* Ajusta según necesidades */
    max-width: 190px; /* Ajusta según necesidades */
}

#ClienteScoreTable_wrapper .dataTables_scrollHead thead tr:nth-child(2) input[disabled] {
    display: none !important;
}


/*-------------------------------------------------------------------------------------*/
/*---SE AÑADE FUNCIONES ESPECÍFICAS DATATABLES PARA CONTENIDO DE INFORMACION DE LOS DATOS --DE TOOLTIP-----*/
/*-------------------------------------------------------------------------------------*/
/* Estilos para el texto expandible */
.expandable-text-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.ver-mas {
    margin-left: 3px;
    text-decoration: none !important;
    color: #1f71c2 !important;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: bold;
    transition: color 0.2s ease;
}

.ver-mas:hover {
    color: #0d47a1 !important;
    text-decoration: none !important;
}

.texto-corto,
.texto-completo {
    word-wrap: break-word;
    white-space: normal;
}

/* Asegurar que las celdas de la tabla permitan contenido expandible */
.dataTables_wrapper table td {
    white-space: normal !important;
    word-wrap: break-word;
}

/* Estilo opcional para resaltar el texto expandido */
.texto-completo {
    background-color: #f8f9fa;
    padding: 2px 4px;
    border-radius: 3px;
    border-left: 3px solid #1f71c2;
}

/* Asegurar que la tabla pueda manejar el contenido horizontal */
.dataTables_scrollBody {
    overflow-x: auto !important;
}

/* Opcional: Añadir sombra o desplazamiento si el texto es muy largo */
.expandable-text-container {
    max-width: 100%;
    overflow-x: visible;
}


/*-------------------------------------------------------*/
/*-----ESTILOS DEL MODAL DE DATATABLE DE CONTENIDO DE INFORMACION DE LOS DATOS DE TOOLTIP-----*/
/*-------------------------------------------------------*/
.text-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
}
                
.text-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 80vw;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 10001;
    border: 1px solid #ddd;
}
                
.text-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
                
.text-modal-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
                
.text-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
                
.text-modal-close:hover {
    color: #000;
    background-color: #f5f5f5;
    border-radius: 50%;
}
                
.text-modal-body {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
}

/* Estilos para el icono expandible */
.expand-icon {
    color: #1f71c2 !important;
    cursor: pointer !important;
    font-weight: bold !important;
    margin-left: 3px !important;
    display: inline-block !important;
    min-width: 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 3px !important;
    padding: 2px 4px !important;
    transition: all 0.2s ease !important;
}
                
.expand-icon:hover {
    color: #0d47a1 !important;
    background-color: #e3f2fd !important;
    text-decoration: none !important;
}
                
.expandable-content {
    position: relative !important;
    display: inline-block !important;
    width: 100% !important;
    max-width: 100% !important;
}
                
.short-text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-block !important;
    max-width: calc(100% - 30px) !important;
    vertical-align: middle !important;
}

/* Agregar esta línea a tu clase .text-modal-body existente */
.text-modal-body {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    text-align: justify; /* ← Linea de justificado que se le dio al modal */
}



