.centrar-div {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
}

.walletBalanceCard {
  width: fit-content;
  height: 55px;
  background-color: #1c1f2f;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0px 12px;
}

.svgwrapper {
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svgwrapper svg {
  width: 100%;
}

.balancewrapper {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  width: 120px;
  gap: 0px;
}

.balanceHeading {
  font-size: 12px;
  color: #ffffff;
  font-weight: 100;
  letter-spacing: 0.8px;
  min-width:80px;
}

.balance {
  font-size: 13.5px;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin:0;
}

.addmoney {
  padding: 1px 15px;
  border-radius: 20px;
  background-color: #317ff7;
  color: white;
  border: none;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.addmoney:hover {
  background-color: whitesmoke;
  color: #9c59cc;
}
.plussign {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fondo-oscuro{
    color:var(--wp--preset--color--background);
}

.centrado{
    text-align:center;
}

.lt-perfil { 
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}
.lt-perfil input { width: 100%; padding: 8px; margin-bottom: 10px; border:none; border-radius:8px; height:38px; background:#f9f9f9; font-family: var(--wp--custom--font-family--body);}
.lt-perfil button { width: 100%; padding: 10px; background: #317ff7; color: white; border: none; border-radius: 5px; cursor: pointer; transition: all 0.3s; }
.lt-perfil button:hover {   background-color: whitesmoke; color: #9c59cc; }

.formulario {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas de igual tamaño */
    gap: 10px; /* Espaciado entre los elementos */
    max-width: 500px; /* Ajusta el tamaño según necesites */
    margin: auto; /* Centrar el formulario */
}

.form-group {
    padding-top: 15px;
    color:#ffffff;
    display: flex;
    flex-direction: column;
}

.boton-container {
    grid-column: span 2; /* Hace que el botón ocupe todo el ancho en pantallas grandes */
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    padding-top:0px;
}

/* Responsivo: en pantallas menores a 992px */
@media (max-width: 992px) {
    .formulario {
        grid-template-columns: 1fr; /* Una sola columna */
    }
    .boton-container {
        grid-column: span 1; /* Se mantiene centrado */
    }
}

/* Estilos del Modal */
.modal {
    display: none;
    position: fixed; /* Fijo para cubrir toda la pantalla */
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Sombra en la pantalla */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Cuando el modal está activo */
.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: absolute; /* Aparece en el centro al activarse */
    background-color: rgba(242, 242, 242, 0.93); /* Fondo con transparencia */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: auto;
	max-width: 650px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Sombra para resaltar */
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
	overflow-y: auto; /* Activa el scroll dentro del modal */
}

/* Cuando el modal está activo, el contenido se expande */
.modal.active .modal-content {
    transform: scale(1);
}

/* Botón de cerrar */
.close {
	margin-top:-15px;
    color: #6431f6;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: black;
}

.paquete-gema{
	margin-bottom: 10px;
	background: #6431f6 !important;
}

.paquete-gema:hover{
	color:#1f2937 !important;
	background: #d1c4f6 !important;
}

.paypal-modal {
    max-height: 90vh; /* Limita el alto del modal */
    overflow-y: auto; /* Activa el scroll vertical */
}
 
/* borrar para activar boton de comprar gemas */
.addmoney:disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
}