#cardInsideCat {
    background-image: url('/img/fondoPlanta.png');
    background-size: cover; /* para que cubra todo el div */
    background-position: center; /* para centrar la imagen */
    background-repeat: no-repeat; /* evita que se repita */
    background-attachment: fixed;
}

#custom-tabs-one-tabContent {
    background-color: rgba(255, 255, 255, 0.85); /* Blanco con % de opacidad */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.9); /* Sombra para mejor contraste */
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-left-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: text-bottom;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.h1-custom {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
}

@media (max-width: 576px) {
    .texto-responsivo {
        font-size: 1.25rem !important;
    }
}

.choices {
    width: 100%;
    margin-bottom: 0px !important;
}

.choices__list--dropdown .choices__item,
.choices__item.choices__item--selectable {
    font-size: 0.9rem;
    padding: 0px 0px;
}

.BotonAgregarPersona {
    text-decoration: underline;
}

.BotonEliminarPersona {
    height: 2.75rem;
}

.disabled-container {
    pointer-events: none;
    opacity: 0.5;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#rangoFechas:hover {
    cursor: pointer;
    background-color: #f0f8ff;
}

.contenedor {
    position: relative;
    display: inline-block;
}

.contenedor img {
    display: block;
    width: 600px;
}

.texto-superpuesto {
    position: absolute;
    font-size: 20px;
    font-weight: bold;
}

.choices__inner.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25) !important;
}

.modal-xxl {
    max-width: 95vw;
}

.modal-fullscreen {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.modal-fullscreen .modal-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.modal-fullscreen .modal-body {
    overflow-y: auto;
    flex-grow: 1;
}

.riesgo-noaplica {
    background-color: #ffffff;
    color: #000000;
}

.riesgo-intolerable {
    background-color: #dc3545;
    color: #ffffff;
}

.riesgo-indeseable {
    background-color: #ffc107;
    color: #000000;
}

.riesgo-administrable {
    background-color: #ffeb3b;
    color: #000000;
}

.riesgo-tolerable {
    background-color: #28a745;
    color: #ffffff;
}

input.riesgo-noaplica[readonly] {
    background-color: #ffffff;
}

input.riesgo-intolerable[readonly] {
    background-color: #dc3545;
}

input.riesgo-indeseable[readonly] {
    background-color: #ffc107;
}

input.riesgo-administrable[readonly] {
    background-color: #ffeb3b;
}

input.riesgo-tolerable[readonly] {
    background-color: #28a745;
}

.dropzone.is-invalid {
    border: 1px solid #dc3545 !important;
    background-color: #f8d7da !important;
    border-radius: 0.25rem;
}

.btn-accion-vertical {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-acciones {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.hideToEvalFacHum {
    display: block;
}

th.hideToEvalFacHum,
td.hideToEvalFacHum {
    display: table-cell;
}

.showToEvalFacHum {
    display: none;
}

.evalFacHum-on .hideToEvalFacHum {
    display: none !important;
}

.evalFacHum-on .showToEvalFacHum {
    display: block !important;
}

.evalFacHum-on th.showToEvalFacHum,
.evalFacHum-on td.showToEvalFacHum {
    display: table-cell !important;
}

#btnScrollTop {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0));
    z-index: 2005 !important;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(.9);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

#btnScrollTop i {
    font-size: 1rem;
}

#btnScrollTop.show {
    opacity: .70;
    visibility: visible;
    transform: scale(1);
    transition-delay: 0s;
}

.sidebar-open #btnScrollTop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.modal-open #btnScrollTop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.no-scrolltop #btnScrollTop {
    display: none !important;
}
