/* Checkout inline (modal) — Hotmart Checkout Elements.
   Paleta da LP (rosa #FF2E93 / azul #93A0F0 / fundo #0B0B14).
   Nada aqui é aplicado fora do modal: a LP não muda. */

/* O design não tem reset global (box-sizing = content-box). Aqui o reset é
   ESCOPADO ao modal: sem isto o padding do card estoura a largura no mobile. */
.co-overlay,
.co-overlay *,
.co-overlay *::before,
.co-overlay *::after { box-sizing: border-box; }

.co-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(6, 5, 12, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 16px;
  overflow-y: auto;
}

.co-card {
  position: relative;
  width: min(560px, 92vw);
  margin: 4vh auto;
  background: rgb(21, 20, 31);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(22px, 5vw, 32px);
  box-shadow: rgba(0, 0, 0, 0.45) 0px 24px 60px;
  font-family: 'Manrope', sans-serif;
  color: #fff;
}

.co-x {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 0;
  color: rgb(143, 140, 156);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.co-x:hover { color: #fff; }

.co-topo { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }

/* anel de progresso: conic-gradient dirigido pela custom property --progress */
.co-anel {
  --progress: 0;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#FF2E93 0 calc(var(--progress) * 3.6deg), rgba(255, 255, 255, 0.12) 0 360deg);
  position: relative;
}
.co-anel::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgb(21, 20, 31);
}
.co-anel-txt { position: relative; font-size: 12px; font-weight: 800; }

.co-titulo { font-family: Sora, sans-serif; font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.co-sub { font-size: 13px; color: rgb(185, 174, 200); margin: 0; }

.co-campo { margin-bottom: 14px; }
.co-campo label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: rgb(230, 226, 240); }
.co-campo input,
.co-campo select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}
.co-campo input:focus,
.co-campo select:focus { outline: 2px solid #FF2E93; outline-offset: 1px; }
.co-campo select option { color: #1a1a1a; }

.co-erro { color: #ff8ab8; font-size: 12px; margin: 6px 0 0; min-height: 15px; }

.co-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: #FF2E93;
  color: #fff;
  box-shadow: rgba(255, 46, 147, 0.4) 0px 10px 28px;
}
.co-btn:disabled { opacity: 0.6; cursor: wait; }

.co-voltar {
  background: none;
  border: 0;
  color: rgb(147, 160, 240);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0 16px;
}

.co-aviso {
  font-size: 13px;
  color: rgb(185, 174, 200);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 14px 0 0;
}
.co-aviso a { color: #FF2E93; font-weight: 700; }

.co-hotmart { min-height: 200px; }
.co-carregando { font-size: 13px; color: rgb(185, 174, 200); text-align: center; padding: 40px 0; }
