body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: transparent;
  font-family: sans-serif;
  color: #333;
}

#gradient-container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: black;
  z-index: 0;
}

.gradient {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: opacity 2s ease;
  opacity: 0;
  z-index: 1;
}

#gradient-red {
  background: linear-gradient(
    330.93deg,
    #dc1721 -7.96%,
    rgba(68, 18, 77, 0.5) 42.31%,
    transparent 81.62%
  );
  opacity: 1;
}

#gradient-yellow {
  background: linear-gradient(
    330.93deg,
    #ffb234 -6.5%,
    rgba(141, 42, 19, 0.5) 42.31%,
    transparent 81.62%
  );
}

#gradient-green {
  background: linear-gradient(
    330.93deg,
    #10b892 0.43%,
    rgba(32, 28, 113, 0.5) 42.31%,
    rgba(5, 0, 0, 0) 81.62%
  );
}

#gradient-purple {
  background: linear-gradient(
    330.93deg,
    #4d61fe -7.96%,
    rgba(44, 7, 37, 0.5) 42.31%,
    rgba(5, 0, 0, 0) 81.62%
  );
}

.card {
  background: rgb(30, 41, 59);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 320px;
  width: 100%;
  position: relative;
  z-index: 10;
}

.captcha {
  max-width: 450px;
}

.spinner {
  margin: 0 auto 20px;
  width: 50px;
  height: 50px;
  border: 6px solid rgba(0, 0, 0, 0.2);
  border-top-color: #4a90e2;
  border-radius: 50%;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.message {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgb(148, 163, 184);
}

.footer {
  text-align: center;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 0.925rem;
  color: #94a3b8;
}

.footer p {
  margin: 5px 0;
  padding: 0;
}

.footer a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

/* Icon styles for optional spinner replacements */
.icon {
  margin: 0 auto 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}
.icon-success {
  background-color: #10b892;
}
.icon-error {
  background-color: #dc1721;
}
