.connect-overlay{ width: 100%; height: 100%; position: fixed; z-index: 9999; background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.connect-block{ width: 100%; max-width: 500px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media(max-width: 768px){
.connect-block{
  left: revert; top: revert; bottom: 0px; transform: none;
}
}

.loader {
  --color-one: #ffbf48;
  --color-two: #be4a1d;
  --color-three: #ffbf4780;
  --color-four: #bf4a1d80;
  --color-five: #ffbf4740;
  --time-animation: 2s;
  --size: 1; /* You can change the size */
  position: relative;
  border-radius: 50%;
  transform: scale(var(--size));
  box-shadow:
    0 0 25px 0 var(--color-three),
    0 20px 50px 0 var(--color-four);
  animation: colorize calc(var(--time-animation) * 3) ease-in-out infinite;
}

.loader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border-top: solid 1px var(--color-one);
  border-bottom: solid 1px var(--color-two);
  background: linear-gradient(180deg, var(--color-five), var(--color-four));
  box-shadow:
    inset 0 10px 10px 0 var(--color-three),
    inset 0 -10px 10px 0 var(--color-four);
}

.loader .box {
  width: 100px;
  height: 100px;
  background: linear-gradient(
    180deg,
    var(--color-one) 30%,
    var(--color-two) 70%
  );
  mask: url(#clipping);
  -webkit-mask: url(#clipping);
}

.loader svg {
  position: absolute;
}

.loader svg #clipping {
  filter: contrast(15);
  animation: roundness calc(var(--time-animation) / 2) linear infinite;
}

.loader svg #clipping polygon {
  filter: blur(7px);
}

.loader svg #clipping polygon:nth-child(1) {
  transform-origin: 75% 25%;
  transform: rotate(90deg);
}

.loader svg #clipping polygon:nth-child(2) {
  transform-origin: 50% 50%;
  animation: rotation var(--time-animation) linear infinite reverse;
}

.loader svg #clipping polygon:nth-child(3) {
  transform-origin: 50% 60%;
  animation: rotation var(--time-animation) linear infinite;
  animation-delay: calc(var(--time-animation) / -3);
}

.loader svg #clipping polygon:nth-child(4) {
  transform-origin: 40% 40%;
  animation: rotation var(--time-animation) linear infinite reverse;
}

.loader svg #clipping polygon:nth-child(5) {
  transform-origin: 40% 40%;
  animation: rotation var(--time-animation) linear infinite reverse;
  animation-delay: calc(var(--time-animation) / -2);
}

.loader svg #clipping polygon:nth-child(6) {
  transform-origin: 60% 40%;
  animation: rotation var(--time-animation) linear infinite;
}

.loader svg #clipping polygon:nth-child(7) {
  transform-origin: 60% 40%;
  animation: rotation var(--time-animation) linear infinite;
  animation-delay: calc(var(--time-animation) / -1.5);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes roundness {
  0% {
    filter: contrast(15);
  }
  20% {
    filter: contrast(3);
  }
  40% {
    filter: contrast(3);
  }
  60% {
    filter: contrast(15);
  }
  100% {
    filter: contrast(15);
  }
}

@keyframes colorize {
  0% {
    filter: hue-rotate(0deg);
  }
  20% {
    filter: hue-rotate(-30deg);
  }
  40% {
    filter: hue-rotate(-60deg);
  }
  60% {
    filter: hue-rotate(-90deg);
  }
  80% {
    filter: hue-rotate(-45deg);
  }
  100% {
    filter: hue-rotate(0deg);
  }
}
.wbscreen{ width: 100%; height: 100%; display: block; position: fixed; z-index: 99999; left: 0; top: 0; background-color: rgba(0, 0, 0, 0.9); filter: blur(7px); display: none; }
.wbscreen .wbloader{ width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-around; }
.toast-container { position: fixed; top: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 9999999; }
.toast { min-width: 250px; max-width: 350px; color: #fff; padding: 15px 20px; border-radius: 8px; box-shadow: 0 6px 12px rgba(0,0,0,0.15); font-size: 15px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; opacity: 0; transform: translateX(100%); animation: slideIn 0.2s forwards; position: relative; overflow: hidden; }
@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideOut {
  to { opacity: 0; transform: translateX(100%); }
}
.toast::after { content: ""; position: absolute; bottom: 0; left: 0; height: 4px; width: 100%; background: rgba(255,255,255,0.6); animation: progress 5s linear forwards; }
@keyframes progress {
  from { width: 100%; }
  to { width: 0%; }
}
.toast button { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; margin-left: 10px; }
.toast.success { background: #22C55E; }
.toast.error   { background: #EF4444; }
.toast.warning { background: #F59E0B; color: #222; }
.toast.info    { background: #3B82F6; }
.toast span::before { margin-right: 10px; font-weight: bold; }
.toast.success span::before { content: "✔"; }
.toast.error span::before   { content: "✖"; }
.toast.warning span::before { content: "⚠"; }
.toast.info span::before    { content: "ℹ"; }
.usd-after:after{ content: '$'; }
.usd-before:before{ content: '$'; }
.usd-plus-before:before{ content: '+$'; }
.usd-min-before:before{ content: '-$'; }
.process-ui {
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: none;
  }

  .process-ui .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: #6366f1;
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
  }

  .process-ui .roundloader {
    width: 1rem;
    height: 1rem;
    border: 4px solid #ffffff;
    border-top-color: transparent;
    border-radius: 9999px;
    animation: process-ui-spin 1s linear infinite;
  }

  @keyframes process-ui-spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }