/* Signup Page Specific Styles */
.signup-bg {
  background: linear-gradient(135deg, #e7ecf7 0%, #c9e5ff 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.login-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px #3498db14;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  margin: 2rem auto;
  box-sizing: border-box;
}

.login-container h1 {
  color: #2c3e50;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.4rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 1.2px solid #e1e1e1;
  border-radius: 8px;
  background: #f5f6fa;
  font-size: 1rem;
  color: #2c3e50;
  transition: border 0.2s ease-in-out;
}

.form-group input:focus {
  border: 1.5px solid #3498db;
  outline: none;
}

button[type="submit"] {
  width: 100%;
  padding: 0.9rem;
  background: #3498db;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(52, 152, 219, 0.25);
}

button[type="submit"]:hover {
  background: #217dbb;
}

.terms-line {
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  line-height: 1.4;
}

.terms-line input[type="checkbox"] {
  margin-right: 0.5rem;
}

.terms-line a {
  color: #3498db;
  text-decoration: underline;
}

.message.success {
  background: #e9fbe7;
  color: #2c7a3f;
  border: 1px solid #b1dfbb;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: center;
}

.message.error {
  background: #ffeded;
  color: #c0392b;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: center;
}

.register-link {
  margin-top: 1.2rem;
  font-size: 1rem;
  text-align: center;
}

.register-link a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
  color: #217dbb;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .login-container {
    padding: 1.6rem 1rem;
  }

  .login-container h1 {
    font-size: 1.3rem;
  }

  .form-group input {
    font-size: 0.95rem;
  }

  .terms-line {
    font-size: 0.85rem;
    flex-direction: column;
    gap: 0.2rem;
  }

  .register-link {
    font-size: 0.9rem;
  }
}
