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

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.signup-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.form {
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.form:hover {
  transform: translateY(-5px);
}

.heading {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  position: relative;
}

.heading:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: #0171d3;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-radius: 2px;
}

.fields {
  margin: 15px 0;
}

.field {
  margin-bottom: 20px;
  position: relative;
}

.head {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
}

.head i {
  margin-right: 8px;
  color: #0171d3;
}

.input-field {
  position: relative;
}

.input {
  padding: 14px 16px;
  width: 100%;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  font-size: 16px;
  outline: none;
  transition: all 0.3s;
}

.input:focus {
  border-color: #0171d3;
  box-shadow: 0 0 0 3px rgba(1, 113, 211, 0.2);
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
}

.forms {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  min-height: 20px;
}

.valid-feedback {
  color: #28a745;
}

.invalid-feedback {
  color: #dc3545;
}

.registerForm {
  background: #0171d3;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.registerForm:hover {
  background-color: #0062b8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(1, 113, 211, 0.3);
}

.registerForm:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.login-link a {
  color: #0171d3;
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .form {
    padding: 30px 20px;
  }

  .heading {
    font-size: 24px;
  }

  .input {
    padding: 12px 14px;
  }
}