:root {
    /* Color BIOBOX */
    --primary-color: #00344D;
    --primary-color-hover: #00283B;
    --primary-color-disabled: #3B485833;
    --primary-color-disabled-text: #FFFFFF;

    --contrast-primary-color: #D72828;
    --secondary-color: #009DEA;
    --black-color: #2B313D;
    --blue-color: #9CCDFB;
    --error-color: #DB291D;
    --link-color: #00344D;
    --white-color: #ffffff;
    --green-color: #009F4E;
    --red-color: #DB291D;

    /* Padding */
    --padding: .5rem;
    --padding-1: 1rem;
    --padding-2: 2rem;
    --padding-3: 3rem;
    --padding-4: 4rem;
    --padding-5: 5rem;

    /* Margin */
    --margin: .5rem;
    --margin-1: 1rem;
    --margin-2: 2rem;
    --margin-3: 3rem;
    --margin-4: 4rem;
    --margin-5: 5rem;

    /* Fuente */
    --bold: bold;
    --semibold: 600;
    --font-16: 1rem;
    --font-sm: 1.25rem;
    --font-md: 1.5rem;
    --font-md-2: 2rem;
    --font-lg: 4rem;
}

* {
    /* padding: 0; */
    /* margin: 0; */
    font-family: 'Outfit' !important;
}

body {

    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    position: relative;
    padding: 0;
    margin: 0;
}

/*Configuracion de los toast con sweet alert*/

.swal2-container .swal2-popup {
    padding: 5px 0 5px 15px !important;
    border-radius: 10px;
    /* color: #000000 */
}

.swal2-image {
    margin: 0 !important;
    max-width: 30px !important;
}

.swal-content-error {
    border-left: 7px solid #EA405A !important;
    border-radius: 7px !important;
}

.swal2-title {
    color: white;
}

.swal-text-error {
    color: #EA405A !important;
    font-size: 15px !important;
}

.swal-content-success {
    border-left: 7px solid #1BAB6D !important;
    border-radius: 7px !important;
}

.swal-text-success {
    color: #1BAB6D !important;
    font-size: 15px !important;
}

.swal-content-info {
    border-left: 7px solid #FABC58 !important;
    border-radius: 7px !important;
}

.swal-text-info {
    color: #8A543B !important;
    font-size: 15px !important;
}

.swal2-confirm {
    width: 100%;
    /* O el ancho que desees */
    font-weight: 700 !important;
}


/**
* Creamos nuestras propias clases
*/

.input-label {
    font-weight: var(--semibold) !important;
    color: var(--black-color);
}

.text-primary-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
    font-weight: var(--bold);
}

.circular-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.primary-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
    font-weight: var(--bold);
}

.primary-link:hover {
    color: var(--primary-color);
    opacity: 1;
}

.flex-1 {
    flex: 1;
}

.full-page {
    width: 100%;
    height: 100vh;
    padding: var(--padding-4);
}

.logo-sm {
    max-height: 5rem;
}

.logo-md {
    max-height: 25rem;
}

.logo-xs {
    max-height: 20rem;
}

.img-fluid {
    width: 100%;
    height: 100%;
}

.font-lg {
    font-size: var(--font-lg);
}

.font-md {
    font-size: var(--font-md);
}

.font-sm {
    font-size: var(--font-sm);
}

.font-16 {
    font-size: var(--font-16);
}

.icon-md {
    height: 1.8rem;
    width: 1.8rem;
    ;
}

.icon-sm {
    height: 1.2rem;
    width: 1.2rem;
    ;
}

.icon-xs {
    height: .7rem;
    width: 1.289rem;
}

.text-normal {
    font-weight: normal !important;
}

.pointer {
    cursor: pointer;
}


/* Títulos y subtítulos */

h1.title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-lg);
}

h1.header-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-md-2);
}

p.paragraph {
    color: var(--black-color);
    font-size: var(--font-md);
}


/* Fonts */

.font-regular {
    font-family: 'Outfit', sans-serif !important;
    font-family: 'Outfit', sans-serif !important;
}

.font-medium {
    font-family: 'Outfit', sans-serif !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
}


/* Colors */

.font-black {
    color: var(--black-color);
}


/**
* Modificamos las clases de bootstrap
*/


/* Botones */

.btn {
    min-width: 9rem;
}

/* Botón principal BIOBOX */
.btn-primary,
.btn-garat-aceptar,
.btn-recover-form,
.a-btn-save,
.ui-datepicker-close {
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    color: #FFFFFF !important;
    font-weight: var(--bold) !important;
    border-radius: .5rem;
    box-shadow: none !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-garat-aceptar:hover,
.btn-garat-aceptar:focus,
.btn-garat-aceptar:active,
.btn-recover-form:hover,
.btn-recover-form:focus,
.btn-recover-form:active,
.a-btn-save:hover,
.a-btn-save:focus,
.a-btn-save:active,
.ui-datepicker-close:hover,
.ui-datepicker-close:focus,
.ui-datepicker-close:active {
    background-color: var(--primary-color-hover) !important;
    border-color: var(--primary-color-hover) !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

/* Botón principal deshabilitado BIOBOX */
.btn-primary:disabled,
.btn-primary.disabled,
.btn-primary[disabled],
button.btn-primary:disabled,
button.btn-primary.disabled,
.btn-garat-aceptar:disabled,
.btn-garat-aceptar.disabled,
.btn-recover-form:disabled,
.btn-recover-form.disabled,
.a-btn-save:disabled,
.a-btn-save.disabled,
.ui-datepicker-close:disabled,
.ui-datepicker-close.disabled {
    background-color: var(--primary-color-disabled) !important;
    border-color: transparent !important;
    color: var(--primary-color-disabled-text) !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.btn-secondary,
.a-btn-cancel,
.ui-datepicker-current-clear {
    background-color: var(--white-color) !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    font-weight: var(--bold) !important;
    border-radius: .5rem;
    box-shadow: none !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.a-btn-cancel:hover,
.a-btn-cancel:focus,
.a-btn-cancel:active,
.ui-datepicker-current-clear:hover,
.ui-datepicker-current-clear:focus,
.ui-datepicker-current-clear:active {
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
    border-color: var(--primary-color) !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.btn-secondary:disabled,
.btn-secondary.disabled,
.a-btn-cancel:disabled,
.a-btn-cancel.disabled,
.ui-datepicker-current-clear:disabled,
.ui-datepicker-current-clear.disabled {
    background-color: var(--white-color) !important;
    color: var(--primary-color-disabled) !important;
    border-color: var(--primary-color-disabled) !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.btn-rounded {
    border-radius: 2rem;
}

.btn-primary .icon {
    position: initial !important;
    margin: 0 5px 0 0 !important;
    width: 20px !important;
    height: 20px !important;
}

.btn-cropper {
    align-items: center;
    justify-content: center;
    display: flex;
    background: var(--primary-color);
    color: white;
    width: 150px;
    border-radius: 10px;
    height: 40px;
    margin: 0 auto;
    margin-top: 20px;
    position: relative !important;
    z-index: 1000;
    cursor: pointer;
}

.btn-cropper img {
    position: initial;
    height: 25px;
    width: 25px !important;

}

.btn-cropper p {
    padding-top: 5px;
    margin-bottom: 0;
    margin-left: 5px;
}


/* Margenes */

.mt-custom-5 {
    margin-top: var(--margin) !important;
}

.mt-1 {
    margin-top: var(--margin-1) !important;
}

.mt-2 {
    margin-top: var(--margin-2) !important;
}

.mt-3 {
    margin-top: var(--margin-3) !important;
}

.mt-4 {
    margin-top: var(--margin-4) !important;
}

.mt-5 {
    margin-top: var(--margin-5) !important;
}

.ml {
    margin-left: var(--margin) !important;
}

.ml-1 {
    margin-left: var(--margin-1) !important;
}

.ml-2 {
    margin-left: var(--margin-2) !important;
}

.ml-3 {
    margin-left: var(--margin-3) !important;
}

.ml-4 {
    margin-left: var(--margin-4) !important;
}

.ml-5 {
    margin-left: var(--margin-5) !important;
}

.mr-1 {
    margin-right: var(--margin-1) !important;
}

.mr-2 {
    margin-right: var(--margin-2) !important;
}

.mr-3 {
    margin-right: var(--margin-3) !important;
}

.mr-4 {
    margin-right: var(--margin-4) !important;
}

.mr-5 {
    margin-right: var(--margin-5) !important;
}


/* Paddings */

.p-1 {
    padding: var(--padding-1) !important;
}

.p-2 {
    padding: var(--padding-2) !important;
}

.p-3 {
    padding: var(--padding-3) !important;
}

.p-4 {
    padding: var(--padding-4) !important;
}

.p-5 {
    padding: var(--padding-5) !important;
}

.px-1 {
    padding-left: var(--padding-1) !important;
    padding-right: var(--padding-1) !important;
}

.px-2 {
    padding-left: var(--padding-2) !important;
    padding-right: var(--padding-2) !important;
}

.px-3 {
    padding-left: var(--padding-3) !important;
    padding-right: var(--padding-3) !important;
}

.px-4 {
    padding-left: var(--padding-4) !important;
    padding-right: var(--padding-4) !important;
}

.px-5 {
    padding-left: var(--padding-5) !important;
    padding-right: var(--padding-5) !important;
}

.pt-1 {
    padding-top: var(--padding-1) !important;
}

.pt-2 {
    padding-top: var(--padding-2) !important;
}

.pt-3 {
    padding-top: var(--padding-3) !important;
}

.pt-4 {
    padding-top: var(--padding-4) !important;
}

.pt-5 {
    padding-top: var(--padding-5) !important;
}

.spinner-border {
    color: var(--primary-color) !important;
}

.msg-with-alert {
    width: 600px !important;
}

.modal-content {
    border-radius: 20px;
}

.modal-header {
    align-items: center;
    justify-content: center;
    border-bottom: 0 !important;
}

.modal-header h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.modal-msg {
    text-align: center;
}

.modal-footer {
    align-items: center;
    border-top: 0 !important;
    padding-left: 0em;
    padding-top: 0em;
    padding-right: 0em;
    padding-bottom: 2em;
}

/* .modal-footer button:first-child {
    margin-right: 35px;
    border: 1px solid var(--primary-color) !important;
} */

@media (min-width: 850px) {
    .modal-dialog {
        max-width: 747px;
        margin: 1.75rem auto;
    }
}

.form-group img {
    position: absolute;
    width: 1.3rem !important;
    right: 10px;
    top: .55rem;
    cursor: pointer;
    z-index: 9;
}

.label-modal {
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 16.8px;
    letter-spacing: -0.02em;
    color: #373940;
}

.borderdisabledinput {
    border: none !important;
}

.labelform {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    /* Peso Regular */
    font-style: normal;
    /* Estilo Regular */
    font-size: 14px;
    /* Tamaño */
    line-height: 16.8px;
    /* Altura de la línea */
    letter-spacing: -0.02em;
    /* Espaciado entre letras (-2%) */
    color: #373940;
    /* Color K900 */
    display: inline-block;
    /* Para alinearse bien con inputs */
    margin-bottom: 0.5rem;
    /* Separación estándar con el input */
}

.card-title-custom {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    /* Peso 700 */
    font-style: normal !important;
    /* Estilo Bold */
    font-size: 22px !important;
    /* Tamaño */
    line-height: 26.4px !important;
    /* Altura de línea */
    letter-spacing: -0.02em !important;
    /* Espacio entre letras (-2%) */
    color: #000000 !important;
    /* Color */
}

.card-subtitle-custom {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    /* Peso 700 */
    font-style: normal !important;
    /* Estilo Bold */
    font-size: 20px !important;
    /* Tamaño */
    line-height: 26.4px !important;
    /* Altura de línea */
    letter-spacing: -0.02em !important;
    /* Espacio entre letras (-2%) */
    color: #000000 !important;
    /* Color */
}


/* Modificamos las clases de Alpine */

[x-cloak] {
    display: none !important;
}

.form-control-border {
    border: 1px solid #26150D33 !important;
    border-radius: 30px !important;
}

.content-page {
    background-color: #FFFFFF;
    padding: 2%;
}

.nav-enlaces {
    display: flex;
    padding-bottom: 10px;
    justify-content: end;
}

.enlace-activo,
.enlace-activo:hover {
    background-color: white;
    margin: 0;
    font-weight: 700;
    text-align: center;
    padding: 5px 50px 15px 50px;
    color: #373737;
    border-radius: 5px;
    border-top: 4px solid var(--primary-color);
    font-size: 14px;
}

.enlace-inactivo,
.enlace-inactivo:hover {
    background-color: white;
    margin: 0;
    font-weight: 700;
    text-align: center;
    padding: 5px 50px 15px 50px;
    color: #9F9F9F;
    border-radius: 5px;
    border-top: 4px solid #808080;
    font-size: 14px;
}

.enlace-accion,
.enlace-accion:hover {
    margin-left: auto;
    margin-right: 14px;
    text-align: end;
    text-decoration: none;
    color: #707070;
}

.enlace-accion img {
    width: 16px;
    color: white;
    margin: 0 0 5px 5px;
}

.enlace-accion-admin,
.enlace-accion-admin:hover {
    margin: 0 1rem;
    text-align: end;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #373940;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 9px;
}

.titlesuscriptiontab {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    /* Bold */
    font-style: normal;
    font-size: 24px;
    /* Tamaño */
    line-height: 26.4px;
    /* Altura de la línea */
    letter-spacing: -0.02em;
    /* Espaciado entre letras (-2%) */
    color: #373940;
    /* Color K900 */
    margin: 0;
}

.enlace-accion-admin img {
    /*width: 2.1rem;*/
    /*height: auto;*/
    color: white;
    /* margin: 0 0 5px 5px; */
}

.select-custom {
    display: inline-block;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 20px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 20px !important;
    /* box-shadow: inset 0 1px 2px rgb(0 0 0 / 8%); */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: auto;
}

.select-custom-form {
    display: inline-block;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 20px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem !important;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 8%);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
}

.flecha-select {
    padding-right: calc(30px) !important;
    background: #fff url(/resources/icons/ICONOArrowAbajo.svg) no-repeat right 0.6rem center/15px 15px !important;
}

.bottom-form {
    margin-top: 0%;
    padding-bottom: 1rem;
}

.bottom-form p {
    color: #7B7B7B;
    font-size: 1 rem;
    font-weight: 500;
}

.bottom-form hr {
    border-top: 1px solid #BEBEBE;
}

.bottom-form .buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 100px;
}


/*Estilos para el campo imagen*/

.image-input {
    width: 300px;
    min-height: 225px;
    position: relative;
}

.img-upload {
    max-width: 25%;
    margin: 0 auto 15px auto;
}

.contenedor-input-disabled {
    max-width: 100%;
    min-height: 225px;
    padding: 30px 0;
    display: flex;
    align-items: center;
    background-color: #F1F1F1;
    border: 1px solid #B9C0C2;
}

.contenedor-input {
    border: 1px solid #B9C0C2;
    max-width: 100%;
    min-height: 225px;
    border-radius: 5px;
    padding: 30px 0;
    display: flex;
    align-items: center;
    background-color: #F8F9FA;
}

.input-file {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 85%;
    opacity: 0 !important;
}

.contenedor-preview-image {
    max-width: 80%;
    margin: 0 auto;
}


/*Fin estilos campo imagen*/


/*Estilos del modal del cropper*/

.file-preview {
    display: block;
    margin: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 300px;
}

#cropperModal .img-container img {
    max-width: 100%;
    background-color: #333;
    height: 100%;
}

.nav-flex {
    padding-bottom: 0;
}

.nav-flex nav {
    display: flex;
    gap: .5rem;
    padding-left: 5rem;
}

.nav-flex nav a {
    cursor: pointer;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.inline-field {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.inline-field label {
    font-weight: normal !important;
    margin: 0;
}

.inline-field input,
.inline-field select,
.inline-field div {
    flex: 1;
    margin: 0 !important;
}

.inline-field img {
    cursor: pointer;
    position: absolute;
    right: 1rem;
}

.first-element {
    padding-left: 5rem;
}

.ms-drop input[type="radio"],
.ms-drop input[type="checkbox"] {
    position: relative !important;
}

.preloader {
    z-index: 999999999;
}

.download-excel-btn {
    color: #8A9297;
    font-weight: 700;
    text-align: end;
}

.download-excel-btn img {
    width: 20px;
    color: white;
    margin: 0 0 5px 5px;
}

input[type="password"]::-ms-reveal {
    display: none;
}

.special-error {
    max-width: calc(60% + 45px) !important;
    flex: 1;
}

.invalid-search {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.form-control.is-invalid,
.custom-select.is-invalid {
    background-image: none;
    border: 1px solid #dc3545 !important;
}


/**cropper **/

.form-group .img-upload-file {
    position: initial !important;
    width: 100% !important;
}

/* #cropperModal .modal-body {
    padding: 43px;
    background: #F8F9FA;
    border: 1px solid gray;
    border-radius: 12px;
} */

.icon-datepicker {
    background-image: url(/resources/icons/ICONOCalendario.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 25px;
    background-position: right calc(0.375em + 0.1875rem) center;
}

.label-filter {
    padding: .5rem;
}

.div-filter {
    margin-left: 2rem;
}

.ui-widget-header {
    border: none !important;
    background: none !important;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: none !important;
    background: none !important;
}

.ui-datepicker-today {
    border: 1px solid var(--primary-color) !important;
    padding: 1px;
    color: var(--white-color) !important;
    background: var(--white-color) !important;
}

.ui-datepicker-current-day {
    border: 0;
    padding: 1px;
    color: var(--white-color);
    background: var(--primary-color);
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    color: var(--black-color);
}

.btn {
    min-width: 9rem;
}

.ui-datepicker-close {
    background-color: var(--primary-color) !important;
    color: var(white) !important;
    border: 1px solid var(--primary-color) !important;
    font-weight: var(--bold);
    border-radius: .5rem;
}

.ui-datepicker-close:hover {
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    opacity: 0.9;
}

.ui-datepicker-close:hover:disabled {
    opacity: .65;
}

.ui-datepicker-current-clear {
    background-color: var(--white-color) !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    font-weight: var(--bold);
    border-radius: .5rem;
}

.ui-datepicker-current-clear:hover {
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
    border: 1px solid var(--primary-color) !important;
}

/* Oculta el checkbox predeterminado */
.custom-checkbox input {
    display: none;
}

/* Estilos para el contenedor del checkbox */
.custom-checkbox {
    display: inline-block;
    cursor: pointer;
}

/* Estilos para el span que reemplazará al checkbox */
.custom-checkbox .checkmark {
    display: inline-block;
    width: 88px;
    /* Tamaño de la imagen */
    height: 32px;
    /* Tamaño de la imagen */
    background-image: url('/resources/icons/ICONSwichtoff.svg');
    /* Imagen para el estado desactivado */
    background-size: contain;
    transition: background-image 0.2s ease;
    /* Suaviza la transición entre imágenes */
}

/* Cambia la imagen cuando el checkbox está activado */
.custom-checkbox input:checked+.checkmark {
    background-image: url('/resources/icons/ICONSwitchon.svg ');
    /* Imagen para el estado activado */
}

/* Cuando el checkbox está deshabilitado y desactivado */
.custom-checkbox input:disabled+.checkmark {
    background-image: url('/resources/icons/ICONSwichtoffdeshabilitado.svg');
    /* Imagen para el estado desactivado y deshabilitado */
    cursor: not-allowed;
    /* Cambia el cursor para indicar que está deshabilitado */
}

/* Cuando el checkbox está deshabilitado y activado */
.custom-checkbox input:checked:disabled+.checkmark {
    background-image: url('/resources/icons/ICONSwichtondeshabilitado.svg');
    /* Imagen para el estado activado y deshabilitado */
    cursor: not-allowed;
}


/* Estilos para el span que reemplazará al checkbox */
.custom-checkbox .checkDom {
    display: inline-block;
    width: 50px;
    /* Tamaño de la imagen */
    height: 50px;
    /* Tamaño de la imagen */
    background-image: url('/resources/icons/BotonDomingoOFF.png');
    /* Imagen para el estado desactivado */
    background-size: contain;
    transition: background-image 0.2s ease;
    /* Suaviza la transición entre imágenes */
}

/* Cambia la imagen cuando el checkbox está activado */
.custom-checkbox input:checked+.checkDom {
    background-image: url('/resources/icons/BotonDomingoON.png');
    /* Imagen para el estado activado */
}

/* Cuando el checkbox está deshabilitado y desactivado */
.custom-checkbox input:disabled+.checkDom {
    background-image: url('/resources/icons/BotonDomingoOFF.png');
    /* Imagen para el estado desactivado y deshabilitado */
    cursor: not-allowed;
    /* Cambia el cursor para indicar que está deshabilitado */
}

/* Cuando el checkbox está deshabilitado y activado */
.custom-checkbox input:checked:disabled+.checkDom {
    background-image: url('/resources/icons/BotonDomingoDIS.png');
    /* Imagen para el estado activado y deshabilitado */
    cursor: not-allowed;
}

.custom-checkbox .checkLun {
    display: inline-block;
    width: 50px;
    /* Tamaño de la imagen */
    height: 50px;
    /* Tamaño de la imagen */
    background-image: url('/resources/icons/BotonLunesOFF.png');
    /* Imagen para el estado desactivado */
    background-size: contain;
    transition: background-image 0.2s ease;
    /* Suaviza la transición entre imágenes */
}

/* Cambia la imagen cuando el checkbox está activado */
.custom-checkbox input:checked+.checkLun {
    background-image: url('/resources/icons/BotonLunesON.png');
    /* Imagen para el estado activado */
}

/* Cuando el checkbox está deshabilitado y desactivado */
.custom-checkbox input:disabled+.checkLun {
    background-image: url('/resources/icons/BotonLunesOFF.png');
    /* Imagen para el estado desactivado y deshabilitado */
    cursor: not-allowed;
    /* Cambia el cursor para indicar que está deshabilitado */
}

/* Cuando el checkbox está deshabilitado y activado */
.custom-checkbox input:checked:disabled+.checkLun {
    background-image: url('/resources/icons/BotonLunesDIS.png');
    /* Imagen para el estado activado y deshabilitado */
    cursor: not-allowed;
}

.custom-checkbox .checkMar {
    display: inline-block;
    width: 50px;
    /* Tamaño de la imagen */
    height: 50px;
    /* Tamaño de la imagen */
    background-image: url('/resources/icons/BotonMartesOFF.png');
    /* Imagen para el estado desactivado */
    background-size: contain;
    transition: background-image 0.2s ease;
    /* Suaviza la transición entre imágenes */
}

/* Cambia la imagen cuando el checkbox está activado */
.custom-checkbox input:checked+.checkMar {
    background-image: url('/resources/icons/BotonMartesON.png');
    /* Imagen para el estado activado */
}

/* Cuando el checkbox está deshabilitado y desactivado */
.custom-checkbox input:disabled+.checkMar {
    background-image: url('/resources/icons/BotonMartesOFF.png');
    /* Imagen para el estado desactivado y deshabilitado */
    cursor: not-allowed;
    /* Cambia el cursor para indicar que está deshabilitado */
}

/* Cuando el checkbox está deshabilitado y activado */
.custom-checkbox input:checked:disabled+.checkMar {
    background-image: url('/resources/icons/BotonMartesDIS.png');
    /* Imagen para el estado activado y deshabilitado */
    cursor: not-allowed;
}

.custom-checkbox .checkMie {
    display: inline-block;
    width: 50px;
    /* Tamaño de la imagen */
    height: 50px;
    /* Tamaño de la imagen */
    background-image: url('/resources/icons/BotonMiercolesOFF.png');
    /* Imagen para el estado desactivado */
    background-size: contain;
    transition: background-image 0.2s ease;
    /* Suaviza la transición entre imágenes */
}

/* Cambia la imagen cuando el checkbox está activado */
.custom-checkbox input:checked+.checkMie {
    background-image: url('/resources/icons/BotonMiercolesON.png');
    /* Imagen para el estado activado */
}

/* Cuando el checkbox está deshabilitado y desactivado */
.custom-checkbox input:disabled+.checkMie {
    background-image: url('/resources/icons/BotonMiercolesOFF.png');
    /* Imagen para el estado desactivado y deshabilitado */
    cursor: not-allowed;
    /* Cambia el cursor para indicar que está deshabilitado */
}

/* Cuando el checkbox está deshabilitado y activado */
.custom-checkbox input:checked:disabled+.checkMie {
    background-image: url('/resources/icons/BotonMiercolesDIS.png');
    /* Imagen para el estado activado y deshabilitado */
    cursor: not-allowed;
}

.custom-checkbox .checkJue {
    display: inline-block;
    width: 50px;
    /* Tamaño de la imagen */
    height: 50px;
    /* Tamaño de la imagen */
    background-image: url('/resources/icons/BotonJuevesOFF.png');
    /* Imagen para el estado desactivado */
    background-size: contain;
    transition: background-image 0.2s ease;
    /* Suaviza la transición entre imágenes */
}

/* Cambia la imagen cuando el checkbox está activado */
.custom-checkbox input:checked+.checkJue {
    background-image: url('/resources/icons/BotonJuevesON.png');
    /* Imagen para el estado activado */
}

/* Cuando el checkbox está deshabilitado y desactivado */
.custom-checkbox input:disabled+.checkJue {
    background-image: url('/resources/icons/BotonJuevesOFF.png');
    /* Imagen para el estado desactivado y deshabilitado */
    cursor: not-allowed;
    /* Cambia el cursor para indicar que está deshabilitado */
}

/* Cuando el checkbox está deshabilitado y activado */
.custom-checkbox input:checked:disabled+.checkJue {
    background-image: url('/resources/icons/BotonJuevesDIS.png');
    /* Imagen para el estado activado y deshabilitado */
    cursor: not-allowed;
}

.custom-checkbox .checkVie {
    display: inline-block;
    width: 50px;
    /* Tamaño de la imagen */
    height: 50px;
    /* Tamaño de la imagen */
    background-image: url('/resources/icons/BotonViernesOFF.png');
    /* Imagen para el estado desactivado */
    background-size: contain;
    transition: background-image 0.2s ease;
    /* Suaviza la transición entre imágenes */
}

/* Cambia la imagen cuando el checkbox está activado */
.custom-checkbox input:checked+.checkVie {
    background-image: url('/resources/icons/BotonViernesON.png');
    /* Imagen para el estado activado */
}

/* Cuando el checkbox está deshabilitado y desactivado */
.custom-checkbox input:disabled+.checkVie {
    background-image: url('/resources/icons/BotonViernesOFF.png');
    /* Imagen para el estado desactivado y deshabilitado */
    cursor: not-allowed;
    /* Cambia el cursor para indicar que está deshabilitado */
}

/* Cuando el checkbox está deshabilitado y activado */
.custom-checkbox input:checked:disabled+.checkVie {
    background-image: url('/resources/icons/BotonViernesDIS.png');
    /* Imagen para el estado activado y deshabilitado */
    cursor: not-allowed;
}

.custom-checkbox .checkSab {
    display: inline-block;
    width: 50px;
    /* Tamaño de la imagen */
    height: 50px;
    /* Tamaño de la imagen */
    background-image: url('/resources/icons/BotonSabadoOFF.png');
    /* Imagen para el estado desactivado */
    background-size: contain;
    transition: background-image 0.2s ease;
    /* Suaviza la transición entre imágenes */
}

/* Cambia la imagen cuando el checkbox está activado */
.custom-checkbox input:checked+.checkSab {
    background-image: url('/resources/icons/BotonSabadoON.png');
    /* Imagen para el estado activado */
}

/* Cuando el checkbox está deshabilitado y desactivado */
.custom-checkbox input:disabled+.checkSab {
    background-image: url('/resources/icons/BotonSabadoOFF.png');
    /* Imagen para el estado desactivado y deshabilitado */
    cursor: not-allowed;
    /* Cambia el cursor para indicar que está deshabilitado */
}

/* Cuando el checkbox está deshabilitado y activado */
.custom-checkbox input:checked:disabled+.checkSab {
    background-image: url('/resources/icons/BotonSabadoDIS.png');
    /* Imagen para el estado activado y deshabilitado */
    cursor: not-allowed;
}

.title-toastr-success {
    color: #B2E2CA
}

.title-toastr-error {
    color: rgba(255, 255, 255, 70%);
}

.title-toastr-info {
    color: #6B602A;
}

.text-toastr-info {
    color: #2B313D;
}

.rich-text {
    background-color: #F6F6F6;
    padding: .375rem .75rem;
    height: 180px;
    overflow-y: auto;
    border: 1px solid #E1E1E2 !important;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: normal !important;
}

.ms-choice>div.icon-caret {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    right: 8px;
    margin-top: -2px;
    border-color: transparent !important;
    border-style: solid;
    border-width: 5px 4px 0 4px;
}

.tarjeta,
.tarjeta-gris {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid #B9C0C2;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15), 4px 0px 6px rgba(0, 0, 0, 0.15);
}

.text-detail {
    text-decoration: underline !important;
    color: #212529 !important;
    text-underline-offset: 5px !important;
}

.tarjeta-gris {
    background-color: #FBFBFB;
}

.encabezado-tarjeta {
    font-weight: bold;
    font-size: 19px;
}


.enlace-detalle {
    color: black;
    text-decoration: underline;
    cursor: pointer;
}

.enlace-detalle:hover {
    color: black;
    text-decoration: underline;
}

.box-container {

    border-radius: 15px;
    padding: 20px 30px;
    border: 1px solid #ced4da;
}

.estado-checkbox {
    appearance: none;
    /* Oculta el diseño nativo */
    -webkit-appearance: none;
    /* Compatibilidad con WebKit */
    width: 20px;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    margin-right: 5px;
    ;
}

/* Imagen para el estado deshabilitado y seleccionado */
.estado-checkbox:checked:disabled {
    background: url('/resources/icons/ImagenCheckONDisabled.png') no-repeat center center;
    background-size: cover;
}

.estado-checkbox:disabled {
    background: url('/resources/icons/ImagenCheckDISABLED.png') no-repeat center center;
    background-size: cover;
    cursor: not-allowed;
}

/* Imagen para el estado deshabilitado y seleccionado */
.estado-checkbox:checked {
    background: url('/resources/icons/ImagenCheckON.png') no-repeat center center;
    background-size: cover;
    cursor: pointer;
}

.estado-checkbox {
    background: url('/resources/icons/ImagenCheckOFF.png') no-repeat center center;
    background-size: cover;
    cursor: pointer;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #F1F1EF !important;
    border: none !important;
}

.form-control[readonly].icon-datepicker {
    background-color: white !important;
}

.form-control:disabled.icon-datepicker {
    background-color: #F6F6F6 !important;
}

.form-control {
    border: 1.5px solid #373940 !important;
}

.form-control:disabled,
.form-control[readonly] {
    border: none;
}

.form-control.form-border:disabled,
.form-control.form-border[readonly] {
    border: 1.5px solid #373940 !important;
}

select.form-control {
    appearance: none;
    background-image: url('../icons/ICON_ArrowDown_negro.svg');
    background-repeat: no-repeat;
    /* padding-left: 1rem; */
    background-position: right 1rem center;
    background-size: 11px 11px;
}

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
    background: #0047C7 !important;
}

.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label,
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label {
    background-color: white !important;
    box-shadow: inset 0px 5px 11px -5px rgba(0, 0, 0, 0.3);
}

.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label,
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label {
    background-color: white !important;
    box-shadow: inset 0px 5px 11px -5px rgba(0, 0, 0, 0.3);
}

.bootstrap-switch {
    border: 1px solid #E1E1E2 !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.form-label {
    font-weight: normal !important;
    color: #000000;
}

.estado-checkboxAll {
    appearance: none;
    /* Oculta el diseño nativo */
    -webkit-appearance: none;
    /* Compatibilidad con WebKit */
    width: 20px;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    margin-right: 5px;
    ;
}

/* Imagen para el estado deshabilitado y seleccionado */
.estado-checkboxAll:checked:disabled {
    background: url('/resources/icons/ImagenCheckONDisabled.png') no-repeat center center;
    background-size: cover;
}

.estado-checkboxAll:disabled {
    background: url('/resources/icons/ImagenCheckDISABLED.png') no-repeat center center;
    background-size: cover;
    cursor: not-allowed;
}

/* Imagen para el estado deshabilitado y seleccionado */
.estado-checkboxAll:checked {
    background: url('/resources/icons/ImagenCheckON.png') no-repeat center center;
    background-size: cover;
    cursor: pointer;
}

.estado-checkboxAll {
    background: url('/resources/icons/ImagenCheckOFF.png') no-repeat center center;
    background-size: cover;
    cursor: pointer;
}

.fw-300 {
    font-weight: 300 !important;
}

@media (min-width: 850px) {
    .modal-dialog-address {
        max-width: 800px;
        margin: 1.75rem auto;
    }
}

.modal-dialog-file {
    max-width: 800px;
}

.border-red {
    border: 1px solid red;
}

.search-custom {
    border-right: none !important;
}

.swal2-toast-success {
    background-color: #e6f4ea !important;
    /* verde claro */
    border: 1px solid #a5d6a7;
    border-radius: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 16px;
}

.swal2-toast-success .swal2-title {
    color: #2e7d32 !important;
    /* 🔥 Forzamos el color del texto del título */
    font-size: 14px;
    font-weight: 500;
}


.colored-toast {
    border-radius: 10px !important;
    padding: 10px 15px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.1);
}

/* Estilo para toast de éxito */
.toast-success {
    border: 2px solid #1baa6d !important;
    background-color: #e8f7f0 !important;
}

.toast-success .swal2-title {
    color: #1baa6d !important;
}

/* Estilo para toast de error */
.toast-error {
    border: 2px solid #f93c65 !important;
    background-color: #feecf0 !important;
    color: #f93c65 !important;
}

.toast-error .swal2-title {
    color: #f93c65 !important;
}

/* Ícono de éxito sin fondo, todo en verde (#1baa6d) */
.toast-success .swal2-icon.swal2-success {
    background: transparent !important;
    border-color: #1baa6d !important;
    color: #1baa6d;
}

/* Palomita del ícono */
.toast-success .swal2-success-line-tip,
.toast-success .swal2-success-line-long {
    background-color: #1baa6d !important;
}

/* Círculo exterior animado */
.toast-success .swal2-success-ring {
    border: 4px solid #1baa6d !important;
}

.btn-recover-form {
    background-color: var(--primary-color) !important;
    color: #FFF;
}

/* Square switch to ON/OFF */
.square-switch {
    position: relative;
    display: inline-block;
    width: 68px;
    height: 28px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin: 0;
    padding: 0;
}

.square-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.square-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #CDCDCD;
    /* light border around box */
}

/* Default text = OFF */
.square-switch .slider::after {
    content: "OFF";
    position: absolute;
    right: 5px;
}

/* Switch knob */
.square-switch .slider:before {
    position: absolute;
    content: "";
    height: 98%;
    width: 50%;
    /* half of container */
    left: 0;
    top: 0;
    background-color: white;
    transition: 0.4s;
    border-radius: 5px;
    border: 1px solid #ddd;
    /* light border for knob */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    /* inner shadow */
}

/* Checked state */
.square-switch input:checked+.slider {
    background-color: #373940;
    /* Dark gray when ON */
}

.square-switch input:checked+.slider::after {
    content: "ON";
    left: 9px;
    right: auto;
}

.square-switch input:checked+.slider:before {
    transform: translateX(100%);
}

/* Square checkbox */
.square-checkbox {
    display: flex;
}

.square-checkbox input[type="checkbox"] {
    display: none;
}

.square-checkbox span {
    display: inline-block;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background-color: #FFFFFF;
    vertical-align: middle;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
    background-image: url('../images/ICON_SquareCheckbox_Unchecked.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}

.square-checkbox input[type="checkbox"]:checked+span {
    background-image: url('../images/ICON_SquareCheckbox_Checked.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

.square-checkbox input[type="checkbox"]:disabled+span {
    opacity: 0.5;
}

/* Custom checkbox */
.custom-checkbox input[type="checkbox"] {
    display: none;
}

.custom-checkbox span {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    border: 1.6px solid #373940;
    background-color: #FFFFFF;
    vertical-align: middle;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}

.custom-checkbox input[type="checkbox"]:disabled+span,
.custom-checkbox input[type="radio"]:disabled+span {
    background-color: #F6F6F6 !important;
    cursor: not-allowed;
}

.custom-checkbox input[type="checkbox"]:checked+span:not(:disabled),
.custom-checkbox input[type="radio"]:checked+span:not(:disabled),
.custom-checkbox input[type="checkbox"]:checked:disabled+span,
.custom-checkbox input[type="radio"]:checked:disabled+span {
    background-color: #E3EA9B !important;
    background-image: url('/resources/icons/ICON_Check_negro.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
    box-shadow: 1.5px 1.5px 0 0 #373940;
}

/* File dragger */
.file-dragger {
    border: 1px solid #ADB5BD;
    border-radius: 3px;
    display: flex;
    width: 357px;
    height: 411px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F8F9FA;
}

.file-dragger .no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    h3 {
        color: #373940 !important;
        font-weight: 700;
        font-size: 18px;
    }

    small {
        color: #b6b6b6ff !important;
        font-weight: 400;
        font-size: 14px;
        margin: 0;
    }

    img {
        width: 80px !important;
        height: 80px !important;
        position: initial !important;
        margin: 0 0 15px 0;
    }
}

.file-dragger .preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .image-loaded {
        width: 320px !important;
        height: 320px !important;
        object-fit: fill;
        border-radius: 3px;
        position: initial;
        margin: 0 0 15px 0;
    }
}

/* Tabs */
.custom-tabs {
    display: flex;
    align-content: center;
    justify-content: start;
    gap: .5rem;

    .tab {
        width: 180px;
        height: 30px;
        font-size: 14px;
        border-top: 4px solid #373940;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #373940;
        background: white;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        cursor: pointer;
        opacity: 0.5;
    }

    .tab.active {
        opacity: 1;
    }
}

/* Stepper */
.stepper {
    position: relative;
    display: flex;
    align-items: center;
    font-family: system-ui, sans-serif;
    color: var(--primary-color);
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.step__circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    opacity: .2;
}

.step__label {
    font-size: 18px;
    font-style: bold;
    font-weight: 700;
    opacity: .2;
}

.step.active {
    .step__circle {
        opacity: 1;
    }

    .step__label {
        opacity: 1;
    }
}

.step__line {
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    margin: 0 8px;
    opacity: .2;
}

/*Icon buttons*/
.icon-button {
    display: flex;
    gap: 5px;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--primary-color);
    text-decoration: none;

    .icon {
        width: 24px !important;
        height: 24px !important;
    }

    &:hover {
        color: var(--primary-color) !important;
    }
}

/* Gaps */

.gap-1 {
    gap: 1rem !important;
}

.gap-2 {
    gap: 2rem !important;
}

.gap-3 {
    gap: 3rem !important;
}

.gap-4 {
    gap: 4rem !important;
}

.gap-5 {
    gap: 5rem !important;
}

.btnheight {
    height: 3rem;
}

.inputheight {
    height: 2.6rem;
}

.title-modal {
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 700;
    /* Bold */
    font-style: normal;
    font-size: 1.75rem;
    line-height: 36px;
    /* 1.125 */
    letter-spacing: -0.02em;
    /* -2% */
    text-align: right;
    /* Derecha */
    color: #373940;
    /* K900 */
}

.content-modal-text {
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 400;
    /* Regular */
    font-style: normal;
    font-size: 20px;
    line-height: 26.4px;
    /* ~1.1 */
    letter-spacing: -0.02em;
    /* -2% */
    text-align: center;
    /* Centro */
    color: #373940;
    /* K900 */
}

.modal-row-button-centered {
    display: flex;
    /* Flujo horizontal */
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0px;
    /* Espacio entre hijos */
    width: 100%;
    /* Relleno (ocupa el contenedor) */
    height: auto;
    /* Ajustado al contenido */
    min-height: 49px;
    /* Altura resultante aprox. */
    align-items: center;
    /* opcional: centra verticalmente */
    box-sizing: border-box;
}

.p-modal-content {
    padding: 18px 40px;
}

.p-modal-content hr {
    padding: 0;
}

.p-modal-content .modal-body {
    padding-bottom: 0;
}

.thead-dark tr th {
    background-color: var(--primary-color) !important;
    color: white;
}

.section-title {
    color: var(--primary-color);
}

.read-only-card {
    .form-control.form-control-sm.rounded-pill:disabled {
        border: none !important;
    }

    .note-statusbar.locked {
        display: none !important;
    }

    .note-editor.note-frame {
        border: none !important;
        box-shadow: none !important;
    }

    .note-editing-area {
        border-radius: 10px !important;
    }

    .note-toolbar {
        display: none !important;
    }
}

.note-editor.note-frame.card {
    box-shadow: none;

    .note-toolbar.card-header {
        background: white;
        padding: 16px;
    }

    .note-statusbar {
        display: none;
    }

    .note-btn-group.btn-group {
        margin: 0;
    }

    .btn {
        background: #ECECEC;
        border: none;
        min-width: 32px !important;
        font-family: 'Outfit', sans-serif !important;
        font-family: 'Outfit', sans-serif !important;
    }

    .note-btn.btn.btn-light.btn-sm.dropdown-toggle {
        border-left: none;
    }

    .note-btn-group.btn-group.note-para {
        .note-btn.btn.btn-light.btn-sm {
            width: 45px !important;
        }

        .note-btn.btn.btn-light.btn-sm:not(.dropdown-toggle):first-child {
            margin-left: 20px !important;
            border-right: 1px solid #CCCCCC;
        }

        .note-btn.btn.btn-light.btn-sm:not(.dropdown-toggle):nth-child(2) {
            border-radius: 0 !important;
            border-left: 1px solid #CCCCCC;
        }

        .note-btn.btn.btn-light.btn-sm.dropdown-toggle {
            width: 45px !important;
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
            border-left: 1px solid #CCCCCC;
        }
    }

    .note-btn.btn.btn-light.btn-sm.note-current-color-button {
        border-radius: 0 !important;
        border-left: 1px solid #CCCCCC;
    }

    .note-btn.btn.btn-light.btn-sm.note-btn-italic {
        border-radius: 0 !important;
        border-left: 1px solid #CCCCCC;
    }

    .note-btn.btn.btn-light.btn-sm.note-btn-underline,
    .note-btn.btn.btn-light.btn-sm.note-btn-underline:hover {
        border-left: 1px solid #CCCCCC;
        border-right: 1px solid #CCCCCC;
    }

    .note-btn.btn.btn-light.btn-sm.note-btn-bold {
        border-right: 1px solid #CCCCCC;
    }
}

.file-preview-box {
    min-width: 357px;
    min-height: 108px;
    background-color: #F8F9FA;
    border: 1px solid #ADB5BD;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    p {
        font-weight: 700;
        color: var(--primary-color);
        margin: 10px 0 0 0;
    }
}

.readonly-box {
    background-color: #F6F6F6 !important;
    border: none !important;
    border-radius: 0.2rem;
    padding: .75rem;
    min-height: 90px;
}

.no-sort {
    padding-right: 0px !important;
}

.no-sort:before {
    content: "" !important;
    display: none !important;
}

.no-sort:after {
    content: "" !important;
    display: none !important;
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #373940 transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    background: #e9ecef;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #373940;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-button {
    display: none !important;
    width: 0;
    height: 0;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.dataTables_scrollHeadInner {
    width: 100% !important;

    .display.nowrap.table.table-bordered.table-striped.dataTable.no-footer {
        width: 100% !important;
    }
}

.modal-title {
    font-weight: 600 !important;
    font-style: bold !important;
    font-size: 24px !important;
}

.modal-body p {
    font-weight: 400;
    font-style: regular;
    font-size: 20px;
}

.button-modal {
    height: 3rem;
    width: 16rem;
}

.dropdown-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Estilos para modales y tabs */
.ml-7 {
    margin-left: 7px !important;
}

.form-control {
    border: 1px solid #ced4da !important;
}

.search-bar-container input {
    color: #82898D !important;
    border: 1px solid #CED4DA !important;
    width: 215px !important;
}

.card-title-custom {
    font-family: 'Gotham', sans-serif !important;
}

/* Ocultar elementos con x-cloak hasta que Alpine cargue */
[x-cloak] {
    display: none !important;
}

/* Fondo grisáceo detrás del modal */
.tg-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    /* oscurece el fondo */
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tarjeta central del modal */
.tg-modal-dialog {
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 740px;
    width: 100%;
    margin: 0 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* Título "Salir sin guardar" */
.tg-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #0D0D0E;
    line-height: 2%;
}

/* Texto del mensaje */
.tg-modal-text {
    font-size: 24px;
    color: #000;
    font-weight: 400;
}



/* Botones del modal */
.tg-modal-btn {
    border-radius: 999px;
    height: 52px;
    font-size: 16px;
    font-weight: 600;
    max-width: 220px;
}

/* Botón "No, regresar" (borde café, fondo blanco) */
.tg-modal-btn-outline {
    background-color: #FFFFFF;
    border: 2px solid #25160F;
    /* ajusta al café de tu tema */
    color: #25160F;
}

/* Botón "Sí, salir" (fondo café, texto blanco) */
.tg-modal-btn-fill {
    background-color: #25160F;
    /* café Tierra Garat */
    border: 2px solid #25160F;
    color: #FFFFFF;
}

/* Hover states suaves */
.tg-modal-btn-outline:hover {
    background-color: #F4ECE7;
}

.tg-modal-btn-fill:hover {
    background-color: #25160F;
}

/* ============================================
Estilos personalizados para el paginador de DataTables
============================================ */

/* Contenedor del paginador */
.dataTables_paginate {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 10px !important;
    padding: 10px 0;
}

/* Contenedor de la paginación */
.dataTables_paginate .pagination {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    gap: 2px;
}

/* Eliminar estilos por defecto de los items */
.dataTables_paginate .pagination>li {
    float: none !important;
    display: inline-block;
}


/* Todos los links del paginador (números y botones) */
.dataTables_paginate .pagination>li>a,
.dataTables_paginate .pagination>li>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 6px 10px;
    margin: 0 2px;
    border: none;
    border-radius: 6px;
    background-color: #ffffff;
    color: #333333;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

/* Hover en links */
.dataTables_paginate .pagination>li>a:hover {
    background-color: #f0f0f0;
    border-color: #d0d0d0;
    color: #333333;
}

/* Estilo para los botones Anterior/Siguiente */
.dataTables_paginate .pagination>li.previous>a,
.dataTables_paginate .pagination>li.next>a {
    padding: 6px 14px;
    border: none;
    color: #333333;
    font-weight: 500;
}

.dataTables_paginate .pagination>li.previous>a:hover,
.dataTables_paginate .pagination>li.next>a:hover {
    background-color: #f0f0f0;
    border-radius: 6px;
}

/* Página activa */
.dataTables_paginate .pagination>li.active>a,
.dataTables_paginate .pagination>li.active>a:hover {
    background-color: #F3F5F7 !important;
    border: none !important;
    color: #00344D !important;
    font-weight: 700;
    cursor: default;
}

/* Página deshabilitada (Anterior/Siguiente cuando no hay más páginas) */
.dataTables_paginate .pagination>li.disabled>a,
.dataTables_paginate .pagination>li.disabled>a:hover {
    color: #999;
    background-color: transparent;
    border: none;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Paginación simple (Solo Anterior/Siguiente sin números) */
.dataTables_paginate .dataTables_paginate.paging_simple .paginate_button {
    border-radius: 6px;
}


/* Información de registros */
div.dataTables_wrapper div.dataTables_info {
    padding-top: 1.75em !important;
}

.dataTables_info {
    font-size: 17px;
    color: #666;
    font-weight: 500;
}

/* Usando nth-child directamente */
table.dataTable tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

table.dataTable tbody tr:nth-child(even) {
    background-color: #F3F5F7;
}

.btn-container-cancel {
    color: #17344D !important;
    border: 2px solid #17344D !important;
    background: #FFFFFF !important;
    font-weight: 600 !important;
}

.btn-container-save {
    background: #17344D !important;
    border: 2px solid #17344D !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

.btn-container-save:disabled {
    background: #D7DBE0 !important;
    border-color: #D7DBE0 !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

.coupon-points-price-input {
    max-width: 120px !important;
    max-height: 35px !important;
    border-radius: 78px !important;
    text-align: center;
    margin: 0 auto;
    padding: 0 12px;
}