/**
 * Modais SweetAlert — consulta / verificação (site + checkout).
 * Variável --cc-pix-accent reutilizada; definida em pix-checkout ou :root no site.
 */
:root {
  --cc-swal-accent: var(--cc-pix-accent, #ffbc06);
}

.cc-swal-consultation-popup.swal2-popup {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  box-sizing: border-box;
}

.cc-swal-consultation-popup .swal2-header {
  padding: 0;
  margin: 0;
}

.cc-swal-consultation-popup .swal2-actions {
  display: none !important;
}

.cc-swal-consultation-popup .swal2-html-container {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-swal-consultation-inner {
  text-align: center;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.cc-swal-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cc-swal-title-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #333;
}

.cc-swal-wait-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.cc-swal-wait-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
}

.cc-swal-category-wrap {
  width: 100%;
  min-height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem;
}

.cc-swal-category-text {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cc-swal-accent);
  line-height: 1.25;
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.cc-swal-category-text--leave {
  opacity: 0;
  transform: translateY(-6px);
}

.cc-swal-category-text--enter {
  opacity: 0;
  transform: translateY(8px);
}

.cc-swal-status-wrap {
  min-height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 0.25rem;
}

.cc-swal-status-text {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: #3a3a3a;
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
}

.cc-swal-status-text--leave {
  opacity: 0;
  transform: translateY(-12px);
}

.cc-swal-status-text--enter {
  opacity: 0;
  transform: translateY(14px);
}

.cc-swal-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 188, 6, 0.25);
  border-top-color: var(--cc-swal-accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: cc-swal-spin 0.75s linear infinite;
}

@keyframes cc-swal-spin {
  to {
    transform: rotate(360deg);
  }
}

.cc-progress {
  width: 100%;
  height: 10px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
}

.cc-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cc-swal-accent), #ffb800);
  border-radius: 999px;
  transition: width 0.25s linear;
}

.cc-swal-msg {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444;
  margin: 0;
  padding: 0.35rem 0.35rem 0;
}

.cc-swal-consultation-inner--no-progress .cc-progress {
  display: none;
}
