#sectionStudentForm {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  margin-top: -150px;
  background-color: #f0f2f5;
}

.community-form-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
}

.community-form {
  width: 100%;
  max-width: 40%;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-right: 20px;
}

.qr-and-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 60%;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.qr-code img {
  width: 100%;
  max-width: 200px;
  margin-bottom: 20px;
}

.additional-text {
  text-align: center;
}

.additional-text p {
  font-size: 1em;
  color: #333333;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .community-form-container {
    flex-direction: column;
    align-items: center;
  }

  .community-form,
  .qr-and-text {
    width: 100%;
    max-width: none;
    margin: 0 0 20px 0;
  }
}

/* Form Container Heading */
.form-container-heading {
  text-align: center;
  font-size: 2em;
  color: #333333;
  margin-bottom: 20px;
}

/* User Details */
.user-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Input Box Styling */
.input-box {
  display: flex;
  flex-direction: column;
}

.details {
  font-size: 1em;
  margin-bottom: 5px;
  color: #666666;
}

.form-text-area {
  padding: 10px 15px;
  border: 1px solid rgb(89, 89, 89);
  border-radius: 4px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.form-text-area:focus {
  border-color: orangered;
  outline: none;
}

/* Button Styling */
.form-button {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.form-button input {
  padding: 5px 10px;
  font-size: 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.form-button input[type="submit"] {
  background-color: orangered;
  width: 30%;
  color: white;
}

.form-button input[type="button"] {
  background-color: #6c757d;
  width: 30%;
  color: white;
}

.form-button input:hover {
  transform: translateY(-3px);
}

.form-button input[type="submit"]:hover {
  background-color: orangered;
}

.form-button input[type="button"]:hover {
  background-color: #5a6268;
}

.success {
  padding: 15px;
  margin-top: 30px;
  border: 2px solid #28a745;
  font-family: "Rubik", sans-serif;
  background-color: #eaf9ea;
  color: #155724;
  text-align: center;
  border-radius: 8px;
  font-size: 1.2rem;
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease-in-out;
}

.success:hover {
  background-color: #d4edda;
  border-color: #218838;
}

@media (max-width: 768px) {
  .success {
    font-size: 1rem;
    padding: 10px;
    margin-top: 20px;
  }
}

.error {
  padding: 2px;
  margin-top: 20px;
  border: 0.4px solid #dc3545;
  font-family: "Rubik", sans-serif;
  background-color: #f8d7da;
  color: #721c24;
  text-align: center;
  border-radius: 4px;
  font-size: 1.2rem;
  /* width: 90%; */
  /* max-width: 600px; */
  margin: 20px auto;
  transition: all 0.3s ease-in-out;
}

.error:hover {
  background-color: #f5c6cb;
  border-color: #dc3545;
}
