/* Signup page specific styles */
body.signup-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(120deg, #e0eafc, #cfdef3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.signup-page .signup-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 400px;
  margin-top: 80px;
  text-align: center;
  font-size: 16px;
  color: #000;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.6s ease-out;
}

body.signup-page .signup-container h2 {
  margin-bottom: 20px;
  font-size: 28px;
  color: #2a7d4f;
  font-weight: 600;
}

body.signup-page .signup-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
}

/* Input containers with optional icons (if needed) */
body.signup-page .input-icon-container {
  position: relative;
  width: 100%;
}

body.signup-page .input-icon-container input,
body.signup-page .signup-container input[type="text"],
body.signup-page .signup-container input[type="email"],
body.signup-page .signup-container input[type="password"] {
  padding: 12px 12px 12px 40px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  color: #000;
  width: 100%;
  box-sizing: border-box;
}

body.signup-page .input-icon-container .icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #666;
  font-size: 18px;
}

/* Password container with toggle */
body.signup-page .password-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

body.signup-page .password-container input {
  padding: 12px 40px 12px 40px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  color: #000;
  width: 100%;
  box-sizing: border-box;
}

body.signup-page .password-container .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 18px;
}

body.signup-page .password-container button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #000;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}

body.signup-page .password-container button:hover {
  color: #667eea;
}

/* Submit button */
body.signup-page .signup-container button[type="submit"] {
  padding: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.signup-page .signup-container button[type="submit"]:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Error message */
body.signup-page .signup-container .error {
  background: #ffe6e6;
  color: #cc0000;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  font-size: 0.9rem;
  text-align: center;
  box-sizing: border-box;
}

/* Link below form */
body.signup-page .signup-container p {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #444;
  z-index: 10;
}

body.signup-page .signup-container p a {
  color: #6a11cb;
  text-decoration: none;
  font-weight: 600;
}

body.signup-page .signup-container p a:hover {
  text-decoration: underline;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
