body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Card that wraps the whole content */
.card {
  text-align: center;
  max-width: 400px;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 30px 25px;
  background-color: #fafafa;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.illustration img {
  width: 80px;
  margin-bottom: 20px;
}

h2 {
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

label {
  text-align: left;
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

input[type="email"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  margin-bottom: 15px;
}




button#submitBtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  background-color: #6c73f0;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  overflow: hidden;
}

button#submitBtn .spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

button.loading .btn-text {
  visibility: hidden;
}

button.loading .spinner {
  display: block;
}


button:hover {
  background-color: #4254f1;
}

.back-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #ff5722;
}


    .message-box {
      background-color: #e6ffed;
      border: 1px solid #4CAF50;
      padding: 15px;
      margin-top: 15px;
      border-radius: 5px;
      color: #2e7d32;
      text-align: center;
    }
    .error-box {
      background-color: #ffebee;
      border: 1px solid #f44336;
      padding: 15px;
      margin-top: 15px;
      border-radius: 5px;
      color: #b71c1c;
      text-align: center;
    }
    .back-link {
      display: block;
      margin-top: 15px;
      text-align: center;
      color: #555;
      text-decoration: none;
    }
 
    @keyframes spin {
      100% { transform: rotate(360deg); }
    }