@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #667eea, #764ba2);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  background: white;
  padding: 40px 50px;
  border-radius: 15px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  width: 350px;
}

.form h2 {
  text-align: center;
  color: #333;
  margin-bottom: 35px;
  font-weight: 700;
  font-size: 1.8rem;
}

input[type="text"], input[type="email"], input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 2px solid #ddd;
  outline: none;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #667eea;
}

.btn {
  width: 100%;
  background: #667eea;
  padding: 14px 0;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 15px rgba(102,126,234,0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background: #5a67d8;
  box-shadow: 0 6px 20px rgba(90,103,216,0.6);
}

.toggle-text {
  margin-top: 20px;
  text-align: center;
  color: #555;
}

.toggle-text a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.toggle-text a:hover {
  color: #5a67d8;
  text-decoration: underline;
}
