﻿@import "vars.css?ver=1.5.1";

/* Fonts */

@font-face {
  font-family: 'Neulis Neue';
  src: url('fonts/NeulisNeue-Regular.woff2') format('woff2'), url('fonts/NeulisNeue-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neulis Neue';
  src: url('fonts/NeulisNeue-Medium.woff2') format('woff2'), url('fonts/NeulisNeue-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neulis Neue';
  src: url('fonts/NeulisNeue-Bold.woff2') format('woff2'), url('fonts/NeulisNeue-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neulis Neue';
  src: url('fonts/NeulisNeue-Black.woff2') format('woff2'), url('fonts/NeulisNeue-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Elements */

a {
  color: var(--prmy-color-3);
  font-weight: bold;
  text-decoration: none;
}

body {
  color: var(--prmy-color-2);
  /*font-family: 'Neulis Neue';*/
  font-size: var(--font-size-normal);
}

button, .button {
  background-color: var(--prmy-color-1);
  border: 1px solid var(--prmy-color-1);
  border-radius: 10px;
  color: var(--white);
  font-weight: bold;
  padding: 5px 40px;
  text-align: center;
  width: 100%;
}

  button:hover, .button:hover {
    background-color: var(--white);
    color: var(--prmy-color-1);
  }

  button.inverted, .button.inverted {
    background-color: var(--white);
    color: var(--prmy-color-1);
  }

    button.inverted:hover, .button.inverted:hover {
      background-color: var(--prmy-color-1);
      color: var(--white);
    }

  button:disabled, .button:disabled {
    background-color: var(--gray-color-3);
    border-color: var(--gray-color-3);
  }

  button:disabled:hover, .button:disabled:hover {
    color: var(--white);
    cursor: not-allowed;
  }

  button.sharp-button, .button.sharp-button {
    border-radius: 20px 40px 0 20px;
    padding: 5px 20px;
  }

form {
  padding: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

ul {
  padding: 20px;
}

/* ===== Linea de tiempo del registro (panel izquierdo de /user) =====
   Muestra en que paso va el cliente y cuanto demora en total. Va sobre el fondo
   turquesa, por eso todo es blanco con transparencias. */
/* Titulo ("Register") y linea de tiempo en la misma fila. Si no caben, la linea
   baja sola debajo del titulo en vez de apretarse. */
.reg-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 34px;
}

.reg-timeline {
  flex: 1 1 330px;
  max-width: 420px;
}

.reg-timeline-head {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.reg-timeline-time {
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .18);
  border-radius: 20px;
  padding: 2px 10px;
}

/* Etapas en HORIZONTAL: el header tiene alto fijo (456px) y una lista vertical no cabe. */
.reg-steps {
  display: flex;
  align-items: flex-start;
}

.reg-step {
  position: relative;
  flex: 1 1 0;
  text-align: center;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.3;
  padding: 0 3px;
}

/* La linea que une con la bolita anterior. El top va a la MITAD de la bolita
   (26/2 = 13) menos el grosor de la linea; si no, queda desalineada. */
.reg-step:before {
  content: "";
  position: absolute;
  top: 12px;
  right: 50%;
  left: -50%;
  height: 2px;
  background: rgba(255, 255, 255, .35);
}

.reg-step-first:before {
  display: none;
}

.reg-dot {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6);
  background: var(--prmy-color-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
}

.reg-label {
  word-break: break-word;
}

/* Etapa ya completada */
.reg-step-done .reg-dot {
  background: #fff;
  border-color: #fff;
  color: var(--prmy-color-3, #007481);
}

.reg-step-done .reg-label {
  color: rgba(255, 255, 255, .8);
}

/* Etapa actual: bolita rellena con halo, etiqueta destacada */
.reg-step-now .reg-dot {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .3);
}

.reg-step-now .reg-label {
  color: #fff;
  font-weight: 700;
}

/* Tooltip */

[data-wenk]:after {
  font-family: Tahoma;
  font-size: 12px;
  font-weight: normal;
  left: 10%;
  min-width: 300px;
  transform: translate(-10%, 10px);
  -webkit-transform: translate(-10%, 10px);
  white-space: normal;
  z-index: 999998;
}

[data-wenk]:hover:after {
  transform: translate(-10%, -10px);
  -webkit-transform: translate(-10%, -10px);
}

/* Variante "hacia abajo": para iconos pegados al borde SUPERIOR (ej. los badges de estado
   junto al nombre en la cabecera). El tooltip por defecto se abre hacia arriba y ahi se sale
   de la pantalla y se ve cortado. Con .wenk-down se abre debajo del icono.
   Se agrega tambien alineacion a la derecha (.wenk-end) para los que estan pegados al borde
   derecho, donde el ancho minimo de 300px se salia y lo recortaba #content{overflow-x:clip}. */
[data-wenk].wenk-down:after {
  bottom: auto;
  top: 100%;
  transform: translate(-10%, -10px);
  -webkit-transform: translate(-10%, -10px);
}

[data-wenk].wenk-down:hover:after {
  transform: translate(-10%, 10px);
  -webkit-transform: translate(-10%, 10px);
}

/* La flecha del tooltip apunta hacia abajo; en la variante inferior sobra. */
[data-wenk].wenk-down:before {
  display: none;
}

[data-wenk].wenk-end:after {
  left: auto;
  right: 0;
  transform: translate(0, -10px);
  -webkit-transform: translate(0, -10px);
}

[data-wenk].wenk-end:hover:after {
  transform: translate(0, 10px);
  -webkit-transform: translate(0, 10px);
}

/* intl-tel-input: el desplegable de países se cuelga del <body> (dropdownContainer en
   custom.js) para que ningún contenedor con overflow oculto lo recorte. El z-index alto
   es para que quede por ENCIMA de los modales de Bootstrap (z-index 1055). */
.iti--container {
  z-index: 100000 !important;
}

/* Contador/aviso de pendientes del menú — base (móvil): pill turquesa inline. En
   escritorio (media min-width 768) se reposiciona absoluto sobre la esquina del item
   y se invierte a blanco cuando el item está activo (ver reglas más abajo). */
.menu-count {
  background-color: var(--prmy-color-1);
  color: var(--white);
  border: 1px solid var(--prmy-color-1);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  line-height: 1.4;
  margin-left: 6px;
}

/* Variante de ADVERTENCIA (acción pendiente del usuario, ej. "Verify" en My Profile):
   amarillo con el triángulo de peligro — mismo modelo que el chip "Verify" junto al
   nombre, para que ambos avisos se lean igual. Mantiene el mismo look también cuando
   el item está activo/hover (el crema contrasta bien sobre el turquesa). */
.menu-count.warn {
  background-color: #fff3cd;
  color: #ffc107;
  border-color: #ffc107;
}

/* Classes */
.bg-color-1 {
  background-color: var(--prmy-color-1) !important;
}

.bg-color-2 {
  background-color: var(--prmy-color-2) !important;
}

.bg-color-3 {
  background-color: var(--prmy-color-3) !important;
}

.bg-color-4 {
  background-color: var(--prmy-color-4) !important;
}

.bg-color-5 {
  background-color: var(--prmy-color-5) !important;
}

.bg-color-6 {
  background-color: var(--prmy-color-6) !important;
}

.bg-gray-color-1 {
  background-color: var(--gray-color-1) !important;
}

.bg-gray-color-2 {
  background-color: var(--gray-color-2) !important;
}

.bg-gray-color-3 {
  background-color: var(--gray-color-3) !important;
}

.bg-gray-color-4 {
  background-color: var(--gray-color-4) !important;
}

.bg-gray-color-5 {
  background-color: var(--gray-color-5) !important;
}

.bg-gray-color-6 {
  background-color: var(--gray-color-6) !important;
}

.bg-gray-color-7 {
  background-color: var(--gray-color-7) !important;
}

.bg-gray-color-8 {
  background-color: var(--gray-color-8) !important;
}

.border-color-1 {
  border-color: var(--prmy-color-1) !important;
}

.border-color-2 {
  border-color: var(--prmy-color-2) !important;
}

.border-color-3 {
  border-color: var(--prmy-color-3) !important;
}

.border-color-4 {
  border-color: var(--prmy-color-4) !important;
}

.border-color-5 {
  border-color: var(--prmy-color-5) !important;
}

.border-color-6 {
  border-color: var(--prmy-color-6) !important;
}

.border-gray-color-1 {
  border-color: var(--gray-color-1) !important;
}

.border-gray-color-2 {
  border-color: var(--gray-color-2) !important;
}

.border-gray-color-3 {
  border-color: var(--gray-color-3) !important;
}

.border-gray-color-4 {
  border-color: var(--gray-color-4) !important;
}

.border-gray-color-5 {
  border-color: var(--gray-color-5) !important;
}

.border-gray-color-6 {
  border-color: var(--gray-color-6) !important;
}

.border-gray-color-7 {
  border-color: var(--gray-color-7) !important;
}

.border-gray-color-8 {
  border-color: var(--gray-color-8) !important;
}

.break-word {
  word-wrap: break-word;
}

.code {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  padding: 0;
}

.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
  padding: 0;
}

.container {
  max-width: 1320px !important;
  padding: 0 !important;
  width: 95% !important;
}

.faq-answer-container {
  height: 0px;
  overflow: hidden;
  padding: 0px;
}

.giant {
  font-size: var(--font-size-giant);
}

.gray-color-1 {
  color: var(--gray-color-1) !important;
}

.gray-color-2 {
  color: var(--gray-color-2) !important;
}

.gray-color-3 {
  color: var(--gray-color-3) !important;
}

.gray-color-4 {
  color: var(--gray-color-4) !important;
}

.gray-color-5 {
  color: var(--gray-color-5) !important;
}

.gray-color-6 {
  color: var(--gray-color-6) !important;
}

.gray-color-7 {
  color: var(--gray-color-7) !important;
}

.gray-color-8 {
  color: var(--gray-color-8) !important;
}

.h-flip {
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  transform: scaleX(-1);
  -ms-filter: fliph;
  filter: fliph;
}

.h-90 {
  height: 90%;
}

.help {
  cursor: help;
}

.inverted {
  color: var(--white);
}

/* Circulo del "liveness check". Antes era 160x200 (una ELIPSE) y sin object-fit, asi que
   el video de la camara (que es horizontal) se DEFORMABA al estirarse para llenarlo.
   Ahora es un circulo real y object-fit:cover recorta en vez de estirar. */
.liveness-check {
  border: 1px dashed var(--gray-color-4);
  border-radius: 50%;
  height: 220px;
  width: 220px;
  object-fit: cover;
}

.logo-status {
  height: 30px;
}

.nav-link {
  text-wrap: nowrap !important;
}

  .nav-link.disabled {
    color: var(--gray-color-3) !important;
  }

  .nav-link.disabled .menu-icon {
    background-color: transparent !important;
    color: var(--gray-color-3) !important;
  }

.pointer {
  cursor: pointer;
}

/* Evita el scroll horizontal "fantasma": los tooltips (data-wenk) renderizan pseudo-elementos
   ocultos que se extienden más allá del borde derecho del contenido y generaban una barra
   horizontal sin sentido. `clip` recorta SOLO el desborde en X, sin crear scroll propio ni
   afectar el scroll vertical, y sin tocar los modales (que viven en <body>, fuera de #content). */
#content {
  overflow-x: clip;
}

.prmy-color-1 {
  color: var(--prmy-color-1) !important;
}

.prmy-color-2 {
  color: var(--prmy-color-2) !important;
}

.prmy-color-3 {
  color: var(--prmy-color-3) !important;
}

.prmy-color-4 {
  color: var(--prmy-color-4) !important;
}

.prmy-color-5 {
  color: var(--prmy-color-5) !important;
}

.prmy-color-6 {
  color: var(--prmy-color-6) !important;
}

.row {
  margin: 0 !important;
}

.toggle-password {
  cursor: pointer;
}

.rounded-2 {
  border-radius: 20px;
}

.rounded-3 {
  border-radius: 30px;
}

.rounded-4 {
  border-radius: 40px;
}

.rounded-5 {
  border-radius: 50px;
}

.sticky {
  position: sticky !important;
}

.table.unpadded * {
  padding: 0.1em;
}

.tabs a.active {
  text-decoration: underline;
}

.tiny {
  font-size: 0.7em;
}

.ui-menu {
  z-index: 999999 !important;
}

.upload-picture, .upload-file {
  border: 1px dashed var(--gray-color-4);
  border-radius: 12px;
  max-height: 115px;
  max-width: 180px;
}

.v-flip {
  -moz-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  transform: scaleY(-1);
  -ms-filter: flipv;
  filter: flipv;
}

.bank-accounts .product-card {
  min-height: 240px;
}

.bank-accounts-admin .product-card {
  min-height: 300px;
}

.product-card {
  background-color: var(--prmy-color-3);
  color: var(--prmy-color-4);
}

  .product-card i.fa-circle-info {
    color: var(--prmy-color-4);
    background-color: var(--prmy-color-3);
  }

  .product-card .earnings {
    color: var(--prmy-color-3);
    background-color: var(--prmy-color-4);
  }

  .product-card .button {
    border: none;
  }

  .product-card.inverted {
    background-color: var(--prmy-color-4);
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    color: var(--gray-color-8);
  }

    .product-card.inverted i.fa-circle-info {
      color: var(--prmy-color-3);
      background-color: var(--prmy-color-4);
    }

    .product-card.inverted .earnings {
      color: var(--prmy-color-4);
      background-color: var(--prmy-color-3);
    }

    .product-card.inverted .button {
      border: var(--bs-border-width) var(--bs-border-style) var(--prmy-color-1);
    }

/* Individual */
#content-no-menu {
  background-color: white;
  color: var(--prmy-color-2);
}

#processing {
  z-index: 9999;
}

  #processing .modal-dialog {
    width: 300px;
  }

/* Cellphone */
@media only screen and (max-width: 900px) {
  header .button.sharp-button {
    border-radius: 18px 36px 0 18px;
    font-size: 14px;
    padding: 3px 15px;
  }

  .logo-status {
    height: 25px;
  }
}

/* Tablet */
@media only screen and (min-width: 768px) {
  .bg-color-md-1 {
    background-color: var(--prmy-color-1) !important;
  }

  .bg-color-md-2 {
    background-color: var(--prmy-color-2) !important;
  }

  .bg-color-md-3 {
    background-color: var(--prmy-color-3) !important;
  }

  .bg-color-md-4 {
    background-color: var(--prmy-color-4) !important;
  }

  .bg-color-md-5 {
    background-color: var(--prmy-color-5) !important;
  }

  .bg-color-md-6 {
    background-color: var(--prmy-color-6) !important;
  }

  .bg-gray-color-md-1 {
    background-color: var(--gray-color-1) !important;
  }

  .bg-gray-color-md-2 {
    background-color: var(--gray-color-2) !important;
  }

  .bg-gray-color-md-3 {
    background-color: var(--gray-color-3) !important;
  }

  .bg-gray-color-md-4 {
    background-color: var(--gray-color-4) !important;
  }

  .bg-gray-color-md-5 {
    background-color: var(--gray-color-5) !important;
  }

  .bg-gray-color-md-6 {
    background-color: var(--gray-color-6) !important;
  }

  .bg-gray-color-md-7 {
    background-color: var(--gray-color-7) !important;
  }

  .bg-gray-color-md-8 {
    background-color: var(--gray-color-8) !important;
  }

  .col-menu {
    display: table-cell;
    width: 2%;
  }

  .col-content {
    display: table-cell;
    width: 98%;
  }

  /* === Menú lateral (desktop) — estilo del diseño aprobado ===
     Inactivos: ícono y texto en gris, SIN círculo de fondo.
     Activo: "pill" turquesa (prmy-color-1) con ícono y texto blancos.
     Hover (inactivos): fondo gris muy suave. */
  .flex-column .nav-link {
    display: flex;
    align-items: center;
    padding: 11px 14px !important;
    border-radius: 14px;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .flex-column .nav-link span {
    background-color: transparent;
    color: var(--gray-color-4);
  }

  .flex-column .menu-icon i {
    font-size: 20px;
  }

  .flex-column .nav-link:not(.active):not(.disabled):hover {
    background-color: var(--gray-color-1);
  }

  .flex-column .nav-link.active {
    background-color: var(--prmy-color-1) !important;
    color: var(--white) !important;
  }

  .flex-column .nav-link.active span {
    color: var(--white) !important;
    background-color: transparent !important;
  }

  /* Contador/aviso de pendientes sobre un item del menú (Pending Approvals, Warnings,
     My Profile del cliente, etc.): pill turquesa con texto blanco. Cuando el item está
     ACTIVO o en hover (el fondo del item se pinta turquesa/gris), el pill se invierte a
     fondo BLANCO con borde y texto turquesa para que no se pierda contra el fondo. */
  .nav-item .menu-count {
    position: absolute;
    top: -3px;
    right: 10px;
    background-color: var(--prmy-color-1) !important;
    color: var(--white) !important;
    border: 1px solid var(--prmy-color-1);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    line-height: 1.4;
    z-index: 2;
  }

  .nav-item:has(.nav-link.active) .menu-count,
  .nav-item:hover .menu-count {
    background-color: var(--white) !important;
    color: var(--prmy-color-3) !important;
    border-color: var(--prmy-color-1);
  }

  /* La variante de advertencia (amarilla) mantiene su look en TODOS los estados:
     es un aviso de acción pendiente y debe leerse idéntico al chip de la cabecera. */
  .nav-item .menu-count.warn,
  .nav-item:has(.nav-link.active) .menu-count.warn,
  .nav-item:hover .menu-count.warn {
    background-color: #fff3cd !important;
    color: #ffc107 !important;
    border-color: #ffc107 !important;
  }

  .h-md-100vh {
    height: 100vh;
  }

  .h-md-45vh {
    height: 45vh;
  }

  .mb-md-10 {
    margin-bottom: 6rem !important;
  }

  .md-small {
    font-size: .875em;
  }

  .mt-md-10 {
    margin-top: 6rem !important;
  }

  .prmy-color-md-1 {
    color: var(--prmy-color-1) !important;
  }

  .prmy-color-md-2 {
    color: var(--prmy-color-2) !important;
  }

  .prmy-color-md-3 {
    color: var(--prmy-color-3) !important;
  }

  .prmy-color-md-4 {
    color: var(--prmy-color-4) !important;
  }

  .prmy-color-md-5 {
    color: var(--prmy-color-5) !important;
  }

  .prmy-color-md-6 {
    color: var(--prmy-color-6) !important;
  }

  #header-no-menu {
    background-color: var(--prmy-color-1);
    height: 456px;
    padding: 35px !important;
  }

  #content-no-menu {
    border-radius: 40px;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.05),0 6px 20px 0 rgba(0,0,0,0.25);
    display: flow;
    margin: 20px 50px 50px 50px;
    min-height: 700px;
    padding: 60px 50px;
  }
}

/* Laptop */
@media only screen and (min-width: 992px) {
  #header-no-menu {
    padding: 55px !important;
  }
}
/* Icono USDT custom - logo oficial Tether */
.usdt-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url('/assets/images/Tether.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: -0.125em;
    margin-right: 0.4em;
}

/* Cuando el icono USDT vive dentro del avatar circular del dashboard,
   ocultar el fondo del avatar y dejar que el logo Tether (que ya es circular) ocupe todo. */
.currency:has(.usdt-icon) {
    background-color: transparent !important;
    padding: 0 !important;
    margin-right: 0.5em;
}

.currency .usdt-icon {
    width: 1.5em;
    height: 1.5em;
    margin-right: 0;
}

/* Tabs horizontales para navegar entre cuentas (USDT, USD, EUR) en MyAccounts */
.account-tabs-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    padding: 0;
    align-items: center;
}
/* Balance pequeño al lado del nombre de la currency en cada tab */
.account-tab-balance {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
}

/* Botones Deposit/Withdraw a la derecha de los tabs en la misma fila */
.account-tabs-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}
/* Fila de botones Deposit/Withdraw alineados a la derecha (cuando los tabs están en el header) */
.account-actions-row {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
}
.account-tabs-actions .account-action-btn {
    width: auto !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    min-width: 120px !important;
}
/* Wrap en mobile: cuando no caben en una sola línea, los botones bajan debajo de los tabs */
@media (max-width: 767px) {
    .account-tabs-actions {
        margin-left: 0;
        width: 100%;
        margin-top: 10px;
    }
    .account-tabs-actions .account-action-btn {
        flex: 1;
    }
}

/* Botón "Realize Profits": mismo lenguaje visual que Deposit / Withdraw / Invest
   (fondo turquesa primario, texto blanco, bold, esquinas redondeadas — heredado del
   estilo base `button`), pero compacto para ir inline al lado del monto de "Earnings
   Up To Now". Sin esto, Bootstrap lo pintaba verde outline y desentonaba. */
.realize-profits-btn {
    width: auto !important;
    min-width: 0 !important;
    padding: 7px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    white-space: nowrap;
    line-height: 1.2;
}

/* Hero Balance Card: card grande con Total Balance protagonista + Available/Invested debajo */
.hero-balance-card {
    border: 1px solid rgba(0, 116, 129, 0.10);
    box-shadow: 0 2px 12px rgba(0, 116, 129, 0.06);
    transition: box-shadow 0.2s ease;
}
.hero-balance-card:hover {
    box-shadow: 0 4px 18px rgba(0, 116, 129, 0.12);
}
.hero-balance-label {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 10px;
    opacity: 0.6;
}
.hero-balance-amount {
    font-size: 28px;
    margin-bottom: 0;
    line-height: 1.1;
    letter-spacing: -0.3px;
}
/* Bloque que apila verticalmente el monto y el label "TOTAL BALANCE", alineado a la derecha del nombre de la moneda */
.hero-balance-amount-block {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
}
/* Separación entre el monto y el label "TOTAL BALANCE" */
.hero-balance-amount-block .hero-balance-label {
    margin-top: 8px;
}
/* Oculta el icono de currency dentro del monto principal — ya tenemos el icono grande al lado */
.hero-balance-amount i,
.hero-balance-amount .usdt-icon {
    display: none !important;
}
@media (max-width: 767px) {
    .hero-balance-amount {
        font-size: 26px;
    }
}
.hero-balance-divider {
    border-color: rgba(0, 116, 129, 0.18);
    opacity: 1;
}
/* Lista de métricas a la derecha del Hero Card (Available, Invested, Earnings) */
.hero-balance-metrics {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hero-balance-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 116, 129, 0.10);
}
.hero-balance-metric:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.hero-balance-metric-label {
    font-size: 13px;
    opacity: 0.85;
}
.hero-balance-metric-value {
    font-size: 16px;
}

/* === Hero Card en columna única: "Total Balance" grande + filas de desglose con ícono === */
.hero-total-label {
    opacity: 0.75;
    letter-spacing: 0.2px;
}
.hero-total-amount {
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}
/* Ícono de la moneda (tether.svg) junto al monto — un poco más chico que los dígitos */
.hero-total-currency-icon {
    font-size: 0.7em;
    margin-right: 8px;
    vertical-align: -0.02em;
}
@media (max-width: 767px) {
    .hero-total-amount { font-size: 34px; }
}
/* Lado izquierdo de cada fila: ícono + etiqueta alineados */
.hero-line-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.hero-line-icon {
    font-size: 18px;
    width: 22px;
    text-align: center;
    color: var(--prmy-color-3); /* todos los íconos del desglose en turquesa */
}

/* Título "Investment Lines" arriba de las cards de los 3 programas */
.investment-lines-title {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Card de programa de inversión: icono info en la esquina, nombre centrado */
.program-card {
    position: relative; /* ancla del panel flotante "# Transactions" */
}
.program-card-inner {
    position: relative;
}

/* Panel flotante "# Transactions": se despliega desde el link junto al título del programa.
   Sin scroll lateral: todo entra a lo ancho; si hay muchas filas, scroll VERTICAL. */
.program-transactions-panel {
    position: absolute;
    top: 70px;            /* justo debajo de la línea del título */
    left: 6px;
    right: 6px;
    z-index: 1040;        /* por debajo de los modals de Bootstrap (1050+) para que la confirmación salga ADELANTE */
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
    padding: 14px;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: left;
}
/* Tablas compactas dentro del panel: que entren a lo ancho sin desplazamiento lateral */
.program-transactions-panel .table {
    width: 100%;
}
.program-transactions-panel .table th,
.program-transactions-panel .table td {
    padding: 0.25rem 0.3rem;
    white-space: nowrap;
}
.program-transactions-close {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #6c757d;
    font-size: 16px;
}
.program-transactions-close:hover {
    color: #dc3545;
}
.program-info-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
}
/* El NÚMERO del % queda exactamente centrado en la card; "Annual Return" va a su derecha
   sin empujarlo (posicionado absoluto, fuera del cálculo de centrado). */
.program-rate {
    position: relative;
    display: block;
    text-align: center;
}
.program-rate-number {
    color: #007481;
    font-size: 28px;
    font-weight: 700;
}
.program-rate-label {
    position: absolute;
    margin-left: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
}

/* Item activo del menú lateral — solo subraya el texto, sin cambiar colores ni íconos */
.nav-link.active .menu-text {
    text-decoration: none;
}
/* Currency icon + name dentro del Hero Card (encima del label "TOTAL BALANCE") */
.hero-balance-currency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
/* Icon sin fondo — solo el símbolo en color teal del sitio */
.hero-balance-currency-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #007481;
    font-size: 28px;
    background: transparent;
}
.hero-balance-currency-name {
    font-weight: 700;
    font-size: 18px;
    color: #007481;
}
/* !important para garantizar que se sobreescriban los estilos globales del sitio */
.account-tabs-row .account-tab {
    width: auto !important;
    min-width: 110px !important;
    flex: 0 0 auto !important;
    background-color: #fff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #555 !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    text-align: center !important;
    display: inline-block !important;
}
.account-tabs-row .account-tab:hover {
    border-color: #007481 !important;
    color: #007481 !important;
    background-color: #fff !important;
}
.account-tabs-row .account-tab.active {
    background-color: #007481 !important;
    border-color: #007481 !important;
    color: #fff !important;
}
.account-tabs-row .account-tab.active:hover {
    background-color: #005f6b !important;
    border-color: #005f6b !important;
    color: #fff !important;
}

/* Selector visual de blockchain (3 cards clickeables en el popup de Deposit) */
.blockchain-cards-row {
    gap: 28px;
}
.blockchain-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 18px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s ease;
    background: #fff;
    user-select: none;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.blockchain-card:hover {
    border-color: #1ba27a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.blockchain-card.selected {
    border-color: #1ba27a;
    background-color: rgba(26, 162, 122, 0.08);
    box-shadow: 0 2px 8px rgba(26, 162, 122, 0.2);
}
/* Las 3 cards usan la misma imagen (tether.svg) — el texto debajo distingue la red. */
.blockchain-card img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;
}