/* ══════════════════════════════════════════════════════════════════
   checkout-icons.css — Freedom Checkout Transparente
   Ícones Lucide SVG: 20px, stroke-width 2, stroke currentColor
   ══════════════════════════════════════════════════════════════════ */

/* ── Base icon ─────────────────────────────────────────────────── */
.ck2-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* ── Spin animation (loader) ────────────────────────────────────── */
.ck2-spin {
  animation: ck2-spin 0.8s linear infinite;
}
@keyframes ck2-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Loading state ──────────────────────────────────────────────── */
.ck2-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  font-size: 15px;
  color: #6B7A99;
  font-weight: 500;
}
.ck2-loading .ck2-icon {
  width: 22px;
  height: 22px;
  color: #00C2FF;
}

/* ── Close button ───────────────────────────────────────────────── */
.ck2-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  cursor: pointer;
  color: #AAB4D6;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.ck2-close:hover { background: rgba(255,255,255,0.08); color: #050816; }
.ck2-close .ck2-icon { width: 18px; height: 18px; }

/* ── Service icon ───────────────────────────────────────────────── */
.ck2-servico-icone {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #E6FAF9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #00C2FF;
}
.ck2-servico-icone .ck2-icon {
  width: 22px;
  height: 22px;
  color: #00C2FF;
}

/* ── Provider name ──────────────────────────────────────────────── */
.ck2-prestador-nome {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #6B7A99;
  margin-top: 3px;
}
.ck2-prestador-nome .ck2-icon {
  width: 14px;
  height: 14px;
  color: #6B7A99;
}

/* ── Method buttons ─────────────────────────────────────────────── */
.ck2-metodo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: #10182E;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-family: inherit;
  width: 100%;
  text-align: left;
}
.ck2-metodo-ativo {
  border-color: #00C2FF;
  background: #FFF7F5;
}

.ck2-metodo-icone {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #050816;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #AAB4D6;
}
.ck2-metodo-ativo .ck2-metodo-icone {
  background: #E6FAF9;
  color: #00C2FF;
}
.ck2-metodo-icone .ck2-icon {
  width: 20px;
  height: 20px;
}

.ck2-metodo-check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00C2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ck2-metodo-check .ck2-icon {
  width: 13px;
  height: 13px;
  color: #fff;
  stroke-width: 3;
}

/* ── Security badge ─────────────────────────────────────────────── */
.ck2-seguro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #6B7A99;
  margin-top: 12px;
  font-weight: 500;
}
.ck2-seguro .ck2-icon {
  width: 14px;
  height: 14px;
  color: #10B981;
}

/* ── PIX QR header ──────────────────────────────────────────────── */
.ck2-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
}
.ck2-titulo .ck2-icon {
  width: 20px;
  height: 20px;
  color: #00C2FF;
}

/* ── PIX timer ──────────────────────────────────────────────────── */
.ck2-pix-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #AAB4D6;
  background: #050816;
  border-radius: 10px;
  padding: 8px 14px;
  margin: 12px auto;
  width: fit-content;
}
.ck2-pix-timer .ck2-icon {
  width: 16px;
  height: 16px;
  color: #F59E0B;
}

/* ── Copy button ────────────────────────────────────────────────── */
.ck2-btn-copiar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  color: #AAB4D6;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  width: 100%;
  margin-top: 8px;
}
.ck2-btn-copiar:active { background: rgba(255,255,255,0.08); }
.ck2-btn-copiar .ck2-icon {
  width: 16px;
  height: 16px;
  color: #AAB4D6;
}

/* ── Back button ────────────────────────────────────────────────── */
.ck2-btn-voltar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  background: none;
  border: none;
  color: #6B7A99;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  margin-top: 8px;
  border-radius: 10px;
  transition: background 0.15s;
}
.ck2-btn-voltar:hover { background: #050816; }
.ck2-btn-voltar .ck2-icon {
  width: 16px;
  height: 16px;
}

/* ── PIX step confirmação ───────────────────────────────────────── */
.ck2-pix-step .ck2-icon {
  width: 16px;
  height: 16px;
  color: #10B981;
  flex-shrink: 0;
}

/* ── Success icon ───────────────────────────────────────────────── */
.ck2-sucesso-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ECFDF5;
  margin: 0 auto 16px;
}
.ck2-sucesso-icone .ck2-icon {
  width: 40px;
  height: 40px;
  color: #10B981;
  stroke-width: 2;
}

/* ── Success button ─────────────────────────────────────────────── */
.ck2-btn-pagar .ck2-icon {
  width: 18px;
  height: 18px;
  margin-left: 6px;
}

/* ── Error icon ─────────────────────────────────────────────────── */
.ck2-erro-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:rgba(239,68,68,0.10);
  margin: 0 auto 16px;
}
.ck2-erro-icone .ck2-icon {
  width: 36px;
  height: 36px;
  color: #EF4444;
}

/* ── Processing button state ────────────────────────────────────── */
.ck2-btn-pagar:disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.85;
}
.ck2-btn-pagar:disabled .ck2-icon {
  width: 18px;
  height: 18px;
}
.ck2-btn-pagar:disabled span {
  font-weight: 600;
}

/* ── Card brand ─────────────────────────────────────────────────── */
.ck2-card-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #AAB4D6;
  margin-top: 4px;
}
.ck2-card-brand .ck2-icon {
  width: 16px;
  height: 16px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 380px) {
  .ck2-icon { width: 18px; height: 18px; }
  .ck2-servico-icone .ck2-icon { width: 20px; height: 20px; }
  .ck2-sucesso-icone { width: 60px; height: 60px; }
  .ck2-sucesso-icone .ck2-icon { width: 32px; height: 32px; }
}

/* ── Logo Pix (imagem oficial) ──────────────────────────────────── */
.ck2-pix-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

/* No botão de método: tamanho menor para caber no container */
.ck2-metodo-icone .ck2-pix-logo {
  width: 26px;
  height: 26px;
}

/* No título da tela QR: um pouco maior */
.ck2-titulo .ck2-pix-logo {
  width: 24px;
  height: 24px;
}