/* BeginThings Unified In-Page Native Checkout Modal */
.bt-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(7, 7, 15, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.bt-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.bt-modal {
  background: #111118;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 20px;
  max-width: 450px;
  width: 100%;
  padding: 28px 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 58, 237, 0.15);
  position: relative;
  box-sizing: border-box;
  color: #f6f5ff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.bt-modal-overlay.active .bt-modal {
  transform: translateY(0) scale(1);
}
.bt-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  font-size: 22px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}
.bt-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: rotate(90deg);
}
.bt-modal-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bt-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.25;
}
.bt-modal-price {
  font-size: 26px;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.bt-modal-price small {
  font-size: 12px;
  font-weight: 500;
  color: #a1a1aa;
}
.bt-form-group {
  margin-bottom: 14px;
  text-align: left;
}
.bt-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.bt-input {
  width: 100%;
  box-sizing: border-box;
  background: #181822;
  border: 1px solid #2d2d3d;
  border-radius: 10px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.bt-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}
.bt-input::placeholder {
  color: #64748b;
}
.bt-pay-btn {
  width: 100%;
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.bt-pay-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.55);
}
.bt-pay-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.bt-status {
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  display: none;
  text-align: center;
}
.bt-status.show { display: block; }
.bt-status.info { background: rgba(56, 189, 248, 0.12); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.25); }
.bt-status.error { background: rgba(244, 63, 94, 0.12); color: #fca5a5; border: 1px solid rgba(244, 63, 94, 0.25); }
.bt-status.success { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.25); }
.bt-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 16px;
  flex-wrap: wrap;
}
