body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #83a4d4, #b6fbff);
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.form-container {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  width: 75%;

  box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
  margin: auto;
}

.hospital-header {
  text-align: center;
  margin-bottom: 15px;
}

.hospital-logo {
  width: 250px;
  height: auto;
  margin-bottom: 8px;
}

.hospital-header h1 {
  font-size: 20px;
  color: #1a5276; /* deep hospital blue */
  margin: 5px 0;
}

.hospital-header h2 {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.progress-bar {
  height: 8px;
  background: #eee;
  border-radius: 5px;
  margin-bottom: 20px;
  overflow: hidden;
}

#progress {
  height: 100%;
  width: 0%;
  background: #3498db;
  transition: width 0.3s ease;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

input, select, textarea {
  width: 96%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
}

textarea {
  resize: none;
  height: 80px;
}

/* Fix alignment of radio buttons */
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.options label {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
}

.options input[type="radio"] {
  margin-right: 10px;
  transform: scale(1.2);
}

button {
  padding: 12px;
  background: #3498db;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #2980b9;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
}
