/* -------------------
  PAGE COMMON STYLES
---------------------- */
/* LAYOUT */
.grid {
  display: grid;
  gap: 0;
}

.grid-cols-sm-2 {
  grid-template-columns: 1fr 1fr;
  /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
}

.grid-cols-sm-3 {
  grid-template-columns: 1fr 1fr 1fr;
  /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
}

.grid-cols-sm-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-cols-sm-5 {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.grid-cols-sm-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media only screen and (min-width: 767px) {
  .grid-cols-md-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-cols-md-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid-cols-md-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .grid-cols-md-5 {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }

  .grid-cols-md-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media only screen and (min-width: 1024px) {
  .grid-cols-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid-cols-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .grid-cols-5 {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }

  .grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.flex {
  display: flex;
}

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

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

.justify-center {
  justify-content: center;
}

@media only screen and (min-width: 320px) {
  .flex-row-sm {
    flex-direction: row;
  }

  .flex-column-sm {
    flex-direction: column;
  }

  .flex-column-reverse-sm {
    flex-direction: column-reverse;
  }
}

@media only screen and (min-width: 767px) {
  .flex-row-md {
    flex-direction: row;
  }

  .flex-row-reverse-md {
    flex-direction: row-reverse;
  }

  .flex-column-md {
    flex-direction: column;
  }

  .flex-column-reverse-md {
    flex-direction: column-reverse;
  }
}

@media only screen and (min-width: 1023px) {
  .flex-row {
    flex-direction: row;
  }

  .flex-row-reverse {
    flex-direction: row-reverse;
  }

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

  .flex-column-reverse {
    flex-direction: column-reverse;
  }
}

.gap-lg {
  gap: 80px;
}

.gap-y-lg {
  row-gap: 80px;
}

.gap-x-lg {
  column-gap: 80px;
}

.gap-md {
  gap: 40px;
}

.gap-y-md {
  row-gap: 40px;
}

.gap-x-md {
  column-gap: 40px;
}

.gap-sm {
  gap: 20px;
}

.gap-y-sm {
  row-gap: 20px;
}

.gap-x-sm {
  column-gap: 20px;
}

.gap-0 {
  gap: 0;
}

.gap-y-0 {
  row-gap: 0;
}

.gap-x-0 {
  column-gap: 0;
}

@media only screen and (min-width: 767px) {
  .md\:gap-lg {
    gap: 80px;
  }

  .md\:gap-y-lg {
    row-gap: 80px;
  }

  .md\:gap-x-lg {
    column-gap: 80px;
  }

  .md\:gap-md {
    gap: 40px;
  }

  .md\:gap-y-md {
    row-gap: 40px;
  }

  .md\:gap-x-md {
    column-gap: 40px;
  }

  .md\:gap-sm {
    gap: 20px;
  }

  .md\:gap-y-sm {
    row-gap: 20px;
  }

  .md\:gap-x-sm {
    column-gap: 20px;
  }

  .md\:gap-0 {
    gap: 0;
  }

  .md\:gap-y-0 {
    row-gap: 0;
  }

  .md\:gap-x-0 {
    column-gap: 0;
  }
}

@media only screen and (min-width: 1023px) {
  .lg\:gap-lg {
    gap: 80px;
  }

  .lg\:gap-y-lg {
    row-gap: 80px;
  }

  .lg\:gap-x-lg {
    column-gap: 80px;
  }

  .lg\:gap-md {
    gap: 40px;
  }

  .lg\:gap-y-md {
    row-gap: 40px;
  }

  .lg\:gap-x-md {
    column-gap: 40px;
  }

  .lg\:gap-sm {
    gap: 20px;
  }

  .lg\:gap-y-sm {
    row-gap: 20px;
  }

  .lg\:gap-x-sm {
    column-gap: 20px;
  }

  .lg\:gap-0 {
    gap: 0;
  }

  .lg\:gap-y-0 {
    row-gap: 0;
  }

  .lg\:gap-x-0 {
    column-gap: 0;
  }
}

.layout {
  padding: 0 5vw;
  margin: auto;
  max-width: 100vw;
}

@media (min-width: 768px) {
  .layout {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .layout {
    width: 970px;
  }
}

@media (min-width: 1024px) {
  .layout {
    width: 1170px;
    padding: 0 30px;
  }
}

/* TEXTS */
.heading {
  color: #000;
  font-size: 4.5rem;
  font-family: "montserrat";
  line-height: 1.25;
  margin: 0;
  margin-bottom: 20px;
}

.subheading {
  color: #000;
  font-size: 3.5rem;
  line-height: 1.25;
  margin: 0;
  margin-bottom: 20px;
}

.title {
  color: #000;
  font-size: 2.85rem;
  font-family: "montserrat";
  line-height: 1.3;
  margin: 0;
  margin-bottom: 20px;
}

.description {
  color: #343434;
  font-size: 2.5rem;
  line-height: 1.3;
  margin: 0;
  margin-bottom: 20px;
}

.heading:last-child,
.subheading:last-child,
.title:last-child,
.description:last-child {
  margin-bottom: 0;
}

.text-2xl {
  font-size: 4.5rem;
}

.text-xl {
  font-size: 4rem;
}

.text-lg {
  font-size: 3.5rem;
  /* font-size: 3.6rem; */
}

.text-md {
  font-size: 2.85rem;
}

.text-sm {
  font-size: 2.5rem;
}

.text-xs {
  font-size: 1.9rem;
}

.text-black {
  color: #000;
}

.text-white {
  color: #fff;
}

.text-gray {
  color: #343434;
}

.text-lightgray {
  color: #898989;
}

.text-blue {
  color: #1a24ff;
}

.text-green {
  color: #02ac1c;
}

.text-red {
  color: #d41a21;
}

@media only screen and (max-width: 1024px) {
  .heading {
    font-size: 3rem;
  }

  .subheading {
    font-size: 2.85rem;
  }

  .title {
    font-size: 2.5rem;
  }

  .description {
    font-size: 1.9rem;
  }

  .text-2xl {
    font-size: 3.25rem;
  }

  .text-xl,
  .text-lg {
    font-size: 3rem;
  }

  .text-md {
    font-size: 2.5rem;
  }

  .text-sm {
    font-size: 1.9rem;
  }

  .text-xs {
    font-size: 1.5rem;
  }

  .sm\:text-2xl {
    font-size: 4.5rem;
  }

  .sm\:text-xl {
    font-size: 4rem;
  }

  .sm\:text-lg {
    font-size: 3.5rem;
  }

  .sm\:text-md {
    font-size: 3rem;
  }

  .sm\:text-sm {
    font-size: 2.5rem;
  }

  .sm\:text-xs {
    font-size: 1.9rem;
  }
}

.text-left-sm {
  text-align: left;
}

.text-right-sm {
  text-align: right;
}

.text-center-sm {
  text-align: center;
}

@media only screen and (min-width: 767px) {
  .text-left-md {
    text-align: left;
  }

  .text-right-md {
    text-align: right;
  }

  .text-center-md {
    text-align: center;
  }
}

@media only screen and (min-width: 1024px) {
  .text-left {
    text-align: left;
  }

  .text-right {
    text-align: right;
  }

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

/* BUTTONS */
.button-cta,
.button-cta:focus {
  background: #ffffff00;
  border: 2px solid #343434;
  border-radius: 10px;
  color: #343434;
  font-size: 2.5rem;
  font-family: "montserrat_normal";
  font-weight: normal;
  text-shadow: 1px 0 0 #fff;
  padding: 20px 40px;
  outline: none;
}

.button-cta.button-sm {
  border-radius: 10px;
  font-size: 2rem;
  padding: 10px 15px;
}

.button-cta.button-xs {
  border-radius: 10px;
  font-size: 1.9rem;
  text-shadow: none;
  padding: 10px 20px;
}

.button-cta.button-shadow {
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
}

.button-cta.button-green {
  background: #02ac1c;
  border: 0;
  color: #fff;
}

.button-cta.button-green:hover {
  background: #02ac1cdd;
}

.button-cta.button-blue {
  background: #1a24ff;
  border: 0;
  color: #fff;
}

.button-cta.button-blue:hover {
  background: #1a24ffdd;
}

.button-cta.button-outline {
  background: #ffffff00;
  border-radius: 50px;
}

.button-cta.button-outline-squared {
  background: #ffffff00;
  border-radius: 10px;
}

.button-cta.button-outline.button-white,
.button-cta.button-outline-squared.button-white {
  color: #fff;
  border: 2px solid #fff;
}

.button-cta.button-outline.button-green,
.button-cta.button-outline-squared.button-green,
.button-cta.button-outline.button-green:hover,
.button-cta.button-outline-squared.button-green:hover {
  color: #02ac1c;
  border: 2px solid #02ac1c;
  background: transparent;
}

.button-cta.button-outline.button-blue,
.button-cta.button-outline-squared.button-blue,
.button-cta.button-outline.button-blue:hover,
.button-cta.button-outline-squared.button-blue:hover {
  color: #1a24ff;
  border: 2px solid #1a24ff;
  background: transparent;
}

@media only screen and (max-width: 1024px) {
  .button-cta,
  .button-cta:focus,
  button.cta {
    font-size: 1.9rem;
  }

  .button-cta.button-xs {
    font-size: 1.5rem;
  }
}

/* BACKGROUND */
.bg-black {
  background: #151515 !important;
}

.bg-blue {
  background: #1a24ff !important;
}

.bg-green {
  background: #02ac1c !important;
}

.bg-red {
  background: #d41a21 !important;
}

.bg-gray {
  background: #f5f5f5 !important;
}

.bg-gradient-blue-to-black {
  background: #1a24ff !important;
  background: linear-gradient(
    120deg,
    rgba(26, 36, 255, 1) 50%,
    rgba(1, 3, 10, 1) 100%
  ) !important;
}

@media only screen and (max-width: 767px) {
  .bg-gradient-blue-to-black {
    background: linear-gradient(
      180deg,
      rgba(26, 36, 255, 1) 70%,
      rgba(1, 3, 10, 1) 110%
    ) !important;
  }

  .bg-gradient-blue-to-black.bg-gradient-sm-inverted {
    background: linear-gradient(
      180deg,
      rgba(1, 3, 10, 1) -20%,
      rgba(26, 36, 255, 1) 100%
    ) !important;
  }
}

/* CARDS */
.card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
}

.card.card-outline {
  border: 2px solid #dcdcdc;
}

.card.card-shadowed {
  -webkit-box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.2);
}

.card.card-squared {
  border-radius: 0;
}

@media only screen and (max-width: 1023px) {
  .card {
    padding: 20px;
  }
}

/* TABLE */
#crypto-datatable-wrapper .DTFC_ScrollWrapper {
  height: 100% !important;
}

#crypto-datatable-wrapper .dataTables_scrollHead,
#crypto-datatable-wrapper .dataTables_scrollBody {
  width: 100% !important;
}

#crypto-datatable-wrapper .dataTables_paginate .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#crypto-datatable-wrapper .DTFC_LeftBodyWrapper,
#crypto-datatable-wrapper .DTFC_LeftBodyLiner {
  overflow: visible !important;
}

#crypto-datatable thead.table-head tr th {
  padding: 0 !important;
}

.crypto-datatable-card {
  position: relative;
}

@media only screen and (max-width: 767px) {
  .crypto-datatable-card {
    padding: 20px 15px;
    height: 100%;
    min-height: 860px;
  }
}

table.table-cryptomkt {
  overflow-x: scroll;
  margin-bottom: 0;
}

table.table-cryptomkt thead.table-head tr th {
  color: #000;
  font-family: "montserrat_normal";
  font-size: 1.9rem;
  padding: 25px 0 !important;
  text-align: center;
  vertical-align: middle;
}

table.table-cryptomkt thead.table-head tr th:first-child {
  text-align: left;
  padding: 0 !important;
}

/* Removed right alignment for sparkline column - all headers should be centered except first */
/* table.table-cryptomkt thead.table-head tr th:nth-child(6) {
  text-align: right;
} */

table.table-cryptomkt tbody.table-body tr {
  background: #fff;
  border-bottom: 2px solid #dcdcdc;
}

table.table-cryptomkt tbody.table-body tr:first-child {
  border-top: 2px solid #dcdcdc;
}

table.table-cryptomkt > tbody > tr > td {
  padding: 8px 6px;
  min-width: 80px;
}

table.table-cryptomkt > tbody > tr > td:nth-child(2) {
  /* Columna de precio - asegurar espacio suficiente para valores largos (8+ dígitos) */
  min-width: 180px;
  padding: 8px 12px 8px 15px;
  white-space: nowrap;
}

table.table-cryptomkt > tbody > tr > td:nth-child(5) {
  /* Columna de market cap - asegurar espacio suficiente para valores largos */
  min-width: 190px;
  padding: 8px 10px 8px 15px;
  white-space: nowrap;
}

table.table-cryptomkt tbody.table-body tr td,
table.table-cryptomkt tbody.table-body tr td .name-element {
  font-family: "montserrat_normal";
  font-size: 1.9rem;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
}

table.table-cryptomkt tbody.table-body tr td .crypto-icon {
  height: 40px;
}

table.table-cryptomkt
  tbody.table-body
  tr
  td
  .crypto-name-wrapper
  span:first-child {
  font-weight: bold;
  font-family: "montserrat_normal";
}

table.table-cryptomkt tbody.table-body tr td.td-button {
  cursor: default;
}

table.table-cryptomkt tbody.table-body tr td:last-child {
  text-align: right;
}

table.table-cryptomkt tbody.table-body tr td:first-child,
table.table-cryptomkt tbody.table-body tr td:first-child .name-element {
  text-align: left;
}

/* Asegurar que el símbolo $ siempre sea visible en columnas de precio y market cap */
table.table-cryptomkt > tbody > tr > td:nth-child(2),
table.table-cryptomkt > tbody > tr > td:nth-child(5) {
  padding-left: 15px !important;
  box-sizing: border-box;
}

.dataTables_paginate ul.pagination > li.paginate_button a {
  background-color: #fff;
  border-radius: 10px;
  border: 0;
  color: #000;
  display: block;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.5 !important;
  margin-right: 5px;
  padding: 10px 20px;
  width: 50px;
}

.dataTables_paginate ul.pagination > li.paginate_button.active a,
.dataTables_paginate ul.pagination > li.paginate_button.active a:hover {
  background-color: #1a24ff;
  color: #fff;
  outline: none;
}

.dataTables_paginate ul.pagination > li.paginate_button a:hover {
  background-color: #dcdcdc;
}

@media only screen and (max-width: 767px) {
  table.table-cryptomkt thead.table-head tr th {
    font-size: 1.5rem;
  }

  table.table-cryptomkt[data-to-currency="ARS"]
    thead.table-head
    tr
    th:first-child {
    font-size: 1.4rem;
  }

  table.table-cryptomkt tbody.table-body tr td,
  table.table-cryptomkt tbody.table-body tr td .crypto-name-wrapper span {
    font-size: 1.4rem;
  }

  table.table-cryptomkt
    tbody.table-body
    tr
    td
    .crypto-name-wrapper
    span.crypto-name-ellipsis {
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  table.table-cryptomkt[data-to-currency="ARS"]
    tbody.table-body
    tr
    td
    .crypto-name-wrapper
    span {
    font-size: 1.4rem;
  }

  table.table-cryptomkt tbody.table-body tr td .crypto-icon {
    height: 30px;
  }

  table.table-cryptomkt[data-to-currency="ARS"]
    tbody.table-body
    tr
    td
    .crypto-icon {
    height: 25px;
  }

  table.table-cryptomkt
    tbody.table-body
    tr
    td
    .crypto-name-wrapper
    span:first-child {
    font-family: "Questrial";
  }

  table.table-cryptomkt
    tbody.table-body
    tr
    td
    .crypto-name-wrapper
    span:first-child {
    font-family: "montserrat_normal";
  }

  table.table-cryptomkt tbody.table-body tr td.td-button button.button-cta {
    font-size: 1.5rem;
    padding: 8px 12px;
  }

  /* Ajustes para precios largos en móvil (ARS, CLP, COP) */
  table.table-cryptomkt > tbody > tr > td:nth-child(2) {
    min-width: 150px;
    padding: 8px 10px 8px 15px !important;
    font-size: 1.3rem;
    white-space: nowrap;
  }

  table.table-cryptomkt > tbody > tr > td:nth-child(5) {
    /* Columna de market cap en móvil */
    min-width: 155px;
    padding: 8px 8px 8px 15px !important;
    font-size: 1.3rem;
    white-space: nowrap;
  }

  .dataTables_paginate ul.pagination > li.paginate_button a {
    margin-right: 0;
    padding: 7px 15px;
    width: 40px;
  }

  .dataTables_paginate ul.pagination > li.paginate_button.previous a {
    padding: 7px 0px;
    text-align: left;
    width: 25px;
  }

  .dataTables_paginate ul.pagination > li.paginate_button.next a {
    padding: 7px 0px;
    text-align: right;
    width: 25px;
  }
}

@media only screen and (max-width: 380px) {
  table.table-cryptomkt
    tbody.table-body
    tr
    td
    .crypto-name-wrapper
    span.crypto-name-ellipsis {
    width: 85px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ELEMENTS IN HTML CONTAINER */
.html-container h3 {
  color: #1a24ff;
  font-size: 2.25rem;
  font-family: "montserrat";
  line-height: 1.25;
  margin: 0;
  margin-bottom: 20px;
}

.html-container h4,
.html-container h5,
.html-container h6 {
  color: #343434;
  font-size: 2rem;
  font-family: "montserrat";
  line-height: 1.25;
  margin: 0;
  margin-bottom: 20px;
}

.html-container h6 {
  font-size: 1.75rem;
}

.html-container p,
.html-container li {
  color: #343434;
  font-size: 1.75rem;
  line-height: 1.3;
  margin: 0;
  margin-bottom: 20px;
}

.html-container li {
  margin-bottom: 10px;
}

.html-container li:last-child {
  margin-bottom: 20px;
}

.html-container ul > li::marker {
  color: #1a24ff;
  font-size: 3rem;
}

.html-container ol > li::marker {
  color: #1a24ff;
  font-size: 2.25rem;
  font-family: "montserrat";
  line-height: 1.25;
}

.html-container ol > ol > ol > li::marker {
  font-size: 2rem;
}

.html-container li > h3,
.html-container li > h4,
.html-container li > h5,
.html-container li > h6 {
  display: inline-block;
  color: #343434;
}

@media only screen and (max-width: 1023px) {
  .compliance-tabs li a {
    padding: 10px 40px;
  }

  .html-container {
    margin-top: 40px;
  }

  .html-container h3 {
    font-size: 1.9rem;
  }

  .html-container h4,
  .html-container h5,
  .html-container h6 {
    font-size: 1.7rem;
  }

  .html-container li > h3,
  .html-container li > h4,
  .html-container li > h5,
  .html-container li > h6 {
    margin-bottom: 10px;
  }

  .html-container p,
  .html-container li {
    font-size: 1.5rem;
  }

  .html-container ol,
  .html-container ul {
    padding-left: 20px;
  }

  .html-container ul > li::marker {
    font-size: 2.5rem;
  }

  .html-container ol > li::marker {
    font-size: 1.9rem;
  }
}

/* UTILS */
@media only screen and (min-width: 320px) {
  .show-tablet {
    display: none;
  }

  .show-desktop {
    display: none;
  }

  .show-mobile {
    display: initial;
  }
}

@media only screen and (min-width: 767px) {
  .show-mobile {
    display: none;
  }

  .show-desktop {
    display: none;
  }

  .show-tablet {
    display: initial;
  }
}

@media only screen and (min-width: 1024px) {
  .show-mobile {
    display: none;
  }

  .show-tablet {
    display: none;
  }

  .show-desktop {
    display: initial;
  }
}

@media only screen and (max-width: 1023px) {
  .text-center-mobile {
    text-align: center !important;
  }

  .padding-sm-0 {
    padding: 0 !important;
  }
}
