* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background: linear-gradient(135deg, #6a11cb, 0%, #2575fc, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}
.container {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px, 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 500px;
  padding: 30px;
}
h1 {
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}
.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}
.form-group {
  margin-bottom: 20px;
  position: relative;

}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
}
input, select {
  width: 100%;
  padding: 12px, 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
}
input:focus, select:focus {
  outline: none;
  border-color: #4a90e2;
}
input:valid {
  border-color: #4CAF50;
}
input:invalid {
  border-color: #f44336;
}
.error-message {
  color: #f44336;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}
.password-strength {
  height: 5px;
  margin-top: 5px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.strength-weak {
  background-color: #f44336;
  width: 33%;
}
.strenth-medium {
  background-color: #ff9800;
  width: 66%;
}
.strength-strong {
  background-color: #4CAF50;
  width: 100%;
}
button {
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  margin-top: 10px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
button:active {
  transform: translateY(0);
}
.success-message {
  text-align: center;
  background-color: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
  display: none;
  font-weight: 600;
  font-size: 18px;
}

.error-summary {
  background-color: #ffebee;
  color: #c62828;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
}
.field-info {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}