/* ----------- ESTRUCTURA GENERAL ----------- */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0f0f0f;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
  box-sizing: border-box;   /* ✅ evita que padding/margen cause scroll */
  overflow-x: hidden;       /* ✅ oculta scroll lateral */
}


/* ----------- CONTENEDOR FORMULARIOS ----------- */

.container {
  width: 90%;
  max-width: 400px;
}

.form-container {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

h2 {
  margin-top: 0;
  color: #ffffff;
  font-size: 1.3em;
  text-align: center;
}

/* ----------- CAMPOS DE ENTRADA ----------- */

input,
select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background-color: #2a2a2a;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1em;
}

#loginForm input[type="text"] {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  display: block;
}

/* ----------- BOTONES GENERALES ----------- */

button {
  width: 100%;
  padding: 12px;
  background-color: #fcd535;
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

button:hover {
  background-color: #ffe45c;
}

/* ----------- TEXTO Y ENLACES ----------- */

.small-text {
  font-size: 0.85em;
  margin-top: 10px;
  text-align: center;
}

.link {
  color: #fcd535;
  text-decoration: underline;
  cursor: pointer;
}

.hidden {
  display: none;
}

/* ----------- OJO INICIO----------- */
.eye-wrapper {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 8px;
}

.eye-icon {
  font-size: 2.2em;              /* Un poco más grande para destacarse */
  color: #8b0000;                /* Rojo sangre oscuro */
  transition: transform 0.2s ease;
}

.eye-icon:hover {
  transform: scale(1.1);
  color: #ff0000;                /* Brilla más al pasar el mouse */
}

/* ----------- OJO MENÚ----------- */
.menu-eye-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;          /* Añade separación desde el borde */
  margin-bottom: 8px;      /* Ligero ajuste hacia “Mi saldo” */
  height: 28px;
}

.menu-eye-icon {
  font-size: 1.8em;         /* Mantiene tamaño actual */
  line-height: 1;           /* Elimina espacio extra vertical */
}

/* ----------- AVISO DE SEGURIDAD ----------- */

.aviso {
  font-size: 0.9em;
  font-weight: bold;
  color: #ffcc00;
  background-color: #1c1c1c;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  margin-top: 15px;
}

/* ----------- SCROLL INICIO DE TARJETAS ----------- */
#tarjetas::-webkit-scrollbar {
  display: none;
}

#tarjetas {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ----------- SCROLL INICIO DE SESIÓN ----------- */
.country-dropdown {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE y Edge */
}

.country-dropdown::-webkit-scrollbar {
  display: none; /* Chrome, Safari y Opera */
}

.country-dropdown {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 6px;
  max-height: 182px;
  overflow-y: auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
  width: 205px; /* Ajustado para que entre el país más largo */
}

.country-search {
  width: 100%;
  padding: 6px 8px;
  margin-bottom: 6px;
  border: 1px solid #444;
  border-radius: 4px;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 13px;
}

.country-option {
  padding: 7px 8px;
  border-radius: 4px;
  cursor: pointer;
  color: #f0f0f0;
  white-space: nowrap;
  font-size: 13.2px;
  transition: background-color 0.2s ease;
}

.country-option:hover {
  background-color: #222;
}

/* ----------- EFECTO OJO ----------- */
/* --- Zoom automático del ojo al cerrar modales --- */
@keyframes eyeZoomPulse {
  0%   { transform: scale(1);    color: #8b0000; }
  45%  { transform: scale(1.14); color: #ff0000; }
  60%  { transform: scale(1.14); color: #ff0000; }
  100% { transform: scale(1);    color: #8b0000; }
}

.eye-icon.eye-pulse {
  animation: eyeZoomPulse 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, color;
}

/* ----------- EFECTO OJO INICIO DE SESION ----------- */
/* --- Estado encendido continuo del ojo (mientras escribes) --- */
.eye-icon.eye-on {
  transform: scale(1.1);   /* igual que tu :hover */
  color: #ff0000;          /* igual que tu :hover */
}

/* ----------- SELECCIÓN DE PAIS ----------- */
/* Asegura que el formulario sea relativo para posicionar el selector dentro */
.form {
  position: relative;
}

/* Contenedor del selector dentro del formulario */
.country-selector-wrapper-inside {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 1000;
  text-align: right;
  width: auto;
}

/* Icono 🌍 y flecha */
.country-toggle {
  font-size: 0.85em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
margin: 0px 0px 0 0; /* top, right, bottom, left */
}

/* Desplegable de países */
.country-dropdown {
  position: absolute;
  right: 0;
  width: 160px;
  overflow-y: auto;
 overflow-x: hidden; /* ← Agrega esta línea */
  background-color: #111;
  border: 1px solid #444;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  z-index: 1100;
}

.country-search {
  width: calc(100% - 2px);
  padding: 8px 10px;
  line-height: normal;
  color: #fff;
  font-size: 0.85em;
  background-color: #111;
  border: none; /* ✅ Quita borde completo */
  border-bottom: 1px solid #444; /* ✅ Solo borde inferior */
  border-radius: 0; /* ✅ Quita esquinas redondeadas */
  outline: none;

  position: sticky;
  top: 0;
  z-index: 1;
  box-sizing: border-box;
  margin: 0 1px;
}

/* Cada opción de país */
.country-option {
  padding: 8px 12px;
  cursor: pointer;
  color: #fff;
  font-size: 0.85em;
  transition: background-color 0.2s ease;
}

/* Hover */
.country-option:hover {
  background-color: #222;
}

/* Oculto por defecto */
.hidden {
  display: none;
}

.country-selector-container {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}

.login-box {
  position: relative;
}

.country-selector-wrapper {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.form-container {
  position: relative;
}

.chevron-wrapper {
  cursor: pointer;
  display: inline-block;
  padding-left: 6px;
}

.chevron-icon {
  font-size: 0.75em; /* Más pequeño que el globo */
  cursor: pointer;
}

/* WC · feedback de validación */
.input.wc-valid, .wc-valid.input, #username.wc-valid{
  border-color: #28a745 !important;
  box-shadow: 0 0 0 1px rgba(40,167,69,.25);
}
.input.wc-invalid, .wc-invalid.input, #username.wc-invalid{
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 1px rgba(220,53,69,.25);
}

/* ----------- SELECCION DE PAIS OBLIGATORIO ----------- */
body.bloqueado {
  pointer-events: none;
}

#country-dropdown,
#selected-country,
#countrySearch,
.country-option {
  pointer-events: auto !important; /* Solo el selector es interactivo */
  z-index: 99999;
}


/* ----------- TODO EL INISIO DE SESIÓN ----------- */
/* Tipografía jerárquica */
.title {
  font-size: 1.6em;
  font-weight: 700;
}

form .label {
  font-size: 1em;
  font-weight: 500;
  color: #ffffff;
  display: block;
  margin-bottom: -6px;
}

.input {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1.5px solid #333;
  border-radius: 6px;
  padding: 12px;
  font-size: 1em;
  width: 100%;
  caret-color: #fcd535; /* 👈 ESTA es la línea que querías */
}

.input:focus {
  border-color: #fcd535;
  outline: none;
  background-color: #1a1a1a;
  transition: all 0.2s ease;
}

.input::placeholder {
  color: #aaaaaa;
  font-size: 0.9em;
  opacity: 1;
}

.warning-text {
  font-size: 0.7em;
  color: #f0b90b;
  margin-top: -4px;
  margin-bottom: 35px;
text-align: center;
}

.submit-button {
  background-color: #fcd535;   /* 🎯 color exacto de Binance */
  color: #0b0e11;              /* color de texto de Binance */
  font-size: 1.05em;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-note {
  font-size: 0.55em;
  color: #aaa;
  margin-top: 16px;
text-align: center;
}

/* === WC · MODAL BIENVENIDA — Opción A: Crypto Premium === */
#modalBienvenida {
  /* Fondo más cinematográfico + blur (solo para este modal) */
  background: radial-gradient(1200px 800px at 50% -10%, rgba(252,213,53,.12), transparent 55%),
              rgba(0,0,0,.68) !important;
  backdrop-filter: blur(4px);
}

#modalBienvenida .modal-content{
  /* Tarjeta vidrio esmerilado + borde sutil */
  background: linear-gradient(180deg, rgba(26,26,26,.92) 0%, rgba(18,18,18,.92) 100%) !important;
  border: 1px solid rgba(252,213,53,.18);
  border-radius: 14px;
  padding: 22px 22px 18px;
  max-width: 360px;                /* un pelín más ancha */
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 10px 28px rgba(0,0,0,.35),
    0 0 22px rgba(252,213,53,.18);
  animation: wcWelcomePop .32s cubic-bezier(.22,1,.36,1);
  position: relative;
  overflow: hidden;                /* para el brillo interno */
}

/* Halo dorado muy suave (interior) */
#modalBienvenida .modal-content::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(600px 240px at 50% 0%,
              rgba(252,213,53,.10), transparent 60%);
  pointer-events:none;
}

/* Tipografía/jerarquía */
#modalBienvenida h2{
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 1.05rem;
  margin: 2px 0 10px;
  color: #fff;
}
#modalBienvenida p{
  margin: 0 0 14px;
  color: #eaeaea;
  line-height: 1.45;
  font-size: .92rem;
}

/* Botón premium con brillo discreto */
#modalBienvenida .modal-content button{
  background: linear-gradient(180deg, #fcd535 0%, #f5c822 100%);
  color: #0b0e11;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .3px;
  padding: 12px 18px;
  box-shadow:
    0 2px 10px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.25) inset;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
#modalBienvenida .modal-content button:hover{
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow:
    0 6px 20px rgba(252,213,53,.35),
    0 0 0 1px rgba(255,255,255,.35) inset;
}
#modalBienvenida .modal-content button:active{
  transform: translateY(0);
}

/* Animación de entrada pro (reemplaza fade genérico solo aquí) */
@keyframes wcWelcomePop{
  0%   { opacity:0; transform: translateY(8px) scale(.98); }
  60%  { opacity:1; transform: translateY(0)   scale(1.004); }
  100% { opacity:1; transform: translateY(0)   scale(1); }
}

/* ----------- MENÚ PRINCIPAL ----------- */

.menu-container {
  background-color: #1a1a1a !important;
  padding: 24px 24px 0px 24px !important;
}

/* Saldo */
.saldo-section {
  margin-bottom: 30px;
}

.saldo-titulo {
  font-size: 1.2em;
  font-weight: 600;
  color: #dddddd;
  margin-bottom: 8px;
}

.saldo-usdt {
  background: #111;
  border: 1px solid #444;
  padding: 14px 24px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6em;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 0 12px rgba(252, 213, 53, 0.15);
}

.saldo-usdt img {
  width: 24px;
  height: 24px;
}

.saldo-num {
  color: #ffffff; /* blanco */
  font-weight: 600;
}

.saldo-moneda {
  color: #999999; /* gris igual al del equivalente USD */
  margin-left: 4px;
}

.equivalente-usd {
  font-size: 0.6em;
  color: #999999;
  margin-top: 2px;
}

.btn-generar {
    background: #fcd535;
    color: #000;
    font-weight: bold;

    width: 150px;
    height: 75px;

    margin: 12px auto !important;
    margin-bottom: -12px !important;

    display: flex;
    justify-content: center;
    align-items: center;

    clip-path: polygon(50% 5%, 88% 70%, 12% 70%);
    border-radius: 18px !important;

    box-shadow: 0 0 22px rgba(252, 213, 53, 0.55);
}

.btn-retirar {
  background-color: #dc3545;
  color: #fff;
  margin-bottom: 15px;
  border-radius: 10px;
}

/* Botones secundarios (actividad / comprobante) */
.botones-secundarios {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px !important;   /* Agrégalo si no existe */
  margin-bottom: 20px !important;
}

.botones-secundarios button {
  flex: 1;
  padding: 6px 12px !important; 
  font-size: 0.85em;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.botones-secundarios button:hover {
  background-color: #fcd535;
  color: #000;
}

/* ----------- MODALES ----------- */

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow-y: auto;        /* ✅ NECESARIO */
}

.modal.hidden {
  display: none;
}

.modal-content {
  position: relative; /* ✅ AÑADE esta línea */
}

.modal-content button {
  background-color: #fcd535;
  color: #000;
  padding: 8px 16px;        /* Ajustar el tamaño del botón */
  font-size: 0.85em;        /* Ajustar el tamaño de la fuente */
  border: none;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 10px;
}

/* ===== MODAL DE RETIRO — versión final premium ===== */

/* fondo con foco y blur sutil (se aplica a todos los modales) */
.modal {
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(2px);
}

/* caja del modal: glow controlado y sombra base */
#modalRetiro .modal-content,
#modalRetiroFinal .modal-content {
  max-width: 420px;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow:
    0 0 18px rgba(252,213,53,.18),
    0 10px 28px rgba(0,0,0,.35);
}

/* título fuerte y alineado con el candado */
#modalRetiro h2,
#modalRetiroFinal h2 {
  text-align: center;
  font-size: 1.08em;
  margin: 2px 0 8px;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#modalRetiro h2 i,
#modalRetiroFinal h2 i {
  font-size: 1.05em;
  position: relative;
  top: 1px; /* alineación óptica */
}

/* texto base de párrafos del modal */
#modalRetiro .modal-content p,
#modalRetiroFinal .modal-content p {
  margin: 8px 0;
  line-height: 1.45;
  font-size: .85em;
}

/* CHECKLIST escaneable */
#modalRetiro .retiro-checklist,
#modalRetiroFinal .retiro-checklist {
  list-style: none;
  padding: 0;
  margin: 10px 0 8px;
}
#modalRetiro .retiro-checklist li,
#modalRetiroFinal .retiro-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 5px 0;
  line-height: 1.5;     /* mejora lectura */
  color: #ddd;
  font-size: .92em;
}

/* Caja interna para el texto de cada punto */
#modalRetiro .retiro-checklist li span:nth-of-type(2),
#modalRetiroFinal .retiro-checklist li span:nth-of-type(2) {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1d1d1d, #121212);
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 3px 8px rgba(0,0,0,0.45),
    0 0 12px rgba(255,255,255,0.05) inset;

  font-size: 0.92em;
  line-height: 1.45;
}

/* ÍTEM DESTACADO → misma tarjeta que la normal, solo texto amarillo */
#modalRetiro .retiro-checklist li.destacado span:nth-of-type(2),
#modalRetiroFinal .retiro-checklist li.destacado span:nth-of-type(2) {
  padding: 14px 16px;
  border-radius: 14px;

  background: linear-gradient(
    180deg,
    rgba(252,213,53,0.18),
    rgba(252,213,53,0.08)
  );
  border: 1px solid rgba(252,213,53,0.35);

  box-shadow:
    0 3px 10px rgba(252,213,53,0.22),
    0 0 12px rgba(252,213,53,0.20) inset;

  color: #fcd535;
  font-weight: 700;
  line-height: 1.45;
}

/* === Alineación a la izquierda dentro de las tarjetas del PROTOCOLO FINAL === */
#modalRetiro .retiro-checklist li span:nth-of-type(2),
#modalRetiroFinal .retiro-checklist li span:nth-of-type(2) {
  text-align: left !important;
}

/* Ítem destacado también alineado a la izquierda */
#modalRetiro .retiro-checklist li.destacado,
#modalRetiroFinal .retiro-checklist li.destacado {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

/* Estilo para el modal de "RETIRO NO DISPONIBLE" */
#modalRetiro .retiro-checklist li {
  font-size: .9em; /* Tamaño de letra para "RETIRO NO DISPONIBLE" */
  color: #ddd;
}

/* Estilo para el modal de "PROTOCOLO FINAL" */
#modalRetiroFinal .retiro-checklist li {
  font-size: .9em; 
  color: #ddd; 
}

#modalRetiro .retiro-checklist li .ico,
#modalRetiroFinal .retiro-checklist li .ico {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1e1e1e;
  box-shadow: inset 0 0 0 1px #2c2c2c;
  display: grid;
  place-items: center;
  color: #fcd535;
  font-size: .72em;
} 

/* Punto destacado (beneficio) */
#modalRetiro .retiro-checklist li.destacado,
#modalRetiroFinal .retiro-checklist li.destacado {
  color: #fcd535;
  font-weight: 700;
  font-size: .86em;
  text-align: center !important; /* Asegura el texto centrado */
  margin: 10px 0;
  
  /* Esto ayuda a centrar todo el contenido del li */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* divisor sutil antes del CTA */
#modalRetiro .modal-divider,
#modalRetiroFinal .modal-divider {
  height: 1px;
  width: 100%;
  margin: 6px 0 10px;
  background: linear-gradient(90deg, transparent, #2b2b2b 12%, #2b2b2b 88%, transparent);
  opacity: .85;
}

/* pregunta centrada (ya quedó en tu HTML) */
#modalRetiro .modal-content p:nth-of-type(4),
#modalRetiroFinal .modal-content p:nth-of-type(4) {
  text-align: center;
  font-weight: 600;
  font-size: .98em;
  margin: 10px 0 6px;
}

/* botón con presencia sin ocupar todo el ancho */
#modalRetiro button,
#modalRetiroFinal button {
  display: block;
  margin: 10px auto 0;
  text-align: center;
  max-width: 260px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
font-weight: 800 !important;
}

#modalRetiro button:focus-visible,
#modalRetiroFinal button:focus-visible {
  outline: 2px solid #fcd535;
  outline-offset: 2px;
}

/* accesibilidad: respeta reducir movimiento (no tocamos IDs aquí) */
@media (prefers-reduced-motion: reduce){
  .modal-content{ animation: none !important; }
}

/* Quitar íconos de los items de la checklist en el modal de retiro */
#modalRetiro .retiro-checklist .ico,
#modalRetiroFinal .retiro-checklist .ico { 
  display: none !important;
}

/* Conviértelos en bullets sutiles */
#modalRetiro .retiro-checklist li,
#modalRetiroFinal .retiro-checklist li {
  position: relative;
  padding-left: 14px;      /* espacio para el bullet */
}
#modalRetiro .retiro-checklist li::before,
#modalRetiroFinal .retiro-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;          /* centra ópticamente el bullet */
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b6b6b;     /* bullet gris sutil */
}

/* El ítem destacado mantiene el énfasis y su bullet dorado */
#modalRetiro .retiro-checklist li.destacado::before,
#modalRetiroFinal .retiro-checklist li.destacado::before {
  background: #fcd535;
}

/* Tamaño de la nota de privacidad del modal de retiro */
#modalRetiro .nota,
#modalRetiroFinal .nota {
  font-size: 0.6em !important;
  margin-top: 16px;
  text-align: center;
}

/* Forzar separación de la nota de privacidad debajo del botón */
#modalRetiro .modal-content p.nota,
#modalRetiroFinal .modal-content p.nota {
  margin-top: 16px !important;
  text-align: center;
  display: block;
}

/* Escudo en el modal de retiro */
#modalRetiro .nota i,
#modalRetiroFinal .nota i {
  color: #aaa !important;
}

/* === RETIRO: mismo look que COMPROBANTES + tipografía visible en fondo oscuro === */
#modalRetiro .titulo-comprobantes-pro,
#modalRetiroFinal .titulo-comprobantes-pro {
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

#modalRetiro .texto-titulo-minado,
#modalRetiroFinal .texto-titulo-minado {
  margin: 0;
  line-height: 1;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;      /* tamaño cómodo en modal */
  letter-spacing: .3px;
  color: #eaeaea;       /* texto claro */
  text-transform: uppercase;
}

#modalRetiro .icono-tarjeta-wrap,
#modalRetiroFinal .icono-tarjeta-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 50%;
}

#modalRetiro .icono-tarjeta,
#modalRetiroFinal .icono-tarjeta {
  font-size: 16px;
  line-height: 1;
  color: #fcd535;       /* mismo dorado */
  filter: drop-shadow(0 1.5px 5px #fcd53525);
}


/* ===== ACTIVIDAD DEL SISTEMA (panel angosto) ===== */
#modalActividad .modal-content{
  background: #ffffff !important;
  color: #111;
  max-width: min(480px, 92vw) !important;
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow:
    0 12px 40px rgba(0,0,0,.40),
    0 0 0 1px rgba(0,0,0,.06) inset;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* tabla un poco más compacta */
.actividad-table{
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ececec;
  border-radius: 10px;
  overflow: hidden;
}

.actividad-table thead th{
  background:#f6f6f6;
  text-align:left;
  font-weight:700;
  font-size:.86rem;
  color:#333;
  padding:8px 10px;           /* ⇦ menor padding */
  border-bottom:1px solid #e9e9e9;
}
.actividad-table tbody td{
  padding:8px 10px;           /* ⇦ menor padding */
  border-bottom:1px solid #eeeeee;
  font-size:.90rem;
  vertical-align: top;
  color:#222;
}

/* Encabezado del modal de actividad: icono a la izquierda + misma tipografía que COMPROBANTES */
#modalActividad .modal-content{ text-align: center; }

#modalActividad .actividad-header{
  display: flex;
  align-items: center;
  justify-content: center;   /* ⬅️ centra icono + título */
  gap: 8px;
  width: 100%;
  margin: 6px 0 12px;
  text-align: center;        /* refuerzo para el título */
}
#modalActividad .actividad-header i{
  color: #fcd535;            /* mismo amarillo de COMPROBANTES */
  font-size: 1.05rem;
  flex: 0 0 auto;
}

#modalActividad .actividad-title{
  font-family: 'Orbitron', sans-serif;  
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .0.3px;
  font-size: 1.3rem;
}

/* ===== Mejora visual panel de Actividad ===== */

/* Números alineados verticalmente (más realista en montos) */
#modalActividad .actividad-table{ font-variant-numeric: tabular-nums; }

/* Zebra + hover sutil */
#modalActividad .actividad-table tbody tr:nth-child(even){ background:#fafafa; }
#modalActividad .actividad-table tbody tr:hover{
  background:#fefcf4;                            /* toque cálido */
  box-shadow: inset 0 0 0 9999px rgba(252,213,53,.04);
}

/* Borde inferior limpio (ya lo tienes, reforzamos el último) */
#modalActividad .actividad-table tbody tr:last-child td{ border-bottom:0 !important; }

/* Estado como “chip” profesional */
#modalActividad .actividad-table td.estado{ text-align:center; }
#modalActividad .estado-chip{
  display:inline-flex; align-items:center; gap:8px;
  background:#eaf8ef;                 /* verde claro */
  color:#166534;                      /* verde oscuro */
  padding:5px 10px;
  border-radius:999px;
  font-weight:700;
  border:1px solid #bce5cb;           /* borde realista */
}
#modalActividad .estado-chip i{
  color:#16a34a;                      /* check en verde */
  font-size:0.9em;
}

/* Monto un poquito más “financiero” */
#modalActividad .monto{ font-feature-settings: "tnum" 1; }

/* Nota al pie del panel de Actividad (estilo profesional, sobrio) */
#modalActividad .actividad-footnote{
  margin: 10px 6px 12px;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: .78rem;         /* más pequeño y discreto */
  line-height: 1.35;
  color: #6b7280;            /* gris neutro, similar a “Protección de datos” */
  text-align: center;
}

/* ===== Ajuste responsivo del modal de Actividad (contenido no se sale) ===== */
#modalActividad .modal-content{ overflow: hidden; }     /* recorta cualquier desborde visual */
#modalActividad .actividad-table{
  table-layout: fixed;    /* fuerza a que las columnas respeten el ancho del modal */
  width: 100%;
}

/* Celdas: que recorten o partan texto en lugar de crecer el ancho */
#modalActividad .actividad-table th,
#modalActividad .actividad-table td{
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;   /* permite saltos de línea en textos largos (TxID) */
  white-space: normal;      /* permite que baje a 2 líneas si hace falta */
}

/* Columna “Estado”: ancho fijo suficiente para el chip */
#modalActividad .actividad-table td.estado,
#modalActividad .actividad-table th.estado{
  width: 120px;             /* ajusta si lo quieres un poco más/menos */
}

/* Chip de estado más compacto (no se desborda) */
#modalActividad .estado-chip{
  max-width: 100%;
  white-space: nowrap;      /* mantiene una sola línea dentro de su celda */
  font-size: .80rem;
  padding: 4px 8px;
}

/* ===== Modal Actividad: tipografía compacta + NO quiebres en Fecha/Monto ===== */
#modalActividad .actividad-title{ font-size: 1.10rem; }
#modalActividad .actividad-table thead th{ font-size: .78rem; padding: 6px 8px; }
#modalActividad .actividad-table tbody td{  font-size: .82rem; padding: 6px 8px; }

/* Evitar saltos de línea en FECHA (col 1) y MONTO (col 4) */
#modalActividad .actividad-table th:nth-child(1),
#modalActividad .actividad-table td:nth-child(1),
#modalActividad .actividad-table th:nth-child(4),
#modalActividad .actividad-table td:nth-child(4){
  white-space: nowrap;     /* todo en una sola línea */
  word-break: normal;      /* anular cortes agresivos */
  overflow: hidden;
  text-overflow: ellipsis; /* si no cabe, mostrar “…” */
}

/* Chip de estado ligeramente más compacto (evita desborde) */
#modalActividad .estado-chip{
  font-size: .80rem;
  padding: 4px 8px;
  white-space: nowrap;
  max-width: 100%;
}

/* ===== Modal Actividad: más angosto sin perder TxID ===== */

/* Tipos y paddings más compactos en toda la tabla */
#modalActividad .actividad-table thead th { font-size: .74rem; padding: 5px 8px; }
#modalActividad .actividad-table tbody td {  font-size: .78rem; padding: 5px 8px; }

/* FECHA: 2 líneas controladas (fecha y TxID), sin cortes raros */
#modalActividad .actividad-table td:nth-child(1){ 
  white-space: normal !important;     /* anula el nowrap previo de la col 1 */
}
#modalActividad .actividad-table td:nth-child(1) .fecha-dia,
#modalActividad .actividad-table td:nth-child(1) .txid{
  display: block; 
  white-space: nowrap;                /* cada línea en una sola fila */
  overflow: hidden;
  text-overflow: ellipsis;            /* si falta espacio, muestra "…" al final */
  line-height: 1.15;
}
#modalActividad .actividad-table td:nth-child(1) .fecha-dia{ font-weight: 600; }
#modalActividad .actividad-table td:nth-child(1) .txid{  font-size: .60rem; color:#444; }

/* Estilo de la etiqueta 'TxID:' en el modal de Actividad */
#modalActividad .actividad-table td:nth-child(1) .txid-label{
  font-size: .64rem !important;
  color: #555 !important;     /* gris profesional */
  display: inline-block;
  line-height: 1.2;
}

/* Modal Actividad — reducir el espacio entre “TxID:” y el número */
#modalActividad .actividad-table td:nth-child(1) .txid{
  margin-top: 0 !important;        /* antes tenía ~2px */
  line-height: 1.05 !important;     /* compacto, legible */
}

#modalActividad .actividad-table td:nth-child(1) .txid-label{
  line-height: 1.05 !important;     /* igual que la línea de abajo */
  display: inline-block;            /* asegura que el line-height aplique */
}

/* MONTO: en una sola línea y un poco más compacto */
#modalActividad .actividad-table td:nth-child(4),
#modalActividad .actividad-table th:nth-child(4){
  white-space: nowrap !important;
}
#modalActividad .monto{ font-size: .78rem; }

/* ESTADO: columna y chip más pequeños para que todo quepa */
#modalActividad .actividad-table th.estado,
#modalActividad .actividad-table td.estado{ width: 108px !important; }  /* antes 120px */
#modalActividad .estado-chip{
  font-size: .75rem !important;
  padding: 3px 8px !important;
  gap: 6px !important;
}

/* Tipo y Usuario también un toque más chicos para equilibrar */
#modalActividad .actividad-table td:nth-child(2),
#modalActividad .actividad-table td:nth-child(3){
  font-size: .76rem;
}

/* ===== Modal Actividad — más angosto ===== */
#modalActividad .modal-content{
  max-width: min(380px, 92vw) !important; /* antes 380px */
}

/* Tabla aún más compacta */
#modalActividad .actividad-table{ table-layout: fixed; width: 100%; }
#modalActividad .actividad-table thead th{ font-size:.70rem; padding:4px 6px; }
#modalActividad .actividad-table tbody td{  font-size:.74rem; padding:4px 6px; }

/* Col 1 (Fecha + TxID): permite 2 líneas para no perder el TxID */
#modalActividad .actividad-table th:nth-child(1),
#modalActividad .actividad-table td:nth-child(1){
  white-space: normal !important;
  line-height: 1.15;
}

/* Col 4 (Monto): en una sola línea */
#modalActividad .actividad-table th:nth-child(4),
#modalActividad .actividad-table td:nth-child(4){
  white-space: nowrap !important;
}

/* Col 5 (Estado): más estrecha y chip compacto */
#modalActividad .actividad-table th.estado,
#modalActividad .actividad-table td.estado{ width: 96px !important; }

#modalActividad .estado-chip{
  font-size: .70rem !important;
  padding: 3px 6px !important;
  white-space: nowrap;
  max-width: 100%;
}

/* ===== Modal Actividad — tipografía más pequeña para ver todo el contenido ===== */
#modalActividad .actividad-title{ font-size: 1.02rem; }

/* Encabezados y celdas más chicos */
#modalActividad .actividad-table thead th{ font-size: .68rem; padding: 4px 6px; }
#modalActividad .actividad-table tbody td{  font-size: .72rem; padding: 4px 6px; }

/* Columna 1 (Fecha + TxID): que MUESTRE TODO (puede usar 2 líneas) */
#modalActividad .actividad-table th:nth-child(1),
#modalActividad .actividad-table td:nth-child(1){
  white-space: normal !important;   /* permite salto entre fecha y TxID */
  word-break: break-word;           /* por si el TxID es largo */
  line-height: 1.15;
  font-size: .70rem;                /* un poco más pequeño que el resto */
  overflow: visible;                /* sin recortes */
  text-overflow: clip;              /* sin puntos suspensivos */
}

/* Columna 4 (Monto): que se vea COMPLETO en una sola línea */
#modalActividad .actividad-table th:nth-child(4),
#modalActividad .actividad-table td:nth-child(4){
  white-space: nowrap !important;
  font-size: .72rem;
}

/* Columna 5 (Estado) y chip más compactos para que quepan sin cortar */
#modalActividad .actividad-table th.estado,
#modalActividad .actividad-table td.estado{ width: 92px !important; }

#modalActividad .estado-chip{
  font-size: .68rem !important;
  padding: 2px 6px !important;
  white-space: nowrap;
  max-width: 100%;
}

/* Nota al pie ligeramente más pequeña para mantener proporción */
#modalActividad .actividad-footnote{ font-size: .59rem; }

/* ===== Modal Actividad — tamaños afinados para que se vea TODO ===== */

/* Título un toque más pequeño */
#modalActividad .actividad-title{ font-size: .98rem !important; }

/* Encabezados y celdas: tipografía/padding más compactos */
#modalActividad .actividad-table thead th{
  font-size: .66rem !important;
  padding: 3px 6px !important;
}
#modalActividad .actividad-table tbody td{
  font-size: .70rem !important;
  padding: 4px 6px !important;
  line-height: 1.25 !important;
}

/* Mostrar contenido completo en celdas por defecto (sin “…” ni recortes) */
#modalActividad .actividad-table th,
#modalActividad .actividad-table td{
  white-space: normal !important;
  word-break: break-word !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Columna 1 (Fecha + TxID): permitir 2 líneas y que se lea todo */
#modalActividad .actividad-table th:nth-child(1),
#modalActividad .actividad-table td:nth-child(1){
  white-space: normal !important;
  line-height: 1.22 !important;
  font-size: .68rem !important;
}

/* Columna 4 (Monto): en UNA sola línea pero más pequeña para que quepa */
#modalActividad .actividad-table th:nth-child(4),
#modalActividad .actividad-table td:nth-child(4){
  white-space: nowrap !important;
  font-size: .68rem !important;
}

/* Columna 5 (Estado) + chip compactos (que no se corten) */
#modalActividad .actividad-table th.estado,
#modalActividad .actividad-table td.estado{
  width: 90px !important;
}
#modalActividad .estado-chip{
  font-size: .66rem !important;
  padding: 2px 6px !important;
  white-space: nowrap !important;
  max-width: 100% !important;
}

/* ===== Modal Actividad — alinear Tipo/Usuario, TxID en línea aparte y chip más pequeño ===== */

/* Centrar y alinear bien las columnas "Tipo" y "Usuario" */
#modalActividad .actividad-table th:nth-child(2),
#modalActividad .actividad-table td:nth-child(2),
#modalActividad .actividad-table th:nth-child(3),
#modalActividad .actividad-table td:nth-child(3){
  text-align: center !important;
}

/* Anchos razonables para que todo encaje */
#modalActividad .actividad-table th:nth-child(2),
#modalActividad .actividad-table td:nth-child(2){ width: 14% !important; } /* Tipo */
#modalActividad .actividad-table th:nth-child(3),
#modalActividad .actividad-table td:nth-child(3){ width: 18% !important; } /* Usuario */

/* FECHA + TxID: en líneas separadas (no en la misma) */
#modalActividad .actividad-table th:nth-child(1),
#modalActividad .actividad-table td:nth-child(1){
  white-space: normal !important;
  line-height: 1.2 !important;
}
#modalActividad .actividad-table .txid{
  display: block !important;      /* si existe el span/div .txid, fuerza salto */
  margin-top: 2px;
}

/* "Confirmado" más pequeño y contenido dentro de su columna */
#modalActividad .actividad-table th.estado,
#modalActividad .actividad-table td.estado{ width: 86px !important; }

#modalActividad .estado-chip{
  font-size: .47rem !important;
  padding: 2px 6px !important;
  gap: 4px !important;
  white-space: nowrap !important;
}
#modalActividad .estado-chip i{ font-size: .85em !important; }

/* ====== WC · MODAL ACTIVIDAD — LOOK DIGITAL MARCADO (SÓLO TABLA) ====== */
/* No cambia width/height/margins/paddings/font-size/line-height ni HTML. */

/* Tarjeta/tabla con profundidad limpia */
#modalActividad .actividad-table{
  background:#fff !important;
  border:1px solid rgba(15,18,26,.14) !important;
  border-radius:10px; /* respeta tu radius actual */
  box-shadow:
    0 10px 28px rgba(16,24,40,.12),
    inset 0 0 0 1px rgba(255,255,255,.85) !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Head más “fintech”: brillo superior + hairline inferior */
#modalActividad .actividad-table thead th{
  background:
    linear-gradient(180deg,#f9fafb 0%,#f3f4f6 100%) !important;
  color:#0f172a !important;
  border-bottom:1px solid rgba(15,18,26,.16) !important;
  text-shadow:0 1px 0 #fff !important;
}

/* Rejilla columnar (hairlines verticales) */
#modalActividad .actividad-table thead th,
#modalActividad .actividad-table tbody td{
  border-right:1px solid rgba(15,18,26,.06) !important;
}
#modalActividad .actividad-table thead th:last-child,
#modalActividad .actividad-table tbody td:last-child{
  border-right:none !important;
}

/* Cuerpo: tinta nítida + separadores */
#modalActividad .actividad-table tbody td{
  color:#0b1220 !important;
  border-bottom:1px solid rgba(15,18,26,.08) !important;
}

/* Zebra visible, pero elegante */
#modalActividad .actividad-table tbody tr:nth-child(even){
  background:#f9fbff !important;
}

/* Focus accesible sin mover nada */
#modalActividad .actividad-table tbody tr:focus-within{
  outline:2px solid rgba(252,213,53,.55);
  outline-offset:-2px;
}

/* Columna 1: Fecha/TxID con jerarquía marcada */
#modalActividad .actividad-table td:nth-child(1) .fecha-dia{
  color:#0b1220 !important; font-weight:700 !important;
}
#modalActividad .actividad-table td:nth-child(1) .txid-label{ color:#6b7280 !important; }
#modalActividad .actividad-table td:nth-child(1) .txid{ color:#667085 !important; }

/* Columnas 2 y 3 con gris técnico homogéneo */
#modalActividad .actividad-table td:nth-child(2),
#modalActividad .actividad-table td:nth-child(3){
  color:#374151 !important;
}

/* Columna 4 (Monto): lectura financiera y signo negativo sobrio */
#modalActividad .actividad-table td:nth-child(4){
  text-align:right !important;
  letter-spacing: .02em; /* sensación de número “de caja” */
}
#modalActividad .monto--neg{ color:#b42318 !important; }

/* Estado (chip) con micro-glass visible */
#modalActividad .estado-chip{
  display:inline-flex; align-items:center; gap:8px;
  background: linear-gradient(180deg,#eaf8ef 0%,#e1f2e8 100%) !important;
  color:#14532d !important;
  border:1px solid #bfe3cd !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.9) inset,
    0 2px 6px rgba(16,24,40,.12) !important;
}
#modalActividad .estado-chip i{ color:#16a34a !important; }

/* Nota al pie: pulido (sigue siendo parte del contenido de la tabla) */
#modalActividad .actividad-footnote{
  color:#6b7280 !important;
  text-shadow:0 1px 0 #fff;
}

/* Mantén todos los textos completos (sin “…” forzado) */
#modalActividad .actividad-table th,
#modalActividad .actividad-table td{
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* === Usuario en 2 líneas (prefijo arriba, sufijo abajo) === */
td.usuario .user-prefix,
td.usuario .user-suffix {
  display: block;
  line-height: 1.05;
}

/* === WC · Modal Actividad: anchos de columnas finales === */
#modalActividad .actividad-table{ table-layout: fixed; width: 100%; }

/* Reparto de ancho (suma ≈100%) */
#modalActividad .actividad-table th:nth-child(1),
#modalActividad .actividad-table td:nth-child(1){ width: 15% !important; } /* Fecha */

#modalActividad .actividad-table th:nth-child(2),
#modalActividad .actividad-table td:nth-child(2){ width: 14% !important; } /* Tipo */

#modalActividad .actividad-table th:nth-child(3),
#modalActividad .actividad-table td:nth-child(3){ width: 15% !important; } /* Usuario */

#modalActividad .actividad-table th:nth-child(4),
#modalActividad .actividad-table td:nth-child(4){ width: 20% !important; } /* Monto */

#modalActividad .actividad-table th:nth-child(5),
#modalActividad .actividad-table td:nth-child(5){ width: 20% !important; } /* Estado (más ancho) */

/* ===== Pulso resplandeciente corto y contenido ===== */
:root { --chip-accent: #22c55e; } /* tono esmeralda suave (fallback) */

@keyframes chipGlowShort {
  0%   { transform: scale(1);    filter: brightness(1) saturate(1); }
  35%  { transform: scale(1.03); filter: brightness(1.12) saturate(1.05); }
  100% { transform: scale(1);    filter: brightness(1) saturate(1); }
}

@keyframes chipInner {
  0%   { opacity: 0; }
  25%  { opacity: .85; }
  100% { opacity: 0; }
}

@keyframes chipBorder {
  0%   { opacity: 0; }
  30%  { opacity: .9; }
  100% { opacity: 0; }
}

/* Asegura que cualquier efecto quede DENTRO del chip */
#modalActividad .estado-chip {
  position: relative;
  overflow: hidden;          /* evita desbordes visuales */
}

/* Clase que se aplica solo al finalizar el conteo */
#modalActividad .estado-chip--pro {
  animation: chipGlowShort 650ms cubic-bezier(.22,1,.36,1) 1;
  will-change: transform, filter;
}

/* Resplandor INTERNO (no se sale) */
#modalActividad .estado-chip--pro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  /* glow interno */
  box-shadow: inset 0 0 14px 2px color-mix(in srgb, var(--chip-accent) 70%, transparent);
  opacity: 0;
  animation: chipInner 650ms ease-out 1 forwards;
}

/* Destello fino del borde */
#modalActividad .estado-chip--pro::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--chip-accent) 85%, transparent);
  opacity: 0;
  animation: chipBorder 650ms ease-out 1 forwards;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  #modalActividad .estado-chip--pro,
  #modalActividad .estado-chip--pro::before,
  #modalActividad .estado-chip--pro::after {
    animation: none !important;
  }
}

/* ——— Ajuste fino de alineación del chip de ESTADO ——— */
#modalActividad .estado-chip{
  line-height: 1 !important;  /* unifica altura de línea del chip */
  gap: 6px !important;         /* separación óptica icono-texto */
}
#modalActividad .estado-chip i{
  line-height: 1 !important;   /* evita desajustes verticales */
  position: relative;
  top: 0.5px;                   /* microajuste óptico opcional */
}

/* === WC · Modal Actividad: filas con ALTO FIJO y usuario en 2 líneas === */

/* 1) Alto fijo por transacción + centrado vertical del contenido */
#modalActividad .actividad-table tbody tr{
  height: 38px !important;          /* 2 líneas cómodas; ajusta a 46–52px si quieres */
}

/* 2) Usuario: SIEMPRE 2 líneas (User- arriba, sufijo abajo) sin romper ni crecer */
#modalActividad .actividad-table td.usuario{
  /* no permitimos que genere una 3ra línea */
  overflow: hidden !important;
}
#modalActividad .actividad-table td.usuario .user-prefix,
#modalActividad .actividad-table td.usuario .user-suffix{
  display: block !important;         /* ✅ seguimos en 2 líneas */
  white-space: nowrap !important;    /* cada línea en una sola fila */
  text-overflow: ellipsis !important;/* si no cabe, “…” al final */
  overflow: hidden !important;
  line-height: 1.05 !important;      /* líneas compactas y estables */
  margin: 0 !important;              /* sin márgenes que inflen la altura */
}

/* 3) Fecha y Monto: también sin quiebres para que no varíen la altura */
#modalActividad .actividad-table td:nth-child(1), /* Fecha/TxID si lo usas en una misma celda */
#modalActividad .actividad-table td:nth-child(4){ /* Monto */
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

/* === WC · Título ACTIVIDAD (mismo look que Tarjetas/Comprobantes, escala modal blanco) === */
#modalActividad .actividad-title-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;                     /* espacio entre icono y texto */
  padding:5px 10px;             /* compacto para el modal */
  border-radius:12px;           /* radio proporcional */
  width:fit-content;
  max-width:96%;
  margin:0 auto 14px auto;      /* centrado y con respiro inferior */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 4px 14px rgba(0,0,0,.10); /* sutil elevación */
}

/* Badge dorado del icono (reutiliza tu gradient) */
#modalActividad .icono-tarjeta-wrap{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 8px;             /* tamaño del badge */
  border-radius:50%;
  /* el radial-gradient ya está definido globalmente para esta clase */
}

#modalActividad .icono-tarjeta{
  font-size:16px;              /* tamaño óptimo del icono */
  line-height:1;
  color:#fcd535;
}

/* Texto: misma “voz” que el resto de títulos, alineado */
#modalActividad .actividad-title{
  margin:0;
  line-height:1;
  display:flex;
  align-items:center;
}

/* ——— Modal Actividad: título en UNA sola línea y tamaño adecuado ——— */
#modalActividad .actividad-title{
  margin: 0;
  line-height: 1;
  white-space: nowrap;                         /* ✅ no permite salto de línea */
  font-size: .90rem !important;
  letter-spacing: .5px;                        /* misma estética */
  display: flex;
  align-items: center;
}

/* === OVERRIDES DE ELEVACIÓN PARA ACTIVIDAD (van al FINAL) === */
#modalActividad .actividad-table{
  border-radius: 12px !important;
  box-shadow:
    0 16px 48px rgba(16,24,40,.22),
    0 4px 12px rgba(16,24,40,.10),
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(15,18,26,.08) !important;
}
#modalActividad .actividad-table thead th{
  background: linear-gradient(180deg,#fbfbfc 0%,#eef0f4 100%) !important;
  text-shadow: 0 1px 0 #fff !important;
  border-bottom: 1px solid rgba(15,18,26,.18) !important;
}
/* Fila flotante */
#modalActividad .actividad-table tbody tr{
  transition: filter .18s ease, box-shadow .18s ease;
}
#modalActividad .actividad-table tbody tr:hover{
  filter: brightness(1.02);
  box-shadow: 0 2px 0 rgba(252,213,53,.20) inset;
  background: #fffff6 !important;
}
/* Halo al contenedor del modal */
#modalActividad .modal-content{
  box-shadow:
    0 18px 55px rgba(0,0,0,.40),
    0 0 0 1px rgba(0,0,0,.06) inset !important;
}


/* ----------- MODAL DE PERFIL ----------- */
/* === PERFIL (tamaños y jerarquía profesionales) === */
.perfil-modal{
  text-align: left !important;
  max-width: 680px !important;     /* más compacto que antes */
  padding: 20px !important;
}

/* --- FIX anti-salto en encabezado del perfil --- */
.perfil-heading{ display:flex; align-items:left; gap:8px; }
.perfil-usuario{ display:inline-block; }

/* Header: ajusta la 1ª columna al nuevo ancho del avatar */
.perfil-header{
  display: grid;
  grid-template-columns: 88px 1fr;   /* ← antes 64px */
  gap: 14px;
  align-items: center;
}
.perfil-arrow{ display:none !important; }

/* Avatar: óvalo vertical y centrado */
.perfil-avatar{
  width: 90px;                        /* ← antes 64px */
  height: 115px;                      /* ← alto mayor para el óvalo */
  border-radius: 50%;                 /* con ancho≠alto → forma el óvalo */
  background: radial-gradient(ellipse at center, #1e1f23 55%, #1b1c1f 56%) #1b1c1f;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.04);
}

.perfil-avatar::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  box-shadow:
    inset 0 0 0 2px rgba(139,0,0,.55),   /* aro rojo fino */
    0 0 18px rgba(139,0,0,.28);          /* halo suave */
  pointer-events:none;
}

/* Si quedó algún <i> antiguo, lo ocultamos */
.perfil-avatar i{ display: none !important; }

/* Silueta dentro del óvalo (un poco más grande) */
.perfil-avatar .icon-baphomet-img{
  width: 78px;                        /* ← antes 52px */
  height: 96px;                       /* ← aprovecha el alto del óvalo */
  display: block;
  object-fit: contain;
  /* mantener blanco y nítido */
  image-rendering: -webkit-optimize-contrast;
}

/* Tipografías (UID/DNI < Usuario) */
.perfil-id{   font-size:.88em; color:#aab2bd; line-height:1.2; }
.perfil-dni{  font-size:.88em; color:#aab2bd; line-height:1.2; margin-top:2px; }
.perfil-usuario{
  font-size:1.6em;                 /* usuario protagonista pero sobrio */
  font-weight:700; color:#fff; margin-top:6px;
}


/* Separador */
.perfil-separador{
  margin:16px 0 14px; height:1px; width:100%;
  background: linear-gradient(90deg, transparent, #2a2f36 30%, #2a2f36 70%, transparent);
}

/* === Forzar los 4 atajos en horizontal dentro del modal (espaciado igual) === */
.perfil-modal .atajos-grid.binance{
  display: grid !important;
  grid-template-columns: repeat(4, 96px) !important; /* 4 columnas del mismo ancho */
  justify-content: space-evenly;                      /* misma distancia entre todos y a los bordes */
  column-gap: 0;                                      /* sin gap horizontal, para no romper el reparto */
  row-gap: 6px;                                      /* solo separación vertical */
  align-items: start;
}

/* Botón compacto (ya sin amarillo) — mantiene tamaño pequeño */
.perfil-modal .atajos-grid .atajo-item{
  width: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* Tile e icono pequeños */
.perfil-modal .atajos-grid .atajo-tile{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #2b3138;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.perfil-modal .atajos-grid .atajo-tile i{ font-size:16px; color:#fff; }

.perfil-modal .atajos-grid .atajo-label{
  font-size: .82em; font-weight:600; color:#e6e6e6; text-align:center;
}

/* Hover sutil SIN cambio de color */
.perfil-modal .atajos-grid .atajo-item:hover .atajo-tile,
.perfil-modal .atajos-grid .atajo-item:focus-visible .atajo-tile{
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.10);
}

/* === Tipografía premium en header del perfil === */
.perfil-usuario{
  font-size: 24px !important;       /* 22–24px desktop */
  line-height: 1.15 !important;
  color: #ffffff !important;        /* blanco suave */
  letter-spacing: 0 !important;
}
.perfil-id,
.perfil-dni{
  font-size: 13px !important;
  line-height: 1.35 !important;
  letter-spacing: 0.3px !important; /* micro-tracking para meta */
  color: #AAB2BD !important;        /* gris frío */
}

/* === Avatar: anillo, sombra y capa para la llama === */
.perfil-avatar{
  position: relative;               /* asegurar posicionamiento local */
  overflow: hidden;                 /* recorta al óvalo */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),  /* highlight interno sutil */
    0 6px 16px rgba(139,0,0,.18);           /* sombra exterior muy leve (rojo ojo) */
}
.perfil-avatar .icon-baphomet-img{
  position: relative;
  z-index: 2;                       /* por encima de la llama */
}

/* SVG “llama” detrás del avatar */
.perfil-avatar .avatar-flame{
  position: absolute;
  inset: 0;
  z-index: 1;                       /* debajo de la silueta, dentro del óvalo */
  pointer-events: none;
}

/* Respeta accesibilidad: si el usuario reduce movimiento, mantenlo estático */
@media (prefers-reduced-motion: reduce){
  .perfil-avatar .avatar-flame *[dur] { animation: none !important; }
}

/* === Destello rojo premium alrededor del óvalo (permanente) === */
.perfil-avatar{
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 0 12px rgba(139,0,0,.20),  /* ↓ menos opaco, más blur */
    0 0 24px rgba(139,0,0,.12);  /* ↓ más suave aún */
}

/* realce superior suave (sin animación) */
.perfil-avatar::after{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:50%;
  background:
    radial-gradient(ellipse 96% 54% at 50% 14%,
      rgba(139,0,0,.16) 0%,
      rgba(139,0,0,.10) 30%,
      rgba(139,0,0,.04) 48%,
      transparent 60%);
  filter: blur(12px);              /* ↑ un poco más de blur */
  z-index:1;
  pointer-events:none;
}

/* mantén la silueta por encima de todo */
.perfil-avatar .icon-baphomet-img{
  z-index: 2;
  position: relative;
}

/* --- HEADER DEL PERFIL: más tipo exchange real --- */

.perfil-header{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.perfil-info{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* línea de arriba: usuario + badge */
.perfil-heading{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.perfil-usuario{
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* línea UID / DI */
.perfil-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #aab2bd;
  letter-spacing: 0.02em;
}

.perfil-meta .perfil-separador{
  opacity: 0.5;
}


/* ----------- BOTÓN CERRAR SESIÓN ----------- */
/* Contenedor del botón para separar del grid */
.perfil-modal .perfil-footer-actions{
  margin-top: 14px;
}

/* Botón largo, oscuro y profesional (override al amarillo global) */
.perfil-modal .btn-logout{
  width: 100%;
  background: #2b3138 !important;             /* oscuro neutro */
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.03);
  transition: background .18s ease, border-color .18s ease, transform .04s ease;
}

/* Hover/active sutiles */
.perfil-modal .btn-logout:hover{
  background: #343c46 !important;
  border-color: rgba(255,255,255,.12);
}
.perfil-modal .btn-logout:active{
  transform: translateY(1px);
}

/* Ícono */
.perfil-modal .btn-logout i{
  font-size: 16px;
  line-height: 1;
  opacity: .95;
}

/* Centrar el botón de Cerrar sesión cuando está dentro del grid de atajos */
.perfil-modal .atajos-grid.binance .btn-logout{
  grid-column: 1 / -1;                   /* ocupa toda la fila del grid */
  justify-self: center;                   /* centrado horizontal */
  align-self: start;
  width: min(420px, 100%) !important;     /* ancho razonable, no a todo el modal */
  margin-top: 14px;                       /* separación del grid */
}

/* === Modal Referencias + Retiro OK: jerarquía + separación + chip === */
#modalReferencia .ref-msg,
#modalRetiroOk .ref-msg,
#modalRetiroRef .ref-msg{
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.55;
}

#modalReferencia .ref-callout,
#modalRetiroOk .ref-callout,
#modalRetiroRef .ref-callout{
  background: #141414;
  border-left: 3px solid #fcd535;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
}

/* separador tenue antes del ejemplo */
#modalReferencia .ref-ejemplo,
#modalRetiroOk .ref-ejemplo,
#modalRetiroRef .ref-ejemplo{
  margin-top: 12px;
  text-align: left;
}
#modalReferencia .ref-ejemplo::before,
#modalRetiroOk .ref-ejemplo::before{
  content:"";
  display:block;
  height:1px;
  margin:10px 0 12px;
  background: linear-gradient(90deg, transparent, rgba(252,213,53,0.35), transparent);
}

#modalReferencia .ref-chip,
#modalRetiroOk .ref-chip,
#modalRetiroRef .ref-chip{
  display:inline-block;
  background:#262626;
  color:#cfcfcf;
  border:1px solid #2f2f2f;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing:.2px;
  padding: 3px 8px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

#modalReferencia .ref-quote,
#modalRetiroOk .ref-quote,
#modalRetiroRef .ref-quote{
  display:block;
}
#modalReferencia .ref-ejemplo strong,
#modalRetiroOk .ref-ejemplo strong,
#modalRetiroRef .ref-ejemplo strong {
    color: #fcd535;        /* Color dorado */
    font-weight: 800;      /* Negrita */
    font-size: 0.96em;      /* Tamaño del texto ajustado */
}


/* Nota de privacidad (modal Referencias + Retiro OK) */
#modalReferencia .nota,
#modalRetiroOk .nota,
#modalRetiroRef .nota{
  margin-top: 4px;
  font-size: 0.6rem;
  color: #aaa;
  line-height: 1.45;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-align: center;
  width: 100%;
}

#modalReferencia .nota i,
#modalRetiroOk .nota i,
#modalRetiroRef .nota i{
  color: #aaa;
  margin-top: 2px;
}

/* === MODAL AVISO RETIROS – estilo profesional === */

#modalAvisoRetiros .aviso-minimo{
  max-width: 380px;
  padding: 22px 24px 20px;
  border-radius: 16px;
  background: radial-gradient(900px 420px at 50% -40%, rgba(252,213,53,0.10), transparent 60%),
              #050608 !important;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.95),
    0 0 0 1px rgba(0,0,0,0.9);
  text-align: center;
}

/* Icono arriba, discreto */
#modalAvisoRetiros .aviso-icono{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #0b0f19;
  border: 1px solid rgba(252,213,83,0.6);
  box-shadow: 0 4px 12px rgba(0,0,0,0.85);
}

#modalAvisoRetiros .aviso-icono i{
  font-size: 1rem;
  color: #fcd535;
}

/* Texto, sin tarjeta extra, tipografía clara */
#modalAvisoRetiros .aviso-texto{
  margin: 0 0 18px;
  color: #e5e7eb;
  font-size: 0.83rem;
  line-height: 1.5;
}

/* Botón ACEPTAR consistente con el resto */
#modalAvisoRetiros button{
  background: linear-gradient(180deg, #fcd535 0%, #f5c822 100%);
  color: #0b0e11;
  font-weight: 800;
  font-size: 0.9rem;
  border: 0;
  border-radius: 10px;
  padding: 9px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.85);
  transition: filter 0.16s ease, transform 0.04s ease;
}

#modalAvisoRetiros button:hover{
  filter: brightness(1.04);
}

#modalAvisoRetiros button:active{
  transform: translateY(1px);
}

/* ----------- OTROS ----------- */

.error {
  color: #ff4d4d;
  font-size: 0.8em;
  margin-top: 8px;
  margin-bottom: 4px;
  text-align: center; /* ✅ CENTRADO */
transition: opacity 0.3s ease;
}
.hidden {
  opacity: 0;
  pointer-events: none;
}

.fade-in {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ----------- DETALLE DE TRANSACCIONES REALISTAS ----------- */

.nota {
  font-size: 0.75em;
  color: #aaa;
  text-align: center;
  margin-top: 10px;
}

.hash-info {
  font-size: 0.75em;
  color: #888;
}
#modalActividad .tipo-deposito,
#modalActividad .tipo-retiro,
#modalActividad .tipo-registro {
  color: inherit;
  font-weight: 600;
}

.modal-close-red {
  position: absolute;
  top: -2px;
  right: 8px;
  width: 24px;
  height: 24px;
  background-color: #d00000 !important;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important; 
  cursor: pointer;
}

.modal-close-red i {
  font-size: 13px;
  line-height: 1;
  color: #fff !important;
  display: block;
}

.modal-close-red:hover {
  background-color: #a80000;
}

body.modal-abierto {
  overflow: hidden;
}

.icono-reloj {
  margin-right: 8px;
  font-size: 1.1em;
  vertical-align: middle;
  color: #fcd535; /* o blanco si usas fondo oscuro */
}

/* --- Encabezado TARJETAS MINADAS refinado --- */
.titulo-minado-texto {
  display: flex;
  justify-content: center; /* o start/end si prefieres */
  align-items: center;
}

/* Fondo oscuro para el modal de minado */
#modalMinado .modal-content {
  background-color: #1a1a1a !important;
  text-align: center;
  max-width: 420px;
  width: 100%;
  position: relative;
  padding: 30px;
  border-radius: 14px;
  border: 1.2px solid rgba(255,255,255,0.045);
  box-shadow:
    0 0 20px rgba(252, 213, 53, 0.2),
    0 8px 32px rgba(20,22,35,0.25),
    0 1.5px 0px rgba(80,85,100,0.12) inset;
}
:contentReference[oaicite:0]{index=0}

#modalMinado .tarjeta {
    background: #0a0a0a !important;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
}

/* Estilo visual de tarjeta bancaria */
#modalMinado .tarjeta {
  background: #fff;
  color: #000;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-family: 'Inter', sans-serif;
  text-align: center;
  transition: transform 0.2s ease;
  max-width: 340px;
}

#modalMinado .tarjeta:hover {
  transform: scale(1.02);
}

#modalMinado .tarjeta-cuerpo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#modalMinado .tarjeta-saldo {
  font-size: 1.1em;
  font-weight: bold;
  color: #111;
}

#modalMinado .tarjeta-precio {
  font-size: 0.9em;
  color: #666;
}

#modalMinado .btn-activar {
  background-color: #f0b90b !important;
  color: #000;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#modalMinado .btn-activar:hover {
  background-color: #ffe45c;
}

/* Botón de cerrar del modal */
#modalMinado button {
  margin-top: 25px;
  font-size: 1em;
}

#modalMinado #tarjetas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-height: 685px;  /* antes 660px */
  max-width: 500px;   /* NUEVO: agranda el ancho */
  width: 100%;
  overflow-x: hidden;
  padding-right: 50px;
  margin-left: auto;
  margin-right: auto;
}


#modalMinado .texto-titulo-minado {
  font-size: 1.4em;
  color: #ffffff;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  white-space: nowrap;
  font-weight: bold;
  letter-spacing: 1px;
}

#modalMinado .btn-activar {
  margin-top: 16px;
  width: 100%;
  padding: 10px;
  background: #fcd535;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

#modalMinado .btn-activar:hover {
  background: #ffe45c;
}

.tarjeta-diseño {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  margin-bottom: 50px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  text-align: center;
  overflow: visible;
  padding-bottom: 40px; /* espacio para botón flotante */
}

.wc-card-logo {
  font-weight: bold;
  font-size: 1.1em;
  text-align: left;
  margin: 0 0 4px 12px;
  position: relative;
  top: -6px; /* 🔼 Ajustá este valor para moverlo hacia abajo o arriba */
}

.chip-saldo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.chip-real {
  width: 40px;
  height: 30px;
  background: repeating-linear-gradient(
    45deg,
    #ccc,
    #ccc 4px,
    #aaa 4px,
    #aaa 8px
  );
  border: 1px solid #999;
  border-radius: 6px;
 margin-left: 20px;
}

.tarjeta-saldo {
  font-weight: bold;
  font-size: 1em;
}

.tarjeta-numero {
  font-size: 1.3em;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.tarjeta-valido {
  font-size: 0.75em;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

#modalMinado .btn-activar {
  background: #111;
  color: #fcd535;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: background 0.3s ease;
  z-index: 2;
  width: fit-content;
}

#modalMinado .btn-activar:hover {
  background: #333;
}

.tarjeta-chip-saldo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tarjeta-saldo {
  font-weight: bold;
  font-size: 1em;
}

#modalMinado .modal-close-red {
  top: -16px; 
}

/* === Alineación profesional del modal de Actividad === */
#modalActividad .actividad-table thead th{
  text-align: left !important;
}

/* Texto a la izquierda: Fecha (1), Tipo (2), Usuario (3), Estado (5) */
#modalActividad .actividad-table th:nth-child(1),
#modalActividad .actividad-table th:nth-child(2),
#modalActividad .actividad-table th:nth-child(3),
#modalActividad .actividad-table th:nth-child(5),
#modalActividad .actividad-table td:nth-child(1),
#modalActividad .actividad-table td:nth-child(2),
#modalActividad .actividad-table td:nth-child(3),
#modalActividad .actividad-table td:nth-child(5){
  text-align: left !important;
}

/* Monto (4) a la derecha */
#modalActividad .actividad-table th:nth-child(4),
#modalActividad .actividad-table td:nth-child(4){
  text-align: right !important;
}

/* Si alguna celda de Estado tiene la clase .estado, también a la izquierda */
#modalActividad .actividad-table th.estado,
#modalActividad .actividad-table td.estado{
  text-align: left !important;
}

/* === Fix: Monto a la IZQUIERDA (título y celdas) === */
#modalActividad .actividad-table thead th:nth-child(4),
#modalActividad .actividad-table tbody td:nth-child(4){
  text-align: left !important;
}

/* ----------- ESTILO PREMIUM ----------- */
#modalMinado .tarjeta-premium {
  background: transparent;
  animation: pulse-glow 3s infinite ease-in-out;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  position: relative;
  z-index: 0;
  box-shadow: 0 0 120px 32px rgba(252, 213, 53, 1);
}


/* Fondo interior dorado elegante */
#modalMinado .tarjeta-premium .tarjeta-diseño {
  background: linear-gradient(135deg, #3b2c13, #a8842a);
}

/* Logo dorado (mantener como ya está) */
#modalMinado .tarjeta-premium .wc-card-logo {
  font-family: 'Playfair Display', serif;
  color: #d4af37; /* oro elegante y no saturado */
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.6); /* sombra más marcada */
}

#modalMinado .tarjeta-premium .tarjeta-saldo {
  font-size: 1.4em;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Texto dentro en blanco para contraste */
#modalMinado .tarjeta-premium .tarjeta-saldo,
#modalMinado .tarjeta-premium .tarjeta-numero,
#modalMinado .tarjeta-premium .tarjeta-valido {
  color: #fff;
}

/* === Shine effect sobre tarjeta PREMIUM === */
#modalMinado .tarjeta-premium .tarjeta-diseño {
  position: relative;
  overflow: hidden;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(252, 213, 53, 0.4);
  }
  50% {
    box-shadow: 0 0 45px rgba(252, 213, 53, 0.8);
  }
}

#modalMinado .tarjeta {
  position: relative;
  overflow: visible;
  z-index: 0;
}

#modalMinado .tarjeta-premium .btn-activar {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

#modalMinado .tarjeta {
  position: relative;
  z-index: 0;
  overflow: visible; /* Asegura que lo que sobresale se vea */
}

#modalMinado .tarjeta-premium .tarjeta-diseño {
  overflow: visible !important;
}

#modalMinado .tarjeta-premium .btn-activar {
  z-index: 100 !important;
}

#modalMinado .tarjeta-premium .tarjeta-diseño {
  position: relative;
  z-index: 1; /* ⬅️ obliga a que el ::before quede detrás del botón */
}

/* Efecto metálico solo para el chip de la tarjeta PREMIUM */
#modalMinado .tarjeta-premium .chip-real {
  background: linear-gradient(135deg, #e6d09c 0%, #a8842a 40%, #fffbe6 60%, #d4af37 100%);
  border: 1.7px solid #d4af37;
  box-shadow: 0 2px 8px rgba(212,175,55,0.38), 0 0px 0 #fff;
  position: relative;
  overflow: hidden;
}

#modalMinado .tarjeta-premium .chip-real::before {
  content: "";
  position: absolute;
  left: -25%;
  top: -40%;
  width: 150%;
  height: 180%;
  background: linear-gradient(120deg, transparent 60%, #fff9 80%, transparent 100%);
  opacity: 0.8;
  pointer-events: none;
  transform: rotate(10deg);
  animation: brillo-premium-chip 2.6s linear infinite;
  z-index: 1;
}

@keyframes brillo-premium-chip {
  0% { left: -25%; opacity: 0; }
  40% { opacity: 1; }
  60% { left: 50%; opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

/* Asegúrate que el logo quede arriba del brillo */
#modalMinado .chip-real .logo-usdt-chip {
  position: relative; /* ¡IMPORTANTE! No uses absolute aquí para centrar con flex */
  width: 17px;        /* o el tamaño que prefieras */
  height: 17px;
  z-index: 10;        /* Mayor que el de los rayos */
  pointer-events: none;
  filter: drop-shadow(0 1.5px 2.5px rgba(120,80,0,0.22));
}

#modalMinado .tarjeta-premium .tarjeta-diseño {
  background:
  radial-gradient(circle at 60% 40%, rgba(232, 189, 89, 0.08) 0, transparent 80%),
  linear-gradient(120deg, #46360d 0%, #967233 65%, #2a1b08 100%);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 18px #96723333, 0 3px 14px #0007, inset 0 8px 20px #fff2 0, inset 0 -2px 24px #22140970;
  z-index: 1;
}

#modalMinado .tarjeta-premium .tarjeta-diseño {
  position: relative;
  overflow: hidden; /* ¡Esto es CLAVE para recortar los rayos dentro! */
}

/* Rayos animados desde la esquina superior izquierda */
#modalMinado .tarjeta-premium .tarjeta-diseño {
  position: relative;
  overflow: hidden;
}

#modalMinado .tarjeta-premium .tarjeta-diseño {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background:
    /* Líneas finas y regulares */
    repeating-linear-gradient(113deg, rgba(220,200,110,0.09) 0 2px, transparent 2px 15px),
    /* Líneas más gruesas y tenues */
    repeating-linear-gradient(118deg, rgba(140,110,30,0.05) 0 6px, transparent 6px 21px),
    /* Líneas más difusas */
    repeating-linear-gradient(114deg, rgba(255,255,255,0.04) 0 1.5px, transparent 1.5px 11px),
    /* Luz ambiental suave (más realismo) */
    linear-gradient(120deg, rgba(255,245,210,0.04) 0%, transparent 60%),
    /* Degradado lateral para volumen */
    linear-gradient(108deg, transparent 60%, rgba(34,21,8,0.18) 100%),
    /* Fondo dorado */
    linear-gradient(117deg, #2a1d09 0%, #6b5725 38%, #a18a3e 60%, #5a471c 85%, #181006 100%);
  box-shadow:
    0 0 12px #8c793330,
    0 2px 9px #0004,
    inset 0 2px 16px #0005,
    inset 0 -7px 16px #2e1f0d36;
  border: 1px solid #5a471c;
}

#modalMinado .tarjeta-premium .chip-real::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.8;
  background:
    /* verticales y horizontales */
    linear-gradient(0deg, transparent 24%, #e8d9a7 26%, #9c8231 28%, transparent 30%),
    linear-gradient(90deg, transparent 33%, #e8d9a7 36%, #9c8231 38%, transparent 40%),
    linear-gradient(0deg, transparent 54%, #e8d9a7 56%, #9c8231 58%, transparent 60%),
    linear-gradient(90deg, transparent 68%, #e8d9a7 71%, #9c8231 73%, transparent 75%),
    /* diagonales */
    linear-gradient(33deg, transparent 40%, #e8d9a7 43%, #9c8231 46%, transparent 49%),
    linear-gradient(-33deg, transparent 55%, #e8d9a7 58%, #9c8231 61%, transparent 64%),
    /* curvas simuladas */
    radial-gradient(ellipse 40% 25% at 22% 60%, rgba(233,222,170,0.9) 3%, transparent 70%),
    radial-gradient(ellipse 36% 22% at 78% 40%, rgba(233,222,170,0.7) 5%, transparent 70%);
}

.logo-iluminati-premium {
  position: absolute;
  top: 5px;
  right: 13px;      /* Mueve más a la izquierda aumentando este número */
  width: 125px;     /* Ajusta el tamaño si lo deseas */
  opacity: 0.13;    /* Visibilidad del logo */
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.30));
  pointer-events: none;
  z-index: 3;
}

/* Sombra de piso bajo la pirámide */
.logo-iluminati-premium::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;  /* Ajusta para que quede justo bajo la base de la pirámide */
  transform: translateX(-50%);
  width: 82%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.17) 60%, transparent 100%);
  filter: blur(2.8px);
  z-index: 1;
  pointer-events: none;
}

/* Glow dorado muy suave */
.logo-iluminati-premium::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;   /* Un poco más arriba que la sombra negra */
  transform: translateX(-50%);
  width: 60%;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(255, 214, 100, 0.11) 0%, transparent 100%);
  filter: blur(6px);
  z-index: 1;
  pointer-events: none;
}

/* ----------- ESTILO PLUS ----------- */
#modalMinado .tarjeta-plus {
  background: transparent;
}

#modalMinado .tarjeta-plus .tarjeta-diseño {
  background: linear-gradient(135deg, #1a237e, #3949ab); /* Azul mate oscuro a medio */
}

/* Texto en blanco para visibilidad */
#modalMinado .tarjeta-plus .tarjeta-saldo,
#modalMinado .tarjeta-plus .tarjeta-numero,
#modalMinado .tarjeta-plus .tarjeta-valido {
  color: #ffffff;
}

#modalMinado .tarjeta-plus {
  background: transparent;
  box-shadow: 0 0 32px 7px rgba(57, 140, 255, 0.34); /* Menos intenso y más elegante */
  transition: all 0.3s ease;
}

#modalMinado .tarjeta-plus:hover {
  box-shadow: 0 0 32px 7px rgba(57, 140, 255, 0.34); /* Exactamente igual al estado normal */
}

#modalMinado .tarjeta-plus .tarjeta-saldo {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

#modalMinado .tarjeta-plus .wc-card-logo {
  font-family: 'Playfair Display', serif;
  color: #b3cfff; /* Azul claro metálico */
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.6);
}

#modalMinado .tarjeta-plus .tarjeta-saldo {
  font-size: 1.3em;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

#modalMinado .tarjeta-plus .chip-real {
  background: linear-gradient(135deg, #b3cfff 0%, #1976d2 40%, #4061a4 100%);
  border: 1.5px solid #b3cfff;
  box-shadow: 0 2px 8px rgba(57,105,172,0.14), 0 0px 0 #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Líneas metálicas y efectos para el chip azul PLUS === */
#modalMinado .tarjeta-plus .chip-real::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
  background:
    /* Líneas horizontales y verticales */
    linear-gradient(0deg, transparent 24%, #d6ebff 26%, #2b67d6 28%, transparent 30%),
    linear-gradient(90deg, transparent 33%, #d6ebff 36%, #2b67d6 38%, transparent 40%),
    linear-gradient(0deg, transparent 54%, #d6ebff 56%, #2b67d6 58%, transparent 60%),
    linear-gradient(90deg, transparent 68%, #d6ebff 71%, #2b67d6 73%, transparent 75%),
    /* Diagonales */
    linear-gradient(33deg, transparent 40%, #a9d7ff 43%, #1976d2 46%, transparent 49%),
    linear-gradient(-33deg, transparent 55%, #a9d7ff 58%, #1976d2 61%, transparent 64%),
    /* Curvas simuladas */
    radial-gradient(ellipse 40% 25% at 22% 60%, rgba(90,175,255,0.5) 3%, transparent 70%),
    radial-gradient(ellipse 36% 22% at 78% 40%, rgba(90,175,255,0.3) 5%, transparent 70%);
}

#modalMinado .tarjeta-plus .logo-usdt-chip {
  position: relative;
  z-index: 10; /* Aumenta el z-index para estar encima de las líneas del chip */
  filter: drop-shadow(0 1px 2px rgba(32,76,150,0.12));
  width: 17px;
  height: 17px;
  object-fit: contain;
  display: block;
}

#modalMinado .tarjeta-plus .tarjeta-diseño {
  background:
    radial-gradient(circle at 65% 35%, rgba(100, 179, 255, 0.08) 0, transparent 80%),
    linear-gradient(120deg, #141c33 0%, #2963c6 50%, #1a237e 80%, #13223c 100%);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 22px #2963c633, 0 3px 12px #0006, inset 0 6px 18px #b3cfff0f, inset 0 -2px 16px #121a3370;
  z-index: 1;
}

#modalMinado .tarjeta .btn-activar {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: fit-content;
  background: #111;
  color: #fcd535;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1em;
  border: none;
  transition: background 0.3s;
}

#modalMinado .tarjeta .btn-activar:hover {
  background: #333;
}

/* ==== PRO WC ==== */
#modalMinado .tarjeta-pro {
  background: transparent;
  box-shadow: 0 0 38px 7px rgba(160, 180, 220, 0.18); /* glow más grande, tono frío */
  transition: all 0.3s ease;
}

#modalMinado .tarjeta-pro:hover {
  transform: scale(1.02);
  box-shadow: 0 0 38px 7px rgba(160, 180, 220, 0.18); /* glow más grande, tono frío */
}

#modalMinado .tarjeta-pro .tarjeta-diseño {
  background: linear-gradient(135deg, #3a3a3a, #6e6e6e); /* degradado gris profesional */
}

#modalMinado .tarjeta-pro .tarjeta-saldo,
#modalMinado .tarjeta-pro .tarjeta-numero,
#modalMinado .tarjeta-pro .tarjeta-valido {
  color: #ffffff;
}

#modalMinado .tarjeta-pro .wc-card-logo {
  font-family: 'Playfair Display', serif;
  color: #cccccc; /* gris claro metálico */
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.6);
}

#modalMinado .tarjeta-pro .chip-real {
  background: linear-gradient(135deg, #bdbdbd 0%, #757575 40%, #222 100%);
  border: 1.5px solid #d2d2d2;
  box-shadow: 0 2px 8px rgba(80,80,80,0.15), 0 0px 0 #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#modalMinado .tarjeta-pro .logo-usdt-chip {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(40,40,40,0.18));
  width: 17px;
  height: 17px;
  object-fit: contain;
  display: block;
}

#modalMinado .tarjeta-pro .tarjeta-diseño {
  background:
    radial-gradient(circle at 55% 35%, rgba(190, 190, 190, 0.10) 0, transparent 80%),
    linear-gradient(120deg, #23252a 0%, #8e9ba5 52%, #43484c 85%, #14171c 100%);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 20px #8e9ba522, 0 3px 12px #0007, inset 0 8px 22px #fff2 0, inset 0 -2px 18px #1d202470;
  z-index: 1;
}

#modalMinado .tarjeta .btn-activar {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: fit-content;
  background: #111;
  color: #fcd535;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1em;
  border: none;
  transition: background 0.3s;
}

#modalMinado .tarjeta .btn-activar:hover {
  background: #333;
}

/* ==== BASIC WC ==== */
#modalMinado .tarjeta-basic {
  background: transparent;
  box-shadow: 0 0 12px rgba(180, 180, 180, 0.1); /* glow muy leve */
  transition: all 0.3s ease;
}

#modalMinado .tarjeta-basic:hover {
  transform: scale(1.02);
  box-shadow: 0 0 18px rgba(180, 180, 180, 0.2);
}

#modalMinado .tarjeta-basic .tarjeta-diseño {
  background: linear-gradient(135deg, #4c4c4c, #b0b0b0); /* degradado gris claro */
}

#modalMinado .tarjeta-basic .tarjeta-saldo,
#modalMinado .tarjeta-basic .tarjeta-numero,
#modalMinado .tarjeta-basic .tarjeta-valido {
  color: #ffffff;
}

#modalMinado .tarjeta-pro .tarjeta-saldo,
#modalMinado .tarjeta-basic .tarjeta-saldo {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

#modalMinado .tarjeta-basic .wc-card-logo {
  font-family: 'Playfair Display', serif;
  color: #2a2a2a; /* gris oscuro elegante */
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4); /* sombra clara para levantarlo */
}

.chip-real {
  width: 40px;
  height: 30px;
  background: repeating-linear-gradient(
    45deg,
    #ccc,
    #ccc 4px,
    #aaa 4px,
    #aaa 8px
  );
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  margin-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-usdt-chip {
  width: 17px;
  height: 17px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}

#modalMinado .tarjeta-diseño {
  overflow: visible !important;
}

/* Botón pequeño, elegante y premium para activar en tarjetas */
#modalMinado .btn-activar {
  padding: 5px 8px !important;
  font-size: 0.75em !important;
  border-radius: 6px !important;
  min-width: 85px;
  height: 26px;
  background: #111 !important;      /* Fondo oscuro */
  color: #fcd535 !important;        /* Texto dorado */
  border: none !important;          /* Sin borde */
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px rgba(252,213,53,0.11);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}

#modalMinado .btn-activar {
  background: #fcd535 !important;   /* Fondo dorado */
  color: #111 !important;           /* Texto oscuro en hover */
  box-shadow: 0 0 23px 5px #fcd53555 !important; 
}

.titulo-tarjetas-minado-pro {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
background-color: #111111; /* ✅ nuevo fondo sólido */  padding: 10px 16px 10px 16px;
  border-radius: 14px;
  margin-bottom: 12px;
  margin-top: 5px;
  min-width: 0;
  max-width: 96%;
  margin-left: auto;
  margin-right: auto;
}

.icono-tarjeta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 62% 60%, #fcd53526 68%, transparent 95%);
  border-radius: 50%;
  padding: 7px 12px;
}

.icono-tarjeta {
  font-size: 1.35em;
  color: #fcd535;
  filter: drop-shadow(0 1.5px 5px #fcd53525);
}

.titulo-minado-texto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.texto-titulo-minado {
  color: #000;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4em;
  font-weight: bold;
}

.linea-animada-dorada {
  width: 115px;
  height: 2.2px;
  margin: 7px 0 0 0;
  border-radius: 1.5px;
  background: linear-gradient(90deg, #fff2 0%, #fcd535 60%, #fff2 100%);
  box-shadow: 0 0 2px #fcd53529, 0 1px 5px #fff2;
  animation: brillarLinea 2.2s linear infinite;
  position: relative;
}

@keyframes brillarLinea {
  0% { background-position: 0% 50%; }
  100% { background-position: 120% 50%; }
}

/* Adaptativo para móvil */
@media (max-width: 600px) {
  .titulo-tarjetas-minado-pro {
    gap: 8px;
    padding: 6px 10px 6px 8px;
    border-radius: 9px;
    margin-bottom: 8px;
  }
  .texto-titulo-minado {
    font-size: 1.08rem;
  }
  .linea-animada-dorada {
    width: 85px;
    height: 1.4px;
    margin-top: 4px;
  }
}

/* --- Ajuste zona bonos WC Wallet --- */
.zona-bonos-wrap {
  background: #151617;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(252,213,53,0.08), 0 1px 10px rgba(0,0,0,0.12);
  padding: 15px 9px 10px 9px;
  margin: 0 auto 18px auto;
  max-width: 380px;
  width: 100%;
  position: relative;
  border: 1.3px solid #232323;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bonos-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  margin-left: 2px;
  font-size: 1em;
}

.bonos-emoji {
  font-size: 1.15em;
  line-height: 1;
}
.bonos-titulo {
  font-size: 1.05em;
  font-weight: 700;
  color: #ffe175;
  letter-spacing: 0.7px;
  font-family: 'Inter', 'Playfair Display', sans-serif;
  line-height: 1;
}

.zona-bonos {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
}

.bono-card.bono-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #181a1c;
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.09);
  min-height: 32px;
  gap: 9px;
  border: 1px solid #222325;
}

.bono-texto {
  font-size: 0.93em;
  color: #fff;
  margin-right: 7px;
  flex: 1 1 auto;
  line-height: 1.3;
  font-weight: 400;
}

.bono-btn {
  min-width: 62px;
  max-width: 95px;
  padding: 5px 10px 5px 10px;
  font-size: 0.96em !important;
  font-family: inherit;
  border-radius: 5px !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  font-weight: 600;
  margin-left: 5px;
  box-shadow: none;
  background: #fcd535;
  color: #222;
  transition: background 0.13s;
}
.bono-btn:active {
  background: #ffe175;
}
.bono-btn.reclamar {
  height: 34px;
  min-width: 82px;
  max-width: 95px;
  padding: 2px 8px 2px 8px;
}
.bono-reclamar-label {
  font-size: 0.89em;
  font-weight: bold;
  margin-bottom: 0;
  line-height: 1.05;
}
.bono-reclamar-monto {
  font-size: 0.87em;
  font-weight: 500;
  line-height: 1;
}
.bono-btn.ir {
  height: 26px;
  padding: 0 11px;
  font-size: 0.97em;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}

@media (max-width: 540px) {
  .zona-bonos-wrap {
    padding: 10px 2.5vw;
    max-width: 99vw;
  }
  .bono-card.bono-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 7px 4px;
  }
  .bono-btn, .bono-btn.ir, .bono-btn.reclamar {
    width: 100%;
    min-width: 72px;
    max-width: 100%;
    margin-left: 0;
  }
  .bono-texto {
    margin-right: 0;
  }
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

/* ----- Bonos Premium - Compacto ----- */
.bonos-header-pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(30, 30, 35, 0.89);
  border-radius: 16px 16px 0 0;
  padding: 14px 18px 4px 18px; /* MÁS CORTO */
  position: relative;
}
.bonos-icon-premium {
  background: linear-gradient(115deg, #fcd535 55%, #fff8bc 100%);
  color: #222;
  border-radius: 50%;
  width: 1.7em; height: 1.7em; /* MÁS PEQUEÑO */
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px #fcd53533;
  font-size: 1.05em;
  margin-bottom: 4px;
}
.bonos-titulo-row {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bonos-titulo-elegante {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1em;        /* MÁS PEQUEÑO */
  letter-spacing: 0.18em;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 6px #fcd53533, 0 1px 0 #1118;
  margin-bottom: 2px;
}
.bonos-titulo-underline-premium {
  display: block;
  width: 25px;
  height: 3px;
  background: #FFD700;
  border-radius: 7px;
  margin-top: 0;
  margin-bottom: 1px;
  box-shadow: 0 0 8px 2px #FFD70044, 0 0.5px 1px #fff6;
}

.bonos-desc {
  font-size: 0.86em; /* MÁS PEQUEÑO */
  color: #eed97c;
  margin-top: 2px;
  margin-bottom: 1px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}

/* Zona cupones bonos */
.zona-bonos-premium {
  background-color: #1a1a1a !important;
  border-radius: 0 0 16px 16px;
  padding: 10px 5px 7px 5px; /* MÁS PEQUEÑO */
  display: flex;
  flex-direction: column;
  gap: 9px; /* Menos espacio entre cupones */
}

/* BONO CUPÓN */
.bono-cupon {
  background: linear-gradient(90deg, #282824 90%, #fcd53513 100%);
  border: 1.5px dashed #ffe45c99;
  border-radius: 14px;
  box-shadow: 0 2px 9px #fcd53512;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 9px;    /* MÁS PEQUEÑO */
  min-height: 42px;    /* MÁS BAJO */
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.bono-cupon:before, .bono-cupon:after {
  content: "";
  display: block;
  position: absolute;
  width: 10px; height: 10px;  /* MÁS PEQUEÑO */
  border-radius: 50%;
  background: #181818;
  z-index: 1;
}
.bono-cupon:before {
  left: -5px; top: 50%; transform: translateY(-50%);
}
.bono-cupon:after {
  right: -5px; top: 50%; transform: translateY(-50%);
}

/* CUERPO INTERNO DEL CUPÓN */
.cupon-body {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Para separar texto e icono del botón */
  gap: 7px;
  flex: 1;
}

.cupon-icon {
  font-size: 1.5em;           /* MÁS PEQUEÑO */
  color: #ffe45c;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 1.45em; height: 1.45em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1.5px 6px #fcd5350a;
}
.cupon-texto {
  color: #fffde4;
  font-size: 0.95em;         /* MÁS PEQUEÑO */
  font-weight: 500;
}

/* BOTÓN DEL CUPÓN */
.cupon-btn {
  background: linear-gradient(90deg, #ffe45c 55%, #fcd535 100%);
  color: #2b2200;
  font-weight: 600;
  border: none;
  border-radius: 7px;     /* MÁS REDONDO Y PEQUEÑO */
  padding: 6px 12px;      /* MÁS PEQUEÑO */
  font-size: 0.98em;      /* MÁS PEQUEÑO */
  box-shadow: 0 1px 6px #fcd53522;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  margin-left: 8px;
  min-width: 65px;        /* MÁS ESTRECHO */
  text-align: center;
  line-height: 1.1;
}
.cupon-btn:hover {
  background: #fcd535;
  color: #1a1400;
  box-shadow: 0 3px 10px #fcd53518;
}

.btn-bonos {
  position: absolute;
  top: 168px;                      /* ← Posición correcta vertical */
  right: 12px;                    /* ← Alineado a la derecha */
  transform: none;               /* ← Eliminamos translateY */
  width: 50px;
  height: 50px;
  background-color: transparent !important;
  color: #fcd535;                /* ← Color dorado correcto */
  border: none;
  border-radius: 50%;
  font-size: 1.3em;              /* ← Tamaño mejorado */
  font-weight: bold;
  box-shadow: none !important;
  cursor: pointer;
  animation: shakeBounce 1.6s infinite ease-in-out;
  z-index: 10;
  
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
}

.texto-bonos {
  display: block;
  font-size: 0.60em;
  font-family: 'Georgia', serif;              /* Elegante, como PREMIUM WC */
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #C5A248;
  text-shadow: none;                          /* Sin brillo innecesario */
  margin-top: -2px;
  line-height: 1.4;
}



@keyframes shakeBounce {
  0%, 100% { transform: translateY(-50%) rotate(0deg) scale(1); }
  20% { transform: translateY(-50%) rotate(4deg) scale(1.06); }
  40% { transform: translateY(-50%) rotate(-4deg) scale(1.06); }
  60% { transform: translateY(-50%) rotate(2deg) scale(1.02); }
  80% { transform: translateY(-50%) rotate(-2deg) scale(1.02); }
}

.saldo-usdt {
  position: relative;
}

#modalBonos .modal-content {
  max-width: 400px;
  padding: 5px 5px !important;
  background-color: #1a1a1a !important;
}

.bono-cupon {
font-size: 0.9em; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cupon-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cupon-btn {
  background-color: #FFD700;
  color: #000;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95em;
  white-space: nowrap;
  max-width: 140px;
  width: fit-content;
}

.cupon-btn.reclamar {
  white-space: normal;
  text-align: center;
  padding: 10px 14px;
  width: 100%;
  max-width: 140px;
}

.bonos-header {
  background-color: #111111; /* Color sólido como TARJETAS MINADAS */
  padding: 24px 20px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
clip-path: polygon(0 15%, 50% 0, 100% 15%, 100% 100%, 0 100%);
}

.bonos-icon-wrap {
  background-color: #2b2b2b;
  padding: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFD700;
  font-size: 20px;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.bonos-titulo-texto {
  font-family: 'Orbitron', sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
}

.bonos-subtitulo {
  font-size: 14px;
  color: #fcd535;
}

.bonos-divisor {
  width: 60px;
  height: 2px;
  background-color: #FFD700;
  margin-top: 4px;
  border-radius: 2px;
}

.bloque-wrap {
  padding: 10px 15px !important;
    border-radius: 14px;
}


/* BARRA DE PROGRESO */
.bonos-progreso-wrap {
  width: 100%;
  max-width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto;
}

.bonos-progreso-barra {
  width: 100%;
  height: 10px;
  background-color: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.05);
}

.bonos-progreso-valor {
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(
    45deg,
    #fcd535,
    #fcd535 10px,
    #e6c12e 10px,
    #e6c12e 20px
  );
  background-size: 200% 100%;
animation: crecerAncho 1.8s ease-out, zebraCargar 3s linear infinite;
  border-radius: 12px;
  transition: width 1.2s ease-out;
  box-shadow: 0 0 6px #fcd535aa;
}

.bonos-progreso-valor::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: brilloScanner 2.8s ease-in-out infinite;
  filter: blur(2px);
}

@keyframes zebraCargar {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 0%;
  }
}

@keyframes crecerAncho {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.bonos-progreso-texto {
  font-size: 13px;
  color: #FFD700;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: 0.3px;
  animation: latido 1.8s ease-in-out infinite;
  text-shadow: 0 0 5px #fcd535aa;
}

@keyframes latido {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.bonos-progreso-texto {
  color: #fcd535;
  font-weight: bold;
  text-align: center;
  margin-bottom: 6px;
}

.bonos-progreso-valor {
  background-color: #fcd535 !important;
  height: 100%;
  transition: width 0.4s ease;
  border-radius: 10px;
}

.bonos-progreso-barra {
  background-color: #333;
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
}

/* CUERNOS */
.bonos-titulo-texto {
    position: relative;
    z-index: 1;
}

/* CUERNOS */
.bonos-titulo-texto::before,
.bonos-titulo-texto::after {
    content: '';
    position: absolute;
    width: 70px;       /* Aumentado */
    height: 140px;      /* Aumentado */
    border: 2px solid white;
    border-color: white transparent transparent transparent;
    border-radius: 100% 0 0 0;
    opacity: 1;
    z-index: 0;
}

/* Cuerno izquierdo */
.bonos-titulo-texto::before {
    left: 3px;
    top: -80px;
    transform: rotate(-100deg);
}

/* Cuerno derecho */
.bonos-titulo-texto::after {
    right: 7px;
    top: -80px;
    transform: scaleX(-1) rotate(-100deg);
}

/* CUERNOS 2 */
.bonos-titulo-texto {
  position: relative;
  display: inline-block;
  z-index: 2;
}

/* Cuernos blancos tipo ilustración */
.bonos-titulo-texto::before,
.bonos-titulo-texto::after {
  content: '';
  position: absolute;
  top: -35px;
  width: 50px;
  height: 80px;
  border: 3px solid white;
  border-radius: 50%;
  border-bottom: none;
  border-left: none;
  transform: rotate(25deg);
  opacity: 1;
}

.bonos-titulo-texto::before {
  left: -64px;
  transform: rotate(140deg);
}

.bonos-titulo-texto::after {
  right: -57px;
  transform: scaleX(-1) rotate(140deg);
}

/* TICKETS */
.bono-cupon {
  background-color: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
 z-index: 2; 
}



.bono-cupon::before {
  left: -12px;
}

.bono-cupon::after {
  right: -12px;
}

/* Asegura que el contenido no se tape */
.bono-cupon > * {
  position: relative;
  z-index: 3;
}

/* Estética del texto e íconos dentro */
.cupon-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cupon-icon i {
  font-size: 20px;
  color: white;
}

.cupon-texto {
  color: white;
  font-size: 14px;
  font-weight: 400;
}

/* ====== BONOS – Estados y skins pro ====== */

/* Base más “card” para todos */
#modalBonos .bono-cupon {
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform, box-shadow;
}

/* ---------- Estado: OBTENIDO ---------- */
#modalBonos .bono-cupon.obtenido {
  border-color: rgba(46, 204, 113, 0.45);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(46,204,113,0.08) 0%, transparent 60%),
    linear-gradient(180deg,#171e18 0%, #121512 100%);
  box-shadow:
    0 0 0 1px rgba(46,204,113,0.08) inset,
    0 10px 26px rgba(46,204,113,0.12);
}
#modalBonos .bono-cupon.obtenido .cupon-icon {
  color: #2ecc71;
  box-shadow: 0 0 0 2px rgba(46,204,113,0.18) inset, 0 2px 10px rgba(46,204,113,0.18);
}
#modalBonos .bono-cupon.obtenido .cupon-btn {
  background: linear-gradient(90deg,#2ecc71 0%, #27ae60 100%);
  color:#0b1a0f;
}
#modalBonos .bono-cupon.obtenido .cupon-btn:hover {
  filter: brightness(1.05);
}

/* Sello “check” (opcional, no interfiere si no lo usas) */
#modalBonos .bono-cupon.obtenido::after {
  content: "✓ Completado";
  position: absolute;
  top: 8px; right: 12px;
  font-size: 0.78rem;
  color: #2ecc71;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.35);
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: .3px;
}

/* ---------- Estado: DISPONIBLE ---------- */
#modalBonos .bono-cupon.disponible {
  border-color: rgba(252,213,53,0.45);
  background:
    radial-gradient(130% 150% at 100% 0%, rgba(252,213,53,0.10) 0%, transparent 60%),
    linear-gradient(180deg,#171614 0%, #121212 100%);
  box-shadow:
    0 0 0 1px rgba(252,213,53,0.08) inset,
    0 12px 28px rgba(252,213,53,0.16);
}
#modalBonos .bono-cupon.disponible:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(252,213,53,0.12) inset,
    0 14px 34px rgba(252,213,53,0.22);
}
#modalBonos .bono-cupon.disponible .cupon-icon {
  color: #fcd535;
  box-shadow: 0 0 0 2px rgba(252,213,53,0.22) inset, 0 2px 10px rgba(252,213,53,0.20);
}
#modalBonos .bono-cupon.disponible .cupon-btn {
  background: linear-gradient(90deg,#ffe45c 55%, #fcd535 100%);
  color:#2b2200;
  animation: bonoPulse 2.2s ease-in-out infinite;
}
#modalBonos .bono-cupon.disponible .cupon-btn:hover {
  transform: translateY(-1px);
}

/* ---------- Estado: BLOQUEADO (próximamente) ---------- */
#modalBonos .bono-cupon.bloqueado {
  background: linear-gradient(180deg,#151515 0%, #101010 100%);
  opacity: .7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
#modalBonos .bono-cupon.bloqueado .cupon-icon {
  color: #a9a9a9;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.06) inset;
  filter: grayscale(30%);
}
#modalBonos .bono-cupon.bloqueado .cupon-texto {
  color: #c9c9c9;
}
#modalBonos .bono-cupon.bloqueado .cupon-btn,
#modalBonos .bono-cupon.bloqueado .cupon-btn:hover {
  background: #282828;
  color: #8f8f8f;
  cursor: default;
  box-shadow: none;
  transform: none;
}

/* Interacciones generales suaves (no invasivas) */
#modalBonos .cupon-btn {
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  will-change: transform;
}
#modalBonos .cupon-btn:active {
  transform: translateY(1px) scale(.995);
}

/* Pulsito del CTA disponible */
@keyframes bonoPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(252,213,53,0.0)}
  50%     { box-shadow: 0 0 14px 2px rgba(252,213,53,0.28)}
}

/* === BLOQUEADOS PRO: FROSTED + RIBBON (solo en #modalBonos) === */
#modalBonos .bono-cupon.bloqueado.frosted {
  position: relative;
  border-color: #242424;             /* coherente con bloqueado */
}

/* Ocultar cualquier “mordida”/decoración previa del ::before/::after estándar */
#modalBonos .bono-cupon.bloqueado.frosted::before,
#modalBonos .bono-cupon.bloqueado.frosted::after {
  border: none !important;
  box-shadow: none !important;
}


/* Cinta diagonal “PRÓXIMAMENTE” */
#modalBonos .bono-cupon.bloqueado.frosted.soon-ribbon::after{
  content: "PRÓXIMAMENTE DISPONIBLE";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-23deg); /* ángulo cómodo de lectura */
  width: 140%;            /* cruza de esquina a esquina */
  height: 22px;           /* banda más delgada */
  display: flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap;     /* 1 sola línea */
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #ececec;
  text-shadow: 0 1px 0 rgba(0,0,0,.55);

  /* puntas en flecha (no rectangular) */
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);

  /* acabado premium y contraste correcto */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.18)),
    linear-gradient(90deg, #333 0%, #262626 100%);
  border: 1px solid #3a3a3a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 6px 14px rgba(0,0,0,.35);
  z-index: 7;
  pointer-events: none;
}

/* Ajuste fino para móviles (mantiene proporción) */
@media (max-width: 420px){
  #modalBonos .bono-cupon.bloqueado.frosted.soon-ribbon::after{
    width: 165%;
    height: 20px;
    font-size: 9.5px;
  }
}

/* Apariencia coherente de bloqueado (botón y texto) */
#modalBonos .bono-cupon.bloqueado.frosted .cupon-btn {
  background: #2b2b2b;
  color: #8f8f8f;
  cursor: not-allowed;
  box-shadow: none;
}
#modalBonos .bono-cupon.bloqueado.frosted .cupon-btn:hover { filter: none; transform: none; }
#modalBonos .bono-cupon.bloqueado.frosted .cupon-texto { color: #cfcfcf; }
#modalBonos .bono-cupon.bloq

/* ——— Bonos bloqueados compactos (solo los que tengan .compacto) ——— */
#modalBonos .bono-cupon.bloqueado.compacto{
  padding: 10px 14px;         /* antes ~16px */
  min-height: 58px;           /* mantiene buena accesibilidad */
  border-radius: 12px;
}

#modalBonos .bono-cupon.bloqueado.compacto .cupon-body{ gap: 8px; }
#modalBonos .bono-cupon.bloqueado.compacto .cupon-icon{ font-size: 1.1em; }
#modalBonos .bono-cupon.bloqueado.compacto .cupon-texto{ font-size: .9em; }
#modalBonos .bono-cupon.bloqueado.compacto .cupon-btn{
  height: 26px;
  padding: 0 10px;
  font-size: .85em;
  border-radius: 6px;
}

/* Cinta adaptada al formato compacto (diagonal, fina y con flechas) */
#modalBonos .bono-cupon.bloqueado.frosted.soon-ribbon.compacto{ overflow: hidden; }

#modalBonos .bono-cupon.bloqueado.frosted.soon-ribbon.compacto::after{
  /* cruza bien el cupón siendo más delgada */
  transform: translate(-50%, -50%) rotate(-16deg);
  width: 135%;
  height: 22px;
  font-size: 9.8px;
  letter-spacing: 1.05px;
  white-space: nowrap;
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
}

/* Ajuste fino para pantallas pequeñas */
@media (max-width: 420px){
  #modalBonos .bono-cupon.bloqueado.frosted.soon-ribbon.compacto::after{
    width: 155%;
    height: 16px;
    font-size: 9px;
  }
}

#modalBonos .bono-cupon .cupon-btn.reclamar {
  pointer-events: none !important;
  cursor: default !important;
  animation: none !important;
  
  padding: 8px 12px !important;   /* Reduce el tamaño del botón */
  font-size: 0.9em !important;    /* Reduce el tamaño del texto */
  width: auto;                    /* Ajusta el ancho del botón */
}

/* Mantiene el mismo look aunque pases el mouse */
#modalBonos .bono-cupon .cupon-btn.reclamar:hover{
  background: linear-gradient(90deg, #ffe45c 55%, #fcd535 100%) !important;
  color: #2b2200 !important;
  box-shadow: 0 1px 6px #fcd53522 !important;
  transform: none !important;
  filter: none !important;
}

/* === Botón hamburguesa PRO dentro del modal/menú === */
.menu-container { position: relative; } /* confirmación */

.menu-hamburguesa{
  position: absolute;
  top: -30px;                 /* encaja con tu padding del modal */
  left: -18px;
  width: 30px;               /* área táctil */
  height: 30px;
  padding: 7px;          /* centra las líneas dentro del área */
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;       /* esquinas suaves como tu UI */
  cursor: pointer;
  z-index: 12;               /* sobre el contenido del modal */
  -webkit-tap-highlight-color: transparent;
}

/* Líneas */
.menu-hamburguesa .linea{
  width: 20px;               /* proporción compacta y limpia */
  height: 2.2px;             /* grosor profesional */
  background: #ffffff;       /* blanco sobre fondo oscuro */
  border-radius: 2px;
  opacity: .95;
  box-shadow: 0 0 1px rgba(0,0,0,.35); /* nitidez en pantallas oscuras */
  transition: transform .18s ease, opacity .18s ease, background-color .18s ease;
}

/* micro-interacción sobria al hover/active */
.menu-hamburguesa:hover{
  background: rgba(255,255,255,.06);
}
.menu-hamburguesa:active{
  background: rgba(255,255,255,.10);
}
.menu-hamburguesa:hover .linea{
  background: #fff;          /* mantiene blanco, sube claridad */
  opacity: 1;
}

/* foco accesible (teclado) acorde a tu marca amarilla */
.menu-hamburguesa:focus-visible{
  outline: 0;
  box-shadow: 0 0 0 2px rgba(252,213,53,.55); /* #fcd535 */
}

/* ajuste fino en móviles muy pequeños */
@media (max-width: 360px){
  .menu-hamburguesa{
    top: 14px; left: 14px;
    width: 36px; height: 36px; padding: 8px;
  }
  .menu-hamburguesa .linea{ width: 20px; height: 2.4px; }
}

/* respeto a usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce){
  .menu-hamburguesa, .menu-hamburguesa .linea{
    transition: none;
  }
}

/* COMPROBANTE */
/* ----------- MODAL DE COMPROBANTES ----------- */
.comprobante-modal {
  background-color: #1a1a1a !important;
  color: #fff;
  padding: 28px;
  border-radius: 14px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 25px rgba(252, 213, 53, 0.2);
  position: relative;
}

.comprobante-modal h2 {
  font-size: 1.3em;
  color: #fcd535;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.comprobante-modal .mensaje-info {
  font-size: 0.85em;
  color: #ddd;
  background: rgba(255,255,255,0.05);
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  text-align: left;
  line-height: 1.4;
}

.comprobantes-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
max-height: none !important;
overflow-y: visible !important;
  padding-right: 4px;
}

.comprobante-item {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 0.9em;
  box-shadow: 0 0 8px rgba(0,0,0,0.25);
}

.comprobante-label {
  font-weight: 600;
  color: #eee;
}

.btn-subir {
  background: linear-gradient(to bottom, #ffe45c, #fcd535); /* ⚡ mismo degradado */
  color: #000;
  font-weight: 600;
  font-size: 0.9em;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: auto;
  min-width: 100px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* 🟡 leve sombra inferior */
}

.btn-subir:hover {
  background: linear-gradient(to bottom, #fff07a, #ffe45c); /* brillo al pasar */
}

/* === WC · Skeletons de Comprobantes — mejora visual pro === */
.comprobante-skel{
  user-select: none;
  pointer-events: none;              /* no capta clics */
  position: relative;
  display: flex; align-items: center; gap: 10px;
  margin: 12px 0; padding: 14px 16px;
  border-radius: 12px;
  background: #141414;
  border: 1px solid #222;
  box-shadow: 0 1px 0 rgba(255,255,255,.02) inset, 0 4px 14px rgba(0,0,0,.28);
  overflow: hidden;
}

/* === Skeleton del mismo tamaño que la tarjeta real de comprobante === */
.comprobante-skel{
  padding: 10px 14px;      /* = .comprobante-item */
  border-radius: 10px;     /* = .comprobante-item */
  min-height: 56px;        /* alto visual equivalente */
  gap: 12px;               /* separación similar al contenido real */
}

/* Botón del skeleton con las mismas proporciones del botón real */
.comprobante-skel .skel-btn{
  min-width: 100px;        /* = .btn-subir */
  height: 36px;            /* ≈ alto real del botón */
  border-radius: 8px;      /* = .btn-subir */
}

/* brillo dorado muy sutil para integrarlo a la marca */
.comprobante-skel::before{
  content:""; position:absolute; inset:0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(252,213,53,.06), rgba(252,213,53,0));
  opacity:.35; pointer-events:none;
}
/* shimmer fino y elegante */
.comprobante-skel::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.08) 50%, rgba(255,255,255,0) 58%);
  transform: translateX(-100%);
  animation: compShimmer 1.9s ease-in-out infinite;
}
@keyframes compShimmer { to { transform: translateX(100%);} }

/* piezas internas */
.comprobante-skel .skel-icon{
  width:28px; height:28px; border-radius:8px;
  background:#1c1c1c; border:1px solid #262626;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  flex:0 0 28px;
}
.comprobante-skel .skel-lines{ flex:1; display:flex; flex-direction:column; gap:8px; }
.comprobante-skel .skel-lines span,
.comprobante-skel .skel-lines em{
  display:block; height:10px; border-radius:6px;
  background:#1c1c1c; border:1px solid #262626;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.comprobante-skel .skel-lines span{ width:60%; }
.comprobante-skel .skel-lines em{ width:36%; opacity:.85; }

/* botón fantasma (simula SUBIR) */
.comprobante-skel .skel-btn{
  width:106px; height:36px; border-radius:10px;
  background:#1c1c1c; border:1px solid #2a2a2a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  flex:0 0 106px;
}

/* variaciones automáticas para que no se vean iguales */
.comprobantes-lista .comprobante-skel:nth-of-type(1){ animation-delay: .15s; }
.comprobantes-lista .comprobante-skel:nth-of-type(2){ animation-delay: .35s; }
.comprobantes-lista .comprobante-skel:nth-of-type(3){ animation-delay: .55s; }
.comprobantes-lista .comprobante-skel:nth-of-type(2) .skel-lines span{ width:52%; }
.comprobantes-lista .comprobante-skel:nth-of-type(3) .skel-lines span{ width:44%; }
.comprobantes-lista .comprobante-skel:nth-of-type(2) .skel-lines em{ width:30%; }
.comprobantes-lista .comprobante-skel:nth-of-type(3) .skel-lines em{ width:26%; }

/* accesibilidad: respeta reducir movimiento */
@media (prefers-reduced-motion: reduce){
  .comprobante-skel::after{ animation: none !important; }
}

/* (opcional) rebote sutil de la flecha de scroll ya existente */
.scroll-arrow{ animation: arrowBounce 1.8s ease-in-out infinite; opacity:.75; }
@keyframes arrowBounce{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(3px);} }

.mensaje-advertencia {
  font-size: 0.65em;                         /* 🔽 texto un poco más pequeño */
  color: #f0b90b;                           /* mantiene el tono Binance */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(252, 213, 53, 0.25);
  padding: 7px 10px;                        /* 🔽 menos alto */
  border-radius: 6px;
  margin-top: 14px;                         /* 🔽 más ajustado al contenido */
  text-align: left;
  line-height: 1.4;
}

#modalComprobante h2 {
  color: #ffffff !important;
}

.comprobante-label i {
  margin-right: 8px;
  color: #ffffff;         /* mismo tono dorado */
  font-size: 0.95em;
  vertical-align: middle;
}

/* === Ajustes finales silueta — más arriba, más larga y sin caja === */

/* Acerca la silueta a los botones */
.botones-secundarios{
  margin-bottom: 10px !important;   /* antes 20px → sube todo lo de abajo */
}

/* Contenedor de la silueta sin “caja” visible */
.silhouette-banner{
  position: relative;
  /* ANTES:
  --h: clamp(170px, 24vh, 240px);
  */
  --h: 220px;                /* altura fija para todas las pantallas */
  width: 100%;
  height: var(--h);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: -60px;
  margin-bottom: -80px;
  border-radius: 12px;
  background: transparent;
  overflow: visible;
  pointer-events: none !important;
}

@media (min-width: 420px){
  .silhouette-banner{ --h: 220px; }  /* mismo valor, para que no cambie */
}

/* Piso/sombra elíptica bajo las siluetas */
.silhouette-banner::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;                         /* anclado siempre al fondo del contenedor */
  transform: translate(-50%, -63px); /* mismo “subido” que tenías antes */
  width: min(80%, 360px);
  height: 25px;
  background:
    /* cuerpo con caída muy limpia */
    radial-gradient(180% 70% at 50% 58%,
      rgba(0,0,0,.20) 14%,
      rgba(0,0,0,.14) 38%,
      rgba(0,0,0,.07) 62%,
      rgba(0,0,0,0) 100%),
    /* afinado lateral: centros fuera para terminar en punta */
    radial-gradient(120% 100% at -8% 50%,
      transparent 60%,
      rgba(0,0,0,.08) 70%,
      transparent 82%),
    radial-gradient(120% 100% at 108% 50%,
      transparent 60%,
      rgba(0,0,0,.08) 70%,
      transparent 82%);
  filter: blur(2.8px);  /* pluma más fina, sin halo duro */
  opacity: .68;         /* presencia justa y elegante */
  pointer-events: none;
  z-index: 0;
  clip-path: polygon(0% 50%, 4% 80%, 50% 100%, 96% 80%, 100% 50%, 96% 20%, 50% 0%, 4% 20%);
}

/* Vignette sutil para separar del fondo (no “mancha” blanca) */
.silhouette-banner::before{
  content:"";
  position:absolute;
  inset: -10px -16px -6px -16px;           /* un poco más grande para que “desaparezca” el borde */
  pointer-events:none;
  border-radius:16px;
  background:
    radial-gradient(70% 50% at 50% 38%,
      rgba(230,230,230,0.05) 0%,
      rgba(230,230,230,0.02) 35%,
      rgba(0,0,0,0) 72%);
  filter: blur(0.5px);
  z-index: 0;
}

/* Imagen: más ancha y MÁS LARGA, sin deformar brusco y sin hover */
.silhouette-img{
  position: relative;
  z-index: 1;
  height: var(--h);                  /* altura real de la imagen */
  width: auto;
  max-width: 100%;
  /* Presencia óptica: un poco más ancha y un poco más alta */
  transform: scaleX(1.2) scaleY(0.7) translateY(0);
  opacity: 0.70;                     /* visible y elegante */
  filter:
    drop-shadow(0 3px 12px rgba(0,0,0,0.45))
    drop-shadow(0 10px 24px rgba(0,0,0,0.30));
  image-rendering: -webkit-optimize-contrast;
  pointer-events: none;              /* sin efectos de ratón */
  transition: none;                  /* sin animaciones */
}


/* Si aparece dentro de un modal, que mantenga presencia y compacidad */
.modal .silhouette-banner{ --h: clamp(150px, 22vh, 220px); }
.modal .silhouette-img{ opacity: 0.30; }

/* === MONTOS DE LAS TARJETAS — contraste + acabado premium === */
#modalMinado .tarjeta-saldo{
  position: relative;                   /* para el brillo ::after */
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .2px;

  /* fallback sólido bien legible */
  color: #ffffff;
  text-shadow:
    0 1px 0 rgba(0,0,0,.55),
    0 10px 18px rgba(0,0,0,.36);
  -webkit-text-stroke: .5px rgba(0,0,0,.25);
          text-stroke: .5px rgba(0,0,0,.25);
}

/* Gradiente en texto (si hay soporte) */
@supports (-webkit-background-clip: text) or (background-clip: text){
  #modalMinado .tarjeta-saldo{
    background-image: linear-gradient(180deg,#ffffff 0%,#eef3fb 52%,#cfd7e6 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    text-shadow:
      0 1px 0 rgba(0,0,0,.45),
      0 10px 18px rgba(0,0,0,.32);
    -webkit-text-stroke: .5px rgba(0,0,0,.22);
            text-stroke: .5px rgba(0,0,0,.22);
  }

  /* Ajuste por tipo de tarjeta (sin cambiar tamaños) */
  #modalMinado .tarjeta-premium .tarjeta-saldo{
    background-image: linear-gradient(180deg,#fff 0%,#ffeab8 56%,#f5c96a 100%); /* dorado más vivo */
  }
  #modalMinado .tarjeta-pro .tarjeta-saldo{
    background-image: linear-gradient(180deg,#fff 0%,#e8edf4 58%,#c8d0df 100%); /* plata fría */
  }
  #modalMinado .tarjeta-plus .tarjeta-saldo{
    background-image: linear-gradient(180deg,#fff 0%,#e6f0ff 60%,#a8c5ff 100%); /* azul hielo */
  }
  #modalMinado .tarjeta-basic .tarjeta-saldo{
    background-image: linear-gradient(180deg,#fff 0%,#f3f3f3 60%,#d7d7d7 100%); /* gris neutro */
  }
}

/* === WC · Badge del título de COMPROBANTES con el MISMO look que TARJETAS === */
.title-icon-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* mismo fondo que .icono-tarjeta-wrap */
  background: radial-gradient(circle at 62% 60%, #fcd53526 68%, transparent 95%);
  /* compacto para h2 (no mueve el layout) */
  padding: 4px 8px;
  margin-right: 8px;
  vertical-align: middle;
}
.title-icon-badge i{
  color: #fcd535;
  font-size: 1rem;          /* acorde al h2 */
  line-height: 1;
  filter: drop-shadow(0 1.5px 5px #fcd53525);
}

/* === WC · Título COMPROBANTES (mismo look que TARJETAS, tamaño modal) === */
.titulo-comprobantes-pro{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;                         /* más compacto que 16px */
  background-color:#111111;         /* igual que .titulo-tarjetas-minado-pro */
  padding:8px 12px;                 /* versión pequeña para h2 del modal */
  border-radius:12px;               /* proporcional (tarjetas usa 14px) */
  margin: 0 auto 10px auto;         /* centrado y con respiro inferior */
  width:fit-content;
  max-width:96%;
}

/* En móviles, aún un poquito más compacto */
@media (max-width:600px){
  .titulo-comprobantes-pro{
    gap:8px;
    padding:6px 10px;
    border-radius:10px;
    margin-bottom:8px;
  }
}

/* === Alineación exacta icono + texto en el título de COMPROBANTES === */
#modalComprobante .titulo-comprobantes-pro{
  display: flex;                 /* ya lo tienes, lo reafirmamos aquí */
  align-items: center;           /* centra verticalmente todo */
}

#modalComprobante .texto-titulo-minado{
  display: flex;                 /* para que el H2 sea “flex item” interno */
  align-items: center;           /* centra la línea del texto */
  margin: 0;                     /* quita el margen propio del h2 que lo desalineaba */
  line-height: 1;                /* evita altura extra */
}

#modalComprobante .icono-tarjeta-wrap{
  display: inline-flex;          /* asegura centrado del ícono dentro del badge */
  align-items: center;
  justify-content: center;
  padding: 4px 8px;              /* tamaño compacto que ya usas */
  border-radius: 50%;
}

#modalComprobante .icono-tarjeta{
  font-size: 16px;               /* tamaño adecuado */
  line-height: 1;                /* sin “salto” vertical */
}

/* === COMPROBANTES: tamaño del icono y del badge (sin tocar TARJETAS) === */
#modalComprobante .icono-tarjeta { 
  font-size: 16px;    /* ↓ ajusta el tamaño del ícono */
  line-height: 1;     /* evita que “crezca” por altura de línea */
}

#modalComprobante .icono-tarjeta-wrap {
  padding: 4px 8px;   /* ↓ badge más compacto alrededor del ícono */
  border-radius: 50%; /* mantiene la pastilla redondeada */
  /* hereda tu mismo radial-gradient ya definido para TARJETAS */
}

/* ====== BONO SKELETON ====== */
.bono-skel {
  user-select: none;
  pointer-events: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #141414;
  border: 1px solid #222;
  box-shadow:
    0 1px 0 rgba(255,255,255,.02) inset,
    0 4px 14px rgba(0,0,0,.28);
  overflow: hidden;
  isolation: isolate;
}

/* shimmer: reutiliza la misma animación que usas en comprobantes */
.bono-skel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,.06) 40%,
    rgba(255,255,255,0) 60%
  );
  transform: translateX(-100%);
  animation: compShimmer 1.8s infinite;
  pointer-events: none;
  mix-blend-mode: plus-lighter;
}

/* cinta diagonal "PRÓXIMAMENTE DISPONIBLE" */
.bono-skel::before {
  content: "PRÓXIMAMENTE DISPONIBLE";
  position: absolute;
  top: 25px;
  right: 87px;
  transform: rotate(-12deg);
  font-weight: 800;
  font-size: 9.8px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.22);
  text-shadow: 0 1px 0 rgba(0,0,0,.6);
  pointer-events: none;
  white-space: nowrap;
}

/* icono “candado” (skeleton) */
.bono-skel .skel-icon {
  width: 10px;
  height: 20px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.06), transparent 40%),
    #1b1b1b;
  border: 1px solid #2a2a2a;
  box-shadow: 0 1px 0 rgba(255,255,255,.03) inset;
  position: relative;
}
.bono-skel .skel-icon::before,
.bono-skel .skel-icon::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  background:#2f2f2f;
  border-radius:2px;
}

/* líneas del contenido */
.bono-skel .skel-lines{ flex:1; }
.bono-skel .skel-lines span,
.bono-skel .skel-lines em{
  display:block;
  height:12px;
  border-radius:6px;
  background: linear-gradient(180deg,#1b1b1b,#151515);
  border:1px solid #232323;
  box-shadow: 0 1px 0 rgba(255,255,255,.03) inset;
}
.bono-skel .skel-lines span{ width: 70%; margin-bottom:8px; }
.bono-skel .skel-lines em { width: 42%; }

/* botón “IR” fantasma */
.bono-skel .skel-btn{
  width:50px; height:20px;
  border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:12px; letter-spacing:.06em;
  color:rgba(255,255,255,.25);
  background: linear-gradient(180deg,#161616,#121212);
  border:1px solid #262626;
  box-shadow:
    0 1px 0 rgba(255,255,255,.02) inset,
    0 6px 18px rgba(0,0,0,.28);
}

/* Variaciones para que no se vean idénticos */
.bono-skel:nth-of-type(2) .skel-lines span{ width: 58%; }
.bono-skel:nth-of-type(2) .skel-lines em { width: 36%; }
.bono-skel:nth-of-type(3) .skel-lines span{ width: 64%; }
.bono-skel:nth-of-type(3) .skel-lines em { width: 30%; }
.bono-skel:nth-of-type(2)::after{ animation-delay: .18s; }
.bono-skel:nth-of-type(3)::after{ animation-delay: .36s; }

/* respeta accesibilidad: si usuario reduce motion, sin shimmer */
@media (prefers-reduced-motion: reduce){
  .bono-skel::after{ animation: none; display: none; }
}

/* ==== BONOS: un único scroll para TODAS las tarjetas ==== */

/* El modal NO debe scrollear: que scrollee solo el wrapper de tarjetas */
#modalBonos .modal-content,
#modalBonos .bloque-wrap,
#modalBonos .zona-bonos-premium{
  max-height: none !important;
  overflow: visible !important;
}

/* === BONOS: visible = 3 tarjetas + 1/2 tarjeta === */
#modalBonos{
  --bono-card-h: 110px;  /* ↲ alto aprox de UNA tarjeta (ajústalo si hace falta) */
  --bono-card-gap: 14px; /* ↲ separación vertical entre tarjetas */
}

#modalBonos .zona-bonos-premium .bono-wrapper{
  /* 3 tarjetas + 1/2 tarjeta + 3 gaps entre las primeras 4 */
  max-height: calc((var(--bono-card-h) * 2.9) + (var(--bono-card-gap) * 3));
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

/* Ocultar la barra (scroll invisible) solo en ese contenedor */
#modalBonos .zona-bonos-premium .bono-wrapper::-webkit-scrollbar{ width:0; height:0; }
#modalBonos .zona-bonos-premium .bono-wrapper{ scrollbar-width: none; -ms-overflow-style: none; }

/* La lista de los 3 últimos NO debe tener scroll propio */
#modalBonos .zona-bonos-premium .bonos-lista{
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
}

/* Flecha (compartido) */
.scroll-arrow{
  position: sticky;
  bottom: 0;
  left: 50%;
  transform: translateX(0%);
  pointer-events: none;
  opacity: .85;
  animation: arrowBounce 1.8s ease-in-out infinite;
}
@keyframes arrowBounce{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(3px);} }

/* BONOS: aseguro contexto y espacio para la flecha */
#modalBonos .zona-bonos-premium .bono-wrapper{
  position: relative;         /* contexto para z-index del hijo sticky */
}

/* Flecha de BONOS por ENCIMA de las tarjetas (igual a comprobantes) */
#scrollArrowBonos{
  z-index: 999;               /* ↑ por encima de ribbons/sombras de las tarjetas */
  color: #F0B90B;             /* dorado (como comprobantes) */
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)); /* contraste sin “cápsula” */
}

/* Un modal oculto NO debe interceptar clics ni ocupar espacio */
.modal.hidden{
  display: none !important;
  pointer-events: none !important;
}

/* === MONTOS — versión nítida, alto contraste (sin mover tamaños) === */
#modalMinado .tarjeta-saldo{
  /* color plano fuerte */
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-image: none !important;     /* quita gradientes previos */
  -webkit-background-clip: initial !important;
          background-clip: initial !important;

  /* contorno + sombra para lectura sobre cualquier fondo */
  -webkit-text-stroke: 1px rgba(0,0,0,.42);
          text-stroke: 1px rgba(0,0,0,.42);
  text-shadow:
    0 2px 3px rgba(0,0,0,.70),
    0 0 1px rgba(0,0,0,.85),
    0 12px 22px rgba(0,0,0,.34);

  /* mantiene la nitidez */
  font-variant-numeric: tabular-nums;
  letter-spacing: .2px;
  text-rendering: geometricPrecision;
}

/* elimina brillos/destellos anteriores para no “lavar” el texto */
#modalMinado .tarjeta-saldo::before,
#modalMinado .tarjeta-saldo::after{
  background: none !important;
  animation: none !important;
}

/* Limita la altura visible del modal de BONOS para forzar scroll */
#modalBonos .modal-content{
  max-height: min(86vh, 620px);  /* ajusta 600–660px según tu gusto */
  overflow-y: auto;              /* el contenido extra se desplaza aquí */
}

/* === Números de tarjeta y VALID con el MISMO estilo del saldo === */
#modalMinado .tarjeta-numero,
#modalMinado .tarjeta-valido{
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
          background-clip: initial !important;

  /* mismo contorno y sombras del saldo */
  -webkit-text-stroke: 1px rgba(0,0,0,.42);
          text-stroke: 1px rgba(0,0,0,.42);
  text-shadow:
    0 2px 3px rgba(0,0,0,.70),
    0 0 1px rgba(0,0,0,.85),
    0 12px 22px rgba(0,0,0,.34);

  /* no toca tamaños ni layout */
  text-rendering: geometricPrecision;
}

/* ===ESCALAS MODIFICADAS=== */

/* al final de tu CSS */
#modalComprobante { z-index: 10050; }

/* WC · Modal Retiro: escala estable desde el primer frame */
#modalRetiro .modal-content,
#modalRetiroFinal .modal-content {
  transform: scale(.67);
  transform-origin: center center;
  animation: fadeInRetiro .3s ease both; /* reemplaza la animación general */
}

/* La animación ya acaba en .90, así no hay “salto” */
@keyframes fadeInRetiro{
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: scale(.90); }
}

/* === WC · Tarjetas Minadas — mantener escala desde el primer frame === */
@keyframes fadeInScaled {
  from {
    opacity: 0;
    transform: translateY(6px) scale(var(--modal-scale));
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(var(--modal-scale));
  }
}

.modal--tarjetas .modal-content{
  /* Ajusta el tamaño global: .92, .90, .88, .86… */
  --modal-scale: .86;

  /* Mantener la escala SIEMPRE, incluso durante la animación */
  transform: scale(var(--modal-scale)) !important;
  transform-origin: top center;

  /* Usar la animación que ya incluye la escala */
  animation: fadeInScaled 0.30s ease !important;

  will-change: opacity, transform;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Opcional: en pantallas muy pequeñas, un poco más chico */
@media (max-width: 380px){
  .modal--tarjetas .modal-content{
    --modal-scale: .84;
  }
}

/* === WC · Tarjetas Minadas — centrar verticalmente al abrir === */
.modal--tarjetas{
  display: flex;
  justify-content: center;
  align-items: center; /* ⬅️ asegura centrado vertical */
}

.modal--tarjetas .modal-content{
  transform-origin: center center !important;  /* ⬅️ antes: top center */
  margin: 0;                                   /* por si algún margen empuja */
}

/* (Opcional) viewport moderno para móviles: la capa ocupa toda la altura real */
@supports (height: 100dvh){
  .modal{ height: 100dvh; }
}

/* === WC · BONOS: reducir todo el modal sin distorsión y centrado === */
@keyframes fadeInScaledBonos{
  from { opacity: 0; transform: scale(var(--bonos-scale)); }
  to   { opacity: 1; transform: scale(var(--bonos-scale)); }
}

.modal--bonos{
  display: flex;
  justify-content: center;
  align-items: center;                 /* centrado vertical/horizontal */
}

.modal--bonos .modal-content{
  --bonos-scale: .75;                  /* ⬅️ tamaño global (ajusta .90/.88 si quieres) */
  transform: scale(var(--bonos-scale)) !important;
  transform-origin: center center !important;
  animation: fadeInScaledBonos .25s ease !important;

  max-height: 92vh;                    /* nunca más alto que la pantalla */
  overflow: hidden;                    /* el scroll es del interior */
}

/* El listado interno scrollea dentro (no empuja el modal) */
#modalBonos .bono-wrapper{
  max-height: calc(92vh - 180px);      /* deja espacio a header/botones */
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Opcional: en móviles muy pequeños, un toque más chico */
@media (max-width: 380px){
  .modal--bonos .modal-content{ --bonos-scale: .88; }
}

/* === WC · ACTIVIDAD RECIENTE: reducir y centrar sin “saltos” === */
@keyframes fadeInScaledActividad{
  from { opacity: 0; transform: scale(var(--act-scale)); }
  to   { opacity: 1; transform: scale(var(--act-scale)); }
}

.modal--actividad{
  display: flex;
  justify-content: center;
  align-items: center;                 /* centrado vertical y horizontal */
}

.modal--actividad .modal-content{
  /* Tamaño global (ajusta .92/.90/.88 si quieres) */
  --act-scale: .94;

  transform: scale(var(--act-scale)) !important;
  transform-origin: center center !important;
  animation: fadeInScaledActividad .25s ease !important;

  /* Mantén el cuadro estable y sin desbordes */
  max-height: 92vh;
  overflow: hidden;
}

/* Si la pantalla es muy angosta, un poco más chico (opcional) */
@media (max-width: 380px){
  .modal--actividad .modal-content{ --act-scale: .90; }
}

/* === WC · COMPROBANTES: reducir y centrar sin distorsión === */
@keyframes fadeInScaledComprobantes{
  from { opacity: 0; transform: scale(var(--comp-scale)); }
  to   { opacity: 1; transform: scale(var(--comp-scale)); }
}

.modal--comprobantes{
  display: flex;
  justify-content: center;
  align-items: center;              /* centrado vertical y horizontal */
}

.modal--comprobantes .modal-content{
  --comp-scale: .75;                /* ← ajusta .92/.90/.88 si quieres */
  transform: scale(var(--comp-scale)) !important;
  transform-origin: center center !important;
  animation: fadeInScaledComprobantes .25s ease !important;

  max-height: 92vh;                 /* que nunca exceda la pantalla */
  overflow: hidden;                 /* el scroll va adentro */
}

/* (Opcional) en pantallas muy pequeñas, un poco más chico */
@media (max-width: 380px){
  .modal--comprobantes .modal-content{ --comp-scale: .86; }
}

/* === WC · PERFIL: reducir y centrar sin distorsión === */
@keyframes fadeInScaledPerfil{
  from { opacity: 0; transform: scale(var(--perfil-scale)); }
  to   { opacity: 1; transform: scale(var(--perfil-scale)); }
}

.modal--perfil{
  display: flex;
  justify-content: center;
  align-items: center;                  /* centrado vertical y horizontal */
}

.modal--perfil .modal-content{
  --perfil-scale: .86;                  /* ⇦ ajusta .92/.90 si lo quieres más chico */
  transform: scale(var(--perfil-scale)) !important;
  transform-origin: center center !important;
  animation: fadeInScaledPerfil .25s ease !important;

  max-height: 92vh;                     /* no excede la pantalla */
  overflow: hidden;                     /* el scroll va al interior */
}

/* El contenido del perfil scrollea dentro si hiciera falta */
.modal--perfil .perfil-modal{
  max-height: calc(92vh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
}

/* Opcional: móviles muy pequeños */
@media (max-width: 380px){
  .modal--perfil .modal-content{ --perfil-scale: .90; }
}

/* === PERFIL · eliminar scroll horizontal sin cambiar el diseño === */
.modal--perfil .perfil-modal{
  overflow-x: hidden !important;   /* corta cualquier excedente lateral */
  box-sizing: border-box;          /* padding no suma ancho extra */
}

/* El grid no puede superar el ancho del modal */
.modal--perfil .perfil-modal .atajos-grid.binance{
  width: 100% !important;
  grid-template-columns: repeat(4, minmax(0, 96px)) !important; /* 4 columnas sin desbordar */
  justify-content: center !important;   /* evita “empuje” lateral */
  column-gap: 12px !important;          /* separación controlada */
}

/* Cualquier hijo que pudiera empujar el ancho queda contenido */
.modal--perfil .perfil-modal .atajos-grid .atajo-item,
.modal--perfil .perfil-modal .perfil-footer-actions,
.modal--perfil .perfil-modal .btn-logout{
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ==== WC · Escalar panel del MENÚ (cajón + contenido) sin afectar modales ==== */

/* Factor único de escala del menú */
.menu-box--scaled{ 
  --menu-scale: .84;      /* ajusta .96 /.94 /.92 si quieres */
}

/* Escala el CONTENIDO del panel */
.menu-scale-inner{
  transform: scale(var(--menu-scale));
  transform-origin: top center;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Escala el CAJÓN del panel (ancho, padding, borde) */
.menu-box--scaled.menu-container{
  /* Base original: max-width: 400px; border-radius: 16px; padding: 24px 24px 0; */
  max-width: calc(400px * var(--menu-scale));
  border-radius: calc(16px * var(--menu-scale));
  padding:
    calc(24px * var(--menu-scale))
    calc(24px * var(--menu-scale))
    calc(0px  * var(--menu-scale));
}

/* extra de escala solo para el contenido */
.menu-scale-inner{
  --menu-content-scale: 1.2;  /* ↑ 4% más grande que la caja */
  transform: scale(calc(var(--menu-scale) * var(--menu-content-scale)));
}

/* Opcional: móviles muy pequeños */
@media (max-width: 380px){
  .menu-box--scaled{ --menu-scale: .92; }
}

/* ===== MODALES: escala fija + fade sin saltos ===== */
.modal-content{
  --modal-scale: 0.85;              /* escala deseada */
  transform: scale(var(--modal-scale));
  transform-origin: center center;
  animation: fadeInOpacity 0.28s ease !important; /* evita que el <style> interno use la anim. con transform */
}

/* Animación solo de opacidad (sin transform) */
@keyframes fadeInOpacity {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Ajustes finos opcionales para mantener todo compacto */
.modal-content h2 { font-size: 1rem; }
.modal-content button { font-size: 1rem; padding: 10px 16px; }

/* Modal Referencias */
#modalReferencia .modal-content{
  max-width: 360px;
  padding: 32px 20px 15px;
  border-radius: 12px;
  transform: scale(0.77);
  transform-origin: center center;
}

/* Modal Retiro OK */
#modalRetiroOk .modal-content{
  max-width: 360px;
  padding: 18px 20px 15px;
  border-radius: 12px;
  transform: scale(0.77);
  transform-origin: center center;
}

/* Modal Retiro Ref */
#modalRetiroRef .modal-content{
  max-width: 360px;
  padding: 20px 20px 15px;
  border-radius: 12px;
  transform: scale(0.77);
  transform-origin: center center;
}

/* 🔹 Reducir escala del modal "Aún no has realizado retiros..." */
#modalAvisoRetiros .modal-content {
  transform: scale(0.7) !important;   
  transform-origin: center center !important;
}

.icono-minado {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    transform: translateY(-6px); /* ← Lo sube exactamente al centro */
}

/* IMAGEN DE INSTRUCCIONES */
.img-instrucciones {
  display: block;
  margin: 12px auto 18px auto; /* centrada y con espacio arriba/abajo */
  max-width: 90%;              /* casi todo el ancho del modal */
  height: auto;                /* mantiene proporción */
  border-radius: 10px;         /* opcional: bordes suaves */
}

/* ===== WC · MODAL ACTIVAR TARJETA — refinado visual ===== */
#modalDeposito .modal-content{
  background: linear-gradient(180deg, rgba(26,26,26,.98) 0%, rgba(18,18,18,.98) 100%) !important;
  max-width: 420px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(252,213,53,.14);
  box-shadow:
    0 0 18px rgba(252,213,53,.18),
    0 10px 28px rgba(0,0,0,.35);
}

/* ——— Encabezado: icono y título proporcionados y centrados ——— */
#modalDeposito .titulo-comprobantes-pro{
  display:flex; align-items:center; justify-content:center; gap:8px; 
  margin-bottom: 8px;
}
#modalDeposito .icono-tarjeta-wrap{
  width: 32px; height: 32px; border-radius: 8px;
  background:#111; border:1px solid #333; padding:0;
  display:inline-flex; align-items:center; justify-content:center;
}
#modalDeposito .icono-tarjeta{ font-size: 14px; color:#fcd535; line-height:1; }
#modalDeposito .texto-titulo-minado{
  margin:0; font-family:'Orbitron',sans-serif; font-weight:700; font-size:.96rem;
  letter-spacing:.3px; color:#eaeaea; text-transform:uppercase;
}

/* ——— Bloque Dirección + Copiar: más compacto (cabe la dirección) ——— */
#modalDeposito .deposito-label{
  display:block; margin:8px 0 6px; font-size:.74rem; letter-spacing:.3px;
  text-transform:uppercase; color:#bfbfbf; text-align:left;
}
#modalDeposito .deposito-address-wrap{
  display:flex; align-items:center; gap:8px;
  background:#121212; border:1px solid #2c2c2c; border-radius:10px;
  padding:6px 8px;          /* ↓ padding para ganar ancho útil */
  margin-bottom:12px;
}
#modalDeposito #depositAddress {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #eaeaea;
  font-size: .9rem;
  line-height: 1.2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  padding: 4px 2px;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden; /* si no cabe, se puede desplazar */
  text-align: center; /* 👈 centra el texto horizontalmente */
}

#modalDeposito #depositAddress::-webkit-scrollbar{ height:6px; }
#modalDeposito .btn-copy {
  position: relative;
  top: -35px;
  display:inline-flex; align-items:center; gap:4px;
  background: linear-gradient(180deg, #fcd535 0%, #f5c822 100%);
  color:#0b0e11; border:0; border-radius:8px; padding:6px 7px; /* ↓ tamaño */
  font-weight:800; font-size:.75rem; width:auto;
  box-shadow: 0 2px 10px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.22) inset;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
#modalDeposito .btn-copy i{ font-size:.95em; }
#modalDeposito .btn-copy:hover{
  transform: translateY(-1px); filter:saturate(1.05);
  box-shadow: 0 6px 18px rgba(252,213,53,.30), 0 0 0 1px rgba(255,255,255,.32) inset;
}
/* En pantallas estrechas, oculta el texto del botón para que la dirección se vea completa */
@media (max-width: 380px){
  #modalDeposito .btn-copy span{ display:none; }
  #modalDeposito .btn-copy{ padding:8px; }
}

/* --- Efecto de "latido" + glow permanente --- */
.btn-copy {
  position: relative;
  animation: pulseCopy 1.6s infinite ease-in-out;
  box-shadow: 0 0 14px rgba(252, 213, 53, 0.55); /* Glow permanente */
  transition: box-shadow 0.3s ease;
}

/* Pulso suave */
@keyframes pulseCopy {
  0% {
    transform: scale(1);
    box-shadow: 0 0 14px rgba(252, 213, 53, 0.55);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 18px rgba(252, 213, 53, 0.75);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 14px rgba(252, 213, 53, 0.55);
  }
}

/* ——— Botón CONTINUAR: mismo estilo premium de los otros ——— */
#modalDeposito .btn-continuar{
margin-top: 20px !important;
  display:block; margin:12px auto 2px; max-width:260px; border-radius:10px;
  background: linear-gradient(180deg, #fcd535 0%, #f5c822 100%);
  color:#0b0e11; font-weight:800; letter-spacing:.3px; padding:12px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.25) inset;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
#modalDeposito .btn-continuar:hover{
  transform: translateY(-1px); filter:saturate(1.05);
  box-shadow: 0 6px 20px rgba(252,213,53,.35), 0 0 0 1px rgba(255,255,255,.35) inset;
}

/* === Modal Activar Tarjeta — ajustes específicos === */

/* === Etiqueta “DIRECCIÓN DE ACTIVACIÓN:” — clon de .ref-chip PERO alineada a la izquierda === */
#modalDeposito .deposito-etiqueta {
  display: block;               /* ← de inline-block a block para ignorar el text-align del padre */
  width: fit-content;           /* sólo ocupa lo que mide el texto */
  background: #262626;
  color: #cfcfcf;
  border: 1px solid #2f2f2f;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 3px 8px;
  margin: 21px 0 6px 0;         /* pegada a la izquierda */
  text-transform: uppercase;
  text-align: left;
}

/* === Ajuste de posición del botón COPIAR === */
#modalDeposito .deposito-copy-wrap {
  position: relative;
}

#modalDeposito .btn-copy {
  position: absolute;
  right: 10px;   /* 🔹 mueve el botón más a la derecha */
  top: -96px;    /* 🔹 sube el botón — ajusta este valor (−35, −45…) a tu gusto */
  z-index: 3;
  transform: scale(0.8);
}

/* Más espacio entre el texto del paso 4 y "DIRECCIÓN DE ACTIVACIÓN" */
.deposito-desc:last-of-type {
  margin-bottom: 20px !important;
}

/* === ICONO ESTILO PRO (igual al modal de retiro) === */
.icono-tarjeta-activacion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px;      /* tamaño compacto */
  border-radius: 20px;   /* NO redondo total, igual al modal */
  background: #fcd53525;
  box-shadow: inset 0 0 0 1px #2c2c2c;
}

.icono-tarjeta-activacion i {
  color: #fcd535;                 /* dorado igual */
  font-size: 14px;                /* ajustado */
  filter: drop-shadow(0 1px 4px #fcd53525);
}

/* === ICONO MENÚ DE AVISO === */
.aviso-icono {
  width: 20px;   /* Ajusta el tamaño de la imagen */
  height: auto;  /* Mantiene la proporción */
  vertical-align: middle; /* Alinea la imagen con el texto */
  margin-left: 5px;  /* Espacio entre la imagen y el texto */
  margin-right: 5px; /* Espacio entre la imagen y el texto */
background: #ddd;
}

#modalDeposito .modal-content.modal-deposito {
    height: 220px !important;
width: 360px !important;
}

/* Advertencia neutra profesional (modal video-selfie) */
.alerta-video.neutra {
  background: #2a2a2a;          /* Fondo gris oscuro */
  border-left: 3px solid #555;  /* Borde lateral gris */
  color: #dddddd;
  padding: 10px 12px;
  margin-top: 10px;
  font-size: 0.68rem;
  line-height: 1.4;
  border-radius: 6px;

  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;             /* texto alineado a la izquierda */
}

.alerta-icono {
  flex: 0 0 auto;
  margin-top: 2px;              /* baja un poquito el icono */
}

.alerta-icono i {
  color: #fcd535;               /* amarillo de advertencia */
  font-size: 0.9rem;
}

.alerta-texto {
  flex: 1 1 auto;               /* ocupa el resto del ancho */
}

/* ==== MODAL DE SEGURIDAD — estilo profesional ==== */
#modalSeguridad .modal-seguridad {
  max-width: 420px;
  width: 90%;
  padding: 20px 22px 18px;
  border-radius: 16px;
  text-align: left;

  background:
    radial-gradient(140% 140% at 0% 0%, #262626 0%, #151515 45%, #050505 100%);
  border: 1px solid rgba(252,213,53,0.18);
  box-shadow:
    0 14px 32px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative;
  overflow: hidden;
}

/* Halo superior sutil */
#modalSeguridad .modal-seguridad::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(680px 220px at 50% 0%,
              rgba(252,213,53,0.16), transparent 65%);
  opacity: 0.6;
  pointer-events: none;
}

/* Encabezado: chip de revisión de seguridad */
#modalSeguridad .titulo-comprobantes-pro {
  display: inline-flex;
  align-items: center;      /* ✔ Icono y texto perfectamente alineados */
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
  margin-bottom: 14px;
}

#modalSeguridad .icono-tarjeta-wrap {
  padding: 3px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  position: relative;
  top: -3px;   /* ⬆ Sube todo el badge amarillo */
}

#modalSeguridad .icono-tarjeta {
  font-size: 0.8rem;        /* ✔ proporción exacta con el título */
  line-height: 1;
}

/* Título */
#modalSeguridad .texto-titulo-minado {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #f5f5f5;
  line-height: 1;           /* ✔ misma altura vertical que el icono */
}

/* Texto del mensaje */
#modalSeguridad .seguridad-texto {
  margin: 10px 2px 4px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #e5e5e5;
}

/* Frase de bloqueo resaltada */
#modalSeguridad .seguridad-resaltado {
  font-weight: 600;
  color: #fca5a5;          /* rojo suave, elegante */
}

/* Fondo totalmente negro para el modal de seguridad */
#modalSeguridad {
  background: #000000 !important;    /* Negro puro */
  backdrop-filter: none !important;  /* Quitar blur */
}

/* ===== Modal "Invitar 1 amigo" — tarjeta pro ===== */

/* Contenedor del texto principal */
#modalRetiroRef .ref-callout {
  background:
    radial-gradient(260px 200px at 0% 0%, rgba(252,213,53,0.14), transparent 60%),
    #141414;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.5) inset;
  padding: 28px 14px 14px;   /* ↑ más espacio arriba por el label */
  position: relative;
  text-align: left;
}

/* Etiqueta pequeña arriba de la tarjeta */
#modalRetiroRef .ref-label {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fcd535;
  opacity: 0.9;
}

/* Texto dentro de la tarjeta: más limpio y legible */
#modalRetiroRef .ref-msg {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #e5e5e5;
}

/* Bloque "IMPORTANTE" como tarjetita secundaria */
#modalRetiroRef .ref-ejemplo {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #101010;
  border: 1px dashed rgba(252, 213, 53, 0.55);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Chip IMPORTANTE más pro */
#modalRetiroRef .ref-chip {
  align-self: flex-start;
  background: rgba(252, 213, 53, 0.08);
  color: #f5f5f5;
  border: 1px solid rgba(252, 213, 53, 0.4);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Frase en amarillo bien integrada */
#modalRetiroRef .ref-quote strong {
  color: #fcd535;
  font-weight: 800;
  font-size: 0.9rem;
}

/* ========== Tarjeta KYC PRO (no invade la X) ========== */

.video-kyc-box {
  margin-top: 15px; /* ↓ deja espacio para la X del modal */
  background: #141414;
  padding: 5px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.60),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  position: relative;
  text-align: left;
}

/* Icono superior */
.video-kyc-box::before {
  content: "\f3ed"; /* fa-id-card */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: -18px;
  left: 18px;
  font-size: 20px;
  color: #fcd535;
  background: #141414;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

/* Texto principal */
.video-kyc-text {
  color: #e3e3e3;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Palabra relevante */
.video-kyc-text strong {
  color: #fcd535;
}

/* Animación */
@keyframes fadeKyc {
  0% {opacity: 0; transform: translateY(6px) scale(.97);}
  100% {opacity: 1; transform: translateY(0) scale(1);}
}

/* === Modal "Compartir comprobante" — tarjeta pro === */

#modalReferencia .ref-callout {
  background:
    radial-gradient(260px 200px at 0% 0%, rgba(252,213,53,0.14), transparent 60%),
    #141414;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(0, 0, 0, 0.5) inset;
  padding: 16px 14px 1px;   /* más aire arriba y a los lados */
  position: relative;
  text-align: left;
}

/* Etiqueta pequeña sobre la tarjeta */
#modalReferencia .ref-label {
  position: absolute;
  top: 15px;
  left: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fcd535;
  opacity: 0.9;
}

/* Texto principal de la tarjeta */
#modalReferencia .ref-msg {
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e5e5e5;
}

/* Frase importante en dorado (si la envuelves en .ref-emphasis) */
#modalReferencia .ref-emphasis {
  color: #fcd535;
  font-weight: 600;
}

/* Botón CONTINUAR alineado con el nuevo estilo */
#modalReferencia #btnContinuarReferencia {
  margin-top: 18px;
  width: 100%;
  max-width: 260px;
  font-weight: 800;
  border-radius: 10px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #fcd535, #f5c822);
  color: #000;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#modalReferencia #btnContinuarReferencia:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 6px 18px rgba(252,213,53,0.35);
}

#modalReferencia #btnContinuarReferencia:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

/* === BONOS: cabecera + cupones estilo tarjeta de bono PRO === */

/* Fondo del modal un poco más premium */
/* Modal BONOS vuelve a fondo original */
#modalBonos .modal-content {
  background-color: #1a1a1a !important;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.65);
  border: none;
}

/* Tarjeta principal BONOS */
.bonos-header {
  background: #111; 
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 18px rgba(0,0,0,0.55);
}

/* Icono regalo más pro */
.bonos-icon-wrap {
  background: #222;
  padding: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none; /* Quitamos la luz amarilla */
  color: #fcd535;
}

/* Título BONOS tipo gift-card */
.bonos-titulo-texto {
  font-family: 'Orbitron', sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Subtítulo del rango USDT */
.bonos-subtitulo {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fcd535;
}

/* Línea dorada */
.bonos-divisor {
  width: 70px;
  height: 2px;
  background: #fcd535;
  opacity: 0.8;
  border-radius: 999px;
}

/* Barra de progreso más “tarjeta de bono” */
.bonos-progreso-wrap {
  max-width: 340px;
  gap: 6px;
}

.bonos-progreso-barra {
  height: 10px;
  border-radius: 999px;
  background: #1a1a1a !important; /* sin brillo */
  border: 1px solid #333;
  box-shadow: none !important;     /* quitamos reflejo interno */
}

.bonos-progreso-valor {
  height: 100%;
  border-radius: 999px;
  background: #fcd535 !important;  /* color sólido sin degradado */
  box-shadow: none !important;     /* sin brillo amarillo */
}

/* Texto de monto actual/total */
.bonos-progreso-texto {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eaeaea;
}

/* === Tarjetas de los BONOS (las 2 de abajo) === */

/* Base de tarjeta tipo cupón */
#modalBonos .bono-cupon {
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.55);
}

/* Contenido interno alineado */
#modalBonos .bono-cupon .cupon-body {
  align-items: center;
}

/* Icono redondo del cupón */
#modalBonos .bono-cupon .cupon-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 0%, rgba(255,255,255,0.15), transparent 60%),
    #202020;
  box-shadow: 0 8px 18px rgba(0,0,0,0.85);
  color: #ffffff;
}

/* Texto del cupón */
#modalBonos .bono-cupon .cupon-texto {
  font-size: 13px;
  line-height: 1.35;
  color: #f2f2f2;
}

/* Monto del bono con look de etiqueta */
#modalBonos .bono-cupon .cupon-monto {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0b0b0b;
  border: 1px solid rgba(252,213,83,0.55);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.8) inset;
}

/* Botón del cupón */
#modalBonos .bono-cupon .cupon-btn {
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .9rem;
  font-weight: 700;
  background: linear-gradient(90deg,#ffe45c 0%, #fcd535 55%, #ffcf4a 100%);
  color: #2b2200;
  border: none;
  box-shadow: 0 8px 20px rgba(252,213,83,0.4);
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}

#modalBonos .bono-cupon .cupon-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 26px rgba(252,213,83,0.5);
}

#modalBonos .bono-cupon .cupon-btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(252,213,83,0.35);
}

/* Ajuste en móviles */
@media (max-width: 480px){
  .bonos-header {
    padding: 18px 16px 16px;
  }
  #modalBonos .bono-cupon {
    padding: 12px 12px;
  }
}

/* === COMPROBANTES: tarjetas internas más profesionales === */

/* Tarjeta de texto inicial */
#modalComprobante .mensaje-info{
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #e7e7e7;
  background:
    radial-gradient(160% 140% at 0% 0%, #262626 0%, #151515 45%, #090909 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.8) inset,
    0 10px 22px rgba(0,0,0,0.9);
}

/* Lista de comprobantes */
#modalComprobante .comprobantes-lista{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Cada tarjeta de comprobante */
#modalComprobante .comprobante-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background:
    radial-gradient(190% 190% at 0% 0%, #242424 0%, #141414 45%, #050505 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 9px 20px rgba(0,0,0,.85);
}

/* Icono + texto del comprobante */
#modalComprobante .comprobante-label{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: #f5f5f5;
}

#modalComprobante .comprobante-label i{
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%, #fcd535 0%, #b38618 40%, #4a3502 100%);
  color: #111;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.8),
    0 4px 12px rgba(0,0,0,.9);
  font-size: 1rem;
}

/* Botón SUBIR */
#modalComprobante .btn-subir{
  min-width: 130px;
  border-radius: 999px;
  padding: 9px 14px;
  border: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #111;
  background: linear-gradient(135deg,#fcd535,#f6b422);
  box-shadow: 0 7px 18px rgba(0,0,0,.85);
  cursor: pointer;
  white-space: nowrap;
}

#modalComprobante .btn-subir:hover:not(:disabled){
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(0,0,0,.95);
}

#modalComprobante .btn-subir:active:not(:disabled){
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(0,0,0,.85);
}

#modalComprobante .btn-subir:disabled{
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

/* Tarjeta de aviso final */
#modalComprobante .mensaje-advertencia{
  font-size: 0.7rem;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  line-height: 1.4;
  color: #ffe6b3;
  background:
    radial-gradient(180% 160% at 0% 0%, #3b2610 0%, #271609 45%, #170b03 100%);
  border: 1px solid rgba(252,213,53,0.4);
}

#modalComprobante .mensaje-advertencia i{
  color: #fcd535;
  margin-right: 4px;
}

/* === PANEL ACTIVIDAD DEL SISTEMA · look exchange real === */

/* Tarjeta general */
#modalActividad .modal-content {
  background: #f9fafb !important;
  color: #111827;
  max-width: 420px !important;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}

/* Tabla tipo “ordenes/actividad” real */
#modalActividad .actividad-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  font-variant-numeric: tabular-nums;
}

#modalActividad .actividad-table thead {
  background: #f3f4f6;
}

#modalActividad .actividad-table thead th {
  padding: 6px 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #6b7280;
  border-bottom: 1px solid #e5e7eb;
}

#modalActividad .actividad-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

#modalActividad .actividad-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

#modalActividad .actividad-table tbody tr:hover {
  background: #fefce8;
}

/* Celdas */
#modalActividad .actividad-table tbody td {
  padding: 6px 10px;
  font-size: 0.8rem;
  color: #111827;
}

/* Fecha */
#modalActividad .actividad-table td:nth-child(1) {
  white-space: nowrap;
}

/* Tipo */
#modalActividad .actividad-table td:nth-child(2) {
  color: #4b5563;
}

/* Usuario estilo “id real” */
#modalActividad .actividad-table td:nth-child(3) {
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  color: #111827;
}

/* Monto alineado a la derecha */
#modalActividad .actividad-table td:nth-child(4),
#modalActividad .actividad-table th:nth-child(4) {
  text-align: right;
}

/* Estado con chip pro */
#modalActividad .actividad-table td.estado {
  text-align: center;
}

#modalActividad .estado-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
  white-space: nowrap;
}

#modalActividad .estado-chip i {
  font-size: 0.7rem;
  color: #16a34a;
}

/* Nota inferior más discreta */
#modalActividad .actividad-footnote {
  margin-top: 8px;
  font-size: 0.62rem;
  color: #6b7280;
  text-align: left;
}

/* Botón OCULTAR PANEL estilo barra inferior de app */
#modalActividad #btnOcultarActividad {
  margin-top: 10px;
  width: 100%;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 800;
  background: #facc15;
  color: #111827;
}

#modalActividad #btnOcultarActividad:hover {
  filter: brightness(1.03);
}

/* === WC · MODAL BIENVENIDA — estilo profesional con tarjeta interna === */

#modalBienvenida {
  /* Fondo del overlay solo para este modal */
  background:
    radial-gradient(1200px 800px at 50% -10%, rgba(252,213,53,0.12), transparent 55%),
    rgba(0,0,0,0.72) !important;
  backdrop-filter: blur(4px);
}

#modalBienvenida .modal-content {
  background: linear-gradient(180deg, rgba(26,26,26,0.96), rgba(12,12,12,0.96)) !important;
  border-radius: 14px;
  border: 1px solid rgba(252,213,53,0.22);
  padding: 20px 22px 18px;
  max-width: 360px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 12px 30px rgba(0,0,0,0.65),
    0 0 22px rgba(252,213,53,0.18);
  position: relative;
  overflow: hidden;
  animation: wcWelcomePop 0.3s cubic-bezier(0.22,1,0.36,1);
}

/* halo muy suave arriba */
#modalBienvenida .modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 220px at 50% 0%, rgba(252,213,53,0.18), transparent 65%);
  pointer-events: none;
}

/* Tarjeta interna para título + texto */
#modalBienvenida .bienvenida-card {
  padding: 14px 16px 12px;
  border-radius: 12px;
  background:
    radial-gradient(140% 140% at 0 0, rgba(255,255,255,0.06), transparent 60%)
    #111111;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 22px rgba(0,0,0,0.75);
  margin-bottom: 14px;
}

/* título dentro de la tarjeta */
#modalBienvenida .bienvenida-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  color: #ffffff;
  text-align: center;
}

/* texto dentro de la tarjeta */
#modalBienvenida .bienvenida-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #e5e5e5;
  text-align: center;
}

#modalBienvenida .bienvenida-card p strong {
  color: #fcd535;
}

/* botón GRACIAS */
#modalBienvenida .modal-content button {
  background: linear-gradient(180deg, #fcd535 0%, #f5c822 100%);
  color: #0b0e11;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 11px 18px;
  font-size: 0.92rem;
  width: 100%;
  box-shadow:
    0 2px 10px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.25) inset;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

#modalBienvenida .modal-content button:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow:
    0 6px 18px rgba(252,213,53,0.35),
    0 0 0 1px rgba(255,255,255,0.35) inset;
}

#modalBienvenida .modal-content button:active {
  transform: translateY(0);
}

/* animación de entrada */
@keyframes wcWelcomePop {
  0%   { opacity: 0; transform: translateY(8px) scale(0.97); }
  60%  { opacity: 1; transform: translateY(0)   scale(1.01); }
  100% { opacity: 1; transform: translateY(0)   scale(1); }
}


/* === PERFIL · estilos finales PRO === */

/* Grid de atajos: 4 columnas equilibradas */
.perfil-modal .atajos-grid.binance {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px;
  margin-top: 4px;
}

/* Cada atajo como botón vertical compacto */
.perfil-modal .atajos-grid .atajo-item {
  width: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

/* Círculos oscuros con acento dorado (atajo) */
.perfil-modal .atajos-grid .atajo-tile {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0%, rgba(252, 213, 83, 0.25), transparent 55%),
    #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    0 8px 18px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.perfil-modal .atajos-grid .atajo-tile i {
  color: #fcd535;
  font-size: 18px;
}

/* Texto del atajo */
.perfil-modal .atajos-grid .atajo-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e5e7eb;
  text-align: center;
}

/* Hover sutil con más dorado */
.perfil-modal .atajos-grid .atajo-item:hover .atajo-tile,
.perfil-modal .atajos-grid .atajo-item:focus-visible .atajo-tile {
  transform: translateY(-2px);
  border-color: rgba(252, 213, 83, 0.9);
  box-shadow:
    0 0 0 1px rgba(252, 213, 83, 0.35),
    0 10px 20px rgba(0, 0, 0, 0.9);
}

/* --- Tipografía del header del perfil --- */

.perfil-usuario {
  display: block;                 /* fuerza el nombre en su propia línea */
  font-size: 1.6em;               /* usuario protagonista */
  font-weight: 700;
  color: #ffffff;
  margin-top: 6px;
}

.perfil-id,
.perfil-dni {
  font-size: 13px !important;
  line-height: 1.35 !important;
  letter-spacing: 0.3px !important;
  color: #aab2bd !important;
}

/* Avatar: mantenemos tu óvalo con sombra */
.perfil-avatar {
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 6px 16px rgba(139, 0, 0, 0.18);
}

/* Silueta por encima de todo */
.perfil-avatar .icon-baphomet-img {
  z-index: 2;
  position: relative;
}

/* Encabezado: nombre arriba, badge debajo */
.perfil-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 6px;
}

/* Línea UID / DI */
.perfil-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.35;
  color: #aab2bd;
  letter-spacing: 0.3px;
  margin-top: 6px;
}

/* Badge VERIFICADO — base + estados (verde / amarillo) */

/* Base: forma, padding, sombra (SIN colores) */
.badge-verificado {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;

  font-size: 0.75rem;
  font-weight: 600;
  box-shadow:
    0 0 1px rgba(0,0,0,0.85),
    0 6px 14px rgba(0,0,0,0.8);
}

.badge-verificado i {
  font-size: 0.75rem;
}

/* Estado FINAL: Verificado (verde) — EXACTAMENTE como lo tenías */
.badge-verificado--completa {
  background: rgba(22, 163, 74, 0.12);  /* verde muy suave */
  border: 1px solid #16a34a;
  color: #bbf7d0;
}

.badge-verificado--completa i {
  color: #22c55e;
}

/* Estado INICIAL: Verificación 50% (amarillo) — mismo estilo, otro color */
.badge-verificado--pendiente {
  background: rgba(245, 158, 11, 0.16);   /* amarillo suave */
  border: 1px solid #f59e0b;
  color: #fffbeb;
}

.badge-verificado--pendiente i {
  color: #fef3c7;
}

/* ----------- BOTÓN CERRAR SESIÓN ----------- */

.perfil-modal .perfil-footer-actions {
  margin-top: 16px;
}

/* Botón largo, oscuro y elegante */
.perfil-modal .btn-logout {
  width: 100%;
  background: #020617 !important;
  color: #e5e7eb !important;
  border: 1px solid rgba(148, 163, 184, 0.65);
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.85);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.04s ease;
}

.perfil-modal .btn-logout i {
  font-size: 16px;
  line-height: 1;
  opacity: 0.95;
}

.perfil-modal .btn-logout:hover {
  background: #030712 !important;
  border-color: rgba(209, 213, 219, 1);
}

.perfil-modal .btn-logout:active {
  transform: translateY(1px);
}

/* Que el botón ocupe toda la fila bajo los atajos */
.perfil-modal .atajos-grid.binance .btn-logout {
  grid-column: 1 / -1;
  justify-self: center;
  align-self: start;
  width: min(420px, 100%) !important;
  margin-top: 14px;
}
