/* Reset default margin & set font */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background: url("https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0")
    no-repeat center center/cover;
}
/*
   LOGIN / SIGNUP FORM
 */
.formdiv {
  width: 300px;
  height: 400px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.formdiv input {
  width: 200px; 
  padding: 10px;
  margin: 10px auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
}
.formdiv button {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  background: #5a3ef7;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.formdiv button:hover {
  background:  #6954df;
}

.login-text {
  margin-top: 15px;
  font-size: 0.9rem;
  color: antiquewhite;
}

.login-text a {
  color: #5a3ef7;
  font-weight: bold;
  text-decoration: none;
}

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

a {
  text-decoration: none;
  color: #5a3ef7;
}
.register-text{
  color: white;
}
/* =========================
   PROFILE SETUP FORM (Multi-step)
========================= */
.form-container {
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  max-width: 500px;
  width: 100%;
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  color:  #2e0d77;
  font-size: 28px;
}

/* Progress Bar */
.progress-bar {
  border-radius: 25px;
  overflow: hidden;
  height: 20px;
  margin-bottom: 15px;
}

.progress-fill {
  background: #2e0d77;
  height: 100%;
  width: 0;
  transition: width 0.3s ease-in-out;
}

.progress-text {
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
  font-size: 18px;
  color: #444;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 16px;
}

.form-container input,
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

textarea {
  resize: none;
  height: 90px;
}

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

.form-container button {
  flex: 1;
  padding: 14px 25px;
  border: none;
  border-radius: 8px;
  background: #2e0d77;
  color: white;
  cursor: pointer;
  font-size: 16px;
  margin: 0 5px;
}

.form-container button:hover {
  background:  #2e0d77;
}

.form-container button[disabled] {
  background: #ccc;
  cursor: not-allowed;
}

.step {
  display: none;
}

.step.active {
  display: block;
}
