@import url('../shared/cc-modais-consulta.css');

/**
 * Checkout PIX (Ezzbank / VizzionPay) — tema alinhado ao site via --cc-pix-accent
 */
:root {
  --cc-pix-accent: #FFBC06;
  --cc-pix-radius: 12px;
}

/* Moldura do QR */
.pix-qr-frame {
  max-width: 240px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  border: 2px solid var(--cc-pix-accent);
  border-radius: var(--cc-pix-radius);
  box-sizing: border-box;
  box-shadow: 0px 0px 19px -5px #5b5b5b;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pix-qr-frame img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  vertical-align: middle;
  border-radius:9px;
}

.dados-pagamento .botao-pagamento
{
  margin-top: 20px;
}

/* Efeito “renovar QR” ao zerar o timer (só visual) */
@keyframes cc-pix-qr-refresh {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 188, 6, 0.4);
  }
  40% {
    transform: scale(0.92) rotate(-2deg);
    opacity: 0.65;
  }
  70% {
    transform: scale(1.06) rotate(1deg);
    opacity: 1;
    box-shadow: 0 0 24px 4px rgba(255, 188, 6, 0.35);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    box-shadow: none;
  }
}

.pix-qr-frame--refresh {
  animation: cc-pix-qr-refresh 0.75s ease-out;
}

/* Contagem regressiva */
.pix-expiry-countdown {
  margin-top: 14px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cc-pix-accent);
}

.pix-expiry-hint {
  margin-top: 8px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.85;
}
