.deposit-success-overlay {
  position: fixed;
  z-index: 1000001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(6 4 17 / 82%);
  backdrop-filter: blur(6px);
}

.deposit-success-dialog {
  width: min(100%, 390px);
  padding: 32px 24px 24px;
  border: 1px solid rgb(52 211 153 / 42%);
  border-radius: 24px;
  background: linear-gradient(155deg, #1b1730, #11101c);
  color: #f6f5ff;
  text-align: center;
  box-shadow: 0 24px 90px rgb(0 0 0 / 58%), 0 0 35px rgb(16 185 129 / 14%);
  animation: deposit-success-appear 220ms ease-out;
}

.deposit-success-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid rgb(52 211 153 / 48%);
  border-radius: 50%;
  background: rgb(16 185 129 / 17%);
  color: #6ee7b7;
  font-size: 40px;
  font-weight: 800;
}

.deposit-success-dialog h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.deposit-success-dialog p {
  margin: 0 0 24px;
  color: #c1bed0;
  font-size: 0.96rem;
  line-height: 1.5;
}

.deposit-success-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #10b981, #059669);
  color: #06251d;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.deposit-success-button:hover,
.deposit-success-button:focus-visible {
  outline: 2px solid #a7f3d0;
  outline-offset: 3px;
  filter: brightness(1.08);
}

@keyframes deposit-success-appear {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .deposit-success-dialog { animation: none; }
}
