body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f2f4f7;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.form-wrapper {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.multi-step-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  padding: 30px 25px;
  transition: all 0.3s ease-in-out;
}

.form-step {
  display: none;
  flex-direction: column;
  gap: 15px;
}

.form-step.active {
  display: flex;
}

.brand-title{
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4rem;
}

h2 {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

input {
  padding: 10px 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  outline: none;
  transition: border 0.2s;
}

.input-error {
  border: 1px solid red;
}

input:focus {
  border-color: #3366ff;
}

.input-with-suffix {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-suffix input {
  width: 100%;
  padding-right: 150px;
}

.email-preview {
  position: absolute;
  right: 12px;
  color: #232323;
  font-size: 16px;
  pointer-events: none;
  background: white;
}

#email-feedback p {
  margin: 2px 0;
  font-size: 0.9em;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding-right: 70px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
}

.step-error {
  color: #d93025;
  font-size: 13px;
  margin-top: 6px;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.next-btn, .back-btn, .submit-btn {
  background-color: #3366ff;
  color: white;
  padding: 10px 20px;
  font-size: 15px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

.back-btn {
  background-color: #aaa;
}

.next-btn:hover, .submit-btn:hover {
  background-color: #1e4fd0;
}

.back-btn:hover {
  background-color: #888;
}

#password-feedback p,
#password-match {
  font-size: 12px;
  color: #c00;
}
