/* ============================================================
   VegasBet — withdraw reminder modal (site-wide)
   The "Напоминалка о выводе" Constant re-shows the manual-payout plaque
   on any page, so this modal is styled with the base palette (not the
   profile-scoped variables). Mirrors the /profile/withdraw plaque look.
   ============================================================ */

.wr-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.wr-modal-backdrop.is-open {
  opacity: 1;
}

.wr-modal-card {
  background: var(--bg-card);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 16px;
  padding: 34px 28px 26px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 0 48px rgba(124, 58, 237, 0.18), 0 8px 32px rgba(0, 0, 0, 0.60);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.wr-modal-backdrop.is-open .wr-modal-card {
  transform: translateY(0) scale(1);
}

.wr-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}

.wr-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.wr-modal-icon {
  width: 58px;
  height: 58px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wr-modal-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
}

.wr-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wr-modal-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 22px;
  white-space: pre-wrap;
  word-break: break-word;
}

.wr-modal-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wr-modal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
