* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(
    135deg,
    rgb(248, 242, 250) 0%,
    rgb(230, 200, 255) 50%,
    rgb(182, 120, 253) 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* Animated background elements */
.bg-decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.bg-decoration:nth-child(1) {
  width: 200px;
  height: 200px;
  background: rgb(154, 32, 224);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.bg-decoration:nth-child(2) {
  width: 150px;
  height: 150px;
  background: rgb(255, 100, 200);
  bottom: 15%;
  right: 15%;
  animation-delay: 2s;
}

.bg-decoration:nth-child(3) {
  width: 180px;
  height: 180px;
  background: rgb(50, 200, 255);
  top: 5%;
  right: 5%;
  animation-delay: 4s;
}

.bg-decoration:nth-child(4) {
  width: 120px;
  height: 120px;
  background: rgb(200, 255, 100);
  bottom: 5%;
  left: 5%;
  animation-delay: 1s;
}

.bg-decoration:nth-child(5) {
  width: 220px;
  height: 220px;
  background: rgb(255, 150, 50);
  top: 30%;
  left: 40%;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) translateX(10px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
}

.back {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: rgb(117, 20, 117);
  padding: 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(206, 154, 255, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back:hover {
  background: rgb(206, 154, 255);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(206, 154, 255, 0.3);
}

.container {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
  text-align: center;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.header h3 {
  font-family: "Poetsen One", sans-serif;
  color: rgb(117, 20, 117);
  margin-bottom: 15px;
  font-size: 28px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.header label {
  display: block;
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 1.5;
}

#for-email {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1em;
  color: #333;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
  margin-bottom: 25px;
  font-family: "Poppins", sans-serif;
}

#for-email:focus {
  border-color: rgb(182, 120, 253);
  box-shadow: 0 0 0 3px rgba(182, 120, 253, 0.2);
  outline: none;
  background-color: #fff;
}

#for-email::placeholder {
  color: #aaa;
  font-style: italic;
}

.btn {
  width: 100%;
  padding: 15px;
  background-color: rgb(182, 120, 253);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(182, 120, 253, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
}

.btn:hover {
  background-color: rgb(160, 100, 230);
  box-shadow: 0 8px 20px rgba(182, 120, 253, 0.6);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Success/Error Messages */
.message {
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.95em;
  font-weight: 500;
  text-align: center;
  display: none;
}

.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.message.show {
  display: block;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state */
.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn.loading::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments */
/* @media (max-width: 768px) {
  .container {
    padding: 30px 25px;
    max-width: 90%;
  }

  .header h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .header label {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  #for-email {
    padding: 12px 15px;
    margin-bottom: 20px;
  }

  .btn {
    padding: 12px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 25px 20px;
  }

  .header h3 {
    font-size: 22px;
  }

  .back {
    padding: 10px 14px;
    font-size: 14px;
  }
} */
