/* =======================================================
   HOME GLOBAL THEME — colores, fuentes y márgenes base
   ======================================================= */
:root {
  --theme-bg: linear-gradient(135deg, #1a0f00 0%, #994407 60%, #1a0f00 100%);
  --theme-text: #ffffff;
  --secondary-bar-height: 70px;
  --font-primary: 'Poppins', sans-serif;

  /* COLORES NUEVOS PARA BOTÓN DINÁMICO */
  --btn-azul: linear-gradient(180deg, #00c6ff 0%, #0072ff 100%);
  --btn-verde: linear-gradient(180deg, #00ff88 0%, #00cc66 100%);
  --btn-rojo: linear-gradient(180deg, #ff3b3b 0%, #cc0000 100%);
}

/* =======================================================
   BASE DEL BODY
   ======================================================= */
body {
  background: linear-gradient(135deg, #1a0f00 0%, #471e01 60%, #1a0f00 100%);
  color: var(--theme-text);
  font-family: var(--font-primary);
  margin: 0;
  padding-top: var(--secondary-bar-height);
}

/* =======================================================
   MAIN HEADER
   ======================================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--secondary-bar-height);
  background: var(--theme-bg);
  color: var(--theme-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
}

/* LOGO */
.header-logo {
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header-logo:hover {
  transform: scale(1.05);
  opacity: 0.8;
}
.logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: url('logo.png') center/cover no-repeat;
  border: 2px solid #f8f5f3;
}
.logo-text {
  color: var(--theme-text);
  text-decoration: none;
}
.header-logo:hover .logo-text {
  text-decoration: underline;
  text-decoration-color: #ffffff;
}

/* =======================================================
   ICONO HOME 2D
   ======================================================= */
.home-icon-2d {
  --icon-color: #fff;
  --icon-size: 30px;
  --icon-move-x: -10px;
  --icon-move-y: 8px;
  width: 22px;
  height: 22px;
  position: relative;
  margin-left: 0.6rem;
  top: -10px;
  color: var(--icon-color);
  transform: translate(var(--icon-move-x), var(--icon-move-y)) scale(calc(var(--icon-size) / 22px));
  transform-origin: left top;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.home-icon-2d::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 11px solid currentColor;
}
.home-icon-2d::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 3px;
  width: 16px;
  height: 11px;
  background: currentColor;
}
.home-icon-2d:hover {
  transform: scale(1.1) rotate(8deg);
  opacity: 0.85;
}

/* =======================================================
   BOTÓN HOME
   ======================================================= */
.language-selector {
  margin-left: 1rem;
}
.lang-btn {
  background: linear-gradient(180deg, #eb4411 0%, #000000 50%, #6b2205 100%);
  border: 2px solid #faf6f6;
  color: var(--theme-text);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
  top: 2px;
}
.lang-btn:hover {
  background: #fffdfc;
  color: #000;
}

/* =======================================================
   HOME CONTROLS
   ======================================================= */
.home-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: 905px;
}


/* ============================================================
   BOTÓN DE DIRECCIÓN
   ============================================================ */
.direction-btn {
  --scale: 1;
  --arrow-ratio: 0.50;

  background-color: #220b01;
  border: 2px solid #ffffff;
  border-radius: 10px;
  width: calc(35px * var(--scale));
  height: calc(35px * var(--scale));
  position: absolute;
  top: 21.8px;
  left: 400px;
  margin-left: 13px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.direction-btn .arrow-icon {
  position: absolute;
  top: calc(50% + var(--offset-y, 0px));
  left: calc(50% + var(--offset-x, 0px));
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  width: 0;
  height: 0;
  border-left: calc(12px * var(--scale, 1)) solid transparent;
  border-right: calc(12px * var(--scale, 1)) solid transparent;
  border-bottom: calc(15px * var(--scale, 1)) solid var(--arrow-color, #fff);
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.4));
  transition: all 0.3s ease;
}

.direction-btn.down .arrow-icon {
  transform: translateX(-50%) rotate(180deg);
}

.direction-btn:hover {
  background-color: #f70b0b;
  transform: scale(1.05);
}

.direction-btn:active {
  transform: scale(0.80);
  opacity: 0.85;
}

.direction-btn {
  transform: scale(var(--btn-scale, 1));
  transform-origin: center center;
}

/* ============================================================
   BOTÓN LOGIN SPOTIFY — OBLICUO + GRADIENTE (REAL-LIVE)
   ============================================================ */

.login-spotify-btn {
  display: none;
  padding:5px 20px;
  border:none;
  font-size:16px;
  font-weight:1000;
  font-style:oblique;
  letter-spacing:.5px;
  color:#fff;
  
margin:0 10px;

  position:absolute;
  top:24px;
  left:452px;

  /* MISMO COLOR QUE TENÍAS PERO EN GRADIENTE */
  background:linear-gradient(
    180deg,
    #220b01,
    #000000
  );

  cursor:pointer;
  border-radius:14px;

  /* FORMA OBLICUA */
  clip-path:polygon(6% 0%,100% 0%,94% 100%,0% 100%);

  transition:transform .12s ease,background .15s ease,box-shadow .15s ease;
  box-shadow:0 6px 18px rgba(0,0,0,.45);


}

.login-spotify-btn:hover{
  transform:translateY(-3px);

  /* MISMO COLOR HOVER PERO EN GRADIENTE */
  background:linear-gradient(
    90deg,
    #f70b0b,
    #5a0000
  );

  box-shadow:0 10px 26px rgba(0,0,0,.6);
}

.login-spotify-btn:active{
  transform:scale(0.80);
  opacity:0.85;
}

/* =======================================================
   BLOQUE DERECHO DE LA BARRA SUPERIOR
   ======================================================= */
.header-right {
  position: absolute;
  top: 0;
  right: 0rem;
  height: 100%;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0 1rem;
  box-sizing: border-box;
  z-index: 1200;
}



/* ============================================================
   AVATARES
   ============================================================ */
.user-avatar,
.curator-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.12);
  flex: 0 0 auto;
  cursor: pointer;
}
.user-avatar img,
.curator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .18s ease, opacity .18s ease;
}
.user-avatar img:hover,
.curator-avatar img:hover {
  transform: scale(1.08);
  opacity: 0.95;
}

/* ============================================================
   SELECTOR DE IDIOMA
   ============================================================ */
.lang-selector {
  padding: 6px 12px;
  border: 2px solid #fff;
  border-radius: 25px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
}
.lang-selector:hover {
  background: #fff;
  color: #000;
}

/* ============================================================
   BOTONES DEL BLOQUE DERECHO
   ============================================================ */
.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-btn i {
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}
.nav-btn:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* ============================================================
   MENÚ DASHBOARD MOBILE — BASE OCULTA PC (REAL-LIVE)
   ============================================================ */
.mobile-dashboard-menu-shell,
.mobile-dashboard-menu-btn,
#mobile-dashboard-menu {
  display: none;
}

/* ============================================================
   MENÚ EXPLORAR — NUEVO DISEÑO COMPACTO Y VISTOSO
   ============================================================ */
.explorar-dropdown {
  position: absolute;
  top: 60px;
  right: 115px;
  width: 350px;

  background: #120700;
  border: 2px solid #ff9a3c;
  border-radius: 14px;

  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;

  box-shadow: 0 6px 18px rgba(0,0,0,0.65),
              0 0 10px rgba(255,120,0,0.55);

  z-index: 99999;
}

#user-menu {
  right: 115px !important;
  top: 55px !important;
}

.explorar-dropdown.show {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.explorar-item {
  width: 90%;
  padding: 3px 0;
  text-align: center;

  font-weight: 800;
  font-size: 0.95rem;
  color: #ffd79e;
  text-decoration: none;

  border-bottom: 2px solid rgba(255,150,50,0.35);

  background: linear-gradient(180deg, #4a1a00, #2a0c00);
  cursor: pointer;
  transition: all .2s ease;

  border-radius: 10px;
  margin: 3px auto;
}

.explorar-item:last-child {
  border-bottom: none;
}

.explorar-item:hover {
  background: linear-gradient(180deg, #ff7c11, #b93f00);
  color: #fff;
  transform: scale(1.03);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .header-right {
    max-width: calc(100% - 120px);
    right: 0.6rem;
    gap: 0.6rem;
  }
  .user-avatar,
  .curator-avatar {
    width: 36px;
    height: 36px;
  }
  .nav-btn i {
    font-size: 1.1rem;
  }
  .nav-btn .nav-label {
    font-size: 0.72rem;
  }
}

/* ============================================================
   BARRA SECUNDARIA
   ============================================================ */
.secondary-bar {
  width: 100%;
  background: linear-gradient(180deg, rgba(97, 13, 2, 0.9) 0%, rgba(11,11,11,0.8) 100%);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
  z-index: 9;
  border-bottom: 0px solid rgb(41, 19, 1);
  backdrop-filter: blur(6px);
}

.secondary-bar .container {
  width: 100%;
  max-width: 1400px;
  padding: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.sb-group {
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateX(70px);
}

/* TÍTULO DE SECCIÓN */
.language-selector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 25px;
  background: rgba(207, 94, 14, 0.678);
  box-shadow: 0 3px 8px rgba(255,107,0,0.28);
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  margin-left: -35px;
}

.language-selector:hover {
  background: rgba(255, 106, 0, 0.959);
  transform: translateY(-1px);
}


/* ============================================================
   TOKENS EN BARRA SECUNDARIA - VERSIÓN FINAL
   ============================================================ */
.tokens-container {
  display: flex;
  align-items: center;
  gap: 0px;
  margin-left: 0px;
  cursor: pointer;
}

.token-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(165, 73, 11, 0);
  border-radius: 50px;
  padding: 6px 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}
.token-item:hover {
  transform: scale(1.05);
}

.token-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.token-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.token-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.token-count {
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffae42;
}


/* DIFERENCIAS VISUALES */
.token-item[data-token="daily"] .token-icon { box-shadow: 0 0 10px rgba(0,145,255,0.8); }
.token-item[data-token="indie"] .token-icon { box-shadow: 0 0 10px rgba(0,255,120,0.8); }
.token-item[data-token="regalo"] .token-icon { box-shadow: 0 0 10px rgba(255,0,200,0.8); }


/* ============================================================
   LISTA SIGUIENTES - PRINCIPAL
   ============================================================ */

/* VARIABLES */
:root {
  --card-bg: linear-gradient(135deg, #2a0b00 0%, #6b2104 50%, #2a0b00 100%);
  --banner-bg: linear-gradient(90deg, #5b0f1a 0%, #8d3b14 50%, #5b0f1a 100%);
  --text-main: #ffffff;
  --img-border: rgba(255,255,255,0.12);
  --avatar-size: 30px;
  --logo-size: 30px;
  --banner-gap: 0px;
  --accent: linear-gradient(180deg,#ff6a00 0%,#ffbb33 100%);
  --card-shadow: 0 8px 30px rgba(0,0,0,0.6);
  --card-radius: 14px;
}

/* RESET */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

/* TARJETA PRINCIPAL */
.curation-card{
  width: 30%;
  margin-left: 430px;
  transform: translateX(-400px);
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  height: 400px;
}

/* BANNER */
.curation-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--banner-gap);
  padding: 5px 11px;
  background: var(--banner-bg);
  border-bottom: -20px solid rgba(0,0,0,0.25);
  height: 40px;
}

.curator-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:var(--avatar-size);
  height:var(--avatar-size);
  border-radius:50%;
  overflow:hidden;
  border:3px solid var(--img-border);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));
  text-decoration:none;
}

.curator-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.curation-title{
  flex:1;
  text-align:center;
  font-weight:800;
  font-size:1.20rem;
  color:var(--text-main);
  letter-spacing:0.6px;
  user-select:none;
}

.curation-logo{
  width:var(--logo-size);
  height:var(--logo-size);
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid rgba(255,255,255,0.06);
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.08));
}
.curation-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.track-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap: 0px;
}

.track-item{
  display:flex;
  align-items:center;
  gap:0px;
  padding:10px;
  border-radius:10px;
  transition:background .15s ease, transform .12s ease;
  background: linear-gradient(180deg, rgb(7, 6, 6), rgb(88, 43, 1));
  width: 97%;
  height: 72px;
  margin-left: 5px;
  margin-top: 10px;
}
.track-item:hover{
  transform:translateY(-3px);
  background:linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.track-left{
  display:flex;
  align-items:center;
  gap:0px;
  width:80px;
  min-width:50px;
  flex:0 0 auto;
}
.track-pos{
  width:20px;
  text-align:center;
  font-weight:700;
}
.track-cover{
  width:50px;
  height:50px;
  border-radius:6px;
  object-fit:cover;
  border:2px solid var(--img-border);
}

.track-meta{
  flex:1;
  min-width:0;
  overflow:hidden;
}
.track-title{
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.track-artist{
  font-size:0.6rem;
  color:rgba(255,255,255,0.75);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.track-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  width:40px;
  min-width:30px;
  margin-left:auto;
  flex:0 0 auto;
}

.track-date{
  font-size:0.60rem;
  color:rgba(255,255,255,0.7);
}
.track-duration{
  font-size:0.60rem;
  color:rgba(255,255,255,0.9);
}
.track-play-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  appearance:none;
  border:none;
  padding:2px 6px;
  border-radius:8px;
  background:var(--accent);
  color:#000;
  font-weight:700;
  line-height:1;
  min-width:32px;
  min-height:24px;
  cursor:pointer;
  transition:transform .12s ease,opacity .12s ease;
}


/* FOOTER — SIGUIENTES */
.curation-card > .curation-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid rgba(0,0,0,0.12);
  height: 32px;
  margin-left: 5px;
  font-weight: 800;

}


/* ============================================
   LISTA DE PROCESADAS - PRINCIPAL
   ============================================ */
#processed-card {
  position: relative;
  top: -400px;
  left: 35%;
  width: 30%;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  height: 400px;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255,255,255,0.05);
}

#processed-card .curation-banner {
  background: var(--banner-bg);
  padding: 5px 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
  height: 40px;
}

#processed-card .curation-title {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-main);
}

#processed-card .track-item {
   display:flex;
  align-items:center;
  gap:0px;
  padding:10px;
  border-radius:10px;
  transition:background .15s ease, transform .12s ease;
  background: linear-gradient(180deg, rgb(7, 6, 6), rgb(88, 43, 1));
  width: 97%;
  margin-left: 5px;
  margin-top: 10px;
}

#processed-card .track-item:hover {
  transform: translateY(-3px);
}

#processed-card .track-status {
  font-weight: 800;
  margin-top: 4px;
}

#processed-card .curation-body {
  height: 390px; /* mismo espacio visual que siguientes */
  overflow: hidden; /* elimina scroll */
}

#processed-card .accepted { color: #00ff80; }
#processed-card .rejected { color: #ff3b3b; }

/* ANIMACIÓN GLOBAL */
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }


/* FOOTER — PROCESADAS */
#processed-card > .curation-footer{
  display:flex;
  justify-content:center; /* o lo que quieras */
  align-items:center;
  margin-left:-240px;
  margin-top: -53px;
  font-weight: 800;
}



/* ============================================================
   BARRA DE BÚSQUEDA DE CANCIONES
   ============================================================ */

.search-bar {
  --search-bar-stack-gap: 10px;
  position: absolute;
  top: 160px;
  right:24px;
  width: 32%;
  max-width: 420px;
  height: 240px;
  background: linear-gradient(135deg, #2a0b00 0%, #6b2104 60%, #2a0b00 100%);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: var(--search-bar-stack-gap);
  z-index: 10;
}

.search-bar input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid #ff6a00;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: all 0.25s ease;
}
.search-bar input:focus {
  border-color: #ffaa33;
  background: rgba(255,255,255,0.08);
}

.search-bar button {
  align-self: flex-end;
  padding: 8px 18px;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff6a00 0%, #ffbb33 100%);
  color: #000;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.search-bar button:hover {
  transform: scale(1.05);
}

/* SUGERENCIAS */
.suggestions-list {
  position: relative;
  z-index: 4;
  list-style: none;
  margin: 0;
  padding: 8px 6px 8px 8px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(18,9,2,0.98), rgba(52,23,4,0.97));
  border: 1px solid rgba(255,186,94,0.42);
  border-radius: 14px;
  max-height: 180px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  box-shadow: 0 14px 28px rgba(0,0,0,0.52);
  animation: fadeIn 0.3s ease forwards;
}

.suggestions-list li,
.suggestion-item,
.no-results {
  padding: 10px 12px;
  border-radius: 10px;
}

.suggestions-list li,
.suggestion-item {
  margin-right: 3px;
  color: #fff4de;
  background: rgb(26, 2, 2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.suggestions-list li:hover,
.suggestion-item:hover {
  background: rgb(0, 0, 0);
  color: #ffffff;
  transform: translateX(2px);
}

.no-results {
  margin-right: 6px;
  color: rgba(255,244,222,0.92);
  background: rgba(255,255,255,0.04);
  cursor: default;
}

.suggestions-list::-webkit-scrollbar {
  width: 9px;
}

.suggestions-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  margin: 8px 2px 8px 0;
}

.suggestions-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffb347, #ff7a18);
  border-radius: 999px;
  border: 2px solid rgba(18,9,2,0.98);
}

.suggestions-list {
  scrollbar-width: thin;
  scrollbar-color: #ff9a2f rgba(255,255,255,0.08);
}

/* RESULTADO */
#resultado-cancion {
  position: absolute;
  top: calc(100px + var(--search-bar-stack-gap));
  left: 10px;
  width: 95%;
  z-index: 1;
  animation: slideDown 0.4s ease forwards;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-5px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes slideDown {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* SELECCIÓN DE CANCIÓN */
.selected-song {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1e1200, #5c3300);
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.4s ease-in-out;
  
  
}

.selected-song .track-item {
  width: 100%;
  background: linear-gradient(180deg, #2a1600, #6a3d00);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  
  
}

.selected-song .track-cover {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 10px;
}

.selected-song .track-meta {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: left;
}

.selected-song .track-title {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.selected-song .track-artist {
  font-size: 14px;
  color: #ccc;
}

#present-btn,
#present-btn-inline {
  width: 160px;
  margin-top: 9px;
  margin-left: 20px;
  padding: 8px 14px;

  font-size:16px;
  font-weight:1000;
  font-style: oblique;
  letter-spacing:.5px;
  color:#fff;

  background: linear-gradient(
    180deg,
    rgb(11, 145, 7),
    rgb(1, 19, 1)
  );

  cursor:pointer;

  border-radius:14px;
  clip-path:polygon(
    6% 0%,
    100% 0%,
    94% 100%,
    0% 100%
  );

  transition:
    transform .12s ease,
    background .15s ease,
    box-shadow .15s ease;

  box-shadow:
    0 6px 18px rgba(0,0,0,.45);
}

#present-btn:hover,
#present-btn-inline:hover {
  transform:translateY(-3px);
  background: linear-gradient(
    90deg,
    rgba(5, 37, 1, 0.945),
    rgba(30, 107, 7, 0.938)
  );
  box-shadow:
    0 10px 26px rgba(0,0,0,.6);
}


/* BOTÓN CANCELAR */
#cancel-btn{
  width:160px;
  margin-top: 8px;
  padding:8px 14px;
  margin-left: 5px;

  font-size:16px;
  font-weight:1000;
  font-style:oblique;
  letter-spacing:.5px;
  color:#fff;

  background:linear-gradient(
    180deg,
    rgb(158, 17, 17),
    rgb(25, 0, 0)
  );

  cursor:pointer;

  border-radius:14px;
  clip-path:polygon(
    6% 0%,
    100% 0%,
    94% 100%,
    0% 100%
  );

  transition:
    transform .12s ease,
    background .15s ease,
    box-shadow .15s ease;

  box-shadow:
    0 6px 18px rgba(0,0,0,.45);
}

#cancel-btn:hover{
  transform:translateY(-3px);
  background:linear-gradient(
    90deg,
    rgb(80, 0, 0),
    rgb(160, 0, 0)
  );
  box-shadow:
    0 10px 26px rgba(0,0,0,.6);
}


/* ===========================================================
   PANEL CONFIRMACIÓN — CANCELAR PRESENTACIÓN
   ESTILO BADHYBRIX · ADAPTADO A SEARCH
   =========================================================== */

#cancel-confirm-banner{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  backdrop-filter:blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.cancel-confirm-box{
  background:linear-gradient(
    180deg,
    rgb(15,15,15),
    rgb(5,5,5)
  );
  padding:40px 50px;
  text-align:center;
  border-radius:18px;
  box-shadow:0 25px 60px rgba(0,0,0,.7);
  border:1px solid rgba(255,255,255,.05);
}

.cancel-confirm-text{
  font-size:22px;
  font-weight:1000;
  font-style:oblique;
  letter-spacing:.8px;
  color:#fff;
  margin-bottom:35px;
}

/* ============================= */
/* BOTÓN SÍ CANCELAR            */
/* ============================= */

.cancel-confirm-yes{
  padding:11px 26px;
  border:none;
  font-size:16px;
  font-weight:1000;
  font-style:oblique;
  letter-spacing:.5px;
  color:#fff;
  background:linear-gradient(
    180deg,
    rgb(32,1,1),
    rgb(245,7,7)
  );
  cursor:pointer;
  border-radius:14px;
  clip-path:polygon(6% 0%,100% 0%,94% 100%,0% 100%);
  transition:transform .12s ease,background .15s ease,box-shadow .15s ease;
  box-shadow:0 6px 18px rgba(0,0,0,.45);
  margin:0 10px;
}

.cancel-confirm-yes:hover{
  transform:translateY(-3px);
  background:linear-gradient(
    90deg,
    rgb(255,3,3),
    rgb(71,2,2)
  );
  box-shadow:0 10px 26px rgba(0,0,0,.6);
}

/* ============================= */
/* BOTÓN NO CONTINUAR           */
/* ============================= */

.cancel-confirm-no{
  padding:11px 26px;
  border:none;
  font-size:16px;
  font-weight:1000;
  font-style:oblique;
  letter-spacing:.5px;
  color:#fff;
  background:linear-gradient(
    180deg,
    rgb(11,145,7),
    rgb(1,19,1)
  );
  cursor:pointer;
  border-radius:14px;
  clip-path:polygon(6% 0%,100% 0%,94% 100%,0% 100%);
  transition:transform .12s ease,background .15s ease,box-shadow .15s ease;
  box-shadow:0 6px 18px rgba(0,0,0,.45);
  margin:0 10px;
}

.cancel-confirm-no:hover{
  transform:translateY(-3px);
  background:linear-gradient(
    90deg,
    rgba(5,37,1,.945),
    rgba(30,107,7,.938)
  );
  box-shadow:0 10px 26px rgba(0,0,0,.6);
}

/* ============================================================
   MENÚ DE SELECCIÓN DE TOKENS (ESTILO NUEVO)
   ============================================================ */
.token-menu {
  --token-menu-shift-x: 0px;
  --token-menu-shift-y: -14px;
  --token-menu-highlight-scale: 1.04; /* AJUSTA AQUÍ LA AMPLITUD DEL HOVER GUIADO */
  --token-menu-highlight-glow: 24px; /* AJUSTA AQUÍ LA INTENSIDAD DEL BRILLO DEL HOVER GUIADO */
  --token-menu-highlight-color: rgba(255, 187, 51, 0.78); /* AJUSTA AQUÍ EL COLOR / IMPACTO DEL HOVER GUIADO */
  height: 150px;
  width: 420px;
  max-width: 100%;
  margin-top: 0;
  margin-left: 0;
  background: linear-gradient(135deg, #2a0b00 0%, #6b2104 100%);
  border: 2px solid #ffbb33;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  animation: fadeIn 0.25s ease;
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
  transform: translate(var(--token-menu-shift-x), var(--token-menu-shift-y));
  align-self: flex-start;
}

/* ============================================================
   ANIMACIÓN DE EXPANSIÓN GUIADA DEL MENÚ DE TOKENS
   ============================================================ */

@keyframes tokenMenuHighlightExpand {
  0% {
    transform: translate(var(--token-menu-shift-x), var(--token-menu-shift-y)) scale(1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
    filter: saturate(1);
  }
  45% {
    transform: translate(var(--token-menu-shift-x), var(--token-menu-shift-y)) scale(var(--token-menu-highlight-scale));
    box-shadow:
      0 0 var(--token-menu-highlight-glow) var(--token-menu-highlight-color),
      0 16px 34px rgba(0, 0, 0, 0.62);
    filter: saturate(1.08);
  }
  100% {
    transform: translate(var(--token-menu-shift-x), var(--token-menu-shift-y)) scale(1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
    filter: saturate(1);
  }
}

.token-menu-highlight {
  animation: tokenMenuHighlightExpand 1.2s ease both;
  will-change: transform, box-shadow, filter;
}

.token-menu .menu-header {
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffbb33;
}

/* ============================================================
   BOTÓN PRINCIPAL DEL MENÚ (DINÁMICO)
   ============================================================ */

#token-action-btn {
  display: inline-block;
  width: 60%;
  margin-top: 4px;
  border: none;
  border-radius: 40px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(180deg, #ff6a00 0%, #ffbb33 100%);
  color: #000;
  padding: 6px 18px;
  box-shadow: 0 4px 12px rgba(255, 136, 0, 0.45);
  transition: all 0.25s ease;
}
#token-action-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(255, 170, 50, 0.6);
}

/* ESTADOS DINÁMICOS NUEVOS */
#token-action-btn.confirmar {
  background: var(--btn-azul);
  color: #fff;
}
#token-action-btn.exito {
  background: var(--btn-verde);
  color: #000;
}
#token-action-btn.reintentar {
  background: var(--btn-rojo);
  color: #fff;
}

/* NOTIFICACIÓN FLOTANTE PARA ERRORES */
.token-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #ff3b3b, #cc0000);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.35s ease;
  z-index: 999999;
}
.token-toast.show {
  opacity: 1;
  transform: translateY(0);
}


/* ======================================================= */
/* CONTAINER DE PAGOS */
/* ======================================================= */

#pagos-container {
  width: 96.5%;
  max-width: 100%;
  margin-left: 5px;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 100px;
  padding: 20px;
  background: linear-gradient(145deg,#3a1300 0%,#120700 100%);
  border-radius: 20px;
  border: 1px solid rgba(255,140,60,0.35);
  box-shadow: 0 0 14px rgba(255,80,0,0.25);
}

.pago-item {
  background: linear-gradient(145deg,#5a1a00 0%,#210900 100%);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,140,60,0.35);
  box-shadow: 0 0 10px rgba(255,80,0,0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 160px;
  position: relative;
}

.pago-item{
  overflow: visible;
}

.pago-item .tienda-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 2px solid #fff;
  box-shadow: 0 0 8px rgba(255,150,40,0.65);
}

.pago-item .tienda-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffe2c8;
  margin-bottom: 4px;
}

.pago-item .tienda-card-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffbf75;
}

@keyframes pagosGlow {
  0% { box-shadow: 0 0 0px rgba(255,140,60,0.0); }
  50% { box-shadow: 0 0 30px rgb(255, 141, 60); }
  100% { box-shadow: 0 0 14px rgb(26, 236, 54); }
}

.pago-comprar-btn {
  margin-top: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #fd8309;
  background: linear-gradient(135deg,#052505 0%,#035a0b 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .20s ease, opacity .20s ease;
}
.pago-comprar-btn:hover {
  transform: scale(1.04);
  opacity: 0.92;
}


/* ==================================================
   BOTÓN CANCELAR — PANEL PAGOS (EXCLUSIVO)
   ================================================== */

#cancel-pagos-btn{

  width:350px;
  padding:8px 14px;
  top: 773px;
  margin-left: 85px;


  font-size:16px;
  font-weight:1000;
  font-style:oblique;
  letter-spacing:.5px;
  color:#fff;

  background:linear-gradient(
    180deg,
    rgb(158, 17, 17),
    rgb(25, 0, 0)
  );

  cursor:pointer;

  border-radius:14px;
  clip-path:polygon(
    6% 0%,
    100% 0%,
    94% 100%,
    0% 100%
  );

  transition:
    transform .12s ease,
    background .15s ease,
    box-shadow .15s ease;

  box-shadow:
    0 6px 18px rgba(0,0,0,.45);

    
}



#cancel-pagos-btn:hover{
  transform:translateY(-3px);
  background:linear-gradient(
    90deg,
    rgb(80, 0, 0),
    rgb(160, 0, 0)
  );
  box-shadow:
    0 10px 26px rgba(0,0,0,.6);

}

#cancel-pagos-btn{
  outline: none !important;
  border: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow:
    0 6px 18px rgba(0,0,0,.45) !important;
}

#cancel-pagos-btn:focus,
#cancel-pagos-btn:active,
#cancel-pagos-btn:focus-visible{
  outline: none !important;
  border: none !important;
  box-shadow:
    0 6px 18px rgba(0,0,0,.45) !important;

}



/* ===========================================================
   PANEL CONFIRMACIÓN — CANCELAR PAGOS (ABSOLUTO)
   ESTILO BADHYBRIX
   =========================================================== */

#cancel-pagos-abs-confirm-banner{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  backdrop-filter:blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.cancel-pagos-abs-confirm-box{
  background:linear-gradient(
    180deg,
    rgb(15,15,15),
    rgb(5,5,5)
  );
  padding:40px 50px;
  text-align:center;
  border-radius:18px;
  box-shadow:0 25px 60px rgba(0,0,0,.7);
  border:1px solid rgba(255,255,255,.05);
}

.cancel-pagos-abs-confirm-text{
  font-size:22px;
  font-weight:1000;
  font-style:oblique;
  letter-spacing:.8px;
  color:#fff;
  margin-bottom:35px;
}

/* BOTÓN SÍ */

.cancel-pagos-abs-confirm-yes{
  padding:11px 26px;
  border:none;
  font-size:16px;
  font-weight:1000;
  font-style:oblique;
  letter-spacing:.5px;
  color:#fff;
  background:linear-gradient(
    180deg,
    rgb(32,1,1),
    rgb(245,7,7)
  );
  cursor:pointer;
  border-radius:14px;
  clip-path:polygon(6% 0%,100% 0%,94% 100%,0% 100%);
  transition:transform .12s ease,background .15s ease,box-shadow .15s ease;
  box-shadow:0 6px 18px rgba(0,0,0,.45);
  margin:0 10px;
}

.cancel-pagos-abs-confirm-yes:hover{
  transform:translateY(-3px);
  background:linear-gradient(
    90deg,
    rgb(255,3,3),
    rgb(71,2,2)
  );
  box-shadow:0 10px 26px rgba(0,0,0,.6);
}

/* BOTÓN NO */

.cancel-pagos-abs-confirm-no{
  padding:11px 26px;
  border:none;
  font-size:16px;
  font-weight:1000;
  font-style:oblique;
  letter-spacing:.5px;
  color:#fff;
  background:linear-gradient(
    180deg,
    rgb(11,145,7),
    rgb(1,19,1)
  );
  cursor:pointer;
  border-radius:14px;
  clip-path:polygon(6% 0%,100% 0%,94% 100%,0% 100%);
  transition:transform .12s ease,background .15s ease,box-shadow .15s ease;
  box-shadow:0 6px 18px rgba(0,0,0,.45);
  margin:0 10px;
}

.cancel-pagos-abs-confirm-no:hover{
  transform:translateY(-3px);
  background:linear-gradient(
    90deg,
    rgba(5,37,1,.945),
    rgba(30,107,7,.938)
  );
  box-shadow:0 10px 26px rgba(0,0,0,.6);
}










/* ======================================================= */
/* MÉTODOS DE PAGO */
/* ======================================================= */
.metodos-pago {
  width: 200px;
  min-height: 100%;
  height: 50px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-left: 20px;
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.45s ease;
  z-index: 999999;

}

.metodos-pago.visible {
  opacity: 1;
  transform: translateX(0);
}

.metodo-btn {
  width: fit-content;
  min-width: 110px;
  max-width: 130px;
  padding: 6px 14px;
  border-radius: 10px;
  border: 2px solid #ffb46a;
  background: linear-gradient(135deg,#ff8a00,#ff2e00);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform .20s ease, opacity .20s ease;
}

.metodo-pix { background: linear-gradient(135deg,#0b6e48,#1c6145); }
.metodo-credito { background: linear-gradient(135deg,#611657,#4e0f39); }
.metodo-debito { background: linear-gradient(135deg,#d12323,#ad1111); }
.metodo-paypal { background: linear-gradient(135deg,#03215a,#07587a); }
.metodo-wise { background: linear-gradient(135deg,#14c640,#0cac14); }

.metodo-btn:hover {
  transform: scale(1.04);
  opacity: 0.92;
}


/* ====================================================================================================
    PANEL DE PiX - MÉTODOS DE PAGO
   ==================================================================================================== */


.pix-panel {
  width:400px;
  height: 210px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 2px solid #ffae5e;
  background: linear-gradient(145deg,#3a1300,#120700);
  color: #fff;
  font-weight: 800;
  opacity: 0;
  transform: translateX(80px);
  margin-left: -70px;
  margin-right: 300px;
  transition: all .45s ease;
}

.pix-panel.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========================= */
/* QR Y CÓDIGO PIX */
/* ========================= */
.pix-left {
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pix-qr {
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 8px;

  margin: 0;
  translate: 0px 0px;
}

.pix-btn {
  width: 300%;
  height: 40px;
  border-radius: 10px;
  border: 2px solid #ffb46a;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  margin-right: 18px;
}

.pix-btn-1 { background: linear-gradient(135deg,#bb1515,#aa0707); color:#fff; }
.pix-btn-2 { background: linear-gradient(135deg,#116306ad,#033107); color:#fff; }
.pix-btn-3 { background: linear-gradient(135deg,#05195a,#021036); color:#fff; }

.pix-code-box {
  width: 377px;
  max-width: 500px;
  height: 30px;
  max-height: 35px;
  background: #1f0707;
  border: 2px solid #ffb46a;
  border-radius: 12px;
  padding: 0 20px;

  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  word-break: break-all;

  margin-top: 155px;
  margin-left: -240px;
  margin-right: 245px;

  overflow-y: hidden;
  overflow-x: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
  
  cursor: pointer;
}

.pix-code-box::-webkit-scrollbar { height: 6px; }
.pix-code-box::-webkit-scrollbar-track { background:#ffffff; border-radius:10px; }
.pix-code-box::-webkit-scrollbar-thumb { background:#000000; border-radius:10px; }
.pix-code-box::-webkit-scrollbar-thumb:hover { background:#0a0a0a; }

.pix-btn-copiado { background: linear-gradient(135deg,#228B22,#145214); color:#fff; cursor: pointer}
.pix-btn-verificando { background:rgb(75,7,75)!important; color:#fff; animation:pulse .8s infinite; cursor: pointer; }
.pix-btn-confirmado { background:green!important; color:#fff; }
.pix-btn-fallido { background:rgb(119,9,9)!important; color:#fff; }

@keyframes pulse {
  0% { opacity:1; }
  50% { opacity:.6; }
  100% { opacity:1; }
}

/* ======================================================= */
/* FIX CLICK COMPLETO BOTONES PIX */
/* ======================================================= */

/* Asegura que los botones estén por encima */
.pix-btn {
  position: relative;
  z-index: 10;
}

/* Evita que el código PIX bloquee clics */
.pix-code-box {
  position: relative;
  z-index: 1;
}


/* ====================================================================================================
    PANEL DE CRÉDITO - MÉTODOS DE PAGO
   ==================================================================================================== */

.credito-panel {
  width: 41.5%;
  max-width: 100%;
  height: 210px; /* igual al pix-panel */
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 2px solid #ffae5e;
  background: linear-gradient(145deg,#3a1300,#120700);
  color: #fff;
  font-weight: 800;
  opacity: 0;
  transform: translateX(80px);
  margin-left: -70px;
  margin-right: 0px;
  transition: all .45s ease;
}

.credito-panel.visible {
  opacity: 1;
  transform: translateX(0);
}

.credito-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 60%;
  height: 100%;
  margin-top: -5px;
}

.cc-input {
  width: 100%;
  padding: 8px;
  border-radius: 10px;
  border: 2px solid #ffb46a;
  background: #1f0707;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0px;
}

.cc-btn {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid #ffb46a;
  background: linear-gradient(135deg,#060f03,#033d03);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform .20s ease, opacity .20s ease;
}
.cc-btn:hover {
  transform: scale(1.04);
  opacity: 0.92;
}

.cc-card-3d {
  width: 50%;
  height: 100px;
  background: linear-gradient(135deg,#003B86,#001B40); /* Azul Windows */
  border-radius: 10px;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  perspective: 700px;
  transform-origin: center center;
  position: relative;

}


.cc-card-front,
.cc-card-back {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;   /* 🔥 NECESARIO */
}


/* =============================== */
/* 🔵 FRENTE REAL DE TARJETA       */
/* =============================== */
.cc-card-front {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(145deg,#0053b8,#001b40);
  position: relative;
}

/* CHIP PLATEADO — MISMAS MEDIDAS QUE TÚ DISTE */
.cc-chip {
  width: 26px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(135deg,#f5f5f5,#b3b3b3);
  box-shadow: 0 0 4px rgba(0,0,0,0.6);
  position: absolute;
  top: 30px;
  left: 15px;
  overflow: hidden;
  padding: 10px;
}
.cc-chip::before,
.cc-chip::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 3px;
  border: 1px solid rgba(80,80,80,0.8);
  margin-top: 100px;
}
.cc-chip::after {
  inset: 6px;
  border-color: rgba(120,120,120,0.9);
}

/* TEXTO CRÉDITO — MISMAS MEDIDAS EXACTAS QUE TÚ DISTE */
.cc-credit-text {
  position: absolute;
  top: 5px;
  left: 198px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 3px rgba(0,0,0,0.7);
  margin: 0;
}


/* =============================== */
/* 🔵 REVERSO REAL DE TARJETA      */
/* =============================== */
.cc-card-back {
  background: linear-gradient(145deg,#003B86,#001b40);
  transform: rotateY(180deg);
  position: absolute;
  inset: 0;
  border-radius: 10px;
}


/* FRANJA NEGRA */
.cc-stripe {
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 22px;
  background: #000;
}

/* CAJA CVV */
.cc-cvv-box {
  position: absolute;
  top: 50px;
  left: 12px;
  width: 180px;        /* AUMENTADO */
  height: 40px;        /* AUMENTADO */
  background: #ffffff;
  border-radius: 5px;  /* MÁS DEFINIDO */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;     /* ESPACIO REAL */
  font-size: 16px;     /* TEXTO CLARO */
  font-weight: 800;
  color: #000;
  box-shadow: 0 0 6px rgba(0,0,0,0.45); /* DEFINICIÓN REAL */
}


/* LABEL CVV Y TEXTO 3 DÍGITOS */
.cc-cvv-label {
  opacity: 1;
  font-size: 20px;
}

.cc-cvv-digits {
  font-weight: 900;
  font-size: 20px;
  text-align: center;
}



.cc-card-brand {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffd8b1;
}

.cc-security-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  background: #1f0707;
  padding: 6px;
  border-radius: 8px;
  color: #ccc;
  margin-top: 35px;
}

.cc-live-status {
  font-size: 0.78rem;
  padding: 6px;
  border-radius: 8px;
  background: #1f0707;
  border: 2px solid #ffb46a;
  color: #fff;
  text-align: center;
  margin-top: 30px;
}

.cc-live-status.ok {
  border-color: #22bb22;
  color: #22bb22;
}

.cc-live-status.bad {
  border-color: #bb2222;
  color: #bb2222;
}

.cc-loader {
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.cc-card-3d.cc-flipped {
  transform-style: preserve-3d;
  transform: rotateY(180deg);
}


/* ====================================================================================================
   BLOQUES INDIVIDUALES — CONTROL TOTAL SIN MODIFICAR EL DISEÑO EXISTENTE
   ==================================================================================================== */

.cc-block {
  position: relative;
  width: 85%;
  margin: 4px 0;
  padding: 0;

  /* PARÁMETROS UNIVERSALES DE CONTROL */
  --x: 0px;
  --y: 0px;
  --scale: 1;
  transform: translate(var(--x), var(--y)) scale(var(--scale));
}

/* ============================================
   BLOQUES INDIVIDUALES — TÍTULOS Y NOMBRES
   ============================================ */

.cc-block-titulo {
  --x: 0px;
  --y: -5px;
  --scale: 1;
  .cc-block * {
  text-align: center !important;
}

  .cc-titulo {
  font-weight: 900 !important;
}

.cc-block * {
  text-align: center !important;
}
}

.cc-block-card {
  --x: 10px;
  --y: -44px;
  --scale: 0.36;
    width: 850px;
}

.cc-block-numero {
  --x: 0px;
  --y: -130px;
  --scale: 1;
  width: 153px;
  
}

.cc-block-nombre {
  --x: 0px;
  --y: -245px;
  --scale: 1;
  width: 275px;
}

.cc-block-exp {
  --x: 160px;
  --y: -184px;
  --scale: 1.01;
    width: 55px;
}

.cc-block-cvv {
  --x: 224px;
  --y: -237px;
  --scale: 0.97;
    width: 50px;
    text-align: justify;
}


.cc-block-brand {
  --x: 3px;
  --y:-255px;
  --scale: 1;
}

.cc-block-boton {
  --x: 262px;
  --y: -335px;
  --scale: 0.8;
  width: 195px;
}

.cc-block-security {
  --x: 0px;
  --y: -365px;
  --scale: 1;
  width: 440px;
}

.cc-block-status {
  --x: 115px;
  --y: -596px;
  --scale: 0.6;
    width: 400px;
}




/* ==================================================================================================== */
/* PANEL DE DÉBITO — IDÉNTICO AL DE CRÉDITO (SOLO CAMBIANDO COLOR BASE) */
/* ==================================================================================================== */

.debito-panel {
  width: 41.5%;
  max-width: 100%;
  height: 210px; /* IGUAL AL CRÉDITO */
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 2px solid #ffae5e;
  background: linear-gradient(145deg,#3a0000,#120000);
  color: #fff;
  font-weight: 800;
  opacity: 0;
  transform: translateX(80px);
  margin-left: -70px;
  margin-right: 0px;
  transition: all .45s ease;
}

.debito-panel.visible {
  opacity: 1;
  transform: translateX(0);
}

.debito-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 60%;
  height: 100%;
  margin-top: -5px;
}

/* TODO EL RESTO USA EXACTAMENTE LAS MISMAS CLASES QUE CRÉDITO */




/* ============================================================================================ */
/* PANEL DE PAYPAL — COMPLETO Y SIN ERRORES */
/* ============================================================================================ */

.paypal-panel {
  width: 12%;
  height: 215px;
  padding: 14px;
  border-radius: 14px;
  border: 2px solid #ffae5e;
  background: linear-gradient(145deg,#001e3a,#000914);
  color:#fff;
  opacity:0;
  transform:translateX(80px);
  transition:.45s;
  margin-left:-70px;
}

.paypal-panel.visible {
  opacity:1;
  transform:translateX(0);
}

/* CONTENEDOR INTERNO */
.paypal-content {
  display:flex;
  flex-direction:column;
  gap:10px;
  width:70%;
  height:100%;
}

/* ============================== */
/* TÍTULO */
/* ============================== */
.pp-block-title { 
  position: relative;
}
.pp-title {
  font-weight:900;
  text-align:center;
  margin-top: -10px;
  margin-left: 20px;
}


/* ============================== */
/* BOTÓN CONTINUAR */
/* ============================== */
.pp-block-button {
  position: relative;
}

.pp-btn {
  width:120px;
  padding:5px;
  border-radius:10px;
  border:2px solid #ffb46a;
  background:linear-gradient(135deg,#003a86,#012c62);
  color:#fff;
  font-weight:800;
  font-size:0.9rem;
  cursor:pointer;
  transition:.2s;
  margin-top: 0px;
}
.pp-btn:hover {
  transform:scale(1.04);
  opacity:.92;
}

/* ======================================================= */
/* FIX CLICK COMPLETO — PAYPAL */
/* ======================================================= */

.pp-btn {
  position: relative;
  z-index: 20;
}

.pp-live-status,
.pp-qr-box,
.pp-block-diferencia {
  position: relative;
  z-index: 1;
}

.paypal-panel {
  position: relative;
}

/* ============================== */
/* PAYPAL — QR OPCIÓN 3 (abajo derecha) */
/* ============================== */

.pp-block-qr {
  position: relative;
  margin-top: -4px;
}

.pp-qr-box {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  border: 2px solid #ffb46a;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  margin-left: 0px;
}

.pp-qr-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* ============================================================================================ */
/* PANEL DE WISE — CLON PAYPAL VERDE */
/* ============================================================================================ */

.wise-panel {
  width: 12%;
  height: 212px;
  padding: 14px;
  border-radius: 14px;
  border: 2px solid #14c640;
  background: linear-gradient(145deg,#053d12,#012407);
  color:#fff;
  opacity:0;
  transform:translateX(80px);
  transition:.45s;
  margin-left:-70px;
}

.wise-panel.visible {
  opacity:1;
  transform:translateX(0);
}

.wise-content {
  display:flex;
  flex-direction:column;
  gap:10px;
  width:70%;
  height:100%;
}

/* TÍTULO */
.ws-block-title { position:relative; }
.ws-title {
  font-weight:900;
  text-align:center;
  margin-top:-10px;
  margin-left: 30px;
}


/* BOTÓN CONTINUAR*/
.ws-block-button {
  position:relative;
}

.ws-btn {
  width: 120px;
  padding:5px;
  border-radius:10px;
  border:2px solid #14c640;
  background:linear-gradient(135deg,#0cac14,#06790b);
  color:#fff;
  font-weight:800;
  font-size:0.9rem;
  cursor:pointer;
  transition:.2s;
  margin-top: -10px;
}
.ws-btn:hover {
  transform:scale(1.04);
  opacity:.92;
}

/* ======================================================= */
/* FIX CLICK COMPLETO — WISE */
/* ======================================================= */

.ws-btn {
  position: relative;
  z-index: 20;
}

.ws-live-status,
.ws-qr-box {
  position: relative;
  z-index: 1;
}

.wise-panel {
  position: relative;
}

/* QR */
.ws-block-qr {
  position:relative;
  bottom:8px;
  right:8px;
}

.ws-qr-box {
  width:120px;
  height:120px;
  border-radius:8px;
  border:2px solid #14c640;
  background:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  cursor:pointer;
  margin-left: 8px;
  margin-top:5px;
}

.ws-qr-img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}




/* ============================================================
   LISTA HORIZONTAL — CONTINUACIÓN DE SIGUIENTES
   ============================================================ */

#continuacion-siguientes {
  --offset-y: -390px;
  --offset-x: 30px;

  transform: translate(var(--offset-x), var(--offset-y));

  width: 97%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  box-sizing: border-box;
}

/* TARJETAS */
#continuacion-siguientes .item {
  width: calc(33.33% - 12px);
  background: linear-gradient(180deg,#1a1a1a,#5a2d01);
  padding: 8px;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  transition: transform .12s ease, background .12s ease;
}

#continuacion-siguientes .item:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

#continuacion-siguientes .cover {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}

#continuacion-siguientes .meta {
  flex: 1;
  min-width: 0;
}

#continuacion-siguientes .title {
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#continuacion-siguientes .artist {
  font-size: .60rem;
  opacity: .75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#continuacion-siguientes .date-added {
  font-size: 0.60rem;
  opacity: 0.8;
  margin-top: -7px;
  text-align: left;
  margin-left: 220px;
  width: 100%;
}

#continuacion-siguientes .duration {
  margin-top: 0px;
  text-align: left;
  margin-left: 0px;
  font-size: 0.60rem;
  opacity: 0.8;
  width: 100%;
}

#continuacion-siguientes .pos {
  font-weight: 800;
  font-size: 0.75rem;
  margin-right: 6px;
  width: 18px;
  text-align: right;
}

#continuacion-siguientes .play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg,#ff6a00,#ffbb33);
  color: #000;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.70rem;
  padding: 4px 8px;
  border-radius: 8px;
  margin-left: 6px;
  min-width: 32px;
  min-height: 24px;
  line-height: 1;
  flex: 0 0 auto;
}

/* Eliminar scroll horizontal global */
html, body {
  overflow-x: hidden;
}

/* ============================================================
   LISTA HORIZONTAL — PROCESADAS
   ============================================================ */
#continuacion-procesadas {

  --offset-y: -360px;
  --offset-x: 30px;

  transform: translate(var(--offset-x), var(--offset-y));

  width: 97%;
  padding: 0;
  margin: 0;
  margin-bottom: -500px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  box-sizing: border-box;
}

#continuacion-procesadas .item {
  width: calc(33.33% - 12px);
  background: linear-gradient(180deg,#290a0a,#7a1e1e);
  padding: 8px;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  transition: transform .12s ease, background .12s ease;
}

#continuacion-procesadas .item:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));
}

#continuacion-procesadas .cover {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}

/* META */
#continuacion-procesadas .meta {
  flex: 1;
  min-width: 0;
}

#continuacion-procesadas .title {
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#continuacion-procesadas .artist {
  font-size: .60rem;
  opacity: .75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#continuacion-procesadas .date-added {
  margin-top: -7px;
  text-align: left;
  margin-left: 250px;
  font-size: 0.60rem;
  opacity: 0.8;
  width: 100%;
}

#continuacion-procesadas .duration {
  margin-top: 0px;
  text-align: left;
  margin-left: 0px;
  font-size: 0.60rem;
  opacity: 0.8;
  width: 100%;
}

#continuacion-procesadas .play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg,#ff6a00,#ffbb33);
  color: #000;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.70rem;
  padding: 4px 8px;
  border-radius: 8px;
  margin-left: 6px;
  min-width: 32px;
  min-height: 24px;
  line-height: 1;
  flex: 0 0 auto;
}

/* FOOTER */
.footer {
  text-align:center;
  padding:40px 20px;
  background:#000;
  border-top: 1px solid rgba(255,165,77,0.12);
  margin-top:200px;
}

.footer p {
  font-size:0.95rem;
  color:#ccc;
  font-weight:800;
  margin-bottom:8px;
}

.footer-links {
  font-weight:800;
}
.footer-links a {
  color:#999;
  text-decoration:none;
  transition: color .25s;
}
.footer-links a:hover {
  color: var(--accent-light);
}

.footer-mobile-break {
  display: none;
}

/* ============================================================
   PANEL DASHBOARD - FOOTER MOBILE REAL-LIVE
   Réplica visual del footer mobile de Landing Page
   ============================================================ */
@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  .footer {
    margin-top: 28px;
  }

  .footer-desktop-separator {
    display: none;
  }

  .footer-mobile-break {
    display: block;
  }
}


/* ============================================================
   PANEL CONFIRMACIÓN FINAL — VISUAL PURO
   ============================================================ */
.confirmacion-panel{
  width:25%;
  height: 160px;
  background:linear-gradient(135deg,#2a0b00 0%,#6b2104 60%,#2a0b00 100%);
  border:2px solid #ffbb33;
  border-radius:14px;
  padding:14px;
  box-shadow:0 8px 25px rgba(0,0,0,.55);
  color:#fff;
  position:absolute;
  opacity:0;
  transform:translateX(80px);
  transition:.45s;
  z-index:60;
  margin-left: 930px;
  margin-top: -230px;

  pointer-events: none;
}

.confirmacion-panel.visible{
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;

}

.confirmacion-header{
  font-weight:900;
  color:#ffbb33;
  text-align:left;
  margin-bottom:10px;
}

.confirmacion-track .track-item{
  background:linear-gradient(180deg,#2a1600,#6a3d00);
  border-radius:10px;
  padding:8px;
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
}

.confirmacion-track .track-meta{
  min-width: 0;
  overflow: hidden;
}

.confirmacion-footer{
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  margin-top:7px;
  margin-left: 0px;
  color:#ffe2c8;
}

/* LÍNEA INDEPENDIENTE MARCA */
.confirmacion-brand{
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 1000;
  color: #ffbb33;
  text-align: center;
  letter-spacing: 0.6px;
}
/* TOGGLE HTML PURO */
.confirmacion-brand[data-enabled="false"]{
  display: none;
}


/* ============================= */
/* BOTÓN CERRAR CONFIRMACIÓN    */
/* ============================= */

.confirm-close-btn{
  position:absolute;
  top:8px;
  right:8px;
  padding:5px 12px;
  border:none;
  font-size:11px;
  font-weight:1000;
  font-style:oblique;
  letter-spacing:.4px;
  color:#fff;
  background:linear-gradient(
    180deg,
    rgb(245, 4, 4),
    rgb(92, 4, 4)
  );
  cursor:pointer;
  border-radius:12px;
  clip-path:polygon(6% 0%,100% 0%,94% 100%,0% 100%);
  transition:transform .12s ease,background .15s ease,box-shadow .15s ease;
  box-shadow:0 6px 18px rgba(0,0,0,.45);
  z-index:5;
}

.confirm-close-btn:hover{
  transform:translateY(-2px);
  background:linear-gradient(
    90deg,
    rgb(11, 180, 5),
    rgb(1, 31, 6)
  );
  box-shadow:0 10px 26px rgba(0,0,0,.6);
}

/* =========================================================== */
/* BANNER CERRAR — COLORES INVERTIDOS                          */
/* =========================================================== */

.cancel-confirm-box[data-mode="cerrar"] .cancel-confirm-yes{
  background:linear-gradient(
    180deg,
    rgb(32,1,1),
    rgb(245,7,7)
  );
}

.cancel-confirm-box[data-mode="cerrar"] .cancel-confirm-yes:hover{
  background:linear-gradient(
    90deg,
    rgb(255,3,3),
    rgb(71,2,2)
  );
}

.cancel-confirm-box[data-mode="cerrar"] .cancel-confirm-no{
  background:linear-gradient(
    180deg,
    rgb(11,145,7),
    rgb(1,19,1)
  );
}

.cancel-confirm-box[data-mode="cerrar"] .cancel-confirm-no:hover{
  background:linear-gradient(
    90deg,
    rgba(5,37,1,.945),
    rgba(30,107,7,.938)
  );
}


/* ============================================================
   PANEL CONFIRMACIÓN — INTERACTIVO
   ============================================================ */
#confirmacion-panel .track-cover,
#confirmacion-panel .track-title,
#confirmacion-panel .track-artist {
  cursor: pointer;
}

/* ============================================================
   LAYOUT REAL-LIVE USUARIO - GRID ESTABLE SIN OVERLAYS
   ============================================================ */

.dashboard-main-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
}

.dashboard-side-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: start;
}

.curation-card,
#processed-card,
.search-bar {
  width: 100%;
  max-width: none;
  margin: 0;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
}

.curation-card,
#processed-card {
  height: 400px;
  display: flex;
  flex-direction: column;
}

.curation-card {
  margin-left: 0;
}

#processed-card {
  position: relative;
  display: flex;
  left: auto;
  top: auto;
}

.curation-body,
#processed-card .curation-body {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
}

.track-list {
  gap: 10px;
  padding: 10px;
}

.track-item,
#processed-card .track-item {
  width: 100%;
  height: 72px;
  margin: 0;
}

.curation-card > .curation-footer,
#processed-card > .curation-footer {
  margin-left: 0;
  padding: 0 12px;
  justify-content: flex-start;
}

#processed-card > .curation-footer {
  justify-content: space-between;
}

.search-bar {
  position: relative;
  height: auto;
  min-height: 240px;
  z-index: 4;
}

.token-menu {
  width: 100%;
  max-width: 420px;
  margin: 0;
  left: auto;
  right: auto;
  top: auto;
  position: relative;
  transform: translate(var(--token-menu-shift-x), var(--token-menu-shift-y));
}

.dashboard-horizontal-lists {
  display: grid;
  gap: 24px;
}

#continuacion-siguientes,
#continuacion-procesadas {
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 12px;
}

#continuacion-siguientes {
  --continuacion-siguientes-shift-x: 0px;
  --continuacion-siguientes-shift-y: 0px;
  transform: translate(
    var(--continuacion-siguientes-shift-x),
    var(--continuacion-siguientes-shift-y)
  );
}

#continuacion-procesadas {
  --continuacion-procesadas-shift-x: 0px;
  --continuacion-procesadas-shift-y: -50px;
  margin-bottom: 0;
  transform: translate(
    var(--continuacion-procesadas-shift-x),
    var(--continuacion-procesadas-shift-y)
  );
}

#continuacion-siguientes .item,
#continuacion-procesadas .item {
  width: calc(33.333% - 8px);
  min-height: 74px;
  cursor: pointer;
}

#continuacion-siguientes .meta,
#continuacion-procesadas .meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#continuacion-siguientes .date-added,
#continuacion-siguientes .duration,
#continuacion-procesadas .date-added,
#continuacion-procesadas .duration {
  margin: 0;
  width: auto;
  text-align: left;
  font-size: 0.62rem;
}

#continuacion-siguientes .play-btn,
#continuacion-procesadas .play-btn {
  margin-left: 0;
}

@media (max-width: 1280px) {
  .dashboard-main-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  }

  .dashboard-side-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .dashboard-main-shell {
    width: min(100%, calc(100% - 24px));
    gap: 18px;
  }

  .dashboard-main-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .curation-card,
  #processed-card {
    height: auto;
    min-height: 400px;
  }

  #continuacion-siguientes .item,
  #continuacion-procesadas .item {
    width: calc(50% - 6px);
  }
}

@media (max-width: 640px) {
  #continuacion-siguientes .item,
  #continuacion-procesadas .item {
    width: 100%;
  }
}

/* ============================================================
   PANEL DASHBOARD - CONTINUACION PROCESADAS PC REAL-LIVE
   ============================================================ */
@media (min-width: 921px) {
  .dashboard-horizontal-lists {
    width: 97%;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr) minmax(320px, 420px);
    column-gap: 24px;
    row-gap: 24px;
    justify-items: stretch;
    align-items: start;
  }

  #continuacion-siguientes {
    --continuacion-siguientes-shift-x: 20px;
    --continuacion-siguientes-shift-y: -7px;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    transform: translate(
      var(--continuacion-siguientes-shift-x),
      var(--continuacion-siguientes-shift-y)
    );
  }

  #continuacion-siguientes .item {
    width: 100%;
    min-width: 0;
  }

  #continuacion-procesadas {
    --continuacion-procesadas-shift-x: 20px;
    --continuacion-procesadas-shift-y: -24px;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    transform: translate(
      var(--continuacion-procesadas-shift-x),
      var(--continuacion-procesadas-shift-y)
    );
  }

  #continuacion-procesadas .item {
    width: 100%;
    min-width: 0;
  }
}





/* ============================================================
   PANEL DASHBOARD - BARRA PRINCIPAL MOBILE REAL-LIVE
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .main-header,
  .main-header * {
    box-sizing: border-box;
  }

  .main-header {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: var(--secondary-bar-height);
    min-height: var(--secondary-bar-height);
    padding: 10px;
    gap: 0;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
    overflow: visible;
  }

  .header-logo {
    gap: 0.6rem;
    min-width: 0;
    max-width: calc(100vw - 238px);
    margin-right: 0;
    font-size: clamp(0.84rem, 3.4vw, 0.9rem);
    font-weight: 900;
    flex: 0 1 auto;
    transform: none;
  }

  .header-logo:hover {
    transform: none;
    opacity: 0.88;
  }

  .logo-circle {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
  }

  .logo-text {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-icon-2d,
  .login-spotify-btn,
  .header-right > :not(.lang-selector):not(.mobile-dashboard-menu-shell) {
    display: none !important;
  }

  .home-controls {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 1202;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: 6px;
    margin-right: 0;
    transform: none;
  }

  .language-selector-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .lang-btn {
    top: 0;
    min-width: 54px;
    min-height: 34px;
    padding: 6px 11px;
    border-radius: 25px;
    font-size: 0.84rem;
    line-height: 1;
    text-transform: uppercase;
  }

  .direction-btn {
    --scale: 1;
    position: relative;
    top: auto;
    left: auto;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin-left: 0;
  }

  .direction-btn .arrow-icon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 13px solid #fff;
  }

  .direction-btn.down .arrow-icon {
    transform: translate(-50%, -50%) rotate(180deg);
  }

  .header-right {
    position: relative;
    top: auto;
    right: auto;
    height: auto;
    max-width: none;
    z-index: 1201;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    transform: none;
    gap: 6px;
  }

  .header-right .lang-selector {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 34px;
    padding: 6px 9px;
    border-radius: 25px;
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
  }

  /* ============================================================
     MENÚ DASHBOARD MOBILE — BOTÓN Y DESPLEGABLE (REAL-LIVE)
     ============================================================ */
  .mobile-dashboard-menu-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .mobile-dashboard-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    min-height: 34px;
    padding: 6px 10px;
    border: 2px solid #fff;
    border-radius: 25px;
    background: linear-gradient(180deg, #4a1a00, #120700);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    list-style: none;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
  }

  .mobile-dashboard-menu-btn::-webkit-details-marker {
    display: none;
  }

  .mobile-dashboard-menu-btn:hover,
  .mobile-dashboard-menu-btn:focus-visible {
    background: linear-gradient(180deg, #ff7c11, #7a2600);
    opacity: 0.95;
    outline: none;
    transform: scale(1.03);
  }

  #mobile-dashboard-menu.mobile-dashboard-dropdown {
    position: fixed;
    top: calc(var(--secondary-bar-height) + 8px);
    left: 50%;
    right: auto;
    width: min(310px, calc(100vw - 32px));
    max-height: 0;
    display: flex;
    padding: 12px 0;
    transform: translate(-50%, -10px);
    z-index: 99999;
  }

  #mobile-dashboard-menu.mobile-dashboard-dropdown .explorar-item {
    min-height: 36px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  .mobile-dashboard-menu-shell[open] #mobile-dashboard-menu.mobile-dashboard-dropdown,
  #mobile-dashboard-menu.mobile-dashboard-dropdown.show {
    max-height: min(520px, calc(100vh - var(--secondary-bar-height) - 24px));
    overflow-y: auto;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ============================================================
   PANEL DASHBOARD - SEPARACIÓN VERTICAL LISTAS MOBILE REAL-LIVE
   Igual a la separación visual entre BÚSQUEDA y TOKENS: 10px.
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .dashboard-main-shell,
  .dashboard-main-grid {
    gap: 10px !important;
  }

  #pagos-spacer {
    margin-top: 18px !important;
  }

  #curation-card {
    margin-top: -14px !important;
  }

  #continuacion-siguientes,
  #processed-card,
  #continuacion-procesadas {
    margin-top: 0 !important;
  }
}

/* ============================================================
   PANEL DASHBOARD - UNIFORMIDAD LISTAS MOBILE REAL-LIVE
   Ancho idéntico a los paneles principales y separación uniforme.
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  #continuacion-siguientes,
  #continuacion-procesadas {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }
}

/* ============================================================
   PANEL DASHBOARD - SECUENCIA LISTAS CONTINUACIÓN MOBILE REAL-LIVE
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  #continuacion-siguientes {
    order: 51 !important;
  }

  #continuacion-procesadas {
    order: 71 !important;
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 360px) {
  .header-logo {
    max-width: calc(100vw - 238px);
  }

  .lang-btn {
    min-width: 50px;
    padding-right: 9px;
    padding-left: 9px;
  }

  .mobile-dashboard-menu-btn {
    min-width: 56px;
    padding-right: 8px;
    padding-left: 8px;
  }
}

/* ============================================================
   PANEL DASHBOARD - INPUT BÚSQUEDA MOBILE SIN AUTO-ZOOM SAFARI (REAL-LIVE)
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  #input-busqueda {
    font-size: 16px !important;
  }
}

/* ============================================================
   PANEL DASHBOARD - BARRA SECUNDARIA MOBILE REAL-LIVE
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .secondary-bar {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .secondary-bar .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .secondary-bar .sb-group {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transform: none;
  }

  .secondary-bar .sb-group > .language-selector:not(:first-child),
  .secondary-bar .tokens-container {
    display: none !important;
  }

  .secondary-bar .sb-group > .language-selector:first-child {
    margin-left: 0;
    padding: 8px 26px;
    text-align: center;
  }
}

/* ============================================================
   PANEL DASHBOARD - LISTA PROCESADAS MOBILE REAL-LIVE
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    position: relative;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  #dashboard-panel-shell,
  .dashboard-main-shell,
  .dashboard-main-grid,
  .dashboard-side-column,
  .dashboard-horizontal-lists {
    max-width: 100%;
    overflow-x: hidden;
  }

  @supports (overflow: clip) {
    html,
    body,
    #dashboard-panel-shell,
    .dashboard-main-shell,
    .dashboard-main-grid,
    .dashboard-side-column,
    .dashboard-horizontal-lists {
      overflow-x: clip !important;
    }
  }

  .dashboard-horizontal-lists {
    justify-items: center;
  }

  #continuacion-siguientes {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin-right: auto;
    margin-left: auto;
    overflow-x: hidden;
  }

  #continuacion-procesadas {
    --continuacion-procesadas-shift-x: 0px;
    --continuacion-procesadas-shift-y: -15px;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    overflow-x: hidden;
  }

  .confirmacion-panel {
    position: fixed;
    right: 12px;
    bottom: 18px;
    left: 12px;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 160px;
    margin: 0;
    transform: none;
  }

  .confirmacion-panel.visible {
    transform: none;
  }

  .metodos-pago,
  .pix-panel,
  .credito-panel,
  .debito-panel,
  .paypal-panel,
  .wise-panel {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  .pix-btn {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .pix-code-box {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
  }
}

/* ============================================================
   PANEL DASHBOARD - ORDEN VISUAL MOBILE REAL-LIVE
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .dashboard-main-grid,
  .dashboard-horizontal-lists {
    display: contents;
  }

  .dashboard-side-column {
    order: 30;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  .dashboard-side-column > .search-bar,
  .dashboard-side-column > .token-menu {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  #pagos-spacer {
    order: 40;
  }

  #curation-card {
    order: 50;
    margin-top: -20px;
  }

  #continuacion-siguientes {
    order: 60;
    margin-top: 10px;
  }

  #processed-card {
    order: 70;
    margin-top: -10px;
  }

  #confirmacion-panel {
    order: 80;
  }

  #continuacion-procesadas {
    --continuacion-procesadas-shift-y: 0px;
    order: 90;
    margin-top: 10px;
  }
}

/* ============================================================
   PANEL DASHBOARD - LISTAS PRINCIPALES MOBILE CORTE TEXTO REAL-LIVE
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .curation-card,
  #processed-card,
  .curation-card .curation-body,
  #processed-card .curation-body,
  .curation-card .track-list,
  #processed-card .track-list,
  .curation-card .track-item,
  #processed-card .track-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .curation-card .track-item,
  #processed-card .track-item {
    overflow: hidden;
  }

  .curation-card .track-meta,
  #processed-card .track-meta {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .curation-card .track-title,
  .curation-card .track-artist,
  #processed-card .track-title,
  #processed-card .track-artist,
  #processed-card .track-status,
  .curation-card .track-date,
  .curation-card .track-duration,
  #processed-card .track-date,
  #processed-card .track-duration {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ============================================================
   PANEL DASHBOARD - PANEL PAGOS MOBILE REAL-LIVE
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  #pagos-container {
    min-height: var(--pagos-mobile-reserved-height, 860px);
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 12px !important;
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 0 0 18px 18px;
    overflow-x: hidden;
    transform: none !important;
  }

  #pagos-container > .pago-item {
    flex: 1 1 160px;
    width: auto;
    min-width: min(160px, 100%);
    max-width: 100%;
    box-sizing: border-box;
  }

  #pagos-container > .metodos-pago {
    flex: 1 1 150px;
    width: auto;
    min-width: min(150px, 100%);
    height: auto;
    min-height: 0;
    margin-right: 0;
    margin-left: 0;
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    align-items: stretch;
    gap: 8px;
  }

  #pagos-container > .metodos-pago .metodo-btn {
    flex: 1 1 110px;
    width: auto;
    min-width: 110px;
    max-width: none;
    box-sizing: border-box;
  }

  #pagos-container > .pix-panel,
  #pagos-container > .credito-panel,
  #pagos-container > .debito-panel {
    flex: 1 0 100%;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    min-height: 210px;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }

  #pagos-container > .pix-panel {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
  }

  #pagos-container > .pix-panel .pix-left {
    flex: 0 0 140px;
    width: 140px;
    max-width: 100%;
  }

  #pagos-container > .pix-panel .pix-qr {
    width: 140px !important;
    height: 140px !important;
    flex: 0 0 140px !important;
  }

  #pagos-container > .pix-panel .pix-right {
    flex: 1 1 150px !important;
    width: auto !important;
    height: auto !important;
    min-width: min(150px, 100%);
  }

  #pagos-container > .pix-panel .pix-btn {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0;
    box-sizing: border-box;
  }

  #pagos-container > .pix-panel .pix-code-wide {
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
  }

  #pagos-container > .pix-panel .pix-code-box {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 34px;
    margin: 0 !important;
    padding: 6px 12px;
    box-sizing: border-box;
    justify-content: flex-start;
    overflow-x: auto;
  }

  #pagos-container > .credito-panel .credito-content,
  #pagos-container > .debito-panel .debito-content {
    width: 100%;
    height: auto;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #pagos-container > .credito-panel .cc-block,
  #pagos-container > .debito-panel .cc-block {
    width: 100%;
    margin: 0;
    transform: none !important;
  }

  #pagos-container > .credito-panel .cc-card-3d,
  #pagos-container > .debito-panel .cc-card-3d {
    width: 100%;
    max-width: 320px;
  }

  #pagos-container > .credito-panel .cc-credit-text,
  #pagos-container > .debito-panel .cc-credit-text {
    right: 12px;
    left: auto;
    font-size: 1rem;
  }

  #pagos-container > .credito-panel .cc-security-box,
  #pagos-container > .debito-panel .cc-security-box {
    margin-top: 0;
  }

  #pagos-container > .confirmacion-panel {
    flex: 0 0 min(420px, 100%);
    align-self: center;
    order: 998;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: min(420px, 100%) !important;
    max-width: 100% !important;
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px;
    margin: 0 auto !important;
    box-sizing: border-box;
    transform: translateX(80px);
    z-index: 60;
    overflow: visible;
  }

  #pagos-container > .confirmacion-panel.visible {
    transform: translateX(0);
  }

  #pagos-container > .confirmacion-panel .confirmacion-track .track-item {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  #pagos-container > .confirmacion-panel .confirmacion-footer {
    margin-left: 0;
  }

  #pagos-container > #cancel-pagos-btn {
    flex: 1 0 100%;
    align-self: stretch;
    order: 999;
    width: 100% !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    position: relative !important;
    transform: none !important;
    box-sizing: border-box;
  }

}

/* ============================================================
   PANEL DASHBOARD - CARD CLONADA Y CANCELAR MOBILE REAL-LIVE
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  #pagos-container {
    --pagos-mobile-card-width: clamp(136px, calc((100vw - 60px) / 2), 160px);
    --pagos-mobile-card-height: 220px;
    left: 50% !important;
    right: auto !important;
    width: min(100%, calc(100% - 24px)) !important;
    max-width: calc(100% - 24px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    transform: translateX(-50%) !important;
    align-items: flex-start !important;
    align-content: flex-start !important;
    justify-content: center !important;
    gap: 12px !important;
    padding-bottom: 64px !important;
    border-radius: 18px !important;
  }

  #pagos-container > .pago-item {
    flex: 0 0 var(--pagos-mobile-card-width) !important;
    width: var(--pagos-mobile-card-width) !important;
    min-width: var(--pagos-mobile-card-width) !important;
    max-width: var(--pagos-mobile-card-width) !important;
    height: var(--pagos-mobile-card-height) !important;
    min-height: var(--pagos-mobile-card-height) !important;
    max-height: var(--pagos-mobile-card-height) !important;
    align-self: flex-start !important;
    box-sizing: border-box !important;
    order: 0 !important;
  }

  #pagos-container > .metodos-pago {
    flex: 0 0 var(--pagos-mobile-card-width) !important;
    width: var(--pagos-mobile-card-width) !important;
    min-width: var(--pagos-mobile-card-width) !important;
    max-width: var(--pagos-mobile-card-width) !important;
    height: var(--pagos-mobile-card-height) !important;
    min-height: var(--pagos-mobile-card-height) !important;
    max-height: var(--pagos-mobile-card-height) !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    order: 1 !important;
  }

  #pagos-container > .metodos-pago .metodo-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  #pagos-container > .pix-panel,
  #pagos-container > .credito-panel,
  #pagos-container > .debito-panel,
  #pagos-container > .paypal-panel,
  #pagos-container > .wise-panel {
    order: 20 !important;
  }

  #pagos-container > #cancel-pagos-btn {
    flex: 0 0 350px !important;
    order: 999 !important;
    position: absolute !important;
    right: auto !important;
    bottom: 12px !important;
    left: 50% !important;
    width: 350px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 8px 14px !important;
    transform: translateX(-50%) !important;
  }
}

/* ============================================================
   PANEL DASHBOARD - PAYPAL Y WISE MOBILE REAL-LIVE
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 920px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  #pagos-container > .paypal-panel,
  #pagos-container > .wise-panel {
    flex: 0 0 min(320px, 100%) !important;
    width: min(320px, 100%) !important;
    max-width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    padding: 14px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  #pagos-container > .paypal-panel .paypal-content,
  #pagos-container > .wise-panel .wise-content {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  #pagos-container > .paypal-panel .pp-block,
  #pagos-container > .wise-panel .ws-block {
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  #pagos-container > .paypal-panel .pp-title,
  #pagos-container > .wise-panel .ws-title {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
  }

  #pagos-container > .paypal-panel .pp-block-qr,
  #pagos-container > .wise-panel .ws-block-qr {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
  }

  #pagos-container > .paypal-panel .pp-qr-box,
  #pagos-container > .wise-panel .ws-qr-box {
    width: 120px !important;
    height: 120px !important;
    margin: 0 !important;
    flex: 0 0 120px !important;
    box-sizing: border-box !important;
  }

  #pagos-container > .paypal-panel .pp-btn,
  #pagos-container > .wise-panel .ws-btn {
    width: 120px !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

