@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  font-family: "Inter", serif;
  font-style: normal;
}


html, body {
  height: 100%;
  margin: 0;
}


main {
  flex: 1;
  margin: 0;
}

.main-content {
  padding-top: 25px;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 94vh;
}

.quarto-content {
  margin: 0;
}

#title-block-header {
  display: none;
}
/*----------------- Footer  ---------------------*/
footer {
  padding: 25px 0 10px 0;
}
/*----------------- Document Header  ---------------------*/
.document-header p {
  margin: 0;
  padding: 10px 0;
}

h1 {
  text-align: center;
  margin: 0;
  padding: 0;
  color: oklch(0.279 0.041 260.031);
}

.logo {
  max-width: 110px;
  margin: 0 auto;
  display: block;
}

.logo-footer {
  width: 60px;
}

footer {
  font-size: 14px;
}

.header-text {
  text-align: center !important;
}

.header-text h1 {
  font-size: 1.5rem;
}

.header-text p {
  text-align: center;
  margin: 0;
  padding: 0;
}

.hr {
  margin-left: -1.5rem; 
  margin-right: -1.5rem; 
  display: flex; 
  min-width: 300px; 
  align-items: flex-start; 
  justify-content: center; 
  overflow: hidden; 
  border-top: 1px solid #e4e4e7; 
  border-bottom: 1px solid #e4e4e7; 
  background-color: #ffffff; 
}

/* Small screens (sm) */
@media (min-width: 640px) {
  .hr {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #e4e4e7;
  }
}

.document-header {
   align-items: center;
}

/*----------------- Document Body  ---------------------*/
p {
  font-size: 16px;
  text-align: jus;
}

h2 {
  font-size: 1.1rem;
}

h3 {
  font-size: 1rem;
}

/*---------------------- Table ---------------------------*/
.tasas-table {
  font-variant-numeric: tabular-nums;
  margin-top: 1rem;
  font-size: 0.8rem;
  border-radius: 4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-bottom: solid 1px #212529;
}

.table-header {
  background-color: #212529;
  border-bottom-color: hsl(213, 33%, 93%);
  border-bottom-width: 1px;
  color: white;
}


/* ------------------- Summary cards ---------------------- */
.info-header {
  display: flex;
  gap: 15px
}

.info-container {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.info-container * {
  margin: 0;
}

.icon {
  margin-right: 0.375rem;
  color: #9ca3af;
}


  .stats-container {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.5);
  }

  .stats-container > div {
    padding: 1rem 0.9rem;
    border-bottom: 1px solid #e5e7eb;
  }

  .stats-container > div:last-child {
    border-bottom: none;
  }
  
  .stat-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: baseline;
  }

  .stat-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
  }

  .stat-details {
    margin-top: 0.25rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }

  .stat-value {
    display: flex;
    align-items: baseline;
    font-size: 1rem;
    font-weight: 600;
    color: oklch(0.279 0.041 260.031);
  }

  .stat-previous {
    margin-left: 0.5rem;
    font-size: 0.6rem;
    font-weight: 500;
    color: #6b7280;
  }

  .stat-change {
    display: inline-flex;
    align-items: baseline;
    border-radius: 9999px;
    padding: 0.125rem 0.625rem;
    font-size: 0.6rem;
    font-weight: 500;
  }

  .increase {
    background-color: #dcfce7;
    color: #166534;
  }

  .decrease {
    background-color: #fee2e2;
    color: #991b1b;
  }

  .symbol {
    margin-right: 0.125rem;
    font-weight: bold;
  }

  /* Media Query for MD breakpoint */
  @media (min-width: 768px) {
    .stats-container {
      grid-template-columns: 1fr 1fr 1fr;
    }

    .stats-container > div {
      padding: 1rem;
      border-bottom: none;
      border-right: 1px solid #e5e7eb;
    }
    
    .stats-container > div:last-child {
      border-right: none;
    }

    .stat-details {
      display: block;
    }

    .stat-change {
      margin-top: 0.5rem;
    }
  }

  /* Media Query for LG breakpoint */
  @media (min-width: 1024px) {
    .stat-details {
      display: flex;
    }

    .stat-change {
      margin-top: 0;
    }
  }

/* Celphones */ 
@media (max-width: 768px) {
  .var {
    display: none;
  }
  
  .info-header {
    display: block;
  }
  
  table {
    font-size: 13px;
  }
}

.callout-body-container p {
  font-size: 14px;
}
