*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
}

html {
    font-size: 12px;
}

html,
body {
    height: 100%;
}

body {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4;
    min-height: 100%;
}

body.dark {
    background-color: #171717;
}

.logo {
    height: 50px;
    margin-bottom: 23px;
    width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -10px;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
}

/********************************** FOOTER (INICIO) ***********************************/
footer {
    width: 100%;
    background: #445268;
    color: #fff;
    padding: 20px 20px 10px 20px;
    /* evita que se reduzcan */
    flex-shrink: 0;
}

.logo-footer {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-footer img {
    height: 100%;
}

footer .copyright {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iconos-footer {
    height: 40px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.iconos-footer svg {
    width: 20px;
    height: 20px;
    color: #fff;
    transition: transform 0.3s;

}

.iconos-footer svg:hover {
    transform: translateY(-5px);
}

/********************************** FOOTER (FINAL) ***********************************/


/*********************************** ALERTAS (INICIO) ***********************************/
/* Contenedor general de notificaciones */
.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

/* Estilo de cada notificación */
.notification {
    background: #ffffff;
    color: #333;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    max-width: 320px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s, transform 0.4s;
    cursor: default;
    cursor: pointer;
}

.dark .notification {
    background: #383838;
    color: #fff;
}

.notification.verde {
    border-left: 10px solid #36ff20ff;
}

.notification.roja {
    border-left: 10px solid #ff2020;
}

.dark .notification.roja {
    border-left: 10px solid #b32020;
}

/* Cuando aparece */
.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.show:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transform: translateX(0) scale(1.02);

}

/* Pantalla de carga */
.contenedor-obstaculo {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    z-index: 102;
}

.contenedor-obstaculo-view {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    z-index: 100;
    border-radius: 20px;
}

.dark .contenedor-obstaculo-view {
    background-color: #404040;
}

.dark .contenedor-obstaculo {
    background-color: #000000;
}

.loader {
    width: 80px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #15448c;
    --_m:
        conic-gradient(#0000 10%, #000),
        linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn)
    }
}


/* Vibrar */
@keyframes vibrar {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-5px);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(-5px);
    }

    80% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}

.vibrar {
    animation: vibrar 0.3s;
}

/*********************************** ALERTAS (FINAL) ***********************************/


/*********************************** VISTAS (INICIO) ***********************************/
main {
    padding: 0 150px 30px 150px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.view {
    /* min-height: 100%; */
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #eef0f2;
    display: none;
    width: 100%;
    flex: 1 0 auto;
    height: auto;
    position: relative;
    box-shadow: 1px 1px 11px -1px rgba(0, 0, 0, 0.05);
}

.view>form {
    padding-bottom: 80px;
}

.view.active {
    display: block;
}

.dark .view {
    border-color: #404040;
    background-color: #262626;
}

.view-top {
    padding: 12px;
    color: #5c81ff;
    display: flex;
    height: 64px;
    font-size: 22px;
    justify-content: space-between;
}

.logo-view,
.logo-view img {
    height: 100%;
}


.view-top i {
    color: #747b8a;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    cursor: pointer;
    transition: color .25s ease, background-color .25s ease;
}

.view-top i:hover {
    background-color: #747b8a;
    color: #fff;
}

/* ===== Footer ===== */
.view-footer {
    padding: 16px 24px 16px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    background-color: #fafafa;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /*border-top: 1px solid var(--md-outline-variant);*/
}

.dark .md3-view-footer {
    background-color: #2E2E32;
}

/*********************************** VISTAS (FINAL) ***********************************/

/*********************************** TABLA (INICIO) ***********************************/
#dynamicTable {
    width: 100%;
    border: 1px solid #eceef1;
    border-radius: 16px;
}

.dark #dynamicTable {
    border: 1px solid #404040;
}

.md3-dialog-body #dynamicTable {
    height: 100%;
}

.filtros-tabla {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.filtros-tabla #registrosPorPagina {
    display: flex;
    align-items: center;
    /* height: fit-content; */
}

#registrosPorPagina #select-columna {
    padding-left: 0;
    position: relative;
}

.contenedor-btn-filtros {
    position: relative;
}

.contador-numero-filtros {
    background: #f22121;
    aspect-ratio: 1 / 1;
    height: 20px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: absolute;
    right: 0;
    bottom: -6px;
}

.containerTable {
    overflow: auto;
    width: 100%;
    max-height: 72vh;
    height: 100%;
}

.md3-dialog-body .containerTable {
    height: calc(100% - 58px - 48px);
}

.myTable {
    width: 100%;
}

.myTable thead {
    background-color: #f9fafb;
    position: sticky;
    top: 0;
    z-index: 2;
}

.dark .myTable thead {
    background-color: #262626;
    z-index: 2;
}

.myTable th {
    color: #394351;
    font-size: 12px;
    text-transform: uppercase;
    text-align: left;
}

.myTable th.th-acciones {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: #f9fafb;
}

.dark .myTable th.th-acciones {
    background-color: #262626;
}

.dark .myTable th {
    color: #e4efff;
}

.myTable td {
    color: #747b8a;
    border-bottom: 1px solid #eceef1;
    font-size: 14px;
}

.dark .myTable td {
    color: #ccc;
    border-bottom: 1px solid #404040;
}

.myTable th,
.myTable td {
    padding: 7px 9px;
    border-bottom: 1px solid #eceef1;
}

.dark .myTable th,
.dark .myTable td {
    border-bottom: 1px solid #404040;
}

.myTable td.td-acciones {
    white-space: nowrap;
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
}

.dark .myTable td.td-acciones {
    background: #262626;
}

.myTable td.td-acciones button {
    padding: 2px 4px;
    font-size: 16px;
}

.myTable td .img-table {
    height: 34px;
    width: 34px;
    min-width: 34px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: zoom-in;
}

.myTable td .img-table img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.contenedor-paginado {
    display: flex;
    justify-content: space-between;
}

.dark .contenedor-paginado {
    color: #e4efff;
}

.contenedor-paginado .muestra-de-pagina {
    display: flex;
    align-items: center;
}

.contenedor-paginado>div {
    width: fit-content;
    padding: 10px;
}

.paginado button {
    border: 1px solid #c0c0c0;
    background-color: #fff;
    padding: 2px 5px;
    margin-right: 5px;
}

.paginado button:hover {
    background-color: #f2f2f2;
}

.paginado button.deshabilitado {
    border: 1px solid #c0c0c0;
    background-color: #f2f2f2;
    color: #cbcaca;
    cursor: auto;
}

.paginado button.pagina-actual {
    border: none;
    background-color: transparent;
    cursor: auto;
    color: #e4efff;
}

.paginado button.pagina-actual:hover {
    background-color: transparent;
}

/********************************** Ordenamientos */
#dynamicTable th[data-order=""] {
    padding-right: 45px;
}

#dynamicTable th[data-order="asc"] i:last-child,
#dynamicTable th[data-order="desc"] i:first-child,
#dynamicTable th[data-order=""] i {
    display: none;
}

/********************************** Celdas editables */
#dynamicTable .editable-precio {
    position: relative;
    background-color: #E0F2FE;
    cursor: text;
    display: flex;
    align-items: center;
    cursor: text;
}

#dynamicTable .editable-precio:hover {
    background: transparent;
}

#dynamicTable .editar-icono {
    opacity: 0;
    margin-left: 5px;
    font-size: 12px;
}

#dynamicTable .editable-precio:hover .editar-icono {
    opacity: 1;
}

#dynamicTable .valor {
    flex: 1;
    margin-left: 5px;
    margin-right: 5px;
}

#dynamicTable .guardar-icon,
#dynamicTable .cancelar-icon {
    padding: 0;
    font-size: 12px;
    width: 22px;
    height: 22px;
}


/*********************************** TABLA (FINAL) ***********************************/

/********************************** MODAL (INICIO) ***********************************/
/* ===== Material You Variables ===== */
:root {
    --md-surface: #ffffff;
    --md-surface-dark: #262626;
    --md-surface-container: #f3f1f5;
    --md-on-surface: #1b1b1f;
    --md-on-surface-dark: #ccc;
    --md-outline-variant: #c7c5d0;
    --md-primary: #6750a4;
    --md-on-primary: #ffffff;
    --md-shadow: rgba(0, 0, 0, 0.3);
}

/* ===== Backdrop ===== */
.md3-dialog-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    z-index: 9000;
}

/* ===== Container ===== */
.md3-dialog-container {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 24px;
    pointer-events: none;
    z-index: 9010;
}

/* ===== Dialog ===== */
.md3-dialog {
    background: var(--md-surface);
    color: var(--md-on-surface);
    border-radius: 20px;
    box-shadow: 0px 8px 28px var(--md-shadow);
    width: 100%;
    max-width: 560px;

    transform: scale(0.92);
    opacity: 0;
    transition: all .25s cubic-bezier(0.2, 0, 0, 1);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 95vh;
}

.dark .md3-dialog {
    background: var(--md-surface-dark);
    color: var(--md-on-surface-dark);
}

/* Sizes */
.md3-size-sm {
    max-width: 360px;
}

.md3-size-md {
    max-width: 560px;
}

.md3-size-lg {
    max-width: 720px;
}

.md3-size-xl {
    max-width: 1000px;
}

.md3-size-full {
    max-width: 100%;
    height: 100%;
    /* border-radius: 0; */
}

/* ===== Header ===== */
.md3-dialog-header {
    padding: 20px 24px 12px;
    font-size: 1.4rem;
    font-weight: 600;
}

.md3-dialog-header .close-button {
    color: #747b8a;
    font-size: 16px;
    position: absolute;
    right: 12px;
    top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    cursor: pointer;
    transition: color .25s ease, background-color .25s ease;

}

.md3-dialog-header .close-button:hover {
    background-color: #747b8a;
    color: #fff;
}

/* ===== Body ===== */
.md3-dialog-body {
    padding: 0 24px 88px;
    font-size: 1.2rem;
    color: var(--md-on-surface);
    /* max-height: 60vh; */
    overflow-y: auto;
}

.dark .md3-dialog-body {
    color: var(--md-on-surface-dark);
}

.md3-dialog-body .form-floating {
    font-size: 1rem;
}

/* ===== Footer ===== */
.md3-dialog-footer {
    padding: 16px 24px 20px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    background-color: #f9f9f9;
    position: absolute;
    bottom: 0;
    width: 100%;
    /*border-top: 1px solid var(--md-outline-variant);*/
}

.dark .md3-dialog-footer {
    background-color: #2E2E32;
}

/* ===== Show animations ===== */
.md3-dialog-container.show {
    display: flex;
}

.md3-dialog-container.show .md3-dialog {
    transform: scale(1);
    opacity: 1;
}

.md3-dialog-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/********************************** MODAL (FINAL) ***********************************/



/********************************** CHECKBOX (INICIO) ***********************************/
.contenedor-btns-checkbox {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    /* width: 100%; */
    flex-wrap: wrap;
}

.btn-checkbox {
    /* border: 1px solid #8c8c8c; */
    width: auto;
    position: relative;
    margin: 5px;
    width: fit-content;
    color: #8c8c8c;
}

.btn-checkbox input {
    display: none;
}

.checks-desactivados .btn-checkbox {
    border-color: #bdbdbd;
    color: #bdbdbd;
}

.btn-checkbox label .fa-check-circle,
.btn-checkbox label .fa-check-square,
.btn-checkbox label .fa-circle,
.btn-checkbox label .fa-square {
    position: absolute;
    left: 9px;
    top: 11px;
    width: 14px;
}

.btn-checkbox label div {
    display: inline-block;
}

.btn-checkbox label div i,
.btn-checkbox>i {
    margin-right: 5px;
    margin-left: 5px;
}

.btn-checkbox label img {
    margin-right: 5px;
    margin-left: 5px;
    width: 20px;
}

.btn-checkbox label .fa-check-circle,
.btn-checkbox label .fa-check-square {
    display: none;
}

.btn-checkbox label {
    padding: 8px;
    padding-left: 28px;
    cursor: pointer;
    margin: 0;
    /* Para Safari y navegadores basados en WebKit */
    -webkit-user-select: none;
    /* Para Firefox */
    -moz-user-select: none;
    /* Para Internet Explorer */
    -ms-user-select: none;
    /* Propiedad estándar */
    user-select: none;
    border-radius: 7px;
    background: #f6f6f6;
}

.dark .btn-checkbox label {
    background-color: #262626;
    border: 1px solid #6c757d;
}

.btn-checkbox input:checked~label,
.btn-checkbox input:checked~label i {
    background-color: #e0e7ff;
    color: #5c81ff;
}

.dark .btn-checkbox input:checked~label,
.dark .btn-checkbox input:checked~label i {
    color: #fff;
    background-color: #5c81ff;
    border: 1px solid #5c81ff;
}

.checks-desactivados .btn-checkbox input:checked~label,
.checks-desactivados .btn-checkbox input:checked~label i {
    background-color: #5c81ff;
    color: #fff;
}

.btn-checkbox input:checked~label .fa-circle,
.btn-checkbox input:checked~label .fa-square {
    display: none;
    /* color: #fff; */
    color: #fff;
}

.btn-checkbox input:checked~label .fa-check-circle,
.btn-checkbox input:checked~label .fa-check-square {
    display: block;
}

/*--------------------------------- CHECKBOX (FINAL) --------------------------------------------*/

/*--------------------------------- DROPZONE (INICIO) --------------------------------------------*/
.contenedor-dropzone,
.image-preview {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    position: relative;
}

.dark .contenedor-dropzone,
.dark .image-preview {
    border-color: #6c757d;
}

.contenedor-dropzone .title-dropzone,
.image-preview .image-preview__title {
    padding: 2px 10px;
    font-size: 14px;
    position: absolute;
    top: -13px;
    left: 15px;
    background-color: #fff;
    padding: 0 5px;
    border-radius: 5px;
}

.dark .contenedor-dropzone .title-dropzone,
.dark .image-preview .image-preview__title {
    background-color: #262626;
    color: #ccc;
}

.contenedor-dropzone .label-limite {
    position: absolute;
    right: 10px;
    bottom: -12px;
    padding: 5px;
    background: #fff;
    color: #b8b8b8;
}

.contenedor-dropzone.readonly .title-dropzone {
    background-color: #dee2e6;
}

.dropzone,
.image-preview__viewer {
    /* max-width: 90%; */
    height: 140px;
    /* border: 2px dashed #ccc; */
    color: #999;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    display: flex;
    cursor: pointer;
    padding: 10px;
}

.image-preview__viewer {
    cursor: auto;
}

.contenedor-dropzone.readonly .dropzone {
    background: #ece6e5 !important;
}

.dark .dropzone,
.dark .image-preview__viewer {
    color: #ccc;
}

.dropzone .btn-add-dropzone {
    border: 2px dashed #ccc;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
}

.dropzone .btn-add-dropzone:hover:not(.contenedor-dropzone.readonly .btn-add-dropzone:hover) {
    color: #00bfff;
    border-color: #00bfff;
}

.dark .dropzone .btn-add-dropzone:hover {
    color: #0070b0;
    border-color: #0070b0;
}

.dropzone .btn-add-dropzone .btn-icon-dropzone {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background-color: #fcfcfc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-dropzone.readonly .dropzone .btn-add-dropzone .btn-icon-dropzone {
    background-color: #dee2e6;
}

.dark .dropzone .btn-add-dropzone .btn-icon-dropzone {
    background-color: #343D45;

}

.dropzone.dragover {
    /* border-color: #00bfff;
    color: #00bfff; */
    opacity: .5;
    background-color: #fdfdfd;
}

.dark .dropzone.dragover {
    background-color: #2E2E2E;
}

.dropzone .iconos-miniaturas,
.image-preview__viewer .image-preview__thumbnails {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    z-index: 2;
    margin: 0 10px;
    gap: 10px;
    overflow: auto;
    border-radius: 5px;
    padding: 5px 0;
    scrollbar-width: none;
}

.dropzone .iconos-miniaturas .icono-miniatura,
.image-preview__viewer .image-preview__thumbnails .image-preview__thumbnail {
    height: 110px;
    position: relative;
    display: flex;
    border-radius: 5px;
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-width: 110px;
    cursor: pointer;
}

.dropzone .iconos-miniaturas .icono-miniatura:hover,
.image-preview__viewer .image-preview__thumbnails .image-preview__thumbnail:hover {
    transform: scale(1.05);
    -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
}

.dropzone .iconos-miniaturas .icono-miniatura .extension-file,
.image-preview__viewer .image-preview__thumbnails .image-preview__thumbnail .image-preview__extension {
    position: absolute;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 0px 5px;
    border: 4px solid #000;
    border-radius: 5px;
    font-weight: 600;
    top: 50px;
    -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}

.dropzone .iconos-miniaturas .icono-miniatura i {
    background-color: #747b8a;
    color: #fff;
    font-size: 14px;
    position: absolute;
    right: 3px;
    top: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    cursor: pointer;
    transition: background-color .25s ease;
}

.dropzone .iconos-miniaturas .icono-miniatura i:hover {
    background-color: #8e95a3;
}

.contenedor-dropzone.readonly .dropzone .iconos-miniaturas .icono-miniatura i {
    display: none;
}

.dropzone .iconos-miniaturas .icono-miniatura img,
.image-preview__viewer .image-preview__thumbnails .image-preview__thumbnail img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.dropzone .iconos-miniaturas .icono-miniatura .nombre-imagen,
.image-preview__viewer .image-preview__thumbnails .image-preview__thumbnail .image-preview__name {
    position: absolute;
    bottom: 0;
    background: rgba(255, 255, 255, .7);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: black;
    padding: 0px 5px;
    white-space: nowrap;
}

/*--------------------------------- DROPZONE (FINAL) --------------------------------------------*/

/********************************** RUTA ACTUAL (INICIO) ***********************************/
.breadcrumb-steps {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: Arial, sans-serif;
    padding: 15px 150px;
}

.breadcrumb-steps a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 7px 22px;
    /* background: #dce9ff; */
    background: #ffffff;
    color: #7b8ba1;

    text-decoration: none;
    font-size: 15px;
    transition: .2s ease;

    clip-path: polygon(0 0,
            calc(100% - 18px) 0,
            100% 50%,
            calc(100% - 18px) 100%,
            0 100%,
            18px 50%);

    margin-left: -12px;
}

.breadcrumb-steps a:first-child {
    margin-left: 0;

    clip-path: polygon(0 0,
            calc(100% - 18px) 0,
            100% 50%,
            calc(100% - 18px) 100%,
            0 100%);

    border-radius: 8px 0 0 8px;
}

/* .breadcrumb-steps a:last-child {
    clip-path: polygon(
        0 0,
        100% 0,
        100% 50%,
        100% 100%,
        0 100%,
        18px 50%
    );

    border-radius: 0 8px 8px 0;
} */

.breadcrumb-steps a:hover {
    background: #e7eefc;
}

.breadcrumb-steps a.active {
    background: #3b82f6;
    color: white;
}

.breadcrumb-steps i {
    font-size: 14px;
}

/********************************** RUTA ACTUAL (FINAL) ***********************************/


/********************************** TOOLTIP (INICIO) ***********************************/
.tooltip-contenedor {
    position: fixed;
    display: inline-block;
}

.tooltip-texto {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #555;
}

.form-floating label.con-tooltip {
    overflow: visible;
}

.form-floating:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

.tooltip-container:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

/* .tooltip-container:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
} */

.tooltip-text {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 13px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 100;
}

/********************************** TOOLTIP (FINAL) ***********************************/


/********************************** GALERIA (INICIO) ***********************************/
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    background-color: #fff;
    border-radius: 8px;
    transition-duration: 300ms;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    transform: translateY(-5px);
}

.gallery-card__image-container {
    border: 1 px solid rgba(229, 231, 235);
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    overflow: hidden;
}

.gallery-card__image {
    transition-duration: 300ms;
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    aspect-ratio: 4/3
}

.gallery-card:hover .gallery-card__image {
    transform: scale(1.05);
}

.gallery-card__content {
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 10px;
}

.gallery-card__title {
    color: rgb(17, 24, 39);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.75rem;
    margin: 0;
}

.gallery-card__description {
    color: rgb(107, 114, 128);
    font-size: 14px;
    line-height: 1.25rem;
    flex-grow: 1;
    margin: 0;
    margin-top: 0.25rem;
}

.gallery-card__footer {
    justify-content: space-between;
    align-items: center;
    display: flex;
    margin-top: 1rem;
}

/********************************** GALERIA (FINAL) ***********************************/

/********************************** RECORTE DE IMAGEN DROPZONE (INICIO) ***********************************/
.img-container-crop {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    background: #f8f9fa;
    touch-action: none;
}

.img-container-crop .cropper-view-box {
    outline: 3px solid #00bfff;
    outline-color: rgba(0, 191, 255, .95);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .95),
        0 0 18px rgba(0, 191, 255, .45);
}

.img-container-crop .cropper-face {
    background-color: rgba(0, 191, 255, .08);
}

.img-container-crop .cropper-line {
    background-color: #00bfff;
    opacity: 1;
}

.img-container-crop .cropper-line.line-e,
.img-container-crop .cropper-line.line-w {
    width: 5px;
}

.img-container-crop .cropper-line.line-n,
.img-container-crop .cropper-line.line-s {
    height: 5px;
}

.img-container-crop .cropper-point {
    width: 14px;
    height: 14px;
    background-color: #00bfff;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .35);
}

.img-container-crop .cropper-point.point-e,
.img-container-crop .cropper-point.point-w {
    margin-top: -7px;
}

.img-container-crop .cropper-point.point-n,
.img-container-crop .cropper-point.point-s {
    margin-left: -7px;
}

.img-container-crop .cropper-point.point-ne,
.img-container-crop .cropper-point.point-nw,
.img-container-crop .cropper-point.point-se,
.img-container-crop .cropper-point.point-sw {
    width: 18px;
    height: 18px;
}

.img-container-crop .cropper-dashed {
    border-color: rgba(255, 255, 255, .8);
    opacity: 1;
}

/********************************** RECORTE DE IMAGEN DROPZONE (FINAL) ***********************************/


/********************************** BTN SWITCH (INICIO) ***********************************/
.switch {
    position: relative;
    display: inline-block;
    width: 73px;
    height: 20px;
    text-transform: lowercase;
}

.switch input {
    display: none;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    background-color: #8c8c8c;
    border-radius: 999px;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    box-sizing: border-box;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.switch .slider::before {
    content: "";
    position: absolute;
    height: 15px;
    width: 15px;
    left: 4px;
    top: 2.5px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Estado activo */
.switch input:checked+.slider {
    background-color: #198754;
}

.switch input:checked+.slider::before {
    transform: translateX(53px);
    top: 3px;
    left: 1px;
}

/* Texto */
.switch .text {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.switch .on {
    /* display: none; */
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    position: absolute;
    left: 10px;
}

.switch .off {
    text-align: right;
    /* display: inline; */
    width: 100%;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
    position: absolute;
    right: 10px;
}

.switch input:checked+.slider .on {
    opacity: 1;
    /* display: inline; */
    transform: translateX(0);
}

.switch input:checked+.slider .off {
    opacity: 0;
    /* display: none; */
    transform: translateX(-10px);
}

/********************************** BTN SWITCH (FINAL) ***********************************/

/********************************** SUCCESS CARD  (INICIO) ***********************************/
.success-card {
    width: 100%;
    max-width: 520px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-icon {
    width: 90px;
    height: 90px;

    margin: 0 auto 25px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(135deg, #3b82f6, #2563eb);

    color: white;

    font-size: 40px;

    box-shadow:
        0 10px 25px rgba(59, 130, 246, .35);
}

.success-card h1 {
    margin: 0 0 15px;

    font-size: 34px;
    color: #0f172a;
}

.success-card p {
    margin: 0;
    line-height: 1.7;
    color: #64748b;
    font-size: 16px;
}

.user-box {
    margin-top: 30px;

    background: #f8fbff;

    border: 1px solid #dbeafe;

    border-radius: 16px;

    padding: 18px;
}

.user-label {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.user-email {
    font-size: 18px;
    font-weight: bold;
    color: #2563eb;

    transition: .25s ease;
    word-break: break-word;
}

.user-email:hover {
    transform: translateY(-2px);
}

.success-btn {
    margin-top: 35px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 16px 28px;

    border-radius: 14px;
    border: none;

    background: linear-gradient(135deg, #3b82f6, #2563eb);

    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;

    text-decoration: none;

    box-shadow: 0 10px 20px rgba(37, 99, 235, .25);
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 25px rgba(37, 99, 235, .35);
}

.success-footer {
    margin-top: 28px;

    font-size: 13px;
    color: #94a3b8;
}

/********************************** SUCCESS CARD (FINAL) ***********************************/


form.disabled-overlay {
    pointer-events: none;
}

.btn-transparent {
    color: transparent;
    background: transparent;
    pointer-events: none;
}

@media (max-width: 650px) {

    /********************************** TABLA (INICIO) ***********************************/
    #iconosAcciones span {
        display: none;
    }

    #contenedorRemarcarCeldasBusqueda {
        display: none;
    }

    #iconosAcciones {
        height: 100%;
        aspect-ratio: 1 / 1;
    }

    .contenedor-paginado {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /********************************** TABLA (FINAL) ***********************************/

    main {
        padding: 15px;
        padding-top: 0;
    }

    .breadcrumb-steps {
        padding: 15px;
    }

    .breadcrumb-steps a {
        padding: 9px 23px;
        font-size: 12px;
        flex-direction: column;
        line-height: 0;
    }

    .view-top {
        font-size: 18px;
    }

}

/* sm */
@media (min-width: 650px) {
    .sm-mx-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* md */
@media (min-width: 768px) {}

/* lg */
@media (min-width: 1024px) {}

/* xl */
@media (min-width: 1280px) {}

/* 2xl */
@media (min-width: 1536px) {}