:root {
  --bg-color: #121212;
  --text-color: #ffffff;
  --accent: #FFD700;
  --accent-dark: #ccaa00;
  --card-bg: #1e1e1e;
  --border-color: #333;
  --shadow-color: rgba(255, 215, 0, 0.08);
  --danger: #ff4e4e;
  --warning: #ff9800;
  --success: #9cffb0;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
}


.main-wrapper {
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  overflow-x: hidden;
}



.scroll-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.2rem 1rem calc(env(safe-area-inset-bottom, 0) + 5rem);
  -webkit-overflow-scrolling: touch;
}



.safe-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 1rem;
  background: var(--bg-color);
  overflow-y: auto;
}

.main-card {
  background-color: #1e1e1e;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
  margin: 0 auto;

}

.refresh-btn {
  position: fixed;
  bottom: 90px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, #ffe347, #ffc800);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 999;
  cursor: pointer;
}

.refresh-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}



.logo-img {
  display: block;
  margin: 0 auto;
  max-width: 90px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  animation: logoPop 0.7s ease-out;
}



@keyframes logoPop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
/*
.user-select select {
  width: 100%;
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1rem;
  border-radius: 14px;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
}
*/
.summary-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.6rem 1rem;
  overflow-x: hidden;   
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 100%;
}

.resumen-metrica h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.resumen-metrica p {
  margin: 0.4rem 0;
  font-size: 1.05rem;
  text-align: center;
}

#circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  z-index: 2;
}
.chart-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 2rem auto;
}

#barra-general {
  background: #2a2a2a;
  height: 24px;
  border-radius: 20px;
  margin: 2rem 0 1rem;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
  width: 100%;
  overflow: hidden;
}

#relleno-general {
  height: 100%;
  background: linear-gradient(to right, #FFD700, #FFA500);
  border-radius: 20px;
  transition: width 0.5s ease-in-out;
}

.pin {
  position: absolute;
  transition: top 0.3s ease, left 0.4s ease;
  top: -24px;
  width: 24px;
  height: 24px;
  background: #ff4fa3;
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  box-shadow: 0 0 6px rgba(255, 79, 163, 0.5);
  z-index: 2;
}


.meta-box {
  background: rgba(255, 255, 255, 0.06);
  padding: 1.4rem;
  margin-top: 2rem;
  border-radius: 16px;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.meta-box p {
  text-align: center;
  margin: 0.4rem 0;
}

.barra-meta {
  width: 100%;
  height: 14px;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.6rem;
}

.relleno-meta {
  height: 100%;
  transition: width 0.5s ease;
}

#metas-todas ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

#metas-todas li {
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: 0.95rem;
}

#metas-todas li.past {
  color: var(--danger);
  text-decoration: line-through;
}

#metas-todas li.future {
  background: rgba(80, 160, 100, 0.15);
  color: var(--text-color);
}

.btn-back {
  text-align: center;
  margin-top: 2rem;
}

.btn-back button {
  background: linear-gradient(to right, var(--accent), var(--accent-dark));
  border: none;
  border-radius: 16px;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-back button:hover {
  transform: scale(1.05);
}

.loader {
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top: 6px solid var(--accent);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
  z-index: 100;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hidden {
  display: none;
}

.title-accent {
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.sub {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1.6rem;
  color: #f0f0f0;
}

.btn {
  display: inline-block;
  background: linear-gradient(to right, var(--accent), var(--accent-dark));
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 14px;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.btn:hover {
  transform: scale(1.05);
}

.error {
  color: var(--danger);
  margin-top: 1rem;
  font-size: 0.95rem;
  background: rgba(255, 0, 0, 0.1);
  padding: 0.8rem;
  border-radius: 12px;
  text-align: center;
}

.roadmap-wrapper {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 1rem;
}


.roadmap-track {
  position: relative;
  height: 12px;
  width: 100%;
  background: #2c2c2c;
  border-radius: 6px;
}


.roadmap-markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#roadmap-inner {
  height: 100%;
  background: linear-gradient(to right, var(--accent), var(--accent-dark));
  border-radius: 6px;
  transition: width 0.4s ease-in-out;
}
.mov-card {
  background: #2a2a2a;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.95rem;
}

.mov-fecha {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

.mov-dato {
  margin: 0.2rem 0;
}

.mov-obs {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  opacity: 0.8;
}



body::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}
/* Animación fade-in */
.fade-in {
  animation: fadeIn 0.4s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Paginación */
.paginacion {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.paginacion button {
  background-color: #3a3a3a;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.paginacion button:hover:enabled {
  background-color: #555;
}

.paginacion button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.mov-card.efectivo { border-left: 4px solid #2ecc71; }
.mov-card.transferencia { border-left: 4px solid #3498db; }
.mov-card.qr { border-left: 4px solid #f1c40f; }

.btn.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.dashboard-header-fecha {
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.6;
  margin: 1rem auto 0.2rem;
}






.error-box {
  background: #2a0000;
  color: #ff4d4d;
  padding: 1rem;
  margin: 1rem auto;
  border-radius: 12px;
  text-align: center;
  max-width: 300px;
  font-size: 0.9rem;
}
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e1e;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  gap: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 200;
}

.nav-btn {
  color: #ccc;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.nav-btn.active {
  background: #FFD70022;
  color: #FFD700;
}


.bottom-tabs {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 999;
}

.tab-item {
  flex: 1;
  text-align: center;
  color: #aaa;
  font-size: 0.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  transition: all 0.3s ease;
}

.tab-item.active {
  color: #FFD700;
  font-weight: bold;
}

.tab-item .icon {
  font-size: 1.4rem;
}



.nav-btn .label {
  font-size: 0.7rem;
  line-height: 1;
}


/* 🔄 Fondo animado sutil */
.background-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: radial-gradient(circle at center, #FFD70010 0%, transparent 60%);
  pointer-events: none;
}


@keyframes floatBg {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* 🎞️ Animación logo */
.animate-logo {
  animation: scaleFadeIn 0.7s ease forwards;
  opacity: 0;
  transform: scale(0.8);
}

@keyframes scaleFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 🎯 Centrar login de Google */
.g-signin-center {
  display: flex !important;
  justify-content: center;
}



/* 👋 Bienvenida */
.welcome-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  color: #ffd700;
  background: radial-gradient(circle at top left, #222 0%, #111 100%);
  padding: 1.5rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  animation: welcomeFadeIn 0.6s ease-out forwards;
  z-index: 999;
}

@keyframes welcomeFadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}



.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #111;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}


.user-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  color: white;
}

.user-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid gold;
  object-fit: cover;
}

.logout-btn {
  background-color: #f44336;
  color: white;
  font-weight: bold;
  border: none;
  padding: 0.4rem 0.9rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.logout-btn:hover {
  background-color: #d32f2f;
}
#circle-progress {
  transition: stroke-dashoffset 0.9s ease-in-out;
}

.add-mov-btn {
  position: fixed;
  bottom: calc(120px + env(safe-area-inset-bottom, 0));
  right: 16px;
  background: #4CAF50;
  color: white;
  border: none;
  font-size: 22px;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  cursor: pointer;
}






.formulario-movimiento button {
  background: linear-gradient(to right, #FFD700, #ccaa00);
  color: #111;
  border: none;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  margin: 1rem auto 0 auto;
  display: block;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.formulario-movimiento button:hover {
  background: #ffec80;
  transform: scale(1.03);
}



/*
.styled-select {
  max-width: 100%;
  width: 100%;
  background: white;
  color: black;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: border-color 0.3s ease;
  height: auto;
  line-height: 1.2;
}
*/
#selector-contenedor {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}


/*
.styled-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
*/

.resumen-tarjetas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  justify-items: center;
  align-items: center;
  max-width: 320px;
  margin: 0 auto;
}

.tarjeta-resumen {
  background: linear-gradient(145deg, #f6c700, #ffab00);
  color: white;
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  width: 100%;
  max-width: 130px;
  height: 50px;
  text-align: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease;
}

.tarjeta-icono {
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
  line-height: 1;
}

.tarjeta-label {
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1;
  margin-bottom: 0.1rem;
}

.tarjeta-valor {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.1;
}


.resumen-lider-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  margin: 1rem auto;
  border-radius: 12px;
  max-width: 420px;
}

.usuario-item {
  margin-bottom: 0.6rem;
}

.usuario-item strong {
  font-size: 0.95rem;
  display: inline-block;
  width: 60%;
}

.usuario-barra {
  background-color: rgba(255,255,255,0.1);
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 4px;
}

.usuario-barra-inner {
  height: 100%;
  background: var(--accent);
  transition: width 0.4s ease;
}
.usuario-card {
  background: #1e1e1e;
  padding: 0.8rem;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.usuario-detalle {
  font-size: 0.85rem;
  margin-top: 0.2rem;
  color: #ccc;
}

.paginador {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.paginador button {
  background: #333;
  border: none;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
}

.paginador button:hover {
  background: var(--accent-dark);
}

.paginador button.activo {
  background: var(--accent);
  font-weight: bold;
}

.paginador button:disabled {
  opacity: 0.4;
  cursor: default;
}
.tarjeta-sub {
  font-size: 0.60rem;
  opacity: 0.8;
  margin-top: 0rem;
}

.minigrafico-card {
  background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  padding: 16px;
  margin: 20px auto;
  width: 90%;
  max-width: 400px;
}
:root {
  --safe-bottom: env(safe-area-inset-bottom, 20px);
}

.refresh-btn,
.add-mov-btn {
  bottom: calc(var(--safe-bottom) + 80px);
}

.bottom-tabs {
  padding-bottom: calc(var(--safe-bottom) + 4px);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd700;
}

.user-name {
  font-weight: 500;
  color: #fff;
  font-size: 0.95rem;
}

.logout-btn {
  background: #ff3333;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.logout-btn:hover {
  background: #ff0000;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-text {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 500;
  color: #fff;
  font-size: 1rem;
}

.user-date {
  color: #aaa;
  font-size: 0.75rem;
  font-style: italic;
  margin-top: 2px;
  line-height: 1;
  opacity: 0.8;
}
.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0 0.6rem;
  margin: 0 auto;
}






@keyframes glow-pulse {
  0%   { box-shadow: 0 0 6px #FFD700; }
  50%  { box-shadow: 0 0 20px #FFD700; }
  100% { box-shadow: 0 0 6px #FFD700; }
}

.camp-info {
  background: #111;
  color: #ccc;
  font-size: 0.9rem;
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  max-width: 250px;
  animation: fadeIn 0.3s ease;
}

.hidden {
  display: none !important;
  visibility: hidden;
}


.insta-link {
  display: inline-block;
  margin-top: 8px;
  background: #e1306c;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.insta-link:hover {
  background: #c1275b;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
main {
  padding-top: 0;
}

.logo-wrapper {
  margin-top: 8px;
}



.info-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  max-width: 640px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left; /* Alinea el texto a la izquierda */
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.03);
  margin-bottom: 14px;
  padding: 1.3rem 1rem;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(255, 255, 0, 0.15);
}


.info-header {
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: #FFD700;
}

.info-body {
  color: white;
  text-align: left;
  white-space: pre-line;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.4;
}


.info-contenido.hidden {
  display: none;
}

.info-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.info-date {
  font-size: 0.8rem;
  color: #bbb;
  margin-top: 6px;
  display: block;
}

/* ==== AJUSTES FINALES DE INFO ==== */
.info-expanded {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 0.3rem 0.6rem 0.3rem;
  color: #eaeaea;
}



.info-expanded p,
.info-expanded li {
  margin: 0.3rem 0;
  line-height: 1.35;
  padding: 0;
}


.info-expanded ul {
  margin: 0.4rem 0 0.6rem 1.2rem;
  padding-left: 1rem;
  list-style-type: disc;
}

.info-expanded h3,
.info-expanded h4 {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  color: #FFD700;
  font-weight: 700;
  line-height: 1.2;
}

.info-expanded h4 {
  font-weight: 600;
  font-size: 1rem;
}

.info-expanded a {
  color: #66ccff;
  text-decoration: none;
}

.info-expanded a:hover {
  text-decoration: underline;
}







.btn-principal {
  background: #FFD700;
  color: #111;
  border: none;
  padding: 10px 10px;
  border-radius: 20px;
  font-weight: bold;
  margin: 5px;
  cursor: pointer;
}

.btn-secundario {
  background: #333;
  color: #ccc;
  border: none;
  padding: 8px 8px;
  border-radius: 20px;
  margin: 5px;
  cursor: pointer;
}

.btn-principal:hover {
  background: #ffc107;
}

.btn-secundario:hover {
  background: #555;
}
.cuenta-info p {
  margin: 2px 0;
}

#input-monto, #input-comprobante {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #222;
  color: white;
  font-size: 1rem;
}

#campicoins-calculados {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  background: rgba(255, 255, 0, 0.05);
  padding: 0.4rem 1rem;
  border-radius: 12px;
  margin: 1rem auto;
  max-width: 400px;
  text-align: center;
}

.mov-card.pendiente {
  border-left: 4px solid #ff9800;
  background: rgba(255, 152, 0, 0.1);
}
main, body, html {
  overflow-x: hidden;
}

.mov-card, .summary-box {
  max-width: 100%;
  box-sizing: border-box;
}

main {
  max-width: 100%;
  overflow-x: hidden;
}



.leyenda-operacion {
  font-size: 0.85rem;
  color: #ccc;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 0.6rem;
  margin-top: 0.4rem;
  text-align: center;
}

#preview-comprobante img {
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(255,255,255,0.1);
}
@keyframes modalZoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}






.info-operacion {
  background-color: #222;
  color: #FFD700;
  padding: 1rem;
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  margin-top: 1rem;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.1);
  margin: 2px 0 !important;
  line-height: 1.4;
}
.info-operacion p, .info-operacion strong, .info-operacion span {
  color: white;
}
.info-operacion p {
  margin: 2px 0 !important;
  line-height: 1.3;
  font-size: 0.9rem;
}

.info-operacion strong {
  font-weight: 600;
}

.info-operacion {
  background: #1a1a1a;
  padding: 1rem 1.2rem;
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  margin-top: 1rem;
  color: white;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.05);
}



button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}






.contenedor-info {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

.info-card {
  background: #1e1e1e;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.info-header {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--accent);
}

.info-date {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: #aaa;
}


.cuenta-info p {
  margin: 0.3rem 0;
}


/*
.select-wrapper select {
  background: #1e1e1e;
  color: white;
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 0.6rem;
  font-size: 1rem;
  width: 100%;
  position: relative;
  z-index: 10000; 
}
*/







.selector-label {
  font-size: 0.80rem;
  font-weight: 500;
  color: #a8a8a8;
  margin-bottom: 0.4rem;
  text-align: center;
}




#preview-comprobante img {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(255,255,255,0.08);
  max-width: 100%;
}
#tipo-operacion-div {
  margin-top: 1rem;
}

#leyenda-operacion {
  font-size: 0.85rem;
  color: #ccc;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 0.6rem;
  text-align: center;
  margin-top: 0.6rem;
}


.swal-dark {
  background: #111 !important;
  color: #fefefe !important;
  border-radius: 16px;
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.12);
  padding: 1.6rem;
}

.swal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 0.8rem;
}

.swal-content {
  font-size: 1rem;
  color: #ddd;
}

.btn-swal-confirm {
  background-color: #FFD700;
  color: #000;
  font-weight: bold;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  border: none;
  margin-top: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-swal-confirm:hover {
  background-color: #ffec80;
  transform: scale(1.03);
}
body.modal-open {
  overflow: hidden;
  height: 100vh;
}
input[type="file"] {
  background: #1e1e1e;
  color: white;
  border: 1px solid var(--accent);
  padding: 0.6rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.80rem;
  width: 100%;
  box-sizing: border-box;
}

input[type="file"]::file-selector-button {
  background: var(--accent);
  color: black;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin-right: 1rem;
  transition: background 0.2s ease;
}

input[type="file"]::file-selector-button:hover {
  background: #ffec80;
}

.boton-copiar-cbu {
  background: #FFD700;
  color: #000;
  border: none;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.85em;
  font-weight: bold;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
}

.boton-copiar-cbu:hover {
  background: #ffcc00;
}

.formulario-movimiento > * {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 1rem auto;
  box-sizing: border-box;
}

.formulario-movimiento label {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0.8rem auto 0.2rem auto;
  text-align: left;
  max-width: 400px;
  width: 100%;
  color: #ddd;
}

.form-bloque {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 0.8rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  box-sizing: border-box;
}



.form-bloque input,
.form-bloque select,
.form-bloque textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  padding: 0.6rem;
  border-radius: 10px;
  border: 1px solid #444;
  background: #1e1e1e;
  color: white;
}


.cuenta-info {
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  padding: 0.6rem 0;
  text-align: left;
  color: white;
}

.cuenta-info p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.leyenda-operacion {
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  line-height: 1.5;
  text-align: left;
  border-left: 5px solid var(--accent);
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  margin-top: 0.8rem;
}
.cuenta-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cuenta-info p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

/*
.user-select select {
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border-radius: 10px;
  background: #1e1e1e;
  color: white;
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}
*/



.scroll-area {
  padding: 1rem;
  max-width: 560px;
  margin: 0 auto;
  box-sizing: border-box;
}





body.modal-open {
  overflow: hidden;
  height: 100vh;
}
#agregar-transferencia {
  text-align: center;
  margin: 1rem auto;
  max-width: 480px;
}

#agregar-transferencia button {
  width: 100%;
  max-width: 320px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  #agregar-transferencia button {
    width: auto;
    display: inline-block;
  }
}








@media (max-width: 480px) {
  .info-operacion p {
    font-size: 0.85rem !important;
    line-height: 1 !important;
    word-break: break-word;
  }

  .info-operacion {
    padding: 0.8rem !important;
  }

  .boton-copiar-cbu {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
}
#agregar-transferencia {
  margin: 0.5rem auto !important;
  padding: 0 !important;
}

#agregar-transferencia button {
  margin: 0 !important;
  padding: 0.7rem 1rem !important;
}



@media (max-width: 480px) {
  .info-operacion p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    padding: 0.2rem 0;
  }

  .info-operacion {
    padding: 1rem 0.8rem !important;
    text-align: left !important;
  }

  .boton-copiar-cbu {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.85rem !important;
  }
}
#agregar-transferencia .btn-principal {
  margin: 0 !important;
  padding: 0.6rem 1rem !important;
}
#agregar-transferencia {
  margin-top: 0.3rem !important;
  margin-bottom: 0.3rem !important;
  padding: 0 !important;
}

#agregar-transferencia button.btn-principal {
  margin: 0 !important;
  padding: 0.6rem 1rem !important;
}
#agregar-transferencia {
  margin-top: 0.3rem !important;
  margin-bottom: 0.3rem !important;
  padding: 0 !important;
}

#agregar-transferencia button.btn-principal {
  margin: 0 !important;
  padding: 0.6rem 1rem !important;
  height: auto;
}



/* 
#input-usuario-transferencia {
  width: 100%;
  background: #1e1e1e;
  color: white;
  border: 1px solid #444;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}
*/


/* 🎯 Ajuste para Pop-ups de SweetAlert */
.swal2-container {
  z-index: 10010 !important;
}

.swal2-popup {
  background: #1e1e1e !important;
  color: #ddd !important;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}



/* 🎯 Ajustes en el botón de copiar CBU */
.boton-copiar-cbu {
  background: #FFD700;
  color: #000;
  font-weight: bold;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.boton-copiar-cbu:hover {
  background: #ffcc00;
}


/* ✅ Estilo SweetAlert (Pop-up) con Color Dorado */
.swal2-popup {
  background: #1e1e1e !important;
  color: #ddd !important;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  z-index: 10020;
}

/* Asegurar que los popups siempre estén por encima */
.swal2-container {
  z-index: 99999 !important;
}





#modal-transferencia .modal-content::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}




#modal-transferencia .modal-content:focus {
  transform: scale(1.02);
}


/*
.choices {
  position: relative;
  z-index: 1050;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
}
*/

/*
.choices__list--dropdown {
  position: absolute !important;
  z-index: 100 !important; 
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #1e1e1e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #444;
  border-radius: 10px;
}
*/
/*
.choices__inner {
  background: #1e1e1e;
  color: #ddd;
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}
*/
/*
.choices__item--selectable {
  padding: 0.6rem 1rem;
  background-color: #333;
  color: #ddd;
  cursor: pointer;
  transition: background 0.2s;
}

.choices__item--selectable:hover {
  background-color: #444;
  color: var(--accent);
}
*/
/* 
#modal-transferencia .choices__list--dropdown {
  position: absolute !important;
  z-index: 1100 !important;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #1e1e1e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #444;
  border-radius: 10px;
}
*/
#modal-transferencia .formulario-movimiento button {
  background: linear-gradient(to right, #FFD700, #ccaa00);
  color: #000;
  font-weight: bold;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
}

#modal-transferencia .formulario-movimiento button:hover {
  background: #ffec80;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}



.info-operacion {
  display: block !important;
  transition: opacity 0.2s ease;
}



#modal-transferencia .modal-content.efectivo {
  height: auto;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#modal-transferencia .formulario-movimiento {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
}

#modal-transferencia .formulario-movimiento .form-bloque {
  margin-bottom: 0.5rem;
}

#modal-transferencia .formulario-movimiento .form-bloque.efectivo {
  margin-bottom: 0 !important;
}
/* Estilo de SweetAlert adaptado al tema oscuro y dorado */
.swal-dark {
  background: #1e1e1e !important;
  color: #fefefe !important;
  border-radius: 16px !important;
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.12) !important;
  padding: 1.6rem !important;
}

.swal-dark .swal2-title {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #FFD700 !important;
}

.swal-dark .swal2-content {
  font-size: 1rem !important;
  color: #ddd !important;
}

/* Eliminar espacio innecesario en el formulario */
#campicoins-calculados {
  margin-bottom: 0.5rem !important;
}


/* Ajustar tamaño del modal para que esté centrado y sin espacios vacíos */
.modal-content {
  max-width: 400px;
  margin: 0 auto;
  padding-bottom: 1rem !important;
}
/* Eliminar espacio innecesario en el formulario */
#campicoins-calculados {
  margin-bottom: 0.5rem !important;
}




/* 
.choices {
  background-color: transparent !important;
  border: 1px solid #444 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  color: #fff !important;
}

.choices__inner {
  background-color: #2a2a2a !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.8rem !important;
}

.choices__list--dropdown {
  background-color: #1e1e1e !important;
  border: 1px solid #444 !important;
  border-radius: 8px !important;
}

.choices__item {
  color: #fff !important;
  font-size: 0.9rem !important;
}

.choices__list--dropdown .choices__item--selectable {
  background-color: transparent !important;
  padding: 0.4rem 0.8rem !important;
  border-radius: 6px !important;
  transition: background 0.2s ease;
}

.choices__list--dropdown .choices__item--selectable:hover {
  background-color: #333 !important;
}

*/
#modal-transferencia {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100 !important;
}

#modal-transferencia .modal-content {
  background: #222;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  width: 92%;
  max-width: 500px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

#modal-transferencia .modal-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  margin-bottom: 0.8rem;
  max-height: 70vh; /* Ajusta el scroll para no pasarse */
  scrollbar-width: thin; /* Para Firefox */
  scrollbar-color: transparent transparent; /* Oculta el scroll en Firefox */
}

#modal-transferencia .modal-body::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}
#modal-transferencia .modal-content::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

#modal-transferencia .modal-content {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE y Edge */
}
.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 0;
  background: #222;
  width: 100%;
  max-width: 480px;
}

.modal-actions button {
  flex: 1;
  padding: 0.8rem 1rem;
  margin: 0;
  text-align: center;
  font-weight: bold;
  border-radius: 10px;
}

.btn-principal {
  background: #FFD700;
  color: #111;
  transition: background 0.3s;
}

.btn-secundario {
  background: #333;
  color: #ccc;
  transition: background 0.3s;
}

@media (max-width: 600px) {
  .modal-actions {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.8rem;
  }

  .modal-actions button {
    flex: 1;
    width: 48%;
    max-width: 220px;
  }
}
.hidden {
  display: none;
}

body.loading .safe-container {
  display: none;
}

body.loading .loader {
  display: block;
}

.user-select,
.select-wrapper {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.choices,
.choices__inner,
.choices__list--dropdown,
.choices__list[aria-expanded] {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.choices__inner {
  background: #181818 !important;
  color: #FFD700 !important;
  border: none !important;           /* Sin borde */
  border-radius: 10px !important;
  min-height: 44px !important;
  padding: 0.5rem 1rem !important;
  font-size: 1rem !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.choices__inner:focus-within {
  border: none !important;
  box-shadow: 0 0 0 2px #FFD70033 !important;
}

.choices__list--dropdown, .choices__list[aria-expanded] {
  background: #222 !important;
  color: #FFD700 !important;
  border: none !important;           /* Sin borde */
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(255,215,0,0.10) !important;
  margin-top: 4px !important;
  z-index: 2000 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  max-height: 250px !important;    
  overflow-y: auto !important;
  padding: 0 !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
}

.choices__list--dropdown::-webkit-scrollbar {
  width: 0 !important;                  /* Oculta scroll en Chrome/Safari */
  background: transparent !important;
}

.choices__item--selectable {
  background: transparent !important;
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  transition: background 0.2s, color 0.2s;
  font-size: 1rem !important;
  line-height: 1.3 !important;
  display: flex;
  align-items: center;
}

.choices__item--selectable:hover, .choices__item--selectable.is-highlighted {
  background: #FFD70022 !important;
  color: #FFD700 !important;
}

.choices__placeholder {
  color: #FFD70099 !important;
  opacity: 1 !important;
}

.choices__list--single {
  color: #FFD700 !important;
}

.choices__list--dropdown .choices__item--selectable {
  color: #fff !important;
}

.choices__list--dropdown .choices__item--selectable:hover {
  background: #FFD70033 !important;
  color: #FFD700 !important;
}

.choices[data-type*=select-one] .choices__inner {
  padding-bottom: 0 !important;
}

.choices__input {
  background: #222 !important;
  color: #FFD700 !important;
  border: none !important;
  font-size: 1rem !important;
}

.choices__list--dropdown::-webkit-scrollbar,
.choices__list[aria-expanded]::-webkit-scrollbar {
  width: 0px !important;      /* Chrome/Safari/Edge */
  height: 0px !important;
  background: transparent !important;
}
.choices__list--dropdown {
  /* Asegúrate de NO tener border/padding que pueda dejar espacio para el scroll */
  border-right: none !important;
  padding-right: 0 !important;
}


/* Oculta SIEMPRE el scroll en todos los navegadores para Choices.js */
.choices__list--dropdown,
.choices__list[aria-expanded],
.choices__list--dropdown .choices__list,
.choices__list[aria-expanded] .choices__list {
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
}

.choices__list--dropdown::-webkit-scrollbar,
.choices__list[aria-expanded]::-webkit-scrollbar,
.choices__list--dropdown .choices__list::-webkit-scrollbar,
.choices__list[aria-expanded] .choices__list::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  display: none !important;
}

.tarjeta-valor-actual {
  background: linear-gradient(135deg, #fffbe6 0%, #ffe066 60%, #ffd700 100%);
  color: #222 !important;
  border: 2.5px solid #FFD700;
  border-radius: 10px;
  box-shadow: 0 0 32px #FFD70033, 0 8px 32px #0008;
  position: relative;
  z-index: 3;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
  backdrop-filter: blur(2.5px);
  padding: 0.4rem 0.6rem;
  width: 100%;
  max-width: 130px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tarjeta-valor-actual::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at 60% 40%, #fffde4cc 0%, #ffd70033 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.tarjeta-valor-actual .tarjeta-label {
  color: #2a1d00 !important;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.1rem;
  z-index: 2;
}
.tarjeta-valor-actual .tarjeta-valor {
  color: #2a1d00 !important;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: none;
  margin-bottom: 0.1rem;
  z-index: 2;
}
.tarjeta-valor-actual .tarjeta-sub {
  font-size: 0.60rem;
  color: #2a1d00cc;
  opacity: 0.8;
  z-index: 2;
}

.tarjeta-valor-actual .tarjeta-icono {
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
  color: #2a1d00 !important;
  line-height: 1;
  z-index: 2;
}



.tarjeta-resumen,
.tarjeta-valor-actual {
  width: 100%;
  max-width: 180px;   /* antes 130px */
  height: 70px;       /* antes 50px */
  padding: 0.6rem 1rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.swal-cancel-btn {
  background: #222;
  color: #FFD700;
  border: 2px solid #FFD700;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.5em 1.5em;
  margin-left: 0.5em;
  transition: background 0.2s, color 0.2s;
}
.swal-cancel-btn:hover {
  background: #FFD700;
  color: #222;
}

.swal2-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.7em;
}

.swal-cancel-btn, .btn-swal-confirm {
  height: 44px !important;
  min-width: 120px;
  font-size: 1rem;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* 🚫 TEMPORAL: Desactivar botones de compra */
.btn-principal.temporarily-disabled,
.add-mov-btn.temporarily-disabled,
#btn-agregar-mov.temporarily-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  background: #666 !important;
  color: #999 !important;
  pointer-events: none !important;
  position: relative;
}

.btn-principal.temporarily-disabled::after,
.add-mov-btn.temporarily-disabled::after,
#btn-agregar-mov.temporarily-disabled::after {
  content: "⏸️ TEMPORALMENTE DESACTIVADO";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff6b6b;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
  z-index: 1000;
}