.auth-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    315deg,
    rgba(15, 15, 30, 0.0) 0%,
    rgba(40, 40, 60, 0.95) 100%
  );/* translucent white */
  backdrop-filter: blur(15px); /* actual blur effect */
  -webkit-backdrop-filter: blur(15px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.3); /* frosted border */
  border-radius: 1rem; /* rounded edges for softer glass */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* subtle depth */
  padding: 1rem;
  padding: 20px;
  border: none;
  z-index: 1000;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
}

.auth-popup.active {
  display: block;
}

.auth-popup label {
  display: block;
  font-size: 1.2em;
  font-weight: 500;
  color: white;
  margin-bottom: 8px;
}

.auth-popup input[type="email"],
.auth-popup input[type="text"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.auth-popup input[type="submit"] {
  padding: 8px 16px;
  border-radius: 4px;
  background: #000000;
  background: linear-gradient(120deg,rgba(0, 0, 0, 1) 10%, rgba(15, 34, 64, 0.92) 43%);
  border-radius: 0.4rem;
  width: auto;
  color: #3fd99e;
  cursor: pointer;
}

.auth-popup input[type="submit"]:hover {
  background: #0056b3;
}
