/* ===============================
   signup.css
   Styles for Sign-Up Page
   =============================== */

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(120deg, #e0f7f1, #f9f9f9);
  color: #2c3e50;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Container */
.signup-container {
  background-color: #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 480px;
  animation: fadeInUp 0.6s ease;
}

/* Form Title */
.signup-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: #00a86b;
}

/* Form Group */
.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #00a86b;
  outline: none;
}

/* Button */
.btn-primary {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #00a86b;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #008f5c;
  transform: translateY(-2px);
}

/* Redirect Link */
.redirect-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #666;
}

.redirect-link a {
  color: #00a86b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.redirect-link a:hover {
  color: #007c47;
}

/* Success Message */
.success-msg {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #e6ffed;
  border-left: 5px solid #00a86b;
  color: #007c47;
  font-size: 0.95rem;
  border-radius: 4px;
  animation: fadeIn 0.5s ease;
}

.hidden {
  display: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 500px) {
  .signup-container {
    padding: 1.5rem;
  }

  .signup-form h2 {
    font-size: 1.5rem;
  }

  .btn-primary {
    font-size: 0.95rem;
  }
}
