@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');
@import url('design-variables.css');

#title {
  color: red
}

.nav-pills .nav-link.active {
  background-color: #ffffff;
}

.nav-pills .nav-link:hover {
  background-color: #ffffff;
}

* {
  font-family: var(--font-family, 'Sora', sans-serif);
}

#title {
  text-align: left;
  font-family: 'Sora', sans-serif;
  font-weight: bold;
  font-size: 30px;
  color: var(--bs-gray-200);
  text-shadow: 0 1px 0 #ddd, 0 2px 0 #ccc, 0 3px 0 #bbb, 0 4px 0 #aaa, 0 5px 0 #acacac, 0 6px 1px rgba(0, 0, 0, 0.1);
}

#container {
  text-align: center;
  margin-top: 4em
    /*  */
  ;
}

.save_to_csv_2 {
  min-width: 130px;
  height: 40px;
  color: #fff;
  padding: 5px 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  border-radius: 5px;
  border: none;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5), 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
  background: #266134;
}

.save_to_csv_2:hover {
  background-color: #266134;
}

.save_to_csv_2:active {
  top: 2px;
}

.jsx-2472559086 {
  position: relative;
  top: 6px;
}

.show-hide {
  display: none;
}

#content-graph {
  width: 1000px;
  display: flex;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  overflow-y: scroll;
  margin: auto;
}

#content-monitoring {
  margin-top: 4em;
  text-align: center;
  font-family: 'Sora', sans-serif;
  width: 1000px;
  margin-left: -49px;
}

#content-summary-new {
  display: flex
}

#div-around {
  height: 83px;
  text-align: center;
  width: 540px;
  border-radius: 6px;
  padding-top: 22px;
  background-color: var(--bs-white);
  color: var(--bs-gray-900);
  font-size: 24px;
  position: relative;
  top: -10px;
  left: 103px;
}



#clients-information {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: rgb(246, 248, 251);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
}


#input-calculator {
  display: inline-block;
  width: 32%;
  padding: 1%;
}

#input-calculator-strong {
  display: inline-block;
  width: 32%;
  padding: 1%;
}





#max_cxc_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_cxc_filter_b {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_cxc_filter_dpo_dso {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_pag_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#sales-filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_sales_initial_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_pagf_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_pagfv_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_garanty_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#min_qr_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#min_cr_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_endeudamiento_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_endeudamiento_filter_PA {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_debt_filter_pb {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_debt_filter_pc {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#min_ventas_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#min_mb_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

/* #percentege_credit_limit - CSS removed to allow proper alignment with new layout */

#min_vfm_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#max_perdida_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

/* #min_patrimonio_filter - CSS removed to allow proper alignment with new layout */

#condicionales_filter {
  width: 165px;
  text-align: center;
  background-color: var(--bs-gray-200);
  padding: 5px;
  border: none;
  margin-bottom: 0;
}

#img-icon {
  width: 30px;
  margin-left: 15px;
  margin-bottom: -5px;
}

#text-icon {
  font-size: 22px;
  margin-left: 51px;
  margin-top: -21px;
  margin-bottom: 23px;
  font-weight: 500;
}



#title_content_monitoring {
  background-color: rgb(9, 31, 52);
  color: white;
  display: flex;
  padding: 5px;
  border-radius: 10px;
}

#image-monitoring-title {
  margin-top: 3px;
  width: 50px;
  height: 50px;
  margin-left: 4px;
}

#title-monitoring {
  font-weight: bold;
  margin-left: 10px;
  margin-top: 6px;
  font-size: 26px;
}

#content-main-monitoring-table {
  margin-top: 1em;
}


#content-table-monitoring-1 {
  background-color: rgb(246, 248, 252);
  width: 100%;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px;
}

#content-table-monitoring-2 {
  background-color: rgb(246, 248, 252);
  width: 100%;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  padding: 0;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-item {
  width: 100%;
  max-width: 100%;
  padding: 5px;
  box-sizing: border-box;
}

#loan-status-filter {
  position: relative;
  width: 500px;
  margin: 20px auto;
  display: block;
}


#title-table-monitoring-1 {
  font-size: 20px;
  margin-top: 17px;
  margin-left: 6px;
}

#title-table-monitoring-2 {
  font-size: 20px;
  margin-top: 17px;
  margin-left: 6px;
}

#image-monitoring-title-1 {
  width: 30px;
  height: 30px;
  margin-top: 13px;
  margin-left: 14PX;
}

#image-monitoring-title-2 {
  width: 30px;
  height: 30px;
  margin-top: 13px;
  margin-left: 14PX;
}

#box-title-monitoring-global {
  display: flex;
}

#content-title-companies {
  background: var(--bs-danger-bg-subtle);
  display: flex;
  padding: 5px;
  margin-top: 1em;
  border-radius: 1em;
  width: 100%;
}

#title-companies {
  font-size: 22px;
  font-weight: 540;
  margin-top: 17px;
  margin-left: 7px;

}

#content-title-custom {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  #content-title-custom {
    flex-direction: column;
  }
}

#text-custom {
  color: #ffffffd4;
  background: red;
  text-align: center;
  font-size: 15px;
  padding: 5px;
  border-radius: 1em;
}

#title-custom {
  font-size: 20px;
  text-align: center;
  padding: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: bold;
  width: 500px;
}


@media only screen and (min-width: 1400px) and (max-width: 1500px) {
  #main {
    margin-top: 3rem;
    padding: 10px;
    color: rgb(9 31 52);
    border-radius: 8px;
    width: 1200px;
    margin-right: -1em;
    margin-left: -8em;
    font-size: 14px;
  }

  #content-individual-buro {
    width: 1100px;
  }

  #content-individual-monitoring {
  width: 100%;
  margin: 0 auto;
}



  #content-main-sat {
    width: 1100px;
    margin-top: 3em;
    text-align: center
  }

  #content-main-financial-ratios {
    margin-left: -10em;
  }


  #content-table-1 {
    margin-left: -6em;
    margin-top: 0em;
  }

  #title-contain {
    text-align: center;
    margin-top: 1em;
    margin-left: 3em;
  }
}

#content-main-sat {
  width: 1100px;
  margin-top: 3em;
  text-align: center
}

#content-main-financial-ratios {
  margin-left: -10em;
}


#content-table-1 {
  display: grid;
  justify-content: center;
  margin-left: -6em;
}

#content-table-2 {
  display: grid;
  justify-content: center;
  margin-left: -6em;
}



@media only screen and (min-width: 1500px) {
  #main {
    margin-top: 3rem;
    padding: 10px;
    color: rgb(9 31 52);
    border-radius: 8px;
    width: 1200px;
    margin-right: -1em;
    margin-left: -8em;
    font-size: 14px;
  }

  #content-individual-buro {
    width: 1300px;
  }

  #content-individual-monitoring {
    width: 100%;
    margin: 0 auto;
  }

  #content-individual-monitoring-fixed {
    width: 100%;
    margin: 0 auto;
  }

  #content-main-validation {
    text-align: center;
    width: 1400px;
  }

  #excel-files {
    margin: auto;
    width: 1100px;
  }

  #content-main-sat {
    width: 1400px;
    margin-top: 3em;
    text-align: center
  }

  #content-main-financial-ratios {
    margin-left: 1em;
  }

 

  #content-table-1 {
    margin-left: -6em;
  }


  #title-contain {
    text-align: center;
    margin-top: 70pt;
    margin-left: 3em;
  }
}

.custom-slider {
  margin-top: 4%;
}

.custom-slider .rc-slider-track {
  background-color: #FF004C;
}

.custom-slider .rc-slider-handle {
  background-color: rgb(252, 247, 247);
  border-color: #080003;
}

.custom-slider .rc-slider-dot {
  background-color: white;
  border-color: #070707;
  border-width: 0.2em;
  border-style: solid;
  border-style: solid;
  width: 0.6em;
  height: 0.6em;
}


input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  width: 20px;
  height: 20px;
  border: 2px solid #FF004C;
  cursor: pointer;
  position: relative;
  border-radius: 20%;
  margin-right: 10px;
  margin-left: 10px;
  margin-top: 3px;
  margin-right: 10px;
  margin-left: 10px;
  margin-top: 3px;
}


input[type="checkbox"]:checked {
  background-color: #FF004C;
}


input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(209, 21, 21, 0.267);
}

.custom-checkbox label {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  color: #333;
}

.dash-table-container .dash-spreadsheet-container {
  overflow-x: auto;
  overflow-y: auto;
}

#benchmarkspan {
  font-family: 'Sora', sans-serif;
}

#segmentation-span {
  font-family: 'Sora', sans-serif;
}

#global-monitoring-buro-center {
  font-family: 'Sora', sans-serif;
}

#global-monitoring-buro-delinquency {
  font-family: 'Sora', sans-serif;
}


#benchmarks-datatable .dash-cell {
  font-family: 'Sora', sans-serif;
  margin: 7px;
}



/* assets/styles.css */
.custom-title {
  font-family: 'Sora', sans-serif;
  font-size: 25px;
  color: #00172D;
  padding-left: 10px;
  text-align: center;
  background-color: rgba(11, 114, 211, 0.04)
}

#initial-tittle-credit-limit {
  margin-top: 1em;
}

#initial-tittle-credit-limit-rfc {
  font-family: 'Sora', sans-serif;
  margin-top: 1em;
}

#initial-tittle-credit-limit-history {
  font-family: 'Sora', sans-serif;
  margin-top: 1em;
}

#initial-tittle-credit-limit-commitee {
  font-family: 'Sora', sans-serif;
  margin-top: 3em;
}


#initial-tittle-credit-day {
  margin-top: -1.5em;
  margin-right: 1%;
  text-align: right;
  font-size: 15px;
}

.custom-title-sales {
  width: 90%;
  margin-top: 20px;
  margin-bottom: -15px;
  margin-left: 15px;
  font-family: 'Sora', sans-serif;
  color: #00172D;
  background-color: rgba(11, 114, 211, 0.04)
}

.indicators-compare {
  background-color: rgba(0, 23, 45, 0.06);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1)
}


.container-benchmark {
  display: flex;
  justify-content: center;
  margin-top: 1em;
  margin-bottom: 2em;
}

#company-title-benchmarks {
  display: inline-block;
  text-align: center;
  font-size: 24px;
  background-color: #FF004C;
  color: white;
  border-radius: 10px;
  padding: 10px;
  font-family: 'Sora', sans-serif;
}

.custom-title {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  color: #00172D;
  padding-left: 10px;
  background-color: rgba(11, 114, 211, 0.03)
}

.indicators-compare {
  background-color: rgba(0, 23, 45, 0.06);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6)
}

.dropdow-and-range {
  margin-top: 15px;
  height: 70%;
  background-color: rgba(0, 23, 45, 0.06);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6)
}

#collapse-button {
  margin-top: 1em;
  width: 99%;
  display: inline-block;
  margin-bottom: 2em;
  border: none;
  font-size: 24px;
  background-color: rgba(255, 0, 76, 0.10);
  color: black;
  border-radius: 10px;
  padding: 10px;
  font-family: 'Sora', sans-serif;
}


#commitee-button {
  margin-top: 1em;
  width: 90%;
  height: 400px;
  display: inline-block;
  margin-bottom: 2em;
  border: none;
  font-size: 24px;
  background-color: #00dba10c;
  color: black;
  border-radius: 10px;
  padding: 130px;
  font-family: 'Sora', sans-serif;
}

#collapsible-paragraph {
  margin-top: 15px;
  padding: 15px;
  background-color: rgba(0, 23, 45, 0.081);
  border-radius: 10px;
}

#collapsible-filter {
  margin-top: 15px;
  width: 98%;
  padding: 7px;
  margin: 2px;
  background-color: rgba(0, 23, 45, 0.06);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}


.message-container-error-calculator {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 80%;
  margin: auto;
  margin-top: 50px;
}

.message-header-error-calculator {
  color: red;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}


#segmentation-one-header {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: rgba(255, 0, 76, 0.1);
  border-radius: 10px;
  height: 100px;
  width: 90%;
}

#segmentation-two-header {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: rgba(0, 219, 161, 0.1);
  border-radius: 10px;
  height: 100px;
  width: 90%;
}

#segmentation-one-header .circle {
  width: 30px;
  height: 30px;
  background-color: #FF004C;
  border-radius: 50%;
  margin-right: 10px;
}

#segmentation-two-header .circle-two {
  width: 30px;
  height: 30px;
  background-color: #00DBA1;
  border-radius: 50%;
  margin-right: 12px;
}

#segmentation-one-header p {
  color: #000000;
  font-weight: bold;
  font-family: 'Sora', sans-serif;
  margin: 0;
  line-height: 20px;
}

#segmentation-two-header p {
  color: #000000;
  font-weight: bold;
  font-family: 'Sora', sans-serif;
  margin: 0;
  line-height: 20px;
}

/* ========================================
   Segmentation Page - New Layout Styles
   ======================================== */

.segmentation-page {
  width: 100%;
  max-width: 100%;
  padding: 0 24px;
  margin: 0 auto;
  font-family: 'Sora', sans-serif;
}

.segmentation__header {
  margin-bottom: 24px;
}

.segmentation__tabs-container {
  width: 100%;
  margin-bottom: 24px;
}

.segmentation__tabs-container .custom-segmented-control {
  width: 100%;
}

.segmentation__actions-card {
  width: 100%;
}

.segmentation__filter-card {
  width: 100%;
}

.segmentation__filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.segmentation__filters-row .filter-group {
  flex: 1;
  min-width: 200px;
}

.segmentation__filters-row .filter-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: var(--foreground, #1f2937);
}

.segmentation__accordion {
  margin-top: 8px;
}

.segmentation__content {
  width: 100%;
}

/* Responsive adjustments for segmentation page */
@media (max-width: 768px) {
  .segmentation-page {
    padding: 0 16px;
  }

  .segmentation__filters-row {
    flex-direction: column;
  }

  .segmentation__filters-row .filter-group {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .segmentation-page {
    padding: 0 12px;
  }

  .segmentation__actions-card .custom-button {
    width: 100%;
  }
}

/* ======================================== */

.info-box {
  background-color: var(--bs-danger-bg-subtle);
  width: 163px;
  border-radius: 8px;
  text-align: center;
  padding-top: 2em;
  height: 120px;
}

.info-box-score {
  background-color: var(--bs-danger-bg-subtle);
  margin-left: 3em;
  width: 163px;
  border-radius: 8px;
  text-align: center;
  padding-top: 2em;
  height: 120px;
}

.info-box-p {
  background-color: var(--bs-danger-bg-subtle);
  width: 163px;
  margin-right: 100px;
  max-width: 163px;
  height: 120px;
  border-radius: 8px;
  text-align: right;
  margin-bottom: -8.5em;
}

.small-font {
  font-size: 14px;
}



.collapsible-paragraph-text {
  text-align: justify;
  margin: 5px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
}



/* sidebar */

.navlink-general {
  font-family: 'Sora', sans-serif;
  font-size: 12pt;
  color: #00172D;
}


/* global monitoring buro*/
.custom-style {
  background-color: rgb(9, 31, 52);
  font-family: Sora;
  color: white;
  padding: 20px;
  width: 100%;
  margin-top: 4em;
  display: flex;
  align-items: center;
  border-radius: 10pt;
}

.custom-style-normal {
  background-color: rgba(255, 255, 255, 0.918);
  border-radius: 10pt;
  padding: 2em;
}


.custom-style-subtitle {
  background-color: #ffffff13;
  font-family: Sora;
  color: black;
  padding: 20px;
  margin-left: 1em;
  width: 80%;
  margin-top: 4em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10pt;
}


.tab-style-buro {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  padding: 2px;
  background-color: #f9f9f9;
  border: 1px solid #d6d6d6;
  box-shadow: 2px 2px 2px lightgrey;
}

.tab-style-buro-selected {
  background-color: #e0e0e0;
  box-shadow: 2px 2px 2px grey;
}

.tabs-container-buro {
  font-size: 10px;
  width: 490px;
  height: auto;
  padding: 1px;
  border: 1px solid #d6d6d6;
  box-shadow: 2px 2px 2px lightgrey;
  background-color: #f9f9f9;
  margin: 2px;
  margin-top: -1px;
}


/* global monitoring buro arrears pie and tables test*/

.custom-style-arrears {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 1em;
  margin-left: 0em;
  gap: 1em;
}

.first-element-arrears {
  grid-column: 1 / -1;
}

.second-column-arrears {
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  justify-content: center;
  align-items: center;
}

.third-element-arrears {
  grid-column: 1 / -1;
  width: 100%;
}

@media (min-width: 1280px) {
  .custom-style-arrears {
    grid-template-columns: 1fr 1fr !important;
  }
  
  .second-column-arrears {
    grid-column: 1 / 2 !important;
  }
  
  .third-element-arrears {
    grid-column: 2 / -1 !important;
  }
}

.chart-arrears-2 {
  margin-top: -1.8em;
}

#adviser-distribution-tabs-parent {
  width: 100%;
}

/* Delinquency Overview Responsive Layout */
.delinquency-overview-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  grid-template-areas: "Details" "Table";
}

.delinquency-table-container {
  grid-area: Table;
}

.delinquency-details-container {
  grid-area: Details;
}

@media (min-width: 1024px) {
  .delinquency-overview-container {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "Table Details";
  }
}


#global-sat-span {
  font-family: 'Sora', sans-serif;
  font-size: 51px;
  font-weight: bold;
  padding-left: 20px;
}

#global-benchmark-span {
  font-family: 'Sora', sans-serif;
  font-size: 51px;
  font-weight: bold;
  padding-left: 20px;
}

#global-benchmark-span-line2 {
  font-family: 'Sora', sans-serif;
  font-size: 40px;
  padding-left: 20px;
}

#sat-filters-containers {
  margin-top: 15px;
  width: 100%;
  padding: 7px;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

#benchmark-filters-containers {
  margin-top: 15px;
  width: 100%;
  padding: 7px;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

#legend-balance-year {
  margin-top: 15px;
  width: 100%;
  padding: 7px;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

#legend-ratios-year {
  margin-top: 15px;
  width: 100%;
  padding: 7px;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

#legend-income-year {
  margin-top: 15px;
  width: 100%;
  padding: 7px;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

#legend-balance-year-bench {
  margin-top: 15px;
  width: 100%;
  padding: 7px;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

#legend-ratios-year-bench {
  margin-top: 15px;
  width: 100%;
  padding: 7px;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

#legend-income-year-bench {
  margin-top: 15px;
  width: 100%;
  padding: 7px;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

#collapse-button-inegi {
  margin-top: 1em;
  width: 99%;
  display: inline-block;
  margin-bottom: 2em;
  border: none;
  font-size: 24px;
  background-color: rgba(255, 0, 76, 0.10);
  color: black;
  border-radius: 10px;
  padding: 10px;
  font-family: 'Sora', sans-serif;
}

#inegi-keo-keo-header {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: rgba(255, 0, 76, 0.1);
  border-radius: 10px;
  height: 100px;
  width: 90%;
}

#inegi-keo-inegi-header {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: rgba(0, 219, 161, 0.1);
  border-radius: 10px;
  height: 100px;
  width: 90%;
}

#inegi-keo-keo-header .circle-inegi-keo {
  width: 30px;
  height: 30px;
  background-color: #FF004C;
  border-radius: 50%;
  margin-right: 10px;
}

#inegi-keo-inegi-header .circle-inegi-keo-two {
  width: 30px;
  height: 30px;
  background-color: #00DBA1;
  border-radius: 50%;
  margin-right: 12px;
}

#inegi-keo-keo-header p {
  color: #000000;
  font-weight: bold;
  font-family: 'Sora', sans-serif;
  margin: 0;
  line-height: 20px;
}

#inegi-keo-inegi-header p {
  color: #000000;
  font-weight: bold;
  font-family: 'Sora', sans-serif;
  margin: 0;
  line-height: 20px;
}

.customization-text {
  text-align: justify;
  margin: 5px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
}

#customization-paragraph {
  padding: 15px;
  background-color: rgba(0, 219, 161, 0.1);
  border-radius: 10px;
}

/* denied page */
#denied-first-legend {
  margin: auto;
  text-align: center;
  margin-top: 3em;
  width: 100%;
  font-family: 'Sora', sans-serif;
  font-size: 25px;
}

#denied-second-legend {
  margin: auto;
  text-align: center;
  margin-top: 1em;
  width: 100%;
  font-family: 'Sora', sans-serif;
  font-size: 25px;
}

#go-back-button {
  margin: auto;
  text-align: center;
  margin-top: 0.1em;
  width: 15%;
  font-family: 'Sora', sans-serif;
  font-size: 27px;
  background-color: transparent;
  color: #FF004C;
  /* Deep pink color for the text */
  border: 2px solid #FF004C;
  /* Deep pink border */
  border-radius: 15px;
  /* Rounded corners */
  padding: 10px 20px;
  /* Padding around text */
  cursor: pointer;
  /* Cursor indicates clickable */
  outline: none;
  /* Remove default focus outline */
  display: inline-block;
  /* Required for centering without extra div */
}


#warning-indicators-table-div {
  overflow-y: auto;
  margin-bottom: 3em;
  margin-top: 2em;
  border-radius: 5pt;
  padding: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 17px;
}

/* data validation individual */

.rfc-datavalidation-individual-rfc {
  margin-top: 0em;
  font-size: 40px;
  text-align: center;
  color: rgb(9, 31, 52);
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  /* 300 for Light */
}

.font-size-20px {
  font-size: 20px;
}



#datavalidation-individual-internal {
  margin-top: 0em;
  font-size: 30px;
  text-align: left;
  color: rgb(9, 31, 52);
  font-family: 'Sora', sans-serif;
  font-weight: 500;
}


#datavalidation-rfc-div {
  margin-top: 4em;
  padding: 1.4em;
  background-color: #F6F8FB;
  border-radius: 10px;
}





.flex-container-data-validation {
  background-color: #ffffff;
  font-family: 'Sora', sans-serif;
  border-radius: 10pt;
  display: flex;
  height: 320px;
  justify-content: left;
  padding: 20px;
}

.container-incoment-statement {
  background-color: #ffffff;
  height: 480px;

}

/* data validation ultimate charts */
.revenue-expeditures {
  position: relative;
  width: 700px;
  height: 388px;
  text-align: center;
}

.sat-revenue {
  position: relative;
  width: 700px;
  height: 388px;
  text-align: center;
  margin-left: -6em;
  margin-right: -3em;
  z-index: 1;
}

.financial-obligations-style {
  display: flex;
  width: 100%;
  margin-bottom: 2em;
  justify-content: left;
  height: 6em;
  background-color: #F6F8FB;
  font-family: 'Sora', sans-serif;
  border-radius: 10pt;
  padding: 2em;
}

.margin-top-10-em {
  margin-top: 10em;
}


/* monitorin individual  */

.monitoring-individual-title {
  background-color: #F6F8FB;
  font-family: 'Sora', sans-serif;
  font-size: 25px;
  font-weight: 500;
  text-align: center;
  border-radius: 10pt;
  padding: 10px;
  width: 80%;
  margin: 0 auto;
  display: block;
}


.initial-container-monitoring-individual {
  background-color: #F6F8FB;
  font-family: 'Sora', sans-serif;
  margin-top: 1em;
  padding: 0.4em;
  width: 100%;
  border-radius: 15pt;
}



/* credit limit final style  */



.credit-limit-generic-title {
  margin-top: 0em;
  font-size: 30px;
  text-align: left;
  color: rgb(9, 31, 52);
  font-family: 'Sora', sans-serif;
  font-weight: 500;
}

.credit-limit-generic-div {
  background-color: #F6F8FB;
  font-family: 'Sora', sans-serif;
  color: white;
  padding: 1.4em;
  width: 100%;
  margin-top: 2em;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  border-radius: 10pt;
}

.credit-limit-generic {
  background-color: #F6F8FB;
  font-family: 'Sora', sans-serif;
  padding: 1.4em;
  width: 100%;
  margin-top: 2em;
  margin-bottom: 1em;
  border-radius: 10pt;
}


/* credit limit new organizacition */
.creditlimit-container {
  display: flex;
  width: 100%;
  padding: 0px;
}

.creditlimit-column {
  padding: 2px;
}

.left-column {
  flex: 2;
}

.right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.creditlimit-button-container {
  width: 100%;
  margin-top: 1.5em;
  margin-bottom: 20px;
}

.creditlimit-button-margin {
  margin-top: -4em;
}

.creditlimit-button {
  width: 100%;
  padding: 10px 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.referential-table {
  width: 100%;
  border-collapse: collapse;
}

#brazil-span {
  font-family: 'Sora', sans-serif;
  font-size: 51px;
  font-weight: bold;
}

.brazil-filter-container {
  margin-top: 15px;
  width: 250%;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
  margin-right: 20px;
}

#brazil-filter-container {
  display: flex;
  width: 250%;
  justify-content: space-between;
}

.dash-graph {
  height: auto;
}

.brazil-filter-container2 {
  margin-top: 15px;
  width: 100%;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

.brazil-filter-container3 {
  margin-top: 15px;
  width: 100%;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

#ind-monitoring-comp-title {
  display: inline-block;
  text-align: center;
  font-size: 24px;
  background-color: #FF004C;
  color: white;
  border-radius: 10px;
  padding: 10px;
  font-family: 'Sora', sans-serif;
}

#portfolio-initial-filter {
  margin-top: 15px;
  width: 120%;
  padding: 7px;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

#portfolio-second-filter {
  margin-top: 15px;
  width: 120%;
  padding: 7px;
  background-color: #f6f8fb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

#btn-download-buro-pdf:hover {
  background-color: #12b4dd; /* Slightly lighter blue on hover */
  border-color: #ffffff;     /* Make border visible on hover */
  color: #ffffff;            /* Keep text color white */
  transform: scale(1.03);    /* Slightly enlarge the button */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: add shadow */
}

 /* aqui empieza el css de las cards de los archivos */
/* -------------------------- */
/* assets/file-card.css       */
/* -------------------------- */

/* Contenedor principal: dos filas, centrado, borde y radio de esquinas */
.file-card {
  display: flex;
  width: 100%;              /* Ancho fijo para la tarjeta */
  flex-direction: column;       /* Fila superior, luego fila inferior */
  border: 1px solid #00172D;
  border-radius: 8px;
  padding: 20px;
  background-color: #ffffff;
  max-width: 1200px;             /* Ajusta al ancho deseado */
  margin: 20px auto;            /* Centrado horizontal en la pantalla */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ---------------------- */
/*   FILA SUPERIOR       */
/* ---------------------- */
.file-card__top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;          /* Separación entre fila superior e inferior */
}

/* Wrapper del ícono: círculo claro de fondo */
.file-card__icon-wrapper {
  flex: 0 0 auto;
  width: 150px;
  height: auto;
  background-color: #F5F7FA;    /* Color de fondo claro para el círculo */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;           /* Espacio entre ícono y texto */
}

/* El ícono en sí: dentro del círculo */
.file-card__icon {
  width: 150px;                  /* Ajusta al tamaño real de tu SVG/PNG */
  height: auto;
}

/* Contenedor de texto (nombre + subtítulo) */
.file-card__info {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}



/* Título: nombre de archivo */
.file-card__title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: #00172D;
  margin-bottom: 4px;
  white-space: nowrap;          /* Evita salto de línea */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;             /* Alineación a la izquierda */
}

/* Subtítulo: BALANCE GENERAL. */
.file-card__subtitle {
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  font-size: 25px;
  color: #555555;
  line-height: 1.2;
  white-space: nowrap;          /* Tampoco salte */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

/* ---------------------- */
/*   FILA INFERIOR       */
/* ---------------------- */
.file-card__buttons {
  display: flex;
  gap: 15px;                    /* Espacio horizontal entre botones */
  width: 100%;
}

/* Cada botón ocupará igual ancho y estará centrado */
.file-card__btn {
  flex: 1 1 auto;               /* Cada botón crece para ocupar 50% del contenedor */
  text-align: center;
  padding: 12px 0;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.file-card__btn_first {
  margin-left: 11em;
}

/* Botón “Ver Archivo” (azul oscuro) */
.file-card__btn--view {
  background-color: #00172D;
}
.file-card__btn--view:hover {
  background-color: #002E50;
}

/* Botón “Descargar” (verde) */
.file-card__btn--download {
  background-color: #00172D;
}
.file-card__btn--download:hover {
  background-color: #002E50;
}



/* aqui empieza el css de el data entry Contenedor principal en fila */
.data-entry-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;              /* separación entre elementos */
  flex-wrap: wrap;        /* para móviles/autoresize */
  margin-bottom: 1rem;
}

/* Estilo común para los inputs */
.data-entry-input {
  width: 40vh;           /* ancho ajustable */
  height: 40px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Estilo común para los botones */
.data-entry-btn {
  width: 30vh;           /* ancho ajustable */
  height: 40px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  background-color: #00172d !important;
  color: #ffffff !important;
}


/* assets/data-entry-files-table.css */

/* ===== Tabla principal ===== */
.data-entry-files-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto; /* Allow flexible column sizing */
}

.data-entry-files-table__head {
  background-color: hsl(var(--foreground));
}

.data-entry-files-table__th,
.data-entry-files-table__td {
  padding: 10px 12px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: middle;
}

.data-entry-files-table__td--center {
  text-align: center;
}

.data-entry-files-table__selector-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #00172d;
}

.data-entry-files-table__link {
  color: hsl(var(--accent-brand-h, 23), var(--accent-brand-s, 90%), var(--accent-brand-l, 54%));
  text-decoration: none;
  border: none !important;
  outline: none !important;
  background: transparent !important;
}
.data-entry-files-table__link:hover {
  text-decoration: underline;
  color: hsl(var(--accent-brand-h, 23), var(--accent-brand-s, 90%), var(--accent-brand-l, 54%));
}

/* Ensure Font Awesome icons use accent-brand color */
.data-entry-files-table__link .fa-file-pdf,
.data-entry-files-table__link .fa-file-excel,
.data-entry-files-table__link i.fas {
  color: hsl(var(--accent-brand-h, 23), var(--accent-brand-s, 90%), var(--accent-brand-l, 54%)) !important;
}




/* Header de la tabla Data Entry en blanco */
.data-entry-files-table__head .data-entry-files-table__th {
  color: #ffffff;
}


/* ===== Wrapper para dar margen ===== */
.table-wrapper-data-entry {
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===== Scroll container for table ===== */
.data-entry-table-scroll-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  position: relative;
  display: block; /* Important: allows overflow to work */
}

/* Override base table width when in scroll container */
.data-entry-table-scroll-container .data-entry-files-table {
  width: max-content !important; /* Size to content when wider than container */
  min-width: 100% !important; /* But at least fill container */
  table-layout: auto !important; /* Allow flexible column sizing */
  border-collapse: collapse;
  display: table; /* Ensure proper table display */
}

/* Allow table cells to condense with minimum widths */
.data-entry-table-scroll-container .data-entry-files-table__th,
.data-entry-table-scroll-container .data-entry-files-table__td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 12px;
  min-width: 100px; /* Minimum width before compression stops */
  max-width: none;
  width: auto; /* Let browser calculate based on content and min-width */
}

/* ===== Sección de subida (namespaced) ===== */
.upload-section-data-entry {
  width: 100%;
  margin-bottom: 20px;
}
.upload-section__title {
  text-align: center;
  margin-bottom: 20px;
}
.upload-section__inputs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.upload-section__input {
  flex: 1;
  min-width: 450px;
  min-height: auto;
}
.upload-section__button {
  background-color: #00172d;
  color: #fff;
}
.upload-section__progress {
  margin-top: 10px;
  height: 20px;
}
.upload-section__message {
  margin-top: 10px;
  text-align: center;
  font-weight: bold;
}

/* ===== Spinner OCR ===== */
.ocr-spinner-data-entry {
  position: relative;
}
.ocr-spinner {
  width: 100%;
  height: 300px;
}

/* ===== Placeholder calculadora ===== */
.calculator-total-data-entry {
  margin-top: 200px;
}


/* Ensure content inside dcc.Loading is visible after loading completes */
.loading-wrapper-data-entry #analysis-result-data-entry,
.large-ocr-loading #analysis-result-data-entry {
  visibility: visible !important;
  display: block !important;
  opacity: 1 !important;
}
.loading-wrapper-data-entry #analysis-result-data-entry > *,
.large-ocr-loading #analysis-result-data-entry > * {
  visibility: visible !important;
  display: block !important;
  opacity: 1 !important;
}
/* Ensure file-card is visible */
.loading-wrapper-data-entry .file-card,
.large-ocr-loading .file-card {
  visibility: visible !important;
  display: block !important;
  position: relative !important;
  opacity: 1 !important;
}

/* Dash Loading overlay container - cover viewport minus navbar and center content */
/* When using custom_spinner, Dash wraps it differently - ensure it's positioned relative to viewport */
.loading-wrapper {
  min-height: calc(100vh - 70px);
  position: static !important;
}

.large-ocr-loading {
  width: 100%;
}

/* The overlay div created by dcc.Loading - only appears when loading */
.large-ocr-loading > div {
  position: fixed !important;
  top: 70px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: calc(100vh - 70px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1000 !important;
}

/* Dash Loading spinner container - center the custom spinner */
.large-ocr-loading ._dash-loading {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 1001 !important;
}

/* Ensure DMC Loader (custom spinner) is centered */
.large-ocr-loading .mantine-Loader-root,
.large-ocr-loading > div .mantine-Loader-root,
.large-ocr-loading > div > div .mantine-Loader-root {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

/*  credit limit */

.ag-header-cell-label {
    justify-content: center !important;
}



/* NAVBAR */
:root {
  --navbar-height: 70px; /* altura real de tu navbar */
}

/* Fix for all pages - ensure content is not hidden under fixed navbar */
#page-content {
  padding-top: calc(var(--navbar-height, 70px)) !important;
  margin-top: 0 !important;
}

@media (max-width: 992px) {
  #page-content {
    padding-top: calc(var(--navbar-height, 70px)) !important;
  }
}

@media (max-width: 576px) {
  #page-content {
    padding-top: calc(var(--navbar-height, 70px)) !important;
  }
}

@media (min-width: 1600px) {
  #page-content {
    padding-top: calc(var(--navbar-height, 70px)) !important;
  }
}

.ag-theme-alpine.compact-ag-grid {
  font-size: 12px;
  --ag-header-height: 36px;
  --ag-row-height: 32px;
}
 
.ag-theme-alpine .bench-row-focus {
  background-color: rgba(0, 23, 45, 0.45) !important;
  color: #fff;
}
 
.ag-theme-alpine .bench-row-compared {
  background-color: rgba(255, 0, 76, 0.20) !important;
}
 
.ag-theme-alpine .bench-row-summary {
  background-color: lightyellow !important;
  font-weight: 600;
}

/* Route-level loading spinner animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.route-loading-spinner {
  animation: spin 1s linear infinite !important;
  display: inline-block;
  width: 48px;
  height: 48px;
}

.route-loading-spinner img {
  width: 100%;
  height: 100%;
  display: block;
}

.route-loading-spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
}

#route-loading-overlay .route-loading-spinner {
  animation: spin 1s linear infinite !important;
  transform-origin: center center;
}

/* Pagination styles moved to /assets/components/ui/pagination/pagination.css */

input:focus-visible, button:focus-visible, a:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid hsl(var(--foreground)) !important;
  outline-offset: 2px !important;
  border-radius: 6px;
}

/* Hero logo responsive sizing */
.hero-logo {
  height: 80px;
  width: auto;
  max-width: 150px;
}


@media (min-width: 769px) {
  .hero-logo {
    height: 100px;
    max-width: 200px;
  }
}

@media (min-width: 1024px) {
  .hero-logo {
    height: 120px;
    max-width: 240px;
  }
}

/* Responsive Segmented Control - Vertical orientation on small screens */
@media (max-width: 768px) {
  .monitoring-tabs-responsive {
    max-width: 100% !important;
    flex-direction: column !important;
    width: 100% !important;
  }
}

/* ========================================
   HoverCard Glass Morphism Styles
   ======================================== */

.custom-hover-card {
  display: inline-flex;
}

.hover-card-trigger {
  cursor: pointer;
  transition: all 0.2s ease;
}

.hover-card-trigger:hover {
  background-color: hsl(var(--muted)) !important;
}

.hover-card-dropdown.glass-morphism {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 
              0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* Dark mode support for glass morphism */
[data-mantine-color-scheme="dark"] .hover-card-dropdown.glass-morphism {
  background: rgba(30, 30, 30, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

[data-mantine-color-scheme="dark"] .hover-card-dropdown.glass-morphism p {
  color: #e5e7eb !important;
}