body.modal-open {
    overflow: hidden;
}

.text-justify-custom {
    text-align: justify !important;
}

.linkParam {
    position: relative;
}

.linkParam::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background-color: #ffc107;
    /* amarillo Bootstrap */
    border-radius: 50%;
}

.into-circle {
    width: 3rem;
    height: 3rem;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 0.5rem;
    font-size: 1rem;
    white-space: nowrap;
    aspect-ratio: 1 / 1;
}

.btn-block-uniform {
    min-height: 45px;
    width: 100%;
    white-space: normal;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    #navbarNavCollapse {
        display: none !important;
    }

    .navbar-toggler {
        display: none !important;
    }
}

/****************TEXT */
.fs--1 {
    font-size: 1.5em;
}
.fs--2 {
    font-size: 1em;
}

.skeleton-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skeleton-img.is-loading,
.skeleton-img:not([src]) {
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
    background-size: 400% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
    color: transparent;
    /* oculta contenido si lo hubiera */
}

.thumb-frame {
    position: relative;
    width: 90px;
    height: 60px;
    /* tamaño uniforme */
    overflow: hidden;
    border-radius: 0.25rem;
    background: #f3f3f3;
}

.thumb-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* recorte centrado sin distorsión */
    object-position: center center;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* Estilo cuando están disponibles para selección */
.selArt {
    outline: 2px solid #17a2b8;
    /* Azul verdoso */
    border-radius: 3px;
    transition: outline 0.2s ease-in-out;
}

.selArt.enabled {
    outline: 2px solid #17a2b8;
    /* Azul verdoso */
    cursor: pointer;
}

/* Estilo cuando el checkbox está deshabilitado */
.selArt.disabled {
    outline: 2px solid #d6d6d6;
    /* Gris claro */
    cursor: not-allowed;
    opacity: 0.6;
}

/********[MULTY SCANN]*******/

.scanner-area,
.scanner-box {
    max-width: 450px;
    height: 250px;
    margin: 0 auto;
    position: relative;
}

.btn-iniciar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-iniciar:hover {
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.3);
    transform: translate(-50%, -50%) scale(1.05);
}

.scanner-ui {
    max-width: 450px;
    max-height: 250px;
    width: 100%;
    height: 100%;
    min-height: 250px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 2px solid #ccc;
    background-color: #d9d9d9;
}

.scanner-ui video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.scan-timer {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

@media (max-width: 480px) {
    .scanner-box,
    .scanner-ui {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 2;
    }
}

/* ⚠️ Ya no uses .fade */
.cw-fade {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cw-fade-in {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.cw-fade-out {
    opacity: 0 !important;
    transform: scale(0.95) !important;
    pointer-events: none;
}

.cw-flash {
    animation: cwFlashAnim 0.3s ease-in-out;
}

@keyframes cwFlashAnim {
    0% {
        box-shadow: 0 0 10px 2px limegreen;
    }

    100% {
        box-shadow: none;
    }
}

/********[SCANNING]]*******/
.scanReader {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    min-height: 200px;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}
.qrbox {
    border: 2px solid #000; /* Make the border visible */
    position: relative;
}
@media (max-width: 600px) {
    .scanReader {
        width: 100%;
        height: auto;
    }
}

.signPad {
    border: 1px solid #ccc; /* Gray border */
    background-color: #f8f9fa; /* Light gray background, typical for Bootstrap themes */
    max-height: 350px;
    width: auto;
}

.dataTbl {
    width: 100%;
    min-width: 500px;
}

div.dataTables_wrapper div.dataTables_length select {
    width: auto;
    min-width: 55px;
}

/**************[Form Drop View]********************/

#drop-row {
    border: 2px dashed #bcedff;
    min-height: 100px;
}

.component {
    cursor: pointer;
}

.fb-element {
    min-height: 50px;
    height: auto;
    border-color: #bcedff !important;
}

/**************DATA TABLE TR ALERTS******************/
table.dataTable tbody tr.bg-soft-test td {
    background-color: #fff3f3 !important;
}

table.dataTable tbody tr.bg-soft-warning td {
    background-color: #fff9db !important;
}

table.dataTable tbody tr.bg-soft-success td {
    background-color: #f4fdf1 !important;
}

/*********************[AUTJO STATUS DATATABLE BACKGROUND]*******************************/

.table.dataTable tbody tr.bg-autho-status-0 {
    background-color: rgba(240, 173, 78, 0.1) !important;
}

.table.dataTable tbody tr.bg-autho-status-1 {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.table.dataTable tbody tr.bg-autho-status-2 {
    background-color: rgba(102, 16, 242, 0.1) !important;
}

.table.dataTable tbody tr.bg-autho-status-99 {
    background-color: rgba(220, 53, 69, 0.1) !important;
}
/*******************[STATUS DATATABLE BACKGROUND]*******************************/
.table.dataTable tbody tr.bg-status-0 {
    background-color: rgba(0, 196, 204, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-1 {
    background-color: rgba(23, 162, 184, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-2 {
    background-color: rgba(0, 123, 255, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-3 {
    background-color: rgba(102, 16, 242, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-4 {
    background-color: rgba(73, 73, 73, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-5 {
    background-color: rgba(253, 126, 20, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-6 {
    background-color: rgba(108, 117, 125, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-7 {
    background-color: rgba(32, 201, 151, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-8 {
    background-color: rgba(240, 173, 78, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-9 {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-10 {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-11 {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-12 {
    background-color: rgba(232, 62, 140, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-13 {
    background-color: rgba(0, 127, 95, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-14 {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-15 {
    background-color: rgba(111, 66, 193, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-16 {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-17 {
    background-color: rgba(108, 117, 125, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-18 {
    background-color: rgba(253, 126, 20, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-19 {
    background-color: rgba(52, 58, 64, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-20 {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-21 {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-22 {
    background-color: rgba(173, 181, 189, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-23 {
    background-color: rgba(164, 110, 254, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-24 {
    background-color: rgba(102, 16, 242, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-25 {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-26 {
    background-color: rgba(108, 117, 125, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-27 {
    background-color: rgba(214, 51, 132, 0.1) !important;
}

.table.dataTable tbody tr.bg-status-28 {
    background-color: rgba(220, 53, 69, 0.1) !important;
}
.table.dataTable tbody tr.bg-status-29 {
    background-color: rgba(102, 16, 242, 0.1) !important;
}
.table.dataTable tbody tr.bg-status-30 {
    background-color: rgba(253, 126, 20, 0.1) !important;
}
.table.dataTable tbody tr.bg-status-31 {
    background-color: rgba(23, 162, 184, 0.1) !important;
}
.table.dataTable tbody tr.bg-status-32 {
    background-color: rgba(255, 193, 7, 0.1) !important;
}
.table.dataTable tbody tr.bg-status-33 {
    background-color: rgba(102, 16, 242, 0.1) !important;
}
.table.dataTable tbody tr.bg-status-34 {
    background-color: rgba(37, 99, 235, 0.1) !important;
}
.table.dataTable tbody tr.bg-status-97 {
    background-color: rgba(255, 189, 23, 0.1) !important;
}
.table.dataTable tbody tr.bg-status-98 {
    background-color: rgba(214, 51, 132, 0.1) !important;
}
.table.dataTable tbody tr.bg-status-99 {
    background-color: rgba(220, 53, 69, 0.1) !important;
}
/**************************************************/

.modal-backdrop.show {
    z-index: 1040;
}

.modal.show {
    z-index: 1050;
}

.modal.second-modal.show {
    z-index: 1060;
}

.modal {
    /* z-index: 9999; */
    overflow: visible !important;
}

.modal-content {
    max-height: none;
    /* ← Permite que el modal crezca según contenido */
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.modal-body {
    /* padding-bottom: 80px; */
    overflow: auto;
    flex-grow: 1;
    /* ← Para ocupar espacio restante cuando sea necesario */
}

.live-search-results {
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1060;
    /* por encima del modal */
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    position: relative;
    padding-bottom: 0px;
}

.floating-create-btn {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 10px;
    border-top: 1px solid #dee2e6;
    z-index: 10;
}

.auto-results {
    background-color: #fff;
    /* ✅ blanco sólido */
    border-radius: 0.25rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* suave sombra opcional */
}

.sticky-modal-buttons {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 1.2rem 1rem;
    border-top: 1px solid #dee2e6;
    background-color: #f5f5f5;
    z-index: 10;
    box-shadow: 0 -1px 9px rgba(0, 0, 0, 0.35);
    border-radius: 4px;
    border: 1px solid #b0b0b0;
    position: sticky;
}

.sticky-modal-buttons .floating-label {
    position: absolute;
    top: 0.4rem;
    left: 1rem;
    font-size: 0.75rem;
    color: #9da1a4;
    font-weight: 400;
    text-transform: uppercase;
    pointer-events: none;
}

.swal2-container {
    z-index: 10000; /* Ajusta este valor según sea necesario */
}

.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    padding-bottom: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.horizontal-scroll-container .col-md-6 {
    flex: 0 0 auto;
    width: 300px;
    /* Puedes ajustar el ancho si deseas */
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #b8b8b8 !important;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #b8b8b8 !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #b8b8b8 !important;
}

.modal:nth-of-type(even) {
    /*    z-index: 1062 !important;*/
}
.modal-backdrop.show:nth-of-type(even) {
    /*    z-index: 1061 !important;*/
}

.errorText,
.errorText a,
.errorText span {
    color: red !important;
}

.multi-chip {
    background: #eef3f7;
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
}

.multi-chip .text--delete {
    color: #e74c3c;
    text-decoration: none;
}

.labelMsg {
    margin-top: 2px;
    margin-right: 0px;
    margin-left: 6px;
    margin-bottom: 0px;
    font-size: 11px;
    display: block;
    position: relative;
    margin-bottom: 1px;
    line-height: 1.2;
    padding-right: 1.4rem;
}

/* ==== LabelOverflow styles ==== */
.lm-truncated {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    /* max-width: 100%; */
    max-width: 100% !important;
}

.lm-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lm-icon {
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 0;
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    /* color: currentColor; */
    /* hereda el color del label */
}

.lm-icon:hover {
    opacity: 1;
}

.lm-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Tooltip */
.lm-tooltip {
    position: absolute;
    z-index: 2147483647;
    max-width: min(80vw, 520px);
    background: #111;
    color: #fff;
    padding: 0.5rem 0.625rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.requiredInput {
    color: red;
}

/* 
.form-control.is-invalid { 
    border-right: -2rem !important;
} 
*/

.form-control.is-invalid {
    border-right: 1px solid #f72b50 !important;
}

.label-scroll {
    white-space: nowrap;
    overflow-x: auto;
    display: block;
    width: 100%;
}

.form-select {
    padding: 0.71rem 1.25rem;
    color: #6e6e6e;
    border-radius: 0.625rem;
}

.col-cal {
    flex: 0 0 auto !important;
    width: 14.285714% !important;
}

.imageToCaro {
    cursor: pointer;
}

/*Text*/
.fs---0 {
    font-size: 8px !important;
}
.fs---1 {
    font-size: 11px !important;
}
.fs---2 {
    font-size: 12px !important;
}
.fs---3 {
    font-size: 18px !important;
}
.fs---4 {
    font-size: 24px !important;
}
.fs---5 {
    font-size: 40px !important;
}

.fl--1 {
    line-height: 4px !important;
}
.fl--2 {
    line-height: 8px !important;
}
.fl--3 {
    line-height: 14px !important;
}
.fl--4 {
    line-height: 20px !important;
}
.fl--5 {
    line-height: 24px !important;
}
.fl--6 {
    line-height: 30px !important;
}

.mb--1 {
    margin-bottom: 100px;
}
.mb--2 {
    margin-bottom: 150px;
}
.mb--3 {
    margin-bottom: 200px;
}
.mb--4 {
    margin-bottom: 250px;
}
.mb--5 {
    margin-bottom: 300px;
}

/******************[ COLORS ]***********************/

.text-utva-dark {
    color: #a52210;
}

.text-utva {
    color: #fded14;
}

.text-utva-light {
    color: #fefac2;
}

.bg-utva-dark {
    background-color: #a52210;
}
.bg-utva {
    background-color: #fded14;
}
.bg-utva-light {
    background-color: #fefac2;
}

/******************[ END COLORS ]***********************/

/******************[ IMAGE DROPZONE ]***********************/

.file-dropzone {
    width: 100%;
    height: auto;
    min-height: 350px !important;
    border: 2px dashed #ccc !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    background-position: center;
    background-repeat: no-repeat !important;
    padding: 15px !important;
    background-size: contain !important;
}

.dz-message {
    display: none;
}

.previewImgCrop-container {
    display: none;
    width: 100%;
    height: auto;
    max-height: 550px !important;
    min-height: 350px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    border: 1px solid #ccc;
    background-color: #ffffff;
    align-items: center;
    justify-content: center;
}

.previewImgCrop {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
}

.pdf-icon_view {
    width: 70%;
    height: 70%;
    display: none;
    margin: auto;
}

.boxCropRotate {
    /*    display: none;*/
    text-align: center;
    margin-top: 10px;
    width: 100%;
}

.error-message {
    color: red;
    display: none;
    text-align: center;
}

.file-dropzone.error {
    border-color: red !important;
}

/* Personalizar las líneas de recorte */
.cropper-crop-box,
.cropper-view-box {
    border: 2px solid rgba(255, 255, 255, 0.75) !important; /* Líneas más claras */
}

/* Personalizar las handles de recorte (esquinas) */
.cropper-point {
    width: 15px;
    height: 15px;
    background-color: rgba(255, 49, 53, 0.75) !important; /* Color más claro */
    border-radius: 50%; /* Esquinas redondeadas */
}

/* Personalizar la máscara */
.cropper-bg {
    background-color: rgba(
        0,
        0,
        0,
        0.5
    ) !important; /* Máscara semitransparente */
}

/* Personalizar la vista de recorte */
.cropper-view-box {
    outline: 1px solid rgba(255, 255, 255, 0.75) !important; /* Borde de la vista de recorte */
}

/* Personalizar las líneas de guía */
.cropper-dashed {
    border: 1px dashed rgba(255, 255, 255, 0.75) !important; /* Líneas de guía más claras */
}

/* Personalizar las líneas de guía verticales */
.cropper-dashed.dashed-v {
    border-left: 1px dashed rgba(255, 255, 255, 0.75) !important;
}

/* Personalizar las líneas de guía horizontales */
.cropper-dashed.dashed-h {
    border-top: 1px dashed rgba(255, 255, 255, 0.75) !important;
}

/******************[ DRAG AND DROP / IMAGE BOX ]***********************/

/*Estilos login*/
#divLoading {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(254, 254, 255, 0.75);
    z-index: 999999 !important;
    display: none;
}
#divLoading img {
    width: 100px;
    height: 100px;
}

[draggable='true'] {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

ul.moveable {
    list-style: none;
    margin: 0px;
}
ul.moveable li {
    list-style-image: none !important;
    margin: 10px !important;
    border: 1px solid #ccc !important;
    padding: 6px !important;
    border-radius: 4px !important;
    color: #666 !important;
    cursor: move !important;
}

ul.moveable li:hover {
    border: 2px dashed blue !important;
    background-color: #dfdfdf !important;
}

.divDrag {
    border: 1px solid #ccc !important;
    color: #666 !important;
}
.divDrop {
    border: 2px dashed blue !important;
    background-color: #dfdfdf !important;
}

.currentDiv.over {
    border: 2px dashed #ff0004;
}

.currentDiv {
    border-radius: 2px;
    border: 1px solid #989898;
}

.defImgDoc {
    background-image: url('https://utva.cubytest.com/Assets/images/dragDropDoc.jpg');
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.defImg {
    background-image: url('https://utva.cubytest.com/Assets/images/dragDrop.jpg');
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.imgSelBox {
    transform: translate(-50%, -50%) !important;
    left: 50% !important;
    top: 50% !important;
    position: absolute !important;
}

.prevPhoto {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 210px;
    border: 1px solid #ccc;
    position: relative;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    strong {
        padding: 0 10px;
    }
}

.prevPhoto label {
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.prevPhoto img {
    width: 100%;
    max-height: 200px;
}

.notBlock {
    display: none !important;
}

.upimg {
    /*display: none !important;*/
    width: 96%;
    margin-left: 2%;
    margin-top: 10px;
    margin-bottom: 10px;
    /*  	margin: 0 auto;*/
    position: relative;
    text-align: center;
    line-height: 25px;
    color: #999;
    border: 2px dashed #ccc;
    display: inline-block;
    transition: transform 0.9s;
    padding: 25px;
    height: 250px;
}

.draging {
    transform: scale(1.05);
    border: 3px dashed #008915;
    color: #008915;
}

.upimg .textImg {
    padding: 0px;
}

.upimg #viewImg .currImg {
    width: auto;
    height: 100% !important;
    /*	max-width: 300px;*/
    max-height: 220px;
    display: flex;
    padding: 5px;
}

.upimg input {
    position: absolute;
    height: 100%;
    width: 100% !important;
    opacity: 0;
    top: 0;
    left: 0;
}

.delPhoto {
    color: #fff;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background: red;
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 2;
    cursor: pointer;
}

.rotPhoto {
    color: #fff;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background: orange;
    position: absolute;
    left: -10px;
    top: -10px;
    z-index: 10;
}

.rotTo90 {
    transform: rotate(90deg);
}

.image_area {
    position: relative;
}
.preview {
    overflow: hidden;
    width: 160px;
    height: 160px;
    margin: 10px;
    border: 1px solid red;
}
.overlay {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    height: 0;
    transition: 0.5s ease;
    width: 100%;
}
.image_area:hover .overlay {
    height: 50%;
    cursor: pointer;
}

.cardGreen {
    color: indianred;
    background-color: darkslateblue;
}

#ftnSelectedScroll {
    max-height: 24vh;
    /* ajusta a gusto (20–30vh funciona bien) */
    overflow-y: auto;
    padding-right: 0.25rem;
    /* evita salto por scrollbar */
}

#ftnSelectedScroll::-webkit-scrollbar {
    width: 8px;
}

#ftnSelectedScroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

/* Chip de edad */
.age-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    /* ~12px */
    line-height: 1;
    background: rgba(13, 110, 253, 0.08);
    /* azul suave */
    color: #0a58ca;
    /* azul texto */
    border: 1px solid rgba(13, 110, 253, 0.18);
    font-weight: 600;
}

.age-chip i {
    font-size: 0.9em;
}

/* leaflet-pane leaflet-tooltip-pane */

.leaflet-tooltip-own {
    font-weight: 600;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ===== OVERLAY GLOBAL PARA CARGA ===== */
.dt-global-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    z-index: 99999;
    display: none;

    align-items: center;
    justify-content: center;
}

/* Caja central */
.dt-global-box {
    background: #ffffff;
    padding: 18px 22px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Spinner */
.dt-global-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    animation: dt-spin 0.9s linear infinite;
}

.dt-global-text {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

@keyframes dt-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Forzar wrap en TODA la tabla DataTables */
.dataTables_wrapper table.dataTable th,
.dataTables_wrapper table.dataTable td {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.15;
    vertical-align: top;
}

/* Evita que el contenido "estire" la tabla */
.dataTables_wrapper table.dataTable {
    table-layout: fixed;
    width: 100% !important;
    min-width: 780px !important;
}

/* Modal principal */
#modalDefault {
    z-index: 1050 !important;
}

/* Modal auxiliar */
#modalAux {
    z-index: 1070 !important;
}

/* Backdrop base (modal principal) */
.modal-backdrop {
    z-index: 1040 !important;
}

/* Backdrop del AUX */
.modal-backdrop.modal-aux-backdrop {
    z-index: 1060 !important;
}
