.bm-form {
  padding: 22px;
  margin-bottom: 18px;
}

.bm-modos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.bm-modo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  border: 1px solid #e6edf5;
  background: #fff;
  color: #24344d;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.bm-modo:hover {
  border-color: #c5d4e8;
  background: #fbfcfe;
}

.bm-modo .material-icons,
.bm-modo .ph {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f3f6fa;
  color: #7b8ba3;
  font-size: 18px;
}

.bm-modo strong {
  display: block;
  font: 700 15px/1.25 var(--font-sans);
  letter-spacing: -0.02em;
  color: #24344d;
}

.bm-modo small {
  display: block;
  margin-top: 3px;
  color: #7d8ba0;
  font: 500 13px/1.35 var(--font-sans);
}

.bm-modo.is-on {
  background: #f5f8fd;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(36, 84, 166, 0.08);
}

.bm-modo.is-on .material-icons,
.bm-modo.is-on .ph {
  background: #e7eef9;
  color: var(--brand-primary);
}

.bm-modo.is-on strong { color: var(--brand-primary); }
.bm-modo.is-on small { color: #5c6d86; }

.bm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  min-width: 0;
}

.bm-field > span,
.bm-field > label > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b899e;
}

.bm-field small,
.bm-exemplos span {
  color: #8b98ab;
  font-size: 12px;
}

.bm-field input[type="search"],
.bm-field select,
.bm-combo-panel input[type="search"],
.at-app .bm-field input[type="search"],
.at-app .bm-field select,
.at-app .bm-combo-panel input[type="search"] {
  width: 100%;
  border: 1px solid #e4eaf2 !important;
  background: #fbfcff !important;
  border-radius: 12px !important;
  color: var(--ink-900) !important;
  font: 600 15px/1.4 var(--font-sans) !important;
  padding: 12px 14px !important;
  min-height: 46px;
  box-shadow: none !important;
  outline: none;
}

.bm-field input[type="search"]:focus,
.bm-field select:focus,
.bm-combo-panel input[type="search"]:focus,
.at-app .bm-field input[type="search"]:focus,
.at-app .bm-field select:focus,
.at-app .bm-combo-panel input[type="search"]:focus {
  border-color: var(--brand-primary) !important;
  background: #fff !important;
}

.bm-field .icon-field {
  position: relative;
}
.bm-field .icon-field .icon {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  display: flex;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  pointer-events: none;
  z-index: 1;
}
.bm-field .icon-field .icon .ph {
  font-size: 1.15rem;
  line-height: 1;
}
.bm-field .icon-field input[type="search"],
.bm-field .icon-field .form-control,
.at-app .bm-field .icon-field input[type="search"],
.at-app .bm-field .icon-field .form-control {
  padding: 12px 14px 12px 2.75rem !important;
}

.bm-picker {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  border: 1px solid #e4eaf2;
  background: #fbfcff;
  color: var(--ink-900);
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 14px;
  font: 600 15px/1.3 var(--font-sans);
  cursor: pointer;
}

.bm-picker span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bm-picker.is-empty span:first-child { color: #8b98ab; font-weight: 500; }
.bm-picker:disabled { opacity: 0.65; cursor: default; }
.bm-picker .material-icons,
.bm-picker .ph { color: #728198; font-size: 20px; width: 20px; height: 20px; }

.bm-grade {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
}

.bm-combo { position: relative; }

.bm-combo-panel {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 40, 80, 0.12);
  padding: 8px;
}

.bm-combo-lista,
.bm-modal-lista {
  max-height: 280px;
  overflow: auto;
  margin-top: 8px;
}

.bm-opcao,
.bm-atividade-item {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink-900);
  font: 600 14px/1.35 var(--font-sans);
  cursor: pointer;
}

.bm-opcao small,
.bm-atividade-item small {
  display: block;
  color: #728198;
  font-size: 12px;
  font-weight: 500;
}

.bm-opcao:hover,
.bm-atividade-item:hover,
.bm-opcao.is-on,
.bm-atividade-item.is-on {
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
}

.bm-exemplos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: -4px 0 8px;
}

.bm-exemplos button {
  border: 1px solid var(--line);
  background: #fff;
  color: #315c9b;
  border-radius: 999px;
  padding: 6px 10px;
  font: 700 12px/1.2 var(--font-sans);
  cursor: pointer;
}

.bm-exemplos button:hover { background: var(--brand-primary-soft); }

.bm-preview {
  margin: 4px 0 14px;
  color: #5d7190;
  font-size: 13px;
}

.bm-preview b { color: var(--ink-900); font-weight: 700; }

.bm-erro {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff6f6;
  border: 1px solid #f0d4d4;
  color: #8a3d3d;
  font-size: 13px;
}

.bm-submit { min-height: 44px; font-size: 14px; padding: 12px 18px; }
.bm-submit:disabled { opacity: 0.7; cursor: progress; }

.bm-resultado { margin-top: 8px; }
.bm-consulta { margin: 0 0 12px; color: #728198; font-size: 13px; }
.bm-consulta b { color: var(--ink-900); }

.bm-lista {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bm-lugar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 5px 22px rgba(30, 65, 118, 0.045);
  min-width: 0;
}

.bm-lugar-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.bm-lugar h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.bm-zap {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f4f6f8;
  color: #728198;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.bm-zap.is-on {
  background: #e8f8ef;
  color: #147a45;
}

.bm-zap .material-icons,
.bm-zap .ph { font-size: 14px; width: 14px; height: 14px; }

.bm-tipos,
.bm-end {
  margin: 6px 0 0;
  color: #728198;
  font-size: 13px;
  line-height: 1.4;
}

.bm-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.bm-acoes a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  background: #f4f7fd;
  border-radius: 999px;
  padding: 6px 10px;
  max-width: 100%;
}

.bm-acoes a span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bm-acoes .material-icons,
.bm-acoes .ph { font-size: 15px; width: 15px; height: 15px; }
.bm-acoes a:hover { background: var(--brand-primary-soft); }

.bm-vazio { color: #728198; margin: 8px 0 0; }

.bm-rodape {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.bm-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 24px);
}

.bm-modal::backdrop { background: rgba(21, 38, 61, 0.46); }

.bm-modal-card {
  width: min(560px, calc(100vw - 24px));
  max-height: min(78vh, 680px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(20, 40, 80, 0.22);
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.bm-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.bm-modal-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.bm-modal-head button {
  border: 0;
  background: #f4f7fd;
  color: var(--ink-900);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.bm-modal-busca {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.bm-modal-busca .material-icons,
.bm-modal-busca .ph {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8291a5;
  font-size: 18px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.bm-modal-busca input[type="search"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #e4eaf2 !important;
  background: #fbfcff !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: var(--ink-900) !important;
  font: 600 15px/1.4 var(--font-sans) !important;
  min-height: 46px;
  padding: 12px 14px 12px 42px !important;
  outline: none;
}

.bm-modal-busca input[type="search"]:focus {
  border-color: var(--brand-primary) !important;
  background: #fff !important;
}

.bm-modal-lista { flex: 1; margin-top: 8px; }
.bm-atividade-item strong { font-weight: 750; }
.bm-atividade-item em { font-style: normal; color: #4e83c6; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }

.bm-demo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef5ff 0%, #f7fbff 55%, #fff8eb 100%);
  border: 1px solid #c5d8f3;
  box-shadow: 0 8px 28px rgba(36, 84, 166, 0.08);
}

.bm-demo-banner-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a3f7a;
  margin-bottom: 0.2rem;
}

.bm-demo-banner-text p {
  margin: 0;
  color: #3d5472;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 52ch;
}

.bm-demo-banner-text b { color: #1a3f7a; }

.bm-demo-banner-meta {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #24344d;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 750;
  white-space: nowrap;
}

.bm-lugar.is-locked {
  position: relative;
  overflow: hidden;
  filter: blur(2.5px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
  min-height: 110px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(243, 246, 250, 0.85)),
    repeating-linear-gradient(-12deg, #f3f6fa 0 8px, #eef2f7 8px 16px);
}

.bm-lugar.is-locked::after {
  content: "Oculto na prévia";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 750;
  color: #3d5472;
  filter: none;
  backdrop-filter: blur(0);
}

.bm-locked-cta {
  margin-top: 18px;
  padding: 1.15rem 1.1rem;
  border-radius: 16px;
  border: 1px solid #d7e4f7;
  background: #f5f9ff;
  text-align: center;
}

.bm-locked-cta strong {
  display: block;
  font-size: 1rem;
  color: #1a3f7a;
  margin-bottom: 0.25rem;
}

.bm-locked-cta p {
  margin: 0 0 12px;
  color: #5a6f8c;
  font-size: 0.9rem;
}

.bm-locked-cta .at-btn { min-width: min(280px, 100%); justify-content: center; }

.bm-pix-card { width: min(440px, calc(100vw - 24px)); }

.bm-pix-valor {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1a3f7a;
  margin-bottom: 12px;
}

.bm-pix-qr-wrap {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin-bottom: 12px;
  background: #f7f9fc;
  border-radius: 14px;
  border: 1px dashed #d0dceb;
}

.bm-pix-qr-wrap img {
  max-width: 220px;
  height: auto;
  border-radius: 8px;
}

.bm-pix-aguarde { color: #728198; font-size: 14px; }

.bm-pix-copia {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.bm-pix-copia span {
  font-size: 12px;
  font-weight: 700;
  color: #5a6f8c;
}

.bm-pix-copia textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: 500 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #24344d;
  background: #fbfcfe;
}

.at-exp-pacote.is-on {
  border-color: var(--brand-primary);
  background: #f4f7fd;
  box-shadow: 0 0 0 2px rgba(36, 84, 166, 0.12);
}

.bm-pix-hint {
  margin: 10px 0 0;
  text-align: center;
  color: #728198;
  font-size: 12px;
}

@media (max-width: 850px) {
  .bm-lista { grid-template-columns: 1fr; }
  .bm-grade { grid-template-columns: 1fr; }
  .bm-modos { grid-template-columns: 1fr; }
  .bm-picker,
  .at-app .bm-field input[type="search"],
  .at-app .bm-field select { font-size: 16px !important; }
  .bm-submit,
  .bm-rodape .at-btn,
  .bm-locked-cta .at-btn { width: 100%; min-height: 44px; justify-content: center; }
  .bm-demo-banner-meta { width: 100%; justify-content: center; }
}

/* ============================================================
   Modal de checkout (Baixar lista completa + PIX)
   ============================================================ */
.bm-checkout {
  overflow: visible;
  max-height: none;
  border: 0;
  padding: 0;
  background: transparent;
}
.bm-checkout::backdrop { background: rgba(17, 24, 39, 0.5); }

.bm-checkout .bm-pix-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5dbe5;
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(17, 24, 39, 0.22);
}

/* Cabeçalho */
.bm-co-top { flex: none; padding: 18px 20px 0; border-bottom: 1px solid #e3e8ef; }
.bm-checkout .bm-co-head { display: block; margin: 0 0 12px; padding-right: 28px; }
.bm-checkout .bm-co-head h2 { margin: 0 0 3px; font-size: 17px; font-weight: 600; letter-spacing: 0; color: #1f2a3c; }
.bm-checkout .bm-co-head p { margin: 0; font-size: 13px; line-height: 1.45; color: #627086; }
.bm-checkout .bm-co-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #6b778c;
  font-size: 16px;
  cursor: pointer;
}
.bm-checkout .bm-co-x:hover { background: #eef1f6; color: #1f2a3c; }

/* Etapas */
.bm-co-steps { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.bm-co-steps li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0 0 9px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: #8a95a8;
  font-size: 13px;
  font-weight: 500;
}
.bm-co-steps li b { font-weight: 600; }
.bm-co-steps li b::after { content: "."; }
.bm-co-steps li.is-on { color: #1f2a3c; border-bottom-color: var(--brand-primary, #2454a6); font-weight: 600; }
.bm-co-steps li.is-done { color: #1f2a3c; border-bottom-color: #c3cddd; }

/* Corpo com rolagem */
.bm-co-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px 20px 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bm-co-erro {
  margin: 0 0 14px;
  padding: 9px 12px;
  border: 1px solid #f0c2bd;
  border-left-width: 3px;
  border-radius: 4px;
  background: #fdf4f3;
  color: #8f2018;
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
}

/* Passo 1 */
.bm-checkout .at-exp-pacotes { margin: 0; padding: 0; border: 0; }
.bm-checkout .at-exp-pacotes-titulo,
.bm-co-label {
  margin: 0 0 2px !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #1f2a3c !important;
}
.bm-co-label { margin: 18px 0 6px !important; }
.bm-checkout .at-exp-pacotes-nota { margin: 0 0 8px !important; font-size: 12.5px; color: #627086 !important; }
.bm-checkout .at-exp-pacotes-grade { display: grid; grid-template-columns: 1fr; gap: 6px; }
.bm-checkout .at-exp-pacotes-carregando { margin: 0 !important; font-size: 13px; color: #627086 !important; }

.bm-checkout .at-exp-pacote {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px 10px 38px;
  position: relative;
  border: 1px solid #d5dbe5;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  transform: none;
  text-align: left;
  cursor: pointer;
}
.bm-checkout .at-exp-pacote::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 1.5px solid #9aa6ba;
  border-radius: 50%;
  background: #fff;
}
.bm-checkout .at-exp-pacote b { font-size: 14px; font-weight: 500; color: #1f2a3c; }
.bm-checkout .at-exp-pacote span { font-size: 14px; font-weight: 600; color: #1f2a3c; font-variant-numeric: tabular-nums; }
.bm-checkout .at-exp-pacote:hover { border-color: #aab6c9; background: #fafbfd; transform: none; }
.bm-checkout .at-exp-pacote.is-on {
  border-color: var(--brand-primary, #2454a6);
  background: #f5f8fd;
  box-shadow: inset 0 0 0 1px var(--brand-primary, #2454a6);
}
.bm-checkout .at-exp-pacote.is-on::before {
  border-color: var(--brand-primary, #2454a6);
  background: radial-gradient(circle, var(--brand-primary, #2454a6) 0 4px, #fff 4.5px);
}

.bm-checkout .at-exp-opcoes { display: flex; gap: 18px; }
.bm-checkout .at-exp-opcao {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
.bm-checkout .at-exp-opcao:has(input:checked) { border: 0; background: transparent; }
.bm-checkout .at-exp-opcao b { display: inline; font-size: 13.5px; font-weight: 500; }
.bm-checkout .at-exp-opcao small { display: inline; margin-left: 4px; font-size: 12.5px; color: #627086; }
.bm-co-seguro { margin: 16px 0 0 !important; font-size: 12.5px !important; line-height: 1.45; color: #627086 !important; }

/* Passo 2 (PIX) */
.bm-co-pagar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  margin-bottom: 12px;
}
.bm-co-pagar span { font-size: 13px; font-weight: 500; color: #627086; text-transform: none; letter-spacing: 0; }
.bm-checkout .bm-pix-valor { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: 0; color: #1f2a3c; font-variant-numeric: tabular-nums; }
.bm-co-timer { flex-basis: 100%; padding: 0; border-radius: 0; background: none; color: #627086; font-size: 12.5px; font-style: normal; font-weight: 400; font-variant-numeric: tabular-nums; }

.bm-checkout .bm-pix-qr-wrap {
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #d5dbe5;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}
.bm-checkout .bm-pix-qr-wrap img { width: 184px; max-width: 100%; height: auto; border-radius: 0; }
.bm-checkout .bm-pix-aguarde { display: flex; align-items: center; gap: 10px; margin: 0; padding: 70px 0; font-size: 13px; color: #627086; }

.bm-co-spin {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid #d5dbe5;
  border-top-color: var(--brand-primary, #2454a6);
  border-radius: 50%;
  animation: bm-co-spin 0.8s linear infinite;
}
@keyframes bm-co-spin { to { transform: rotate(360deg); } }

.bm-co-copia label { display: block; margin: 0 0 5px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #1f2a3c; }
.bm-co-copia-row { display: flex; gap: 8px; align-items: stretch; }
.bm-co-copia-row textarea {
  flex: 1;
  min-width: 0;
  resize: none;
  padding: 8px 10px;
  border: 1px solid #c9d1de;
  border-radius: 6px;
  background: #f7f8fa;
  color: #1f2a3c;
  font: 400 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.bm-co-copiar {
  flex: none;
  padding: 0 14px;
  border: 1px solid #c9d1de;
  border-radius: 6px;
  background: #fff;
  color: #1f2a3c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.bm-co-copiar:hover { background: #f3f5f9; }
.bm-co-copiar.is-ok { border-color: #8cc5a5; color: #17633b; background: #f2faf5; }

.bm-co-como { margin: 12px 0 0; padding: 0 0 0 18px; background: none; border-radius: 0; color: #627086; font-size: 12.5px; line-height: 1.6; list-style: decimal outside; }
.bm-co-como b { color: #1f2a3c; font-weight: 600; }

/* Aguardando confirmação */
.bm-co-status.bm-co-espera {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #d5dbe5;
  border-radius: 6px;
  background: #f7f8fa;
  color: #1f2a3c;
  text-align: left;
  font-weight: 400;
}
.bm-co-status[hidden] { display: none; }
.bm-co-espera .bm-co-spin { margin-top: 2px; }
.bm-co-espera-txt { display: block; min-width: 0; }
.bm-co-espera-txt strong { display: block; font-size: 14px; font-weight: 600; color: #1f2a3c; }
.bm-co-espera-txt small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: #627086; }
.bm-co-dots { font-style: normal; }
.bm-co-dots u { text-decoration: none; opacity: 0; animation: bm-co-dot 1.4s infinite; }
.bm-co-dots u:nth-child(2) { animation-delay: 0.25s; }
.bm-co-dots u:nth-child(3) { animation-delay: 0.5s; }
@keyframes bm-co-dot { 0%, 20% { opacity: 0; } 45%, 100% { opacity: 1; } }
.bm-co-status.bm-co-espera.is-expired { border-color: #f0c2bd; background: #fdf4f3; }
.bm-co-status.bm-co-espera.is-expired .bm-co-espera-txt strong { color: #8f2018; }
.bm-co-status.bm-co-espera.is-expired .bm-co-spin,
.bm-co-status.bm-co-espera.is-expired .bm-co-dots { display: none; }

/* Pagamento confirmado */
.bm-co-sucesso { display: flex; flex-direction: column; align-items: center; padding: 22px 8px 14px; text-align: center; }
.bm-co-sucesso[hidden] { display: none; }
.bm-co-check {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid #1a7f4b;
  border-radius: 50%;
  color: #1a7f4b;
  font-size: 20px;
}
.bm-co-sucesso h3 { margin: 12px 0 4px; font-size: 16px; font-weight: 600; letter-spacing: 0; color: #1f2a3c; }
.bm-co-sucesso p { margin: 0; font-size: 13px; line-height: 1.5; color: #627086; }
.bm-co-gerando { position: relative; width: 200px; height: 3px; margin-top: 16px; overflow: hidden; background: #e3e8ef; }
.bm-co-gerando[hidden] { display: none; }
.bm-co-gerando span { position: absolute; top: 0; bottom: 0; width: 40%; background: var(--brand-primary, #2454a6); animation: bm-co-slide 1.3s ease-in-out infinite; }
@keyframes bm-co-slide { 0% { left: -40%; } 100% { left: 100%; } }
.bm-checkout .bm-co-baixar,
.bm-checkout .bm-co-baixar:hover,
.bm-checkout .bm-co-baixar span { color: #fff !important; }
.bm-checkout .bm-co-baixar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 9px 22px;
  border-radius: 6px;
  background: var(--brand-primary, #2454a6);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.bm-checkout .bm-co-baixar:hover { background: #1e4a95; }
.bm-co-baixar[hidden] { display: none; }

/* Rodapé fixo */
.bm-co-foot { flex: none; padding: 12px 20px 16px; background: #fff; border-top: 1px solid #e3e8ef; }
.bm-co-foot [hidden] { display: none; }
.bm-co-resumo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.bm-co-resumo span { font-size: 13px; font-weight: 500; color: #627086; }
.bm-co-resumo strong { font-size: 20px; font-weight: 600; letter-spacing: 0; color: #1f2a3c; font-variant-numeric: tabular-nums; }
.bm-checkout .bm-co-acoes { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.bm-co-foot #bm-foot-2 .bm-co-acoes { margin-top: 0; }
.bm-checkout .bm-co-acoes .at-exp-ok,
.bm-checkout .bm-co-acoes .at-exp-fechar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
  transform: none;
}
.bm-checkout .bm-co-acoes .at-exp-ok { flex: 1; background: var(--brand-primary, #2454a6); border: 1px solid var(--brand-primary, #2454a6); color: #fff !important; font-weight: 600; }
.bm-checkout .bm-co-acoes .at-exp-ok:hover { background: #1e4a95; border-color: #1e4a95; transform: none; box-shadow: none; }
.bm-checkout .bm-co-acoes .at-exp-ok:disabled { opacity: 0.6; cursor: wait; }
.bm-checkout .bm-co-acoes .at-exp-fechar { background: #fff; border: 1px solid #c9d1de; color: #1f2a3c; }
.bm-checkout .bm-co-acoes .at-exp-fechar:hover { background: #f3f5f9; }
.bm-checkout .bm-co-acoes .at-exp-ok.is-solo { flex: 1 1 100%; background: #fff; border-color: #c9d1de; color: #1f2a3c !important; font-weight: 500; }
.bm-checkout .bm-co-acoes .at-exp-ok.is-solo:hover { background: #f3f5f9; border-color: #c9d1de; }

/* Aviso dentro do modal (o toast da página fica sob o backdrop do dialog) */
.bm-co-toast {
  position: absolute;
  left: 50%;
  bottom: 84px;
  z-index: 6;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border-radius: 4px;
  background: #1f2a3c;
  color: #fff;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.15s, transform 0.15s;
}
.bm-co-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 520px) {
  .bm-co-top { padding: 16px 16px 0; }
  .bm-co-scroll { padding: 14px 16px 8px; }
  .bm-co-foot { padding: 10px 16px 14px; }
  .bm-co-copia-row { flex-direction: column; }
  .bm-co-copiar { min-height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .bm-co-spin, .bm-co-dots u, .bm-co-gerando span { animation: none; }
  .bm-co-dots u { opacity: 1; }
}