/* General Form Styling */
#scholarship-app {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

.step {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.step.active {
  display: block;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

input[type="text"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 1.2rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.actions button {
  padding: 10px 20px;
  background: #0056b3;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.actions button:hover {
  background: #004a99;
}

#response-message {
  margin-top: 20px;
  padding: 1rem;
  background: #f0f4ff;
  border-left: 5px solid #0073e6;
  border-radius: 5px;
}

/* Progress Bar */
#progressbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  counter-reset: step;
}

#progressbar li {
  list-style-type: none;
  width: 100%;
  text-align: center;
  position: relative;
  font-size: 14px;
  color: #666;
}

#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 30px;
  height: 30px;
  border: 2px solid #ccc;
  display: block;
  text-align: center;
  margin: 0 auto 10px;
  border-radius: 50%;
  line-height: 28px;
  background-color: white;
}

#progressbar li.active:before,
#progressbar li.active {
  color: #0056b3;
  border-color: #0056b3;
  font-weight: bold;
}

#progressbar li:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ccc;
  top: 14px;
  left: -50%;
  z-index: -1;
}

#progressbar li:first-child:after {
  content: none;
}

#progressbar li.active:after {
  background: #0056b3;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
