@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.container {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.form-container {
  padding: 30px;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.input-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #555;
}

.input-field {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.input-field ion-icon {
  min-width: 40px;
  font-size: 20px;
  color: #555;
  text-align: center;
}

.input-field input {
  width: 100%;
  padding: 12px 15px;
  border: none;
  outline: none;
  font-size: 14px;
}

.show-hide {
  cursor: pointer;
  padding-right: 10px;
}

button {
  width: 100%;
  padding: 12px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #5a6fe0;
}

.switch-form {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #555;
}

.switch-form a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.home-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
}

/* Mobile responsive styles */
@media screen and (max-width: 480px) {
  .container {
    width: 90%;
  }
  
  .form-container {
    padding: 20px;
  }
  
  h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .input-field input {
    padding: 10px;
  }
  
  button {
    padding: 10px;
  }
}