@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600&display=swap');


.page-break {
  page-break-after: always;
}

/**Barra Navegacion */
.barra {
  /* background-color: #bb6338; */
  background: repeating-linear-gradient(#cd6c3d, #cd6c3d, #bb6338, #bb6338, #bb6338, #cd6c3d, #cd6c3d);

 

}

.imagen {
  max-width: 10%;
  display: inline-block;
  text-align: center;
  align-items: center;
}

.immagen {
  max-width: 15%;
  display: inline-block;
  text-align: center;
  align-items: center;
}


.imghome {
  text-align: center;
  align-items: center;
}

.imagenn {
  max-width: 25%;
  display: inline-block;
}


.letras {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;

}

.letras:hover {
  color: #d8b1b1;
  font-weight: bold;
  text-decoration: none;
}

.nav-link.dropdown-toggle {
  color: gray;
}

.nav-link.dropdown-toggle:hover {
  color: rgb(82, 82, 82);
}

.a:hover {
  color: #fff;
  text-decoration: underline;
}

/**Login */

.blogin {

  position: absolute;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-image: url('https://logrosfactoring.com/wp-content/uploads/2023/07/eagle-7496111_1280-1.webp');
  background-size: cover !important;
  background-position: center;
}

.bpausa {

  margin: none;
  padding: 10px;

  min-height: 5vh;
  background-image: url('https://st2.depositphotos.com/2013817/5605/v/950/depositphotos_56051269-stock-illustration-doodle-sketch-watches.jpg');
  background-size: cover !important;
  background-position: center;

}

.bllamada {

  margin: none;
  padding: 10px;
  min-height: 5vh;
  background-image: url('https://img.freepik.com/vector-premium/dibujado-mano-conjunto-adornos-iconos-internet_112180-150.jpg?w=2000');
  background-size: cover !important;
  background-position: center;



}



.flogin {

  max-width: 700px;
  margin: 0 auto;
  margin-top: 150px;
  margin-right: 100px;
  background-color: rgba(255, 255, 255, 0.5);


}

.login {
  position: absolute;
  top: 40%;
  left: 2500%;
  transform: translate(-80%, -40%);
  width: 500px;
  height: 450px;
  border: 5px solid #b3b3b3;
  border-radius: 10px;
  transition: .5s ease;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.2);
}

.login:hover {
  box-shadow: 3px 3px 50px #f07e53;
}

.botn {
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  border-radius: 15px;
  padding: 5px;
  background: none;
  cursor: pointer;
  transition: .5s ease;
  color: black;
}

.botn:hover {
  background: #cd6c3d;
  color: #fff;
}

.h22 {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  color: #fff;
}

.inp {

  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  color: #0000 !important;

}

.in {
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  color: #fff;
}

.img {

  max-width: 80%;
  max-height: 80%;
  margin: 15px;
}

.logolog {
  max-width: 55%;
  max-height: 55%;
}

.textbus {
  margin-right: 8px;
  margin-top: 20px;
}

/**botones */
.botnred {

  background: #cd6c3d;
  border: 3px solid #b3b3b3;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  width: 50%;
  font-size: 19px;
  text-decoration: none;
}




.botnred:hover {
  box-shadow: 3px 3px 20px #da8459;
}

.btnAa {
  background: #cd6c3d;
  border: 3px solid #b3b3b3;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  width: auto;
  font-size: 19px;
  text-decoration: none;
  padding: 2px;
  margin: 2px;
}

.btnAa:hover {
  text-decoration: none;
  color: #cd6c3d;
  background: #FFF;
  font-weight: bold;
  width: auto;
  border: 3px solid #cd6c3d;
  border-radius: 10px;
  text-align: center;
}

.btnnnew {
  background: #cd6c3d;
  border: 3px solid #b3b3b3;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  width: auto;
  font-size: 19px;
  text-decoration: none;
  padding: 2px;
  margin: 2px;
}

.btnnnew:hover {
  text-decoration: none;
  color: #cd6c3d;
  background: #FFF;
  font-weight: bold;
  width: auto;
  border: 3px solid #cd6c3d;
  border-radius: 10px;
  text-align: center;
}

.btnAcu {

  background: #cd6c3d;
  border: 3px solid #b3b3b3;
  border-radius: 10px;
  align-items: center;
  text-align: center;
  color: #fff;
  width: auto;
  font-size: 19px;
  text-decoration: none;
}

.btnAcu:hover {
  box-shadow: 3px 3px 20px #da8459;
}

.botnnew {
  padding: 3px;
  background: #bb6338;
  border: 3px solid #b3b3b3;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  width: 100%;
  font-size: 18px;
  text-decoration: none;
}

.botnnew:hover {
  box-shadow: 3px 3px 20px #ed844f;
  text-decoration: none;
  color: #fff;
}

/* Textos */
.spn {
  text-align: left;
  margin: 10px;
  font-family: roboto;
  font-weight: bold;
  font-size: 45px;
  color: #bb6338;

}

canvas#llamadasPorAsesor {
  max-width: 600px;
  /* Cambia este valor según el tamaño que desees */
  max-height: 400px;
  width: auto;
  height: auto;

}

canvas#llamadasPorAsesorDos {
  max-width: 600px;
  /* Cambia este valor según el tamaño que desees */
  max-height: 400px;
  width: auto;
  height: auto;
}

.spnh {
  text-align: center;
  margin: 10px;
  font-family: roboto;
  font-weight: bold;
  font-size: 35px;
  color: #90441e;

}

.titleHome {
  font-family: sans-serif;
  color: #cb6836;
  font-weight: bold;
  font-size: 45px;
  margin: 5vh;
}

/* .spn{
  font-size: 30px;
} */
.bg-5 {
  /* background: repeating-linear-gradient(#b3b3b3,#f5f5f5, #f5f5f5,#fff,#fff,#fff,#f5f5f5, #f5f5f5,#f5f5f5 ,#b3b3b3 ); */
  background-color: #dddcdc;

}





svg {
  width: 300px;
  height: 60px;
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0 auto;


}



/**paginadores */
.pagination {
  color: #bb6338
}

.pagination li a {
  color: #fff;
  background-color: #bb6338;
  border-color: #bb6338;
}

.pagination li.active a {
  background-color: #fff;
  color: #bb6338;
  border-color: #bb6338;
}

.pagination .page-item.active .page-link {
  color: white;
  background-color: #bb6338;
  border-color: #fff;
}

.grafica {
  width: 100px;
  /* Tamaño deseado para las gráficas */
  height: 50px;
  /* Tamaño deseado para las gráficas */
  margin: 10px;
}

/**Home */

.cardhome {
  background: repeating-linear-gradient(#cd6c3d, #cd6c3d, #bb6338, #bb6338, #bb6338, #cd6c3d, #cd6c3d);
  color: #000;
  border: 2px solid #bb6338;
  border-radius: 10px;
  /* agregar esquinas redondeadas */


}

.phome {
  font-size: 20px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-style: unset;
  color: #cd6c3d;
}

.pru {
  background-color: #bb6338;
}

.tabla-alertas tbody {
  background-color: #bb6338;
  color: #fff;

}

.estilo-letra {
  color: #fff !important;
  font-size: 20px;
  font-weight: bold;

}

.tabl {
  border-radius: 10px;
  float: right;

  border-color: #000 !important;
  border-style: solid;
}

.vbarra {
  border-left: thick solid #000;
  height: 100%;
  left: 50%;
  position: absolute;
}



/* botones pausas */

.btnpausa {
  border-color: #bb6338;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 40px 40px #c06639 inset, 0 0 0 0 #bb6338;
  -webkit-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
  font-size: 18px;
  padding: 5px;
  margin: 5px;
}

.btnpausa:hover {
  box-shadow: 0 0 10px 0 #c06639 inset, 0 0 10px 4px #bb6338;
  color: #bb6338;
  font-weight: bold;
}

/**Vista Reportes/admin */

.conrep {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px;
}

.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px;
}

.repfec {
  display: grid;
  max-width: 400px;
  align-items: center;
  text-align: center;
}

.repbtn {
  text-align: center;
}

.titlerep {
  margin-bottom: 20px;
  font-family: Comic Sans MS;
  font-weight: bold;
  font-size: 30px;
  text-align: center;

}

.btn-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-container a {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  border: 1px solid #bb6338;
  color: #bb6338;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 15px;
}

.btn-container a:hover {
  background-color: #bb6338;
  color: white;
}


.contaiiner {
  display: flex;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
}

.repfec {
  margin: 0 10px;
}

.import {
  margin: 0 10px;
}

.usuro {
  background: repeating-linear-gradient(#b3b3b3, #b3b3b3, #b3b3b3, #b3b3b3, #b3b3b3, #b3b3b3);
  margin: 5px;
  border-radius: 10px;
}

.btnusuro {

  color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 40px 40px #bb6338 inset, 0 0 0 0 #bb6338;
  -webkit-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
  font-size: 18px;
  padding: 5px;
  margin: 5px;
  font-style: none;
  text-decoration: none;

}

.btnusuro:hover {
  box-shadow: 0 0 10px 0 #bb6338 inset, 0 0 10px 4px #bb6338;
  color: #bb6338;
  font-weight: bold;
  text-decoration: none;
}

.contaiiiner {
  display: flex;
  justify-content: left;
  margin: 15px;
  padding: 10px;
}

.continer {
  display: flex;
  justify-content: left;
  width: max-content;
  height: max-content;

}

.dropdown-menu li a:active {
  background-color: #cd6c3d;
}

a.nav-link.dropdown-toggle.show {
  color: black !important;
}

.expdf {
  position: relative;
  align-items: end;
}

.bg-menu {
  /* background: #bb6338; */
  background: repeating-linear-gradient(#bb6338, #f07e53, #f6ab7a, #f9c4a5, #f9c4a5, #f9c4a5, #f6ab7a, #f07e53, #bb6338);
}

.link-me {
  color: black;
}

.link-me:hover {
  border-radius: 10px;
  padding-left: 3px;
  margin-left: 3px;
  background-color: #f1f1f1 !important;

}

.menu-list {
  background: repeating-linear-gradient(#b3b3b3, #b3b3b3, #b3b3b3, #b3b3b3, #b3b3b3, #b3b3b3);
}

.btn-calcular {

  margin: 20px;
  padding: 5px 25px;
  background: #cd6c3d;
  border: 3px solid #b3b3b3;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  width: 250px;
  height: 70px;
  font-size: 18px;
  text-decoration: none;


}

.btn-calcular:hover {
  box-shadow: 3px 3px 20px #bb6338;
  text-decoration: none;
  color: #fff;
}

.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 5px;
}

.approved {
  background-color: green;
}

.pending {
  background-color: red;
}

.scrollable-menu {
  max-height: 250px;
  overflow-y: auto;
  /* Habilita el desplazamiento vertical si el contenido excede la altura máxima */
}

/* Estilo para el scrollbar vertical */
.scrollable-menu::-webkit-scrollbar {
  width: 5px;
  /* Ancho del scrollbar */
  background-color: transparent;
  /* Fondo del scrollbar transparente */
}

/* Estilo para el track del scrollbar */
.scrollable-menu::-webkit-scrollbar-track {
  background-color: transparent;
  /* Fondo del track transparente */
}

/* Estilo para el thumb (la parte movible) del scrollbar */
.scrollable-menu::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  /* Color del thumb con transparencia */
  border-radius: 5px;
  /* Radio de las esquinas del thumb */
}

/* Estilo para el thumb (la parte movible) del scrollbar al pasar el cursor sobre él */
.scrollable-menu::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
  /* Color del thumb con mayor transparencia al pasar el cursor */
}


.table-container {
  max-height: 400px;
  /* Altura máxima deseada */
  overflow-y: auto;
  /* Habilita el desbordamiento vertical */
}

/* Estilo para el scrollbar vertical */
.table-container::-webkit-scrollbar {
  width: 10px;
  /* Ancho del scrollbar */
  background-color: transparent;
  /* Fondo del scrollbar transparente */
}

/* Estilo para el track del scrollbar */
.table-container::-webkit-scrollbar-track {
  background-color: transparent;
  /* Fondo del track transparente */
}

/* Estilo para el thumb (la parte movible) del scrollbar */
.table-container::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  /* Color del thumb con transparencia */
  border-radius: 5px;
  /* Radio de las esquinas del thumb */
}

/* Estilo para el thumb (la parte movible) del scrollbar al pasar el cursor sobre él */
.table-container::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
  /* Color del thumb con mayor transparencia al pasar el cursor */
}

.section-header {
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-contaiiner {
  display: flex;
  gap: 10px;
  /* Espacio entre los botones */
}


.botonhome {
  padding: 3px;
  background: #bb6338;
  border: 1px solid #b3b3b3;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  width: 100%;
  font-size: 22px;
  text-decoration: none;
  margin: 8px;
}

.botonhome:hover {
  text-decoration: none;
  box-shadow: 0 0 10px 0 #e98858 inset, 0 0 10px 4px #e98858;
  color: #f33c3c;
  font-weight: bold;
  color: #fff;
}

.coboho {
  align-items: center;
}

.carda {
  background-color: rgba(221, 218, 218, 0.747);
}


/**Reportes desplegables */


.faq-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centra los elementos horizontalmente */
}



details {
  background-color: #f6f8fa;
  width: 80%;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #d8e0e9;
  color: #364f6b;
  position: relative;
}

summary {
  text-align: center;
}

details summary {
  font-weight: 400;
  font-size: 1.25rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}

details p {
  padding: 1rem;
  margin: 0 1rem 1rem 1rem;
  background: #f6f8fa;
  border-left: 2px solid #364f6b;
}

details:hover,
details[open] {
  box-shadow: 5px 5px 15px #d9d9d9;
}

details[open] {
  background: #ffffff;
}

details[open] summary {
  font-weight: 600;
}

details summary::before {
  position: absolute;
  content: "👇";
  font-size: 1.75rem;
  top: 10px;
  right: 16px;
}

details[open] summary::before {
  -webkit-animation: rotate 0.6s ease-in-out both;
  animation: rotate-emoji 0.6s ease-in-out both;
}

@keyframes rotate-emoji {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}

.spns {
  text-align: center;
  margin: 10px;
  font-family: roboto;
  font-weight: bold;
  font-size: 45px;
  color: #bb6338;

}

.spnn {
  text-align: center;
  margin: 10px;
  font-family: roboto;
  font-weight: bold;
  font-size: 70px;
  color: #bb6338;
}

/* --------------------------------------------Estilos consultas Linix-----------------------------------------------------*/
:root {
  --brand: #cd6c3d;
  /* color principal de la página */
  --brand-100: #ffe5d6;
  --brand-050: #fff4ee;
  --ink-700: #1f2937;
  --ink-500: #475569;
  --ink-300: #94a3b8;
}

.card-obls136 {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.card-obls136 .card-title {
  font-weight: 700;
  color: var(--ink-700);
}

.card-obls136 .card-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background: var(--brand);
  border-radius: 3px;
  margin-right: .6rem;
  position: relative;
  top: 2px;
}

.table-obls136 thead th {
  font-weight: 700;
  color: var(--ink-700);
  border-bottom: 2px solid var(--brand-100) !important;
  white-space: nowrap;
}

.table-obls136 td,
.table-obls136 th {
  vertical-align: middle;
}

.table-obls136 tbody tr:hover {
  background: var(--brand-050);
}

.sticky-head thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.text-end {
  text-align: right;
}

.amount-zero {
  color: var(--ink-300);
}

.amount-pos {
  color: var(--ink-700);
  font-weight: 600;
}

.badge-pill {
  border-radius: 999px;
  padding: .35rem .6rem;
  font-weight: 600;
}

.badge-calif-good {
  background: #e8fff0;
  color: #0a7b3f;
  border: 1px solid #aee3c5;
}

.badge-calif-mid {
  background: #fff7ed;
  color: #a15b0a;
  border: 1px solid #f2cba1;
}

.badge-calif-bad {
  background: #eef1f4;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.badge-total {
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  padding: .35rem .6rem;
  border-radius: 8px;
}

.card-otras {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.card-otras .card-title {
  font-weight: 700;
  color: var(--ink-700);
}

.card-otras .card-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background: var(--brand);
  border-radius: 3px;
  margin-right: .6rem;
  position: relative;
  top: 2px;
}

.legend .pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.pill-info {
  background: var(--brand-050);
  border-color: var(--brand-100);
  color: #7a3b22;
}

/* Interés corriente */
.pill-warn {
  background: #fff7ed;
  border-color: #f2cba1;
  color: #9a5b10;
}

/* Moratorio */
.table-otras thead th {
  font-weight: 700;
  color: var(--ink-700);
  border-bottom: 2px solid var(--brand-100) !important;
  white-space: nowrap;
}

.table-otras td,
.table-otras th {
  vertical-align: middle;
}

.table-otras tbody tr:hover {
  background: var(--brand-050);
}

.text-end {
  text-align: right;
}

.amount-zero {
  color: var(--ink-300);
}

.amount-pos {
  color: var(--ink-700);
  font-weight: 600;
}

.badge-total {
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  padding: .35rem .6rem;
  border-radius: 8px;
}

.sticky-head thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.search-card {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.form-control-lg {
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.form-control-lg:focus {
  box-shadow: 0 0 0 .2rem rgba(205, 108, 61, .15), inset 0 0 0 1px var(--brand);
  border-color: var(--brand);
}

.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(205, 108, 61, .25);
}

.btn-brand:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.btn-outline-secondary.btn-lg {
  border-radius: 10px;
}

.card {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.card-title {
  font-weight: 700;
}

.kv dt {
  color: #566;
  font-weight: 600;
}

.kv dd {
  color: #223;
}

.muted {
  color: #7a8899;
}

.badge-pill {
  border-radius: 999px;
  padding: .35rem .6rem;
  font-weight: 600;
}

.badge-A {
  background: #e8fff0;
  color: #0a7b3f;
  border: 1px solid #aee3c5;
}

.badge-E {
  background: #fef1f1;
  color: #a12626;
  border: 1px solid #f2c5c5;
}

.table thead th {
  font-weight: 700;
  border-bottom: 2px solid #e7e9ee;
}

.table td,
.table th {
  vertical-align: middle;
}

.text-right {
  text-align: right;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.chip-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  display: inline-block;
}

.search-card {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.form-control-lg {
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.form-control-lg:focus {
  box-shadow: 0 0 0 .2rem rgba(205, 108, 61, .15), inset 0 0 0 1px var(--brand);
  border-color: var(--brand);
}

.input-icon {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: .6;
}

.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(205, 108, 61, .25);
}

.btn-brand:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.btn-outline-secondary.btn-lg {
  border-radius: 10px;
}

@media (max-width: 768px) {
  .search-card {
    padding: .75rem 1rem;
  }
}

/* ----------------------------------------------- Fin Estilos Linix--------------------------------------------------------*/

/* --------------------------------------------Estilos Llamadas Linix-----------------------------------------------------*/
:root {
  --lf-primary: #bb6338;
  --lf-primary-100: #e9d1c6;
  --lf-primary-200: #dcb19f;
  --lf-muted: #6b7280;
  --lf-bg: #f3f4f6;
  --lf-card: #ffffff;
  --lf-success: #16a34a;
}

body {
  background: var(--lf-bg);
}

.lf-shell {
  padding-top: .75rem;
  padding-bottom: 1.5rem;
}

.lf-divider {
  border: 0;
  height: 3px;
  background: var(--lf-primary-200);
  opacity: .8;
  margin: .25rem 0 1.25rem;
}

.lf-card {
  background: var(--lf-card);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.lf-card-head {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: .75rem;
  border-bottom: 1px solid #eef2f7;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.lf-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  border: 1px solid var(--lf-primary-200);
  color: var(--lf-primary);
  background: #fff;
}

.lf-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  display: inline-block;
}

.lf-dot.success {
  background: var(--lf-success);
}

.lf-dot.warn {
  background: #f59e0b;
}

.lf-card-body {
  padding: 16px 20px;
}

.lf-section-title {
  font-weight: 800;
  color: #111827;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.lf-section-title::before {
  content: "";
  width: .45rem;
  height: 1.2rem;
  border-radius: 4px;
  background: var(--lf-primary);
}

.table thead th {
  background: #fff;
  border-bottom: 2px solid var(--lf-primary-200) !important;
  color: #111827;
  font-weight: 700;
}

.table tfoot th,
.table tfoot td {
  background: #fff7f3;
}

.table tbody td,
.table tbody th {
  vertical-align: middle;
}

.btn-lf {
  background: var(--lf-primary);
  color: #fff;
  border: none;
  padding: .55rem 1rem;
  border-radius: 12px;
  font-weight: 700;
}

.btn-lf:hover {
  filter: brightness(.95);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
  border-radius: 12px;
  padding: .55rem 1rem;
}

.lf-input {
  height: 56px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

.lf-label {
  font-weight: 700;
  color: #111827;
  margin-bottom: .35rem;
}

.totales-pill {
  background: #fff;
  border: 1px solid var(--lf-primary-200);
  border-radius: 999px;
  padding: .25rem .75rem;
  font-weight: 700;
}


/* --------------------------------------------Estilos Home-----------------------------------------------------*/

:root {
  --lf-primary: #bb6338;
  --lf-primary-200: #dcb19f;
  --lf-bg: #f3f4f6;
  --lf-card: #ffffff;
}

body {
  background: var(--lf-bg);
}

/* === contendor del reloj  === */
.clock-row {
  max-width: 1280px;
  margin: 12px auto 6px;
  padding: 0 12px;
  display: flex;
  justify-content: flex-end;
}

.live-clock {
  position: static;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: .45rem .75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  color: #111827;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.live-clock .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lf-primary);
  display: inline-block;
}

/* === Tarjeta de bienvenida === */
.welcome-card {
  background: linear-gradient(to right, #fff, #fff6f3);
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 1.5rem 2rem;
  margin: 0 auto 2rem;
  max-width: 1280px;
  /* igual al grid */
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.welcome-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 .25rem;
}

.welcome-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 .25rem;
}

.welcome-card p {
  margin: 0;
  color: #6b7280;
}

/* Logos */
.brand-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logos img.logo-logros {
  height: 94px;
}

.brand-logos img.logo-falabella {
  height: 68px;
}

/* === ESTRUCTURA DE LAYOUT (Grid Principal) - MODIFICADA === */
.main-layout-grid {
  max-width: 1280px;
  margin: 0 auto 2rem;
  padding: 0 12px;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  /* Móvil: una sola columna */
}

@media (min-width: 1024px) {
  .main-layout-grid {
    grid-template-columns: 1fr auto 1fr;
    /* ¡NUEVO! Alinea los elementos de la grid al final para un mejor ajuste vertical */
    align-items: end;
  }
}

/* Columnas laterales - MODIFICADA */
.side-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* ¡NUEVO! Limita el ancho máximo para que no sean tan anchas */
  max-width: 320px;
  /* ¡NUEVO! Asegura que se centren si el espacio de la grid es mayor */
  margin-left: auto;
  margin-right: auto;
}

/* Columna central */
.center-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.top-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Estilo de las tarjetas/botones (sin cambios) === */
.menu-item,
.menu-item:link,
.menu-item:visited,
.menu-item:active,
.menu-item:focus {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
  transition: all .25s ease;
  text-decoration: none !important;
  color: #111827 !important;
  display: block;
}

.menu-item * {
  color: inherit;
}

.menu-item i {
  font-size: 1.5rem;
  color: var(--lf-primary);
  margin-bottom: .5rem;
}

.menu-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: .1rem 0 .25rem;
}

.menu-item p {
  font-size: .85rem;
  margin: 0;
  color: #6b7280;
}

.menu-item:hover {
  background: var(--lf-primary);
  color: #fff !important;
  transform: translateY(-3px);
}

.menu-item:hover i,
.menu-item:hover h4,
.menu-item:hover p {
  color: #fff !important;
}

/* ¡NUEVO! Clase específica para el botón de Consulta Linix */
.menu-item-wide {
  width: 220px;
  /* Ancho un poco mayor */
  padding-top: 0.75rem;
  /* Menos relleno arriba */
  padding-bottom: 0.75rem;
  /* Menos relleno abajo para hacerlo más delgado */
}


/* === Calendario mensual (sin cambios de estilo) === */
.calendar-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.calendar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.scal {
  width: 340px;
}

.scal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
}

.scal-title {
  font-weight: 700;
  color: #111827;
}

.scal-nav {
  display: flex;
  gap: .35rem;
}

.scal-btn {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s;
}

.scal-btn:hover {
  background: var(--lf-primary);
  color: #fff;
  border-color: var(--lf-primary);
}

.scal-grid {
  padding: 10px;
}

.scal-week,
.scal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.scal-week div {
  text-align: center;
  font-size: .8rem;
  color: #6b7280;
  font-weight: 700;
}

.scal-day {
  text-align: center;
  padding: 8px 0;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  background: #fff;
  color: #111827;
}

.scal-day.muted {
  color: #9ca3af;
  background: #fafafa;
}

.scal-day.today {
  background: var(--lf-primary);
  color: #fff;
  border-color: var(--lf-primary);
  font-weight: 800;
}

.scal-day:hover {
  box-shadow: 0 0 0 2px rgba(187, 99, 56, .18) inset;
}

/* Estilos para el estado de las cuotas */
.status-badge {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  display: inline-block;
}

.status-active {
  background-color: #d1fae5;
  /* Verde claro de fondo */
  color: #065f46;
  /* Verde oscuro de texto */
  border: 1px solid #a7f3d0;
}

.status-partial {
  background-color: #fcd34d;
  /* Amarillo más oscuro (Amber 300) */
  color: #78350f;
  /* Amber 900 para contraste */
  border: 1px solid #f59e0b;
  /* Amber 500 */
}

.status-pending {
  background-color: #f3f4f6;
  /* Gris claro de fondo */
  color: #374151;
  /* Gris oscuro de texto */
  border: 1px solid #e5e7eb;
}

/* Estilos para estado de ACUERDOS (MultiCartera y otros) */
.status-annulled {
  background-color: #fef2f2;
  /* Rojo claro */
  color: #991b1b;
  /* Rojo oscuro */
  border: 1px solid #fecaca;
}

.status-proyectado {
  background-color: #f3f4f6;
  /* Gris (igual a pendiente) */
  color: #374151;
  border: 1px solid #e5e7eb;
}

.status-vigente {
  background-color: #cffafe;
  /* Cyan claro */
  color: #155e75;
  /* Cyan oscuro */
  border: 1px solid #a5f3fc;
}

.status-incumplido_parcial {
  background-color: #ffedd5;
  /* Naranja claro */
  color: #9a3412;
  /* Naranja oscuro */
  border: 1px solid #fed7aa;
}
/* === Estilos para el módulo de abonos === */
  .bg-naranja-corp { background-color: #bb6338; color: white; }
  .text-naranja { color: #bb6338; font-weight: bold; }
  .btn-naranja { background-color: #e65b0e; border-color: #d35400; color: white; }
  .btn-naranja:hover { background-color: #cf4e0a; color: white; }
  
  .botnred {
      background-color: #bb6338;
      color: white;
      border: none;
      padding: 7px 20px;
      border-radius: 4px;
      font-weight: bold;
      cursor: pointer;
  }
  .botnred:hover { background-color: #a0502a; }

  .btn-outline-naranja {
      color: #bb6338;
      border: 1px solid #bb6338;
      background-color: white;
      font-weight: 500;
  }
  .btn-outline-naranja:hover { background-color: #bb6338; color: white; }

  .badge-cartera { background-color: #fcece4; color: #bb6338; border: 1px solid #bb6338; }
  .table thead th { vertical-align: middle; text-align: center; font-size: 0.9rem; }
  .table tbody td { vertical-align: middle; font-size: 0.9rem; }


  .file-upload-wrapper {
      position: relative;
      width: 100%;
      height: 50px;
      border: 2px dashed #bb6338;
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #fffaf5;
      transition: all 0.3s;
      cursor: pointer;
  }
  .file-upload-wrapper:hover { background-color: #fcece4; }
  .file-upload-wrapper input {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      cursor: pointer;
  }
  .file-upload-text {
      color: #bb6338;
      font-weight: bold;
      pointer-events: none;
  }
  .file-upload-text i { font-size: 1.2rem; margin-right: 8px; }


.card-logros {
    background-color: white;
    border-radius: 8x;     
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    border: none;             
    overflow: hidden;         
    margin-top: 10px;
}

.table-logros thead th {
    background-color: white !important;   
    color: #444 !important;               
    border-top: none !important;
    border-bottom: 3px solid #bb6338 !important;
    
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 15px;
}

.table-logros tbody td {
    text-align: center;       
    vertical-align: middle;
    padding: 15px;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid #f9f9f9;
}

.table-logros tbody tr:hover {
    background-color: #fff8f5;
}

.bg-naranja-corp { 
    background-color: #bb6338 !important; 
    color: white !important; 
}

.text-naranja { 
    color: #bb6338 !important; 
    font-weight: bold; 
}

.botnred {
    background-color: #bb6338; 
    color: white; 
    border: none;
    padding: 7px 20px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-weight: bold;
}

.badge-cartera { 
    background-color: #fcece4; 
    color: #bb6338; 
    border: 1px solid #bb6338; 
}

.input-global-monto {
    font-size: 1.6rem; 
    font-weight: bold; 
    color: #bb6338; 
    text-align: center; 
    border: 2px solid #bb6338; 
    background-color: #fff;
    height: 50px;
}

.input-fecha-pago {
    font-size: 1.2rem; 
    text-align: center; 
    color: #555;
    border: 2px solid #ddd; 
    height: 50px;
}

.btn-distribuir {
    background-color: #bb6338; 
    color: white; 
    height: 50px; 
    font-weight: bold; 
    border: none; 
    width: 100%;
}

.btn-distribuir:hover { 
    background-color: #a0502a; 
    color: white; 
}

.status-programado { background-color: #fff3cd; color: #856404; }
.status-pendiente { background-color: #fff3cd; color: #856404; }
.status-pago { background-color: #d1e7dd; color: #0f5132; }
.status-inactivo { background-color: #e2e3e5; color: #383d41; }


/* ============================================================
   ESTILOS EXCLUSIVOS PARA EMAILS Y PDF
   ============================================================ */

.email-body { 
    font-family: Arial, sans-serif;
    font-size: 15px; 
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

.email-container { 
    max-width: 700px; 
    margin: 0 auto; 
    background-color: #ffffff; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

.email-header { 
    text-align: center !important; 
    border-bottom: 2px solid #bb6338; 
    padding-bottom: 20px; 
    margin-bottom: 25px; 
}

.email-img-logo { 
    max-width: 180px; 
}

.email-title { 
    color: #333; 
    margin: 15px 0 5px; 
    font-size: 24px; 
}

.email-text-content { 
    color: #555; 
    line-height: 1.6; 
    font-size: 15px; 
    text-align: justify; /* Justificado */
}

/* Tablas de detalles (Abonos) */
.email-table-details { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 25px; 
    margin-bottom: 25px; 
    font-size: 12px; 
}

.email-table-details th { 
    background-color: #bb6338; 
    color: white; 
    padding: 10px 5px; 
    text-align: center; 
    border: 1px solid #bb6338; 
}

.email-table-details td { 
    border: 1px solid #ddd; 
    padding: 8px 5px; 
    color: #333; 
    text-align: center; 
}

.email-text-right { text-align: right !important; }
.email-font-bold { font-weight: bold; }
.email-bg-gray { background-color: #f9f9f9; font-weight: bold; color: #555; }
.email-bg-orange-light { background-color: #fff4e6; font-weight: bold; color: #bb6338; }

.email-total-row td { 
    background-color: #eee; 
    color: #333; 
    font-size: 13px; 
    border-top: 2px solid #bb6338; 
    font-weight: bold; 
}

/* Notas Legales / Importantes */
.email-legal-note { 
    background-color: #fff8f8; 
    border-left: 4px solid #d9534f; 
    padding: 15px; 
    font-size: 13px; 
    color: #a94442; 
    margin-top: 20px; 
    font-style: italic;
    text-align: justify;
    line-height: 1.2;
}

/* Tabla de Contacto */
.email-tablaNumeros {
    width: auto;
    border-collapse: collapse;
    border: none !important;
    color: #555; 
    margin-top: 15px;
    font-size: 12px;
}

.email-tablaNumeros td,
.email-tablaNumeros th {
    border: none !important;
    padding: 5px 40px 5px 0; 
    text-align: left;
    white-space: nowrap;
}

.email-tablaNumeros th {
    color: #333;
    font-weight: bold;
    border-bottom: 1px solid #eee; 
    padding-bottom: 8px;
}

.email-footer { 
    font-size: 11px; 
    color: #aaa; 
    text-align: justify; 
    margin-top: 30px; 
    border-top: 1px solid #eee; 
    padding-top: 15px; 
}



.botnred { background-color: #bb6338; color: white; border: none; font-weight: bold; padding: 6px 12px; border-radius: 4px; }
        .botnred:hover { background-color: #a0502a; color: white; }
        
        .btnpausa { background-color: #6c757d; color: white; border: none; font-weight: bold; padding: 6px 12px; border-radius: 4px; }
        .btnpausa:hover { background-color: #5a6268; color: white; }

        .status-badge { 
            padding: 5px 10px; 
            border-radius: 20px; 
            font-weight: bold; 
            font-size: 0.85em; 
            display: inline-block; 
            min-width: 80px; 
            text-align: center;
        }
        
        /* Colores */
        .status-programado { background-color: #f8f9fa; color: #6c757d; border: 1px solid #dee2e6; }
        
        /* Estado Incumplido (Rojo) */
        .status-incumplido { background-color: #ffe6e6; color: #cc0000; border: 1px solid #ffcccc; }


        .approved { background-color: #28a745; }
        .pending { background-color: #dc3545; }