.form-container {
  max-width: 800px;
  margin: 20px auto;
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: max-content;
  overflow: auto;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-family: "Montserrat", system-ui, sans-serif;
}

h2 {
  color: #555;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
  font-family: "Montserrat", system-ui, sans-serif;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.hidden {
  display: none;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
  gap: 10px;
}

.radio-group label,
.checkbox-group label {
  margin-right: 20px;
  font-weight: normal;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

button {
  padding: 20px;
  background-color: #8b1538;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.note {
  font-size: 12px;
  color: #777;
  margin-top: 5px;
}

/* Step indicator */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-indicator div {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-bottom: 3px solid #ccc;
  color: #999;
}

.step-indicator .active {
  border-bottom: 3px solid #8b1538;
  color: #8b1538;
  font-weight: bold;
}

.form-error {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fdecea;
  color: #8a1c1c;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #f5c2c7;
}

.form-error.hidden {
  display: none;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 340px;
  background: #fff;
  color: #1f1f1f;
  padding: 14px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast a {
  margin-left: auto;
  background: #6e0716;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.toast a:hover {
  opacity: 0.9;
}

@media (max-width: 480px) {
  .toast {
    right: 16px;
    left: 16px;
    max-width: unset;
  }
}

footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: #777;
  background: #ffffff;
  border-top: 1px solid #e6e6e6;
}
