:root {
    --a3-red: rgb(214, 37, 55);
    --a3-pink: rgb(255, 107, 145);
    --a3-orange: rgb(255, 105, 26);
    --a3-yellow: rgb(246, 185, 41);
    --a3-green: rgb(35, 182, 68);
    --a3-cyan: rgb(24, 184, 202);
    --a3-blue: rgb(20, 129, 248);
    --a3-purple: rgb(128, 74, 193);
    --clr-primary: #81d4fa;
    --clr-primary-light: #e1f5fe;
    --clr-primary-dark: #4fc3f7;
    --clr-gray100: #f9fbff;
    --clr-gray150: #f4f6fb;
    --clr-gray200: #eef1f6;
    --clr-gray300: #e1e5ee;
    --clr-gray400: #767b91;
    --clr-gray500: #4f546c;
    --clr-gray600: #2a324b;
    --clr-gray700: #161d34;
    --clr-pending: #fff0c2;
    --clr-pending-font: #a68b00;
    --clr-unpaid: #ffcdd2;
    --clr-unpaid-font: #c62828;
    --clr-paid: #7cda8b;
    --clr-paid-font: #1d6d21;
    --clr-link: #2962ff;
}

.icon.gris {
    stroke: #87827d;
    max-width: 42px;
    padding: 0.6rem;
    border: 1px solid #dddbda;
    border-radius: 50%;
}

.right {
    right: 0;
}

.list-group-item-action {
    cursor: pointer;
}

.provision h4 {
    font-size: 1.3em;
    font-weight: 400;
}

.provision label,
.provision .label {
    position: relative;
    margin-bottom: 0;
    margin-left: 1px;
    padding: 2px 6px 2px 0;
    border-radius: 3px;
    background: #fff;
    z-index: 3;
}

.provision .custom-file {
    display: block;
    margin-bottom: 0.7rem;
}

.provision .custom-file label {
    position: absolute;
    color: var(--negro-op-7) !important;
    z-index: 1;
}

.provision label + input,
.provision .label + input,
.provision label + .form-control,
.provision .label + .form-control,
.provision label + select,
.provision .label + select,
.provision label + .custom-select,
.provision .label + .custom-select,
.provision label + .custom-file label,
.provision .label + .custom-file label {
    margin-top: -0.5em;
    padding-left: 0;
    font-size: 1.3em;
    border-color: transparent;
}

.provision .label + .custom-file label::after {
    display: none;
}

.provision input:disabled,
.provision select:disabled,
.provision textarea:disabled,
.provision .custom-file-input:disabled + .custom-file-label {
    color: var(--negro);
    background-color: transparent;
}

.vivienda h4 {
    font-size: 1.3em;
    font-weight: 400;
}

.vivienda label,
.vivienda .label {
    position: relative;
    margin-bottom: 0;
    margin-left: 1px;
    padding: 2px 6px 2px 0;
    border-radius: 3px;
    background: #fff;
    z-index: 3;
}

.vivienda .custom-file {
    display: block;
    margin-bottom: 0.7rem;
}

.vivienda .custom-file label {
    position: absolute;
    color: var(--negro-op-7) !important;
    z-index: 1;
}

.vivienda label + input,
.vivienda .label + input,
.vivienda label + .form-control,
.vivienda .label + .form-control,
.vivienda label + select,
.vivienda .label + select,
.vivienda label + .custom-select,
.vivienda .label + .custom-select,
.vivienda label + .custom-file label,
.vivienda .label + .custom-file label {
    margin-top: -0.5em;
    padding-left: 0;
    font-size: 1.3em;
    border-color: transparent;
}

.vivienda .label + .custom-file label::after {
    display: none;
}

.vivienda input:disabled,
.vivienda select:disabled,
.vivienda textarea:disabled,
.vivienda .custom-file-input:disabled + .custom-file-label {
    color: var(--negro);
    background-color: transparent;
}

.vivienda input[type=checkbox]:disabled {
    background-color: currentColor;
}

/* Botón cargando */
.spinner-dark {
    display: inline-block;
    width: 50px;
    margin: auto;
    text-align: center;
}

.spinner-dark > span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    border-radius: 100%;
    background-color: var(--naranja);
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner-dark .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner-dark .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.btn .spinner-dark,
button .spinner-dark,
.btn.cargando .texto,
button.cargando .texto {
    display: none;
}

.btn.cargando .spinner-dark,
button.cargando .spinner-dark {
    display: inline-block;
}

.btn .spinner-dark > span,
button .spinner-dark > span {
    background: #212121;
}

.btn-desasignar {
    background: #fff;
    padding: .5rem;
    border: none;
    border-radius: 100%;
    transition: background .1s ease;
}

.btn-light {
    background-color: #fff;
}

.btn-desasignar:hover{
    background: rgb(224, 224, 224);
}

label.required::after {
    color: #ff7a33;
    content: "*";
}

.floating-button {
    display: flex;
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 30px;
    background-color: var(--blanco);
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 16px rgb(0 0 0 / 10%);
    z-index: 1000;
}

.floating-button:hover {
    box-shadow: 0 8px 20px rgb(0 0 0 / 15%);
}

.img-cuadrada.user {
    margin-top: 14px;
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.1);
    background-image: url("../img/cliente-sin-foto.d8f27406d5f1.jpg");
}

form.mayusculas input[type="text"]:not(.no-mayusculas),
form.mayusculas textarea:not(.no-mayusculas) {
    text-transform: uppercase;
}

.rounded-xl {
    border-radius: 1.5rem;
}

@media screen and (min-width: 320px) {
    #pdf-canvas {
        max-width: 320px;
    }
    #pdf-wrapper {
        flex-direction: column;
    }
}

.tabla-invasion .page-info {
    width: 100%;
    text-align: right;
    padding: .5rem 0;
    color: #6c7084;
    font-size: .75rem;
}

@media screen and (max-width: 580px) {
    .card h5.lead {
        font-size: 1rem;
    }
    .card .icon.saturate {
        max-width: 35px;
    }
    .tabla-invasion .text-truncate {
        max-width: 190px;
    }
}

@media screen and (min-width: 580px) {
    #pdf-canvas {
        max-width: 480px;
    }
    #pdf-wrapper {
        flex-direction: column;
    }
}

@media screen and (min-width: 768px) {
    #pdf-canvas {
        max-width: 640px;
    }
    #pdf-wrapper {
        flex-direction: row;
    }
}

@media screen and (min-width: 900px) {
    #pdf-canvas {
        max-width: 720px;
    }
    #pdf-wrapper {
        flex-direction: row;
    }
    .tabla-invasion .text-truncate {
        max-width: 290px;
    }    
}

@media screen and (min-width: 1200px) {
    #pdf-canvas {
        max-width: 100%;
    }
    #pdf-wrapper {
        flex-direction: row;
    }
}

.badge-soft-success {
    color: #28a745;
    background-color: #ccf6e4;
}

.badge-soft-danger {
    color: #df3d4d;
    background-color: #ffdfe2;
}

.card-header.no-border {
    border-bottom: none;
}

.icon.card-background {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: auto;
    left: 50%;
    bottom: 0.75%;
    opacity: 0.125;
}

.card-background.third {
    left: 35%;
}

#notificationCount {
    position: absolute;
}

.card-body .notificacion {
    padding: 1rem 0;
    font-size: 1rem;
}

.notificacion {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--negro);
}

.notificacion.info .icon {
    fill: var(--blue);
}

.notificacion.success .icon {
    fill: var(--success);
}

.notificacion.warning .icon {
    fill: var(--warning);
}

.notificacion.danger .icon {
    fill: var(--danger);
}

.notificacion.leida {
    color: rgba(0, 0, 0, 0.3);
}

.notificacion.leida .icon {
    opacity: 0.6;
}

.dropdown-toggle::after {
    display: none;
}

.menu-notificaciones {
    left: unset;
}

.menu-notificaciones .dropdown-item:active {
    color: var(--negro);
    background-color: var(--gris-2);
}

#menuNotificaciones[aria-expanded="true"] svg {
    fill: var(--gris-2);
    stroke: var(--gris-2);
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
}

#progressbar li {
    list-style-type: none;
    color: #99a2a8;
    font-size: 0.75rem;
    width: calc(100% / 4);
    float: left;
    position: relative;
}

#progressbar li.rechazada::before {
    content: "\f129" !important;
}

#progressbar li:nth-child(1)::before {
    content: "\f3b3";  /* Este es el antiguo ícono predeterminado, asignado al primer paso */
}

#progressbar li:nth-child(2)::before {
    content: "\f3f2";  /* Reemplaza "NEW" con el código del nuevo ícono */
}

#progressbar li:nth-child(3)::before {
    content: "\f121";  /* Este es el antiguo ícono del paso 2 */
}

#progressbar li:nth-child(4)::before {
    content: "\f353";  /* Este es el antiguo ícono del paso 3 */
}

#progressbar li::before {
    font: normal normal normal 25px/50px Ionicons;
    height: 50px;
    width: 50px;
    line-height: 50px;
    display: block;
    background: #eaf0f4;
    border-radius: 50%;
    margin: 0 auto 10px auto;
}

#progressbar li::after {
    content: "";
    width: 100%;
    height: 10px;
    background: #eaf0f4;
    position: absolute;
    left: -50%;
    top: 21px;
    z-index: -1;
}

#progressbar li:last-child::after {
    width: 150%;
}

#progressbar li.active {
    color: var(--naranja);
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: var(--naranja);
    color: var(--blanco);
}


.card.loading {
    height: 150px;
}

.card.loading::before {
    content: '';
    display: block;
    position: absolute;
    left: -150px;
    top: 0;
    height: 100%;
    width: 150px;
    background: linear-gradient(to right, transparent 0%, #E8E8E8 50%, transparent 100%);
    animation: load 1s ease infinite;
}

@keyframes load {
    from {
        left: -150px;
    }
    to   {
        left: 100%;
    }
}

.font-size-100 {
    font-size: 100%;
}

.titulo-reporte {
    overflow: hidden;
    text-align: center;
}

.titulo-reporte:before,
.titulo-reporte:after {
    background-color: var(--gris-med);
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.titulo-reporte:before {
    right: 0.5em;
    margin-left: -50%;
}

.titulo-reporte:after {
    left: 0.5em;
    margin-right: -50%;
}

.card-footer.clean {
    background-color: rgba(0, 0, 0, 0);
    border-top: none;
}

.z-index-1000 {
    z-index: 1000;
}

.text-dark-op-5 {
    color: var(--negro-op-5);
}

.text-dark-op-7 {
    color: var(--negro-op-7);
}

.font-size-75 {
    font-size: 75%;
}

.display-5 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
}

@media screen and (min-width: 320px) {
    .display-5 {
        font-size: 2.15rem;
    }
}

@media screen and (min-width: 580px) {
    .display-5 {
        font-size: 3rem;
    }
}

@media screen and (min-width: 768px) {
    .display-5 {
        font-size: 3.5rem;
    }
}

.badge-lg {
    font-size: 100%;
    font-weight: 600;
    padding: 0.5em;
    letter-spacing: 0.01rem;
}

/* historial de detenciones */
.timeline {
    border-left: 2px solid #cccccc;
    margin: 0 auto;
    position: relative;
    list-style: none;
}

@media (max-width: 767px) {
    .timeline {
        max-width: 98%;
        padding: 25px;
    }
}

.timeline h3 {
    font-weight: 600;
    font-size: 1rem;
}

.timeline h4 {
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline .event {
    border-bottom: 1px dashed #e8ebf1;
    padding-bottom: 5px;
    padding-top: 30px;
    margin-bottom: 5px;
    position: relative;
}

.timeline .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline .event:before,
.timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .event:before {
    content: attr(data-date);
    font-size: 0.75rem;
    color: var(--secondary);
    min-width: 120px;
    left: 0px;
    text-align: left;
}

.timeline .event:after {
    left: -27px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 32px;
}

.timeline .event.danger:after {
    -webkit-box-shadow: 0 0 0 3px var(--naranja);
    box-shadow: 0 0 0 3px var(--naranja);
}

.timeline .event.success:after {
    -webkit-box-shadow: 0 0 0 3px var(--teal);
    box-shadow: 0 0 0 3px var(--teal);
}

.timeline .event.warning:after {
    -webkit-box-shadow: 0 0 0 3px var(--warning);
    box-shadow: 0 0 0 3px var(--warning);
}

.timeline .event.primary:after {
    -webkit-box-shadow: 0 0 0 3px var(--primary);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline .event.secondary:after {
    -webkit-box-shadow: 0 0 0 3px var(--secondary);
    box-shadow: 0 0 0 3px var(--secondary);
}

input[readonly] {
    cursor: default;
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.justify-content-evenly {
    -ms-flex-pack: distribute !important;
    justify-content: space-evenly !important;
}

.editable .esconder {
    display: none;
}

.editable.editando .esconder {
    display: inherit;
}

.vivienda h4 {
    font-size: 1.3em;
    font-weight: 400;
}

.img-shadow {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1);
}

.gap {
    gap: 0.25rem;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 1.5rem;
}

.ventana.flotante.der .contenedor {
    max-width: 20%;
    right: 0;
    max-height: 100%;
    border-radius: 0;
}

@media screen and (max-width: 768px) {
    .ventana.flotante.der .contenedor {
        max-width: 75%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
    .ventana.flotante.der .contenedor {
        max-width: 35%;
    }
}

.bg-gris-claro {
    background-color: var(--gris-claro-2);
}

.a3-red {
    color: var(--a3-red);
    stroke: var(--a3-red);
}

.a3-pink {
    color: var(--a3-pink);
    stroke: var(--a3-pink);
}

.a3-orange {
    color: var(--a3-orange);
    stroke: var(--a3-orange);
}

.a3-yellow {
    color: var(--a3-yellow);
    stroke: var(--a3-yellow);
}

.a3-green {
    color: var(--a3-green);
    stroke: var(--a3-green);
}

.a3-cyan {
    color: var(--a3-cyan);
    stroke: var(--a3-cyan);
}

.a3-blue {
    color: var(--a3-blue);
    stroke: var(--a3-blue);
}

.a3-purple {
    color: var(--a3-purple);
    stroke: var(--a3-purple);
}

.px-35 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.card.button {
    cursor: pointer;
}

.card.button:not(.disabled):hover {
    box-shadow: 0 12px 24px rgb(0 0 0 / 10%);
}

#dropdown-notificaciones {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
}

@media screen and (max-width: 580px) {
    #dropdown-notificaciones {
        max-width: 360px;
    }
}

.truncate-text {
    max-width: 280px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Log in */
.login .form-group {
    overflow: hidden;
    margin-bottom: 0;
    padding: 15px 15px;
    border-bottom: none;
    position: relative;
    background: #edf2f5;
    border-bottom: 1px solid #e6edf1;
}

.login .form-group.first {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.login .form-group.last {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.login .form-group label {
    position: absolute;
    top: 50%;
    font-size: 12px;
    display: block;
    margin-bottom: 0;
    color: #b3b3b3;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.login .form-group.field--not-empty label {
    margin-top: -20px;
}

.login .form-group .form-control {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 18px;
    border-radius: 0;
    border-color: none;
    box-shadow: none;
}

.text-reset:hover {
    text-decoration: none;
}

.badge-outline-primary {
    color: #0067d5;
    border: 1px solid var(--primary);
    background: #007bff10;
}

.badge-outline-success {
    color: #1e7c33;
    border: 1px solid var(--success);
    background: #28a74610;
}

.badge-outline-yellow {
    color: #8f5e04;
    border: 1px solid var(--yellow);
    background: #ffc10715;
}

.badge-outline-secondary {
    color: #636b73;
    border: 1px solid var(--secondary);
    background: #6c757d10;
}

.badge-outline-warning {
    color: #a9540d;
    border: 1px solid var(--orange);
    background: #fd7e1410;
}

.badge-outline-danger {
    color: var(--danger);
    border: 1px solid var(--danger);
    background: #dc354510;
}

.badge-outline-info {
    color: #117686;
    border: 1px solid #17a2b8;
    background: #17a2b810;    
}

input.calculo-cierre {
    border: none;
    border-bottom: 1px solid black;
    width: 3ch;
}

input.calculo-cierre:focus {
    border: none;
    border-bottom: 1px solid black;
    box-shadow: none;
}

input.calculo-cierre:focus-visible {
    outline: none;
}

input.calculo-cierre::-webkit-outer-spin-button,
input.calculo-cierre::-webkit-inner-spin-button,
#pdf-controls input::-webkit-outer-spin-button,
#pdf-controls input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#pdf-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem 1rem;
    gap: .35rem;
    background-color: #343a40;
    color: #fff;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

#pdf-controls input {
    background: #191b1c;
    border: none;
    width: 3ch;
    color: #fff;    
}

#pdf-controls button {
    border: none;
    background: none;
    line-height: 1;
    padding: 0.5rem;
    border-radius: 100%;
    transition: background .1s ease;
}

#pdf-controls button:hover {
    background: #424649;
}

input.calculo-cierre,
#pdf-controls input {
    -moz-appearance: textfield;
}



.money-badge {
    background: var(--success);
    color: white;
    font-size: 0.83rem;
    font-weight: 600;
    text-align: center;
    border-radius: 0.25rem;
}

.flex-a-center {
    display: flex;
    align-items: center;
}

.flex-j-center {
    display: flex;
    justify-content: center;
}

.justify-content-around {
    justify-content: space-around;
}

.op-5 {
    opacity: 0.5;
}

.card.button .icon.saturate {
    filter: saturate(0);
}

.card.button:hover .icon.saturate {
    filter: saturate(1);
}

.card.button:active {
    background-color: var(--light);
}

.autocomplete-suggestions {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    cursor: pointer;
    overflow: auto;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-no-suggestion {
    padding: 2px 5px;
}

.autocomplete-selected {
    background: #f0f0f0;
}

.autocomplete-suggestions strong {
    font-weight: bold;
    color: var(--dark);
}

.autocomplete-group {
    padding: 2px 5px;
    font-weight: bold;
    font-size: 16px;
    color: var(--dark);
    display: block;
    border-bottom: 1px solid var(--dark);
}

.nav-link {
    cursor: pointer;
    font-size: 1rem;
}

.pointer {
    cursor: pointer !important;
}

.mostrar-mas {
    display: flex;
}

.card.loading {
    height: 150px;
}

#pdf-loading {
    width: 50vh;
    height: 75vh;
    background: #fff;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
    animation: pdf-loading 1.25s ease-in-out infinite;
}

@keyframes pdf-loading {
    0% {
        background: #fff;
    }
    50% {
        background: #dfdfdf;
    }
}

.card.loading::before {
    content: '';
    display: block;
    position: absolute;
    left: -150px;
    top: 0;
    height: 100%;
    width: 150px;
    background: linear-gradient(to right, transparent 0%, #E8E8E8 50%, transparent 100%);
    animation: load 1s ease infinite;
}

@keyframes load {
    from {
        left: -150px;
    }
    to   {
        left: 100%;
    }
}

#estatus-cierre {
    overflow: hidden;
    z-index: 10;
}

#estatus-cierre li {
    list-style-type: none;
    color: #99a2a8;
    font-size: 0.75rem;
/*     width: calc(100% / 5); */
    float: left;
    position: relative;
}

#estatus-cierre li.contabilidad::before {
    content: "\f127";
}

#estatus-cierre li.obra::before {
    content: "\f148";
}

#estatus-cierre li.administracion::before {
    content: "\f3e8";
}

#estatus-cierre li.gerente::before {
    content: "\f47c";
}

#estatus-cierre li.tesoreria::before {
    content: "\f353";
}

#estatus-cierre li.cobranza::before {
    content: "\f316";
}

#estatus-cierre li.cerrado::before {
    content: "\f122";
}

#estatus-cierre li.comisiones::before {
    content: "\f3ed";
}

#estatus-cierre li::before {
    content: "\f3b3";
    font: normal normal normal 40px/80px Ionicons;
    height: 80px;
    width: 80px;
    line-height: 80px;
    display: block;
    background: #eaf0f4;
    border-radius: 50%;
    margin: 0 auto 10px auto;
}

#estatus-cierre li::after {
    content: "";
    width: 100%;
    height: 25px;
    background: #eaf0f4;
    position: absolute;
    left: -50%;
    top: 25px;
    z-index: -1;
}

#estatus-cierre li:last-child::after {
    width: 100%;
}

#estatus-cierre li.active {
    color: var(--naranja);
}

#estatus-cierre li.inactive {
    color: var(--danger);
}

#estatus-cierre li.active:before {
    background: var(--naranja);
    color: var(--blanco);
}

#estatus-cierre li.inactive:before {
    background: var(--danger);
    color: var(--blanco);
}

.custom-scroll {
    max-height: 600px;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.custom-scroll::-webkit-scrollbar {
    width: 5px;
}

.custom-scroll::-webkit-scrollbar-track {
    background-color: #e4e4e4;
    border-radius: 9999px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    border-radius: 9999px;
    background-color: #6c757d;
}

.blog-img {
    max-width: 420px;
    border: 1px solid #ededed;
    margin-top: 1.5rem;
    border-radius: .75rem;
}

@media screen and (max-width: 420px) {
    .blog-img {
        max-width: 250px;
    }
}

.blog ul {
    margin-bottom: 1rem;
}

.blog-tag {
    background-color: #ededed;
    color: #494f54;
    padding: 2px 8px;
    cursor: pointer;
    border-radius: 5px;
    line-height: 1;
    font-size: .85rem;    
}

/* accordion */
.accordion-item {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
}

.accordion-item:last-of-type {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.accordion-item:first-of-type {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.accordion-item:not(:first-of-type) {
    border-top: 0;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
}

.accordion-button:focus {
    z-index: 3;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

.accordion-button:not(.collapsed) {
    color: #0c63e4;
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 1rem 1.25rem;
}

.comentario-anexo {
    padding: 1rem;
    margin-bottom: .25rem;
    width: fit-content;
    border-radius: 1.75rem;
    background: #e6e6e6;
}

.eliminar-comentario {
    opacity: .2;
    height: 100%;
    border: none;
    background: none;
}

.eliminar-comentario:hover,
.comentario-anexo:hover + .eliminar-comentario {
    opacity: 1;
}

.lead-sm {
    font-weight: 300;
    font-size: 1.25em;
}

.alert ul {
    text-align: left;
    margin-bottom: 0;
}

.results {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

img.no-results {
    margin: auto;
    max-width: 512px;
}

.loading-data {
    text-align: center;
    margin-bottom: 3rem;
}

.loading-data img {
    width: 60;
}

.table.align-middle th, 
.table.align-middle td {
    vertical-align: middle;
}

.dashboard {
    font-family: "Roboto", sans-serif !important;
}

.dashboard .bg-light-info {
    background-color: #F8F5FF !important;
}

.dashboard .bg-info {
    background-color: #7239ea !important;
}

.dashboard .bg-light-primary {
    background-color: #F1FAFF !important;
}

.dashboard .bg-primary {
    background-color: #00a3ff !important;
}

.dashboard .bg-light-success {
    background-color: #E8FFF3 !important;
}

.dashboard .bg-success {
    background-color: #50cd89 !important;
}

.dashboard .fw-bolder {
    font-weight: 600;
}

.dashboard .fw-boldest {
    font-weight: 700;
}


.dashboard .table.table-row-dashed tr, 
.kpis .table.table-row-dashed tr {
    border-bottom-width: 2px !important;
    border-bottom-style: dashed !important;
    border-bottom-color: #f4f7fa;
}

.dashboard .table.table-row-dashed th,
.kpis .table.table-row-dashed th {
    border-top-width: 0px !important;

}

.dashboard .table.table-row-dashed tr:last-child,
.kpis .table.table-row-dashed tr:last-child {
    border-bottom: 0 !important;
}

#tabla-usuarios .table td,
#tabla-bajas .table td {
    vertical-align: middle;
}

#tabla-bajas .table td:last-child,
#tabla-bajas .table th:last-child,
#tabla-usuarios .table td:last-child,
#tabla-usuarios .table th:last-child {
    padding-right: .75rem;
}

#tabla-bajas thead th,
#tabla-usuarios thead th {
    cursor: pointer;
}

#tabla-bajas thead th.sorting,
#tabla-usuarios thead th.sorting {
    display: flex;
}

#tabla-bajas thead th.sorting span,
#tabla-usuarios thead th.sorting span {
    width: max-content;
    margin-bottom: 2px;
}

.dashboard .badge-light {
    color: #6c7084 !important;
}

.dashboard .p-3 {
    padding: 0.75rem !important;
}


.tooltip.dashboard.show {
    opacity: 1;
}
 
.tooltip.dashboard .tooltip-inner {
    max-width: 200px;
    padding: 0.75rem 1rem;
    font-size: 0.925rem;
    border-radius: 0.475rem;
  }
  
.tooltip.dashboard .tooltip-inner {
    box-shadow: 0px 0px 30px 2px rgba(82, 63, 105, 0.2);
  }


.dashboard a.badge:focus{
    outline: 0;
}

.dashboard a.badge-light-success:focus,
.dashboard a.badge-light-success:hover {
    color: #328055;
    background-color: #c6ecd8;
}

.dashboard a.badge-light-danger:focus,
.dashboard a.badge-light-danger:hover {
    color: #cc375c;
    background-color: #f4cdd8;
}

a.badge-light,
a.badge-light-success,
a.badge-light-danger {
  transition: background-color .15s ease-in-out;
}

/*
* -------------------------------------------------------------------
*	Deshabilitar a
* -------------------------------------------------------------------
*
*
*/
a.disabled {
    pointer-events: none;
    color: rgb(177, 173, 173);
}


input.check-vivienda ~ .custom-control-label::before {
    width: 2em;
    height: 2em;
}

input.check-vivienda ~ .custom-control-label::after {
    width: 2em;
    height: 2em;
}

input.check-visita ~ .custom-control-label::before {
    width: 2em;
    height: 2em;
}

input.check-visita ~ .custom-control-label::after {
    width: 2em;
    height: 2em;
}

table.orangeTable {
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
    text-align: center;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-family: Mukta, sans-serif;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 15px;
    border-radius: 1em;
    margin-bottom: 30px;
  }
  table.orangeTable td, table.orangeTable th {
    padding: 3px 2px;
    padding: 1rem 2rem;
  }
  table.orangeTable tbody {
    font-size: 16px;
    display: contents;
  }

  td + td {
    border-left: 0px solid black;
}

  table.orangeTable tr:nth-child(even) {
    background: var(--gris-claro-2);
  }
  table.orangeTable thead {
    background: var(--naranja);
    background: -moz-linear-gradient(top, var(--naranja) 0%, var(--naranja) 66%, var(--naranja) 100%);
    background: -webkit-linear-gradient(top, var(--naranja) 0%, var(--naranja) 66%, var(--naranja) 100%);
    background: linear-gradient(to bottom, var(--naranja) 0%, var(--naranja) 66%, var(--naranja) 100%);
    border-bottom: 1px solid #000000;
    font-style: bold;
    color: white;
  }
  table.orangeTable thead th {
    font-size: 18px;
    font-weight: bold;
    color: var(--blanco);
    text-align: center;
  }

  table.orangeTable thead td {
    font-size: 18px;
    font-weight: bold;
    color: var(--negro);
    text-align: center;
  }

  table.orangeTable thead th:first-child {
    border-left: none;
  }

  table.orangeTable thead th:last-child {
    border-left: none;
  }

  table.orangeTable td:last-child {
    flex: 1;
    width: 100%;
  }
  
  table.orangeTable tfoot {
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    background: #D0E4F5;
    background: -moz-linear-gradient(top, #f2f6f8 0%, #d4e6f6 66%, #D0E4F5 100%);
    background: -webkit-linear-gradient(top, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
    background: linear-gradient(to bottom, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
    border-top: 1px solid #444444;
  }
  table.orangeTable tfoot td {
    font-size: 14px;
  }
  table.orangeTable tfoot .links {
    text-align: right;
  }
  table.orangeTable tfoot .links a{
    display: inline-block;
    background: black;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 5px;
  }

  .status {
    border-radius: 0.1rem;
    background-color: red;
    padding: 0.3rem 1rem;
    text-align: center;
  }
  .status-pending {
    border-radius: 0.1rem;
    padding: 0.3rem 1rem;
    text-align: center;
    background-color: var(--clr-pending);
    color: var(--clr-pending-font);
  }
  .status-paid {
    border-radius: 0.1rem;
    padding: 0.3rem 1rem;
    text-align: center;
    color: var(--a3-blue);
  }

  .status-created {
    border-radius: 0.2rem;
    padding: 0.8rem 1.1rem;
    vertical-align: middle;
    text-align: center;
    background-color: var(--clr-paid);
    color: var(--clr-paid-font);
  }
  .status-unpaid {
    border-radius: 0.1rem;
    padding: 0.3rem 1rem;
    text-align: center;
    color: var(--clr-unpaid-font);
  }
  .tabla-itemcode {
    border-radius: 0.1rem;
    padding: 0.3rem 1rem;
    text-align: center;
    color: var(--a3-blue);
  }

  .tabla-crear {
    border-radius: 0.4rem;
    padding: 0.3rem 1rem;
    text-align: center;
    background-color: var(--clr-paid);
    color: var(--clr-paid-font);
  }

  .rdata tr {
    height: 200px;
  }

  .over {
    color: red;
}

.symbol > .symbol-label.bg-light-success {
    background-color: #E8FFF3;
}

.symbol > .symbol-label.bg-light-danger {
    background-color: #FFF5F8;
}

.symbol > .symbol-label.bg-light-primary {
    background-color: #F1FAFF;
}

.symbol > .symbol-label.bg-light-warning {
    background-color: #ffffe4;
}

.progress-bar-control {
    background-color: #4caf50; /* green */
  }
  
  .progress-bar-contabilidad {
    background-color: #f44336; /* red */
  }
  
  .progress-bar-tesoreria {
    background-color: #ffc107; /* amber */
  }
  
  .progress-bar-cobranza {
    background-color: #2196f3; /* blue */
  }
  
  .progress-bar-comisiones {
    background-color: #9c27b0; /* purple */
  }
  
  @media (min-width: 1400px) {
    .container-custom {
      max-width: 1360px !important;
    }
  }

  @media (max-width: 1400px) {
    .container-custom {
      max-width: 100% !important;
      padding-left: 2px !important;
      padding-right: 2px !important;
    }
  }
  
    
  
  /********************TICKETS********************/
      /* Estilo para diferenciar cada sección */
      .ticket-section {
        background-color: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 10px;
    }

       .acuerdo-section {
        background-color: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 10px;
    }

    /* Línea de tiempo */
    .timeline-dot {
        height: 8px;
        width: 8px;
        background-color: #d76d2f;
        border-radius: 50%;
        display: inline-block;
        margin-right: 5px;
    }

    /* Caja de chat */
    .chat-box {
        word-wrap: break-word; /* Ajusta palabras largas */
        line-height: 1.4; /* Ajuste más compacto */
        font-family: Arial, sans-serif; /* Fuente estándar */
        background-color: #f9f9f9; /* Fondo más claro para el chat */
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #e0e0e0;
    }

    /* Contenedor de mensajes */
    .message-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2px; /* Espacio reducido entre mensajes */
        padding: 8px; /* Ajuste de relleno */
        border-radius: 8px;
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    }

    /* Mensajes del usuario */
    .message-container strong {
        font-size: 14px;
        font-weight: bold;
        color: #002251;
        margin-bottom: 4px; /* Espacio reducido entre el nombre y el mensaje */
    }

    /* Texto del mensaje */
    .message-container span {
        font-size: 14px;
        color: #333;
    }

    /* Fecha del mensaje */
    .message-container small {
        font-size: 12px;
        color: #888;
        margin-top: 4px;
        align-self: flex-end; /* Alinea a la derecha */
    }

    /* Listas en mensajes */
    .chat-box ul, .chat-box ol {
        margin-left: 20px;
        padding-left: 20px;
    }

    .chat-box ul {
        list-style-type: disc;
    }

    .chat-box ol {
        list-style-type: decimal;
    }

    /* Código en mensajes */
    .chat-box code {
        background-color: #e7f3ff;
        padding: 2px 4px;
        border-radius: 4px;
        font-family: monospace;
        font-size: 13px;
        color: #d76d2f;
    }

    /* Bloques de código */
    .chat-box pre {
        background-color: #e7f3ff;
        padding: 10px;
        border-radius: 4px;
        overflow-x: auto;
        font-family: monospace;
        font-size: 13px;
        color: #4d4d4f;
        margin-bottom: 8px;
    }

    /* Links */
    .chat-box a {
        color: #007bff;
        text-decoration: underline;
    }

    .chat-box a:hover {
        color: #0056b3;
        text-decoration: none;
    }

    /* Mensajes del usuario */
    .message-container.user-message {
        background-color: #f5f5f5;
    }

    /* Mensajes del sistema */
    .message-container.system-message {
        background-color: #ffefc2;
        font-style: italic;
    }

    /* Mensajes del usuario (alineados a la derecha y fondo naranja) */
    .message-container.user-message {
        background-color: #fff7f0; /* Fondo naranja */
        align-self: flex-end; /* Alineación a la derecha */
        border: 1px solid #ab492e; /* Bordes más oscuros */
    }

    .message-container.user-message small {
        color: #a9540d;
    }

    #quill-comentarios {
        border: 1px solid #ced4da; /* Borde similar al de otros campos */
        border-radius: 4px;        /* Bordes redondeados */
        background-color: #fff;    /* Fondo blanco */
        padding: 5px;              /* Espaciado interno */
    }
    .ql-toolbar {
        border: 1px solid #ced4da; /* Borde para la barra de herramientas */
        border-bottom: none;       /* Sin borde inferior para unir con el editor */
        border-radius: 4px 4px 0 0; /* Bordes redondeados en la parte superior */
    }
    .ql-container {
        border: 1px solid #ced4da; /* Borde para el contenedor del texto */
        border-radius: 0 0 4px 4px; /* Bordes redondeados en la parte inferior */
        font-size: 14px;           /* Tamaño de fuente */
        min-height: 150px;         /* Altura mínima */
    }

    