* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f5f5f5;
}

.container {
  display: flex;
  height: 100vh;
}

.hero-section {
  flex: 1;
  background-color: #fdecec;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.hero-section img {
  width: 70%;
  max-width: 400px;
}

.hero-section h2 {
  margin-top: 20px;
  color: #8b0000;
  text-align: center;
}

.login-section {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.login-section h2 {
  color: #8b0000;
  margin-bottom: 10px;
}

.login-section p {
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.input-box {
  width: 100%;
  max-width: 300px;
  margin-bottom: 15px;
}

.input-box input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.btn-login {
  width: 100%;
  max-width: 300px;
  padding: 10px;
  background-color: #8b0000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-login:hover {
  background-color: #a10000;
}

.register-link {
  margin-top: 10px;
  font-size: 14px;
}

.register-link a {
  color: #8b0000;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Input Section */
/* Adjusted CSS to match the new input section layout */
.input-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #ffffff;
  margin: 0 auto;
  padding: 20px; /* Added padding for better spacing */
  box-sizing: border-box; /* Ensures padding is included in width/height */
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; /* Space between fields */
  width: 100%;
  max-width: 800px; /* Adjusted width for better layout */
  background-color: #f9f9f9;
  padding: 30px; /* Added padding for a spacious look */
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

.form-row {
  display: flex;
  flex-direction: column;
  grid-column: span 1;
}

.form-row:nth-child(5),
.form-row:nth-child(6) {
  grid-column: span 2; /* Make text areas span full width */
}

textarea {
  resize: none;
  height: 120px; /* Increased height for better usability */
}

.btn-submit {
  grid-column: span 2; /* Center the button below all fields */
  width: 100%;
  padding: 12px;
  background-color: #8b0000;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 18px; /* Slightly larger font size for better visibility */
  cursor: pointer;
}

.btn-submit:hover {
  background-color: #a10000;
}

h1 {
  text-align: center;
  margin-bottom: 30px; /* Space between heading and form */
  font-size: 24px;
  color: #8b0000;
}
