/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 02 2025 | 21:04:14 */
/* --- Estilos generales formulario ---  */
/*--- Estilos formulario ---*/
/* .form-group {
    display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 30px;
}

.form-group-item {
    display: flex;
    flex-direction: column;
    width: 48% !important;
}
 */
.form-group-item label {
    display: block;
    font-weight: 600;
    color: #26203B;
    margin-bottom: 8px;
    font-size: 0.8em;
}

.form-group-item label.required::after {
    content: " *";
    color: #E45270;
    font-weight: bold;
}

/*--- Estilos carga archivo ---*/
.form-group-item input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed #9C9AA5;
    border-radius: 8px;
    background: #f8f9fa;
    font-size: 0.8em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-group-item input[type="file"]:hover {
    border-color: #0F42FA;
    background: #ecf0f1;
}

.form-group-item input[type="file"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/*--- Estilos select ---*/


.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #465FF140;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.8em;
    transition: all 0.4s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    color: #1A1A1A;
}

.form-group select:required:invalid{
    color: #9C9AA5;
}

.form-group select option {
    color: #1a1a1a;
}

.form-group select:hover {
    border-color: #465FF1;
    background-color: #f8f9fa;
}

.form-group select:focus {
    outline: none;
    border-color: #465FF1;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group select option {
    padding: 8px;
    font-size: 1em;
}

.form-help,
.file-info {
    display: block;
    margin-top: 8px;
    color: #A3AED0;
    font-size: 0.8em;
    font-style: italic;
    line-height: 1.2;
}

/*--- Estilos botón ---*/

.submit-button {
    padding: 12px 60px;
    background-color: #0E43FB;
    color: #FFF;
    border: none;
    border-radius: 360px;
    font-size: 0.8em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background-color: #FDC721;
    color: #19365E;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(52, 152, 219, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}


.submit-button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- Animación carga procesar archivo ---*/

.loading-spinner {
    display: inline-block;
    margin-left: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* --- Estilos generales de resultados --- */
/* --- Contenedor de resultados ---*/

.result-container {
    background-color: #F5F8FF;
    padding: 30px;
    border: solid 1px #0F42FA;
    border-radius: 15px;
    width: fit-content;
    align-self: center;
}

.result-container.success {
    background: #e1f5e6;
    border-color: #28a745;
    color: #155724;
}

.result-container.error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.result-container .result-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-container .result-content .result-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    align-self: center;
}

.result-container.success .result-content .result-icon {
    background: #28a745;
    color: white;
}

.result-container.error .result-content .result-icon {
    background: #dc3545;
    color: white;
}

.result-container.error .result-content .result-message {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.result-container.error .result-content .result-details {
    font-size: 14px;
    opacity: 0.8;
}


/* Barra de progreso */

.progress-container {
    margin-top: 25px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

/* Estilos para mensajes de error específicos */
.error-message {
    color: #dc3545;
    font-size: 0.8em;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.duplicates-section,
.errors-section,
.registros-fuera-mes-section,
.registros-fuera-entidad-section {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.duplicates-section h3,
.errors-section h3,
.registros-fuera-mes-section h3,
.registros-fuera-entidad-section h3 {
    color: #2c3e50;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 10px;
}

.duplicates-section p,
.errors-section p,
.registros-fuera-mes-section p,
.registros-fuera-entidad-section p {
    color: #6c757d;
    margin-bottom: 15px;
}

.table-responsive {
    overflow-x: auto;
}


/* Las tablas heredan estilos del archivo unificado */

.duplicates-table,
.errors-table,
.registros-fuera-mes-table,
.registros-fuera-entidad-table {
     /*Hereda estilos del archivo unificado */
}

/* Botones de acción */

.btn-update,
.btn-delete,
.btn-ignore {
    margin: 2px;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-update {
    background: #28a745;
    color: white;
}

.btn-update:hover {
    background: #218838;
    transform: translateY(-1px);
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.btn-ignore {
    background: #6c757d;
    color: white;
}

.btn-ignore:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Estilos específicos para registros fuera del mes */

.registros-fuera-mes-section {
    border-left: 4px solid #e74c3c;
}

.registros-fuera-mes-section h3 {
    color: #e74c3c;
}

.registros-fuera-mes-table td:nth-child(5) {
    color: #e74c3c;
    font-weight: bold;
}

/* Estilos específicos para registros fuera de la entidad */

.registros-fuera-entidad-table {
	border: none !important;
}

.registros-fuera-entidad-section {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.registros-fuera-entidad-section h3{
    color: #1A1A1A;
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 30px;
    text-align: center;
}

.registros-fuera-entidad-section p {
    color: #505B7C !important;
    font-size: 0.8em;
    margin: 0;
    margin-bottom: 30px;
}

.registros-fuera-entidad-section .table-responsive .registros-fuera-entidad-table {
    border: none;
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
}

.registros-fuera-entidad-section .table-responsive .registros-fuera-entidad-table thead tr th {
    background: transparent !important;
    padding: 8px !important;
    color: #878790 !important;
    font-size: 0.8em;
    font-weight: 500;
    text-align: left;
}

.registros-fuera-entidad-section .table-responsive .registros-fuera-entidad-table tbody tr {
    background: #F5F8FF;
}


.registros-fuera-entidad-section .table-responsive .registros-fuera-entidad-table tbody tr td:first-child {
    border-radius: 5px 0px 0px 5px !important;
}

.registros-fuera-entidad-section .table-responsive .registros-fuera-entidad-table tbody tr td:last-child {
    border-radius: 0px 5px 5px 0px !important;
}

.registros-fuera-entidad-section .table-responsive .registros-fuera-entidad-table tbody tr td {
    color: #3A3A49;
    font-size: 0.8em;
}

/* --- Responsive --- */

@media (max-width: 767px) {
    .form-group {
        flex-direction: column;
    }
    
    .form-group-item {
        width: 100% !important;
    }
}

/* Responsive para tablas */

@media (max-width: 767px) {
    .duplicates-table,
    .errors-table,
    .registros-fuera-mes-table,
    .registros-fuera-entidad-table {
        font-size: 12px;
    }
    
    .duplicates-table th,
    .duplicates-table td,
    .errors-table th,
    .errors-table td,
    .registros-fuera-mes-table th,
    .registros-fuera-mes-table td,
    .registros-fuera-entidad-table th,
    .registros-fuera-entidad-table td {
        padding: 6px 8px;
    }
    
    .btn-update,
    .btn-delete,
    .btn-ignore {
        padding: 4px 8px;
        font-size: 11px;
    }
    
}




/* --- Estilos tablas generales --- */

/* --- Estilo filtro cantidad de resultados */

.dataTables_wrapper .dataTables_length label {
    color: #26203B;
    font-size: 1em;
    font-weight: 500;
}

.dataTables_wrapper  .dataTables_length label select {
    border: 1px solid #465FF140;
    border-radius: 8px;
    background: #ffffff;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.4s ease;
}


.dataTables_wrapper  .dataTables_length label select:hover {
    border-color: #465FF1;
    background-color: #f8f9fa;
}

/* --- Estilo filtro búsqueda resultados tabla estado --- */

.dataTables_wrapper  .dataTables_filter label {
    font-size: 1em;
    color: #64748B;
}

.dataTables_wrapper  .dataTables_filter label input {
    border: solid 1px #DFDFDF !important;
    border-radius: 8px;
}

/* --- Estilos header tabla estados ---*/

.dataTables_wrapper .dataTable {
    border: none;
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
}


.dataTables_wrapper .dataTable thead tr th{
    border: none;
    background: transparent !important;
    padding: 8px !important;
    color: #878790 !important;
    font-size: 0.8em;
    font-weight: 500;
    text-align: left;
    
}

.dataTables_wrapper .dataTable thead tr .sorting::before,
.dataTables_wrapper .dataTable thead tr .sorting::after{
    color: #0E43FB;
    
}

/* --- Estilos body tabla estados ---*/

.dataTables_wrapper .dataTable tbody tr {
    border: none;
    background-color: #F5F8FF !important;
    box-shadow: none !important;
}

.dataTables_wrapper .dataTable tbody tr td {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
   
}


.dataTables_wrapper .dataTable tbody tr td:first-child {
    border-radius: 5px 0px 0px 5px !important;
}

.dataTables_wrapper .dataTable tbody tr td:last-child {
    border-radius: 0px 5px 5px 0px !important;
}


.dataTables_wrapper .dataTable tbody tr td {
    color: #3A3A49;
    font-size: 0.8em;
}


/* Estados de operación */

.dataTables_wrapper .dataTable tbody tr td .estado-v {
    background-color: #48BB78;
    color: #FFF;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
}

.dataTables_wrapper .dataTable tbody tr td .estado-m {
    background-color: #ffc107;
    color: #212529;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
}

.dataTables_wrapper .dataTable tbody tr td .estado-p {
    background-color: #17a2b8;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
}

/* --- Paginación Datatables  ---*/
.tabla-wrapper .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #64748B !important;
    padding: 5px 10px !important;
    background: #fff !important;
    border-radius: 5px;
    border: 1px solid #64748B;
    transition: all .4s ease;
}

.tabla-wrapper .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    box-shadow: none !important;
    background: #0E43FB30 !important;
    border: 1px solid #0E43FB;
	color: #64748B !important;
    
    
}

.tabla-wrapper .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: #FFF !important;
    margin: 0 2px;
    background: #0E43FB !important;
    border: 1px solid #0E43FB;
}

