* { box-sizing: border-box; font-family: Arial, sans-serif; }

body {
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.form-container {
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  counter-reset: step;
  margin-bottom: 30px;
}

.progress-bar .step {
  position: relative;
  flex: 1;
  text-align: center;
  color: #aaa;
  transition: color 0.3s ease;
}

.progress-bar .step.active {
  color: #007bff;
}

.progress-bar .step::before {
  content: counter(step);
  counter-increment: step;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  background: #ccc;
  display: block;
  text-align: center;
  margin: 0 auto 10px;
  transition: background 0.3s ease;
}

.progress-bar .step.active::before {
  background: #007bff;
  color: white;
}

.form-step {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
input[type="file"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

input:focus, select:focus {
  border-color: #007bff;
  outline: none;
}

.btn {
  padding: 10px 20px;
  margin-top: 10px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn.prev {
  background-color: #6c757d;
}

.btn:hover {
  opacity: 0.9;
}