i.fa {
    display: initial;
}

        /*Estilos de los div*/
        .fila {
            display: flex;
            gap: 10px;
            margin: 10px;
            flex-wrap: wrap;
        }

        .columna {
            flex-grow: 1;
            flex-basis: 400px;
            padding: 0;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .blanco {
            background-color: var(--fondo-div);
        }

        .tarjeta-header {
            background-color: #f8f9fa;
            padding: 10px 15px;
            border-bottom: 1px solid #ddd;
        }

        .tarjeta-header h5 {
            margin: 0;
            font-size: 1.2rem;
            font-weight: 500;
        }

        .tarjeta-cuerpo {
            padding: 15px;
        }

        .from-grupos {
            margin-bottom: 0.8rem;
        }

        /*Fin Estilos de los div*/



        /*Todos los estilos de la tabla*/

        .table-container {
            width: 100%;
            align-items: center;
            overflow-x: auto;
        }

        table {
            border-collapse: separate;
            border-spacing: 0;
            width: 100%;

        }

        table tr th,
        table tr td {
            border-bottom: 1px solid #ddd;
            padding: 5px;
            text-align: left;
        }

        table tr {
            border-top: solid 1px #ddd;
        }

        table td {

            color: #212529;
        }

        table th {
            background-color: #f1f5f9;
            color: #495057;
            font-weight: 600;
        }

        /* top-left border-radius */
        table tr:first-child th:first-child {
            border-top-left-radius: 15px;
        }

        /* top-right border-radius */
        table tr:first-child th:last-child {
            border-top-right-radius: 15px;
        }

        /* bottom-left border-radius */
        table tr:last-child td:first-child {
            border-bottom-left-radius: 15px;
        }

        /* bottom-right border-radius */
        table tr:last-child td:last-child {
            border-bottom-right-radius: 15px;
        }

        table tr:hover {
            background-color: #F1F1F1;
        }

        table td i {
            font-size: 0.875em;
            cursor: pointer;
        }

        .icon-red-tabla {
            color: #dc3545;
        }

        /*fin de estilos de la tabla*/

        /*Estilos de iconos en los td de la tabla*/
        .openfolder {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid #FFC107;
            color: #FFC107;
            cursor: pointer;
            padding: 0px;
            transition: all 0.3s ease;
            background: none;
            display: flex !important;
            align-items: center;
            justify-content: center;
        }

        .openfolder:hover {
            background-color: #F8D775;
            color: white;
            transform: scale(1.1);
        }


        .delete-btn {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid #dc3545;
            color: #dc3545;
            cursor: pointer;
            padding: 0px;
            transition: all 0.3s ease;
            background: none;
            display: flex !important;
            align-items: center;
            justify-content: center;
        }

        .delete-btn:hover {
            background-color: #dc3545;
            color: white;
            transform: scale(1.1);
        }

        .edit-btn {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid #0e63e2;
            color: #0e63e2;
            cursor: pointer;
            padding: 0px;
            transition: all 0.3s ease;
            background: none;
            display: flex !important;
            align-items: center;
            justify-content: center;
        }

        .edit-btn:hover {
            background-color: #0e63e2;
            color: white;
            transform: scale(1.1);
        }

        .delete-muted {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            padding: 0;
            display: flex !important;
            align-items: center;
            justify-content: center;
            color: #adb5bd;
            cursor: not-allowed;
        }

        /*fin Estilos de iconos en el td de la tabla*/

        /*Estilos de los estados de la tabla*/
        .estado {
            padding: 5px 10px;
            border-radius: 12px;
            font-size: 12px;
        }

        .estado.aprobado {
            background-color: #28A745;
            color: white;
            font-weight: 500;
        }

        .estado.pendiente {
            background-color: #FFC107;
            color: #212529;
            font-weight: 500;
        }

        .estado.modificar {
            background-color: #FF9999;
            color: #660000;
            font-weight: 500;
        }

        .estado.verificado {
            background-color: #17A2B8;
            color: white;
            font-weight: 500;
        }

        /*Estilos de los estados de la tabla*/

        /* Estilos para los Card de información*/
        .info-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.8rem;
        }

        .info-item {
            display: flex !important;
            align-items: center;
            background: #f8f9fa;
            border-radius: 6px;
            padding: 0.5rem;
            height: 100%;
        }

        .info-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex !important;
            align-items: center;
            justify-content: center;
            padding: 0;
            margin-right: 0.8rem;
            flex-shrink: 0;
        }

        .info-content {
            flex: 1;
        }

        .info-label {
            font-size: 0.75rem;
            color: #6c757d;
            font-weight: 500;
        }

        .info-value {
            font-size: 0.9rem;
            font-weight: 500;
            color: #343a40;
        }

        /*Fin de estilo para los Card de Informacion*/

        /* Colores para la descripción de iconos en infromación*/
        .bg-primary {
            background-color: #0d6efd;
        }

        .bg-info {
            background-color: #0dcaf0;
        }

        .bg-warning {
            background-color: #ffc107;
        }

        .bg-success {
            background-color: #198754;
        }

        /*fin  Colores para la descripción de iconos en infromación*/



        /*Estilo de los iconos y estados en información*/
        .lista-iconos {
            list-style-type: none;
            padding: 0;
        }

        .lista-iconos li {
            color: #949191;
            font-size: 14px;
            line-height: 1.6;
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .lista-iconos li i {
            margin-right: 10px;
            font-size: 16px;
        }

        /*Fin Estilo de los iconos y estados en información*/

        /*Estilos de los componentes*/

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

/* Contenedor de Búsqueda */
.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

    .search-container select {
        flex: 1;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #CCCCCC;
        border-radius: 5px;
        max-width: 250px;
    }

    .search-container input {
        flex: 2;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #CCCCCC;
        border-radius: 5px;
    }

    .search-container button {
        padding: 10px 20px;
        font-size: 1rem;
        border-radius: 5px;
        border: none;
        background-color: #0d6efd;
        color: #fff;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .search-container button:hover {
            background-color: #0b5ed7;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

/* fin Contenedor de Búsqueda */

        /*Estilo de los select*/
        select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 9px;
            font-size: 14px;
            color: #333;
            transition: border-color 0.3s;
            margin: 0 auto;
        }

        select:focus {
            border-color: var(--focus-border-color);
            outline: none;
        }

        /*Fin Estilo de los select*/
        /* Estilos de botondes de guardar o actualizar*/
        .btn-actualizar {
            background-color: #0d6efd;
            color: #fff;
            font-size: 16px;
            font-weight: bold;
            padding: 12px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            transition: background 0.3s;
            margin-top: 15px;
        }

        .btn-actualizar:hover {
            background-color: #0b5ed7;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .btn-save {
            background-color: #008000;
            color: #fff;
            font-size: 16px;
            font-weight: bold;
            padding: 12px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            transition: background 0.3s;
            margin-top: 15px;
        }

        .btn-save:hover {
            background-color: #008000;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .btn-cancel {
            background-color: #dd0004;
            color: #fff;
            font-size: 16px;
            font-weight: bold;
            padding: 12px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            transition: background 0.3s;
            margin-top: 15px;
        }

        .btn-cancel:hover {
            background-color: #dd0004;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .actions-cell {
            display: flex;
        }

        .btn {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            padding: 0px;
            transition: all 0.3s ease;
            background: none;
            display: flex !important;
            align-items: center;
            justify-content: center;
        }

        .btn:hover {
            transform: scale(1.1);
            color: white;
        }

        .send-btn {
            border: 1px solid #008800;
            color: #008800;
        }

        .send-btn:hover {
            background-color: #008800;
        }

.spinner-border {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: text-bottom;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    100% {
        transform: rotate(360deg);
    }
}

        /* Fin Estilos de botondes de guardar o actualizar*/

        /*Estilos para los input file y text*/
        .form-control {
            display: block;
            width: 100%;
            font-size: 1rem;
            line-height: 1.5;
            color: #212529;
            background-color: #fff;
            background-clip: padding-box;
            border: 1px solid #ced4da;
            border-radius: 0.375rem;
            box-sizing: border-box;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }

        .form-control-text {
            display: block;
            width: 100%;
            padding: 0.375rem 0.75rem;
            font-size: 1rem;
            line-height: 1.5;
            color: #212529;
            background-color: #fff;
            background-clip: padding-box;
            border: 1px solid #ced4da;
            border-radius: 0.375rem;
            box-sizing: border-box;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }

        .archivo-personalizado::-webkit-file-upload-button {
            padding: 10px 16px;
            margin-right: 10px;
            /* background-color: #007bff; */
            color: #212529;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            height: 100%;
        }

        .archivo-personalizado::-webkit-file-upload-button:hover {
            background-color: #ced4da;
        }

        /*Fin Estilos para los input file y text*/

        /*Estilo de los label de los heat de los div*/
        .text-dark {
            color: #212529;
        }

        i {
            margin-right: 0.25rem;
        }

        label {
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: #495057;
            display: block;
        }

        /*Fin Estilo de los label de los heat de los div*/

        /*Fin de Estilos de los componentes*/

        /*Estilos del modal************************/
        .modal-background {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
        }
        
        .modal-background-visible {
            display: block !important;
        }

        .close-modal {
            position: absolute;
            right: 20px;
            top: 15px;
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            z-index: 11;
        }

        .close-modal:hover {
            color: #eb0b0b;
        }

        .Modal1 {
            visibility: hidden;
            opacity: 0;
            background-color: var(--page-background);
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 15px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
            overflow-x: hidden;
            z-index: 1001;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .Modal1.visible {
            visibility: visible;
            opacity: 1;
        }

        .modal-visible {
            visibility: visible !important;
            opacity: 1 !important;
        }

        .justify-button-file {
            display: flex;
            justify-content: flex-end;
        }

        /*Fin Estilos del modal************************/

        @media (max-width: 768px) {

            table th {
                font-size: 12px;
            }

            table td {
                font-size: 12px;
            }

            .estado {
                font-size: 12px;
            }

            table td i {
                font-size: 1.2em;
            }
        }

        @media (max-width: 480px) {


            table th {
                font-size: 9px;
            }

            table td {
                font-size: 9px;
            }

            .estado {
                font-size: 9px;
            }

            table td i {
                font-size: 1.5em;
            }
        }

        .status-active {
            color: green;
            font-weight: bold;
        }

        .status-inactive {
            color: red;
            font-weight: bold;
        }

        /* Estilos básicos para el botón de toggle */
        .toggle-btn {
            cursor: pointer;
            font-size: 1.5rem; /* Tamaño del ícono */
            margin: 0 5px; /* Espaciado entre botones */
            transition: color 0.3s ease; /* Transición suave del color */
        }

        /* Estilo para el estado activo (toggle-on) */
        .toggle-btn.fa-toggle-on {
            color: #4CAF50; /* Un color verde para indicar 'activo' */
        }

        /* Estilo para el estado inactivo (toggle-off) */
        .toggle-btn.fa-toggle-off {
            color: #FF5252; /* Un color rojo para indicar 'desactivo' */
        }

        /* Estilo al pasar el ratón por encima (hover) */
        .toggle-btn:hover {
            transform: scale(1.1); /* Efecto de crecimiento al pasar el ratón */
        }

        /* 🔍 Estilo del buscador */
        .search-container {
            position: relative;
            display: inline-block;
            margin-bottom: 12px;
        }

        .search-container input {
            padding: 10px 38px 10px 14px;
            border-radius: 25px;
            border: 1px solid #ccc;
            outline: none;
            font-size: 14px;
            background-color: #fff;
            color: #333;
            transition: all 0.25s ease-in-out;
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
        }

        .search-container input::placeholder {
            color: #999;
            font-style: italic;
        }

        .search-container input:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 6px rgba(13,110,253,0.4);
        }

        .search-container::after {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
            color: #888;
            pointer-events: none;
        }

        /* 📄 Paginación */
        .pagination {
            margin-top: 12px;
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .pagination button {
            padding: 6px 12px;
            cursor: pointer;
            border: none;
            border-radius: 6px;
            background-color: #f1f3f5;
            color: #333;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.25s ease-in-out;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }

        .pagination button:hover {
            background-color: #0d6efd;
            color: #fff;
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        }

        .pagination button:disabled {
            background-color: #0d6efd;
            color: white;
            cursor: default;
            box-shadow: none;
            transform: none;
        }

        .info-personal {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }

        .info-personal img {
            width: 110px;
            height: 110px;
            border-radius: 50px;
        }

        .info-personal .resumen {
            flex: 1;
        }

            .info-personal .resumen p {
                margin: 5px 0;
                color: #495057;
            }
