/* =====================================================================
   MODAL "CRIE SUA LOJA" — estilos novos (desenho aprovado no protótipo)
   Arquivo separado: não altera nenhum CSS existente do site.
   Tudo escopado em .modal-contrate para não vazar para o resto da página.
   Fontes só em tamanhos inteiros (decisão do Samuel, 01/12/2026).
   ===================================================================== */

/* ---------- Passos no topo (stepper) — requer o HTML da instrução 4 ---------- */
.modal-contrate .mc-stepper { display:flex; align-items:flex-start; max-width:400px; margin:6px auto 20px; }
.modal-contrate .mc-stp { display:flex; flex-direction:column; align-items:center; width:76px; flex:0 0 auto; }
.modal-contrate .mc-stp .mc-dot { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; background:#fff; border:2px solid #d9d9e8; color:#a7a7c2; position:relative; z-index:1; }
.modal-contrate .mc-stp .mc-lbl { margin-top:10px; font-size:12px; color:#a7a7c2; font-weight:600; }
.modal-contrate .mc-stp.mc-done .mc-dot { background:linear-gradient(135deg,#63c76d,#43a047); border-color:#43a047; color:#fff; box-shadow:0 3px 8px rgba(67,160,71,.35); }
.modal-contrate .mc-stp.mc-done .mc-lbl { color:#43a047; }
.modal-contrate .mc-stp.mc-on .mc-dot { width:40px; height:40px; margin-top:-3px; background:linear-gradient(135deg,#7a6fe0,#5b54c4); border-color:#5b54c4; color:#fff; box-shadow:0 0 0 6px rgba(91,84,196,.14), 0 6px 14px rgba(91,84,196,.35); }
.modal-contrate .mc-stp.mc-on .mc-lbl { color:#5b54c4; font-weight:800; }
.modal-contrate .mc-bar { flex:1; height:3px; background:#e6e6f2; border-radius:99px; margin-top:16px; overflow:hidden; }
.modal-contrate .mc-bar i { display:block; height:100%; background:linear-gradient(90deg,#63c76d,#5b54c4); }

/* ---------- Etapa do código (SMS) ---------- */
/* o contador antigo, que ficava ao lado do campo, sai de cena:
   agora a contagem aparece na linha informativa abaixo do botão */
.modal-contrate .create-step-sms #timeleft { display:none; }

/* campo original #sms fica escondido (continua no formulário e é ele
   que a programação existente lê/valida); quem aparece são as caixinhas */
.modal-contrate .create-step-sms #sms.mc-oculto { display:none; }

.modal-contrate .mc-codeboxes { display:flex; gap:8px; justify-content:center; margin:6px 0 4px; }
.modal-contrate .mc-codeboxes input { width:47px; height:58px; text-align:center; font-size:23px; font-weight:700; color:#333; border:1px solid #e0e0ee; border-radius:10px; background:#f8f8fc; outline:none; }
.modal-contrate .mc-codeboxes input:focus { border-color:#5b54c4; background:#fff; box-shadow:0 0 0 4px rgba(91,84,196,.12); }
.modal-contrate .mc-codeboxes.mc-erro input { border-color:#e06666; background:#fdf1f1; }

/* faixa de erro própria (o erro não apaga mais a área de reenvio) */
.modal-contrate .mc-alert-erro { display:none; background:#fdecec; border:1px solid #f3b8b8; color:#aa3333; border-radius:8px; padding:10px 13px; font-size:13px; margin-top:12px; text-align:center; }

/* confirmação de envio (verde) — no e-mail, traz o aviso do spam */
.modal-contrate .mc-sent-note { background:#eef9f0; border:1px solid #bfe6c8; border-radius:10px; padding:12px 15px; margin-top:14px; font-size:14px; color:#33691e; line-height:1.55; text-align:left; }

/* linha informativa logo abaixo do botão: contador 00:30 / link de reenvio */
.modal-contrate .mc-count-line { text-align:center; font-size:13px; color:#999; margin-top:10px; min-height:20px; }
.modal-contrate .mc-count-line b { color:#777; font-variant-numeric:tabular-nums; }
.modal-contrate .mc-count-line a { color:#5b54c4; font-weight:700; text-decoration:underline; cursor:pointer; }

/* trocar o método de verificação — separado por divisória,
   link ativo desde o primeiro segundo */
.modal-contrate .mc-method { margin-top:20px; padding-top:16px; border-top:1px solid #eee; text-align:center; font-size:14px; color:#777; line-height:1.55; }
.modal-contrate .mc-method a { color:#5b54c4; font-weight:700; text-decoration:underline; cursor:pointer; }

/* ---------- Tela de criação (passos com o loading do próprio site) ---------- */
.modal-contrate .mc-creating { list-style:none; margin:20px auto 6px; padding:0; max-width:340px; font-size:15px; color:#999; text-align:left; }
.modal-contrate .mc-creating li { padding:7px 0; display:flex; gap:10px; align-items:center; }
.modal-contrate .mc-creating li .mc-st { width:24px; height:24px; flex:0 0 auto; display:flex; align-items:center; justify-content:center; font-size:13px; }
.modal-contrate .mc-creating li.mc-doing { color:#5b54c4; font-weight:700; }
.modal-contrate .mc-creating li.mc-done { color:#2e7d32; }
.modal-contrate .mc-creating li.mc-done .mc-st { background:#43a047; border-radius:50%; color:#fff; }
.modal-contrate .mc-creating li.mc-fail { color:#aa3333; }
.modal-contrate .mc-creating li.mc-fail .mc-st { background:#e06666; border-radius:50%; color:#fff; }

/* ---------- Mobile ---------- */
@media (max-width: 560px) {
  /* o link de trocar o método cai para a linha de baixo */
  .modal-contrate .mc-method a { display:block; margin-top:4px; }
  .modal-contrate .mc-sent-note { font-size:13px; }
}
@media (max-width: 420px) {
  .modal-contrate .mc-codeboxes input { width:42px; height:52px; }
}

/* dica embaixo do botão final: diz o que falta para liberar o botão */
.modal-contrate .mc-dica { font-size:12px; color:#8a87a0; text-align:center; margin-top:8px; }
