body {
  font-family: Arial, sans-serif;
  margin: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px; /* reduced right padding for mobile safety */
  z-index: 999;
  box-sizing: border-box;
}

.logo img {
  height: 75px; /* keeps big on desktop */
  max-width: 100%; /* ensures scaling on smaller screens */
}

.returning-btn {
  background: red;
  color: white;
  border: none;
  /* padding: 0.6em 1em;  */
  padding: 0.6em 1.2em; /* increased padding a bit */
  border-radius: 12px;
  /* font-family: "Times New Roman", serif; */
  font-family: "Times New Roman", serif;
  font-size: 1rem;
  cursor: pointer;
  height: auto; /* no fixed height */
  max-width: 100%; /* never overflow */
  box-sizing: border-box;
  /* white-space: normal;  */
  white-space: nowrap; /* ✅ prevent text from breaking */
  text-decoration: none; /* 🔥 removes underline */
  /* display: inline-block;  */
  display: inline-block; /* ✅ keeps button size to text */
}

.returning-btn:hover {
  background: rgb(154, 15, 15);
  transform: scale(1.05);
}
/* bc */
.main {
  display: flex;
  justify-content: space-between; /* keep form left, help right */
  align-items: stretch; /* make them equal height */
  margin: 20px auto;
  margin-top: 100px; /* so it sits under header */
  max-width: 1200px;
  font-family: "Times New Roman", serif;
  gap: 20px; /* space between columns */
}
/* Left form section */
.form-section {
  flex: 2; /* bigger than help */
  padding: 30px;
  background: white;
  box-sizing: border-box;
}
.form-section h2 {
  display: flex;
  align-items: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.form-section h2 img {
  width: 20px;
  margin-right: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: bold;
}
.form-group input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  height: 50px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.next-btn {
  background: red;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

/* Right Need Help section */
/* Right Need Help section */
.need-help {
  flex: 1; /* smaller than form */
  font-family: "Times New Roman", serif;
  background-color: #e4231e;
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}
.need-help h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin: 0;
}

.need-help p {
  font-size: 18px;
  line-height: 1.5;
}

.disclaimer {
  max-width: 900px;
  margin: 30px auto;
  font-size: 12px;
  line-height: 1.6;
  color: #777;
  text-align: center;
  font-family: "Poppins", sans-serif;
  padding: 0 15px;
}

.disclaimer a {
  color: #e4231e;
  text-decoration: none;
  font-weight: 500;
}

.disclaimer a:hover {
  text-decoration: underline;
}

/* bc */
/* Mobile-friendly form layout */
@media (max-width: 768px) {
  .main {
    flex-direction: column;
    align-items: stretch;
  }

  .form-section,
  .need-help {
    width: 100%;
    max-width: 100%;
  }

  .form-section {
    order: 1; /* form first */
  }

  .need-help {
    order: 2; /* help box below */
    margin-top: 20px;
  }

  /* Stack inputs instead of 2-column grid */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Make inputs full width */
  .form-group input {
    width: 100%;
    box-sizing: border-box;
  }

  /* Full-width button */
  .form-actions {
    justify-content: center;
  }

  .next-btn {
    width: 100%;
    font-size: 1.1rem;
  }
}
