body {
  padding: 0;
  margin: 0;
  background-color: beige;
  --verde-oscuro: #164a49;
  --blanco: #fff;
  --spacing-xl: 20px;
  --spacing-lg: 16px;
  --spacing-md: 12px;
  --spacing-sm: 8px;
  --border-radius-small: 10px;
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --error-color: #d8232a;
}

.title-type {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tittle {
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.tarjeta {
  font-family: "Poppins";
  margin: 20px auto;
  width: 90%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.title-tarjeta {
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.bbva {
  background-color: #004b8a;
  background: linear-gradient(135deg, #004b8a 0%, #002d57 100%);
  color: #fff;
  margin-bottom: 20px;
  margin-top: 15px;
}

.scotiabank {
  background-color: #d8232a;
  background: linear-gradient(135deg, #d8232a 0%, #a81b21 100%);
  color: #fff;
}

.info-pago {
  margin-top: 10px;
}

.name-titular {
  font-size: 1rem;
  margin-bottom: 5px;
}

.banco-info {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
  margin-bottom: 5px;
}

.banco {
  padding: 0;
  margin-right: 10px;
}

.banco_bbva {
  width: 40px;
}

.banco_sco {
  width: 80px;
}

.nombre-banco {
  font-size: 1rem;
  font-weight: bold;
  margin-left: auto;
}

.nombre-banco_scotiabank {
  font-size: 1rem;
  font-weight: bold;
  margin-left: auto;
}

.numero-container {
  margin-bottom: 10px;
}

.numero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.numero-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-small);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 5px;
}

.account-number {
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin-right: 10px;
}

.titular {
  font-size: 1rem;
  margin-bottom: 5px;
}

.referencia {
  font-size: 1rem;
}

.referenciaT {
  font-size: 1rem;
  margin-bottom: 5px;
}

/* Botón de copiar */
.copy-btn {
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--blanco);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: var(--spacing-sm) 12px;
  border-radius: var(--border-radius-small);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  min-width: 45px;
  height: 40px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-btn i {
  font-size: 1.1rem;
}

/* Efecto ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  background: var(--verde-oscuro);
  color: var(--blanco);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-small);
  box-shadow: 0 8px 32px var(--shadow-medium);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 90vw;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

.toast.error {
  background: var(--error-color);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

@media (max-width: 400px) {
  .tarjeta {
    padding: 15px;
  }

  .title-tarjeta {
    font-size: 1rem;
  }

  .banco_bbva {
    width: 30px;
  }

  .banco_sco {
    width: 60px;
  }

  .nombre-banco,
  .nombre-banco_scotiabank {
    font-size: 0.9rem;
  }

  .account-number {
    font-size: 1rem;
  }

  .name-titular,
  .titular,
  .referencia,
  .referenciaT {
    font-size: 0.9rem;
  }

  .copy-btn {
    min-width: 40px;
    height: 35px;
  }
}

