/* RDXPay v35 - centered success feedback; isolates all styles from existing page CSS. */
.rdx-v35-overlay {
  position: fixed;
  inset: 0;
  z-index: 40020;
  background: rgba(19, 21, 47, .38);
  opacity: 0;
  transition: opacity .22s ease;
  overscroll-behavior: contain;
}
.rdx-v35-overlay.rdx-v35-show { opacity: 1; }
.rdx-v35-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(324px, calc(100vw - 40px));
  min-height: 160px;
  box-sizing: border-box;
  padding: 23px 22px 22px;
  border: 1px solid rgba(228, 224, 245, .95);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(15, 18, 46, .22);
  text-align: center;
  color: #1e2341;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 11px)) scale(.97);
  transition: opacity .22s ease, transform .24s cubic-bezier(.2,.75,.3,1);
  will-change: opacity, transform;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.rdx-v35-show .rdx-v35-card {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.rdx-v35-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: #f5f4fa;
  color: #666982;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
}
.rdx-v35-close:hover { background: #ebe8f8; color: #462bb5; }
.rdx-v35-close:focus-visible { outline: 3px solid #ad9df2; outline-offset: 2px; }
.rdx-v35-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: linear-gradient(135deg,#7644e7,#6240d4);
  color: white;
  box-shadow: 0 0 0 9px #f1edfe;
  margin-top: 4px;
}
.rdx-v35-icon svg { width: 34px; height: 34px; display: block; overflow: visible; }
.rdx-v35-icon svg path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.rdx-v35-show .rdx-v35-icon svg path { animation: rdx-v35-tick .42s .16s ease-out forwards; }
@keyframes rdx-v35-tick { to { stroke-dashoffset: 0; } }
.rdx-v35-message {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #22263e;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-align: center;
}
@media(max-width: 360px){
  .rdx-v35-card{width:calc(100vw - 28px);min-height:154px;padding:22px 17px 19px;}
}
@media(prefers-reduced-motion:reduce){
  .rdx-v35-overlay, .rdx-v35-card{transition:none!important;}
  .rdx-v35-show .rdx-v35-icon svg path{animation:none;stroke-dashoffset:0;}
}

.rdx-v35-card:focus { outline: none; }
