.text-success-enhanced {
    background-color: transparent;
    color: #00bb18; 
    padding: 5px;
    border-radius: 3px;
}

body {
    background-color: #ffffff !important;
}


.text-danger-enhanced {
    background-color: transparent;
    color: #ff0000;
    padding: 5px;
    border-radius: 3px;
}

.text-gray-enhanced {
    background-color: transparent;
    color: #a9a9a9; 
    padding: 5px;
    border-radius: 3px;
}

.text-warning-enhanced {
    background-color: transparent;
    color: #ff6a00;
    padding: 5px;
    border-radius: 3px;
}

.espacio-vacio {
    height: 40px; 
}

.espacio-entre-columnas {
    padding-left: 0px;
    padding-right: 0px;
}

.sin-padding {
    padding-left: 0;
    padding-right: 0;
}




.btn.disabled,
.btn:disabled {
    background-color: #E8E8E8 !important;
    border-color: #D0D0D0 !important;
    color: #707070 !important;
    cursor: not-allowed !important;
}

    .btn.disabled:hover,
    .btn:disabled:hover {
        background-color: #E8E8E8 !important;
        border-color: #D0D0D0 !important;
        color: #707070 !important;
    }

/* Estilo básico para el panel */
.panel-test {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px; 
    width: calc(100% - 20px); /* 10px de espacio a cada lado */
    border-radius: 8px;
    margin: 10px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* sombra suave */
}

.panel-title {
    font-size: 18px; 
    margin-bottom: 10px;
}

.panel-content {
    font-size: 16px; 
}

/* Estilos según los resultados */
.panel-default {
    background-color: #d0d0d0; /* gris tenue */
}

.panel-success {
    background-color: #e7ffe0; /* verde tenue */
}

.panel-warning {
    background-color: #ffa366; /* naranja tenue */
}

.panel-danger {
    background-color: #ffd4d4; /* rojo tenue */
}

/* Estilo para el contenedor principal */
.row {
    border: none; /* para asegurarse de que no hay bordes */
    background-color: transparent;
}


.panel-title {
    border-bottom: 1px solid #ddd; /* Esto añade un separador */
    padding-bottom: 10px; /* Espacio entre el título y el borde */
    margin-bottom: 10px; /* Espacio entre el título y el contenido siguiente */
    position: relative; /* Para posicionar el icono */
    padding-left: 25px; /* Espacio para el icono */
}

.panel-content {
    text-align: center; /* Centra el contenido */
    padding: 20px; /* Espacio entre el texto y los bordes del panel */
}


.deshabilitado, .deshabilitado *, .deshabilitado button {
    filter: grayscale(100%); /* Ajusta para tener el nivel de grises deseado */
    opacity: 0.75; /* Ajusta para tener el nivel de transparencia deseado */
    pointer-events: none; /* Para que los elementos no sean clicables */
    user-select: none; /* Evita que el contenido sea seleccionable */
    color: #d0d0d0; /* Color de texto gris clarito */
}

@media (min-width: 768px) {
    .col-sm-12 {
        width: 100% !important;
    }
}

.contenedor-tabla {
    overflow-x: auto;
}

#anchoBoton {
    width: auto !important;
    white-space: nowrap !important;
}


#altoBoton {
    height: auto !important;
}

.borde-redondeado {
    border: 1px solid #007dbc; /* Borde fino */
    border-radius: 20px; /* Esquinas redondeadas */
    padding: 10px; /* Espaciado interno */
}

@media (min-width: 768px) { 
    .borde-redondeado + .borde-redondeado {
        margin-left: 20px;
    }
}



td {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}



    .deshabilitado img, .deshabilitado button {
        filter: grayscale(100%); /* Las imágenes y botones se vuelven completamente grises */
    }

    .deshabilitado button {
        border-color: #d0d0d0; /* Ajusta el color del borde del botón */
    }


.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.center-button {
    display: flex;
    justify-content: center;
}


.custom-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    z-index: 10000; /* Sit on top */
}

.custom-modal-content {
    background-color: #fefefe;
    margin-top: 2%; 
    margin-left: auto; /* Centrado horizontalmente */
    margin-right: auto; /* Centrado horizontalmente */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 898px; /* Maximum width */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.custom-modal-header,
.custom-modal-footer {
    padding: 2px 16px;
    color: black;
    text-align: center;
}

.custom-modal-body {
    padding: 20px 16px; /* Aumenta el relleno para más espacio */
    text-align: justify; /* Justifica el texto del cuerpo si es necesario */
    font-size: 14px
}

.custom-modal-footer {

}

@media screen and (max-width: 600px) {
    .custom-modal-content {
        width: 95%;
    }
}


.custom-modal hr {
    border: 0; /* Elimina el borde predeterminado */
    height: 1px; /* Establece la altura del separador */
    background-color: #ccc; /* Establece el color del separador */
    margin: 20px 0; /* Añade un margen vertical para separar del contenido */
}



