.bw-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 22, 38, 0.58);
}

.bw-modal-overlay.is-active {
  display: flex;
}

.bw-modal-box {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 22px;
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
  color: #102033;
}

.bw-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e8f3ff;
  color: #1b75bb;
  font-size: 30px;
}

.bw-modal-box h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
}

.bw-modal-box p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
  color: #4a5568;
}

.bw-modal-note {
  font-size: 14px !important;
  color: #718096 !important;
}

.bw-progress {
  height: 5px;
  width: 100%;
  background: #dbe4ee;
  border-radius: 999px;
  overflow: hidden;
  margin: 24px 0 18px;
}

.bw-progress-fill {
  height: 100%;
  width: 0%;
  background: #1b75bb;
  transition: width 0.2s linear;
}

.bw-progress-fill.is-loading {
  animation: bwLoad 4s linear forwards;
}

.bw-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.bw-btn {
  border: 0;
  cursor: pointer;
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.bw-btn-primary {
  background: #1b75bb;
  color: #ffffff;
}

.bw-btn-primary:hover {
  background: #145c94;
  color: #ffffff;
}

.bw-btn-secondary {
  background: #edf2f7;
  color: #102033;
}

.bw-btn-secondary:hover {
  background: #dbe4ee;
  color: #102033;
}

#bw-modal-fallback {
  display: none;
}

@keyframes bwLoad {
  from { width: 0%; }
  to { width: 100%; }
}