body {
  font-family: "Poppins", "Arial", sans-serif;
  /* background-image: url("bg4.jpg");
  background-size: cover; */
  width: 100%;
  height: 100%;
  background-color: aqua;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-container {
  background-image: url("bg4.jpg");
  background-size: cover;
  /* background-position: center;
  filter: blur(3px);
  margin: 0;
  padding: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1; */
}

h2.pt-3 {
  text-align: center;
  margin: 20px 0;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

form {
  background-color: #a6a5d6;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  height: 90vh;
  max-width: 700px;
  margin: auto;
  overflow-y: auto;
  color: #da1c5c;
}

@media (max-width: 380px) {
  /* Adjust width for smaller screens */
  form {
    min-width: 95%;
  }
}

#childForm {
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 700px;
  overflow-y: auto;
  height: 100%;
  margin-bottom: 100px;
}

/* Media query for smaller screens (mobile) */
@media (max-width: 600px) {
  #childForm {
      max-width: 320px;
      /* Set a narrower width for mobile devices */
  }
}

#childTransferForm {
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 700px;
  overflow-y: auto;
  height: 100%;
  margin-bottom: 100px;
  color: #da1c5c;
}

/* Media query for smaller screens (mobile) */
@media (max-width: 600px) {
  #childTransferForm {
      max-width: 320px;
      /* Set a narrower width for mobile devices */
  }
}

label {
  display: block;
  margin-bottom: 8px;
  color: #da1c5c;
}

input,
select,
textarea {
  color: red;
  width: calc(100% - 16px);
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.error-message {
  color: #dd2828;
  font-size: 14px;
}

button {
  background-color: #da1c5c;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #9f1f63;
  color: #fff; /* Change the text color on hover */
}

/* Add border outline to Select2 dropdown */
.select2-container {
  box-shadow: 0 0 0 2px #ffffffd1; /* Border color */
  border-radius: 5px; /* Adjust the radius as needed */
  padding: 8px; /* Adjust the padding as needed */
}

.custom-dropdown .select2-results {
  max-height: 150px; /* Adjust the maximum height as needed */
  overflow-y: auto;
}

/* Custom styling for form-control */
/* .custom-input {
} */

form label,
form span {
  color: #000000;
}

/* Apply the custom styles to form-control class */
.form-control.custom-input {
  background-color: #fff;
  color: #000000b8;
  border: 3px solid #d1448f9b;
  border-radius: 0.75rem;
  padding: 0.375rem 0.75rem;
}

.form-control.custom-input:focus {
  color: #e41c5fb8;
}

select,
textarea {
  background-color: #fff;
  color: #e41c5fb8;
  border: 3px solid #d1448f9b;
  border-radius: 0.75rem;
  padding: 0.375rem 0.75rem;
}

select:focus,
textarea:focus {
  background-color: #fff;
  color: #e41c5fb8;
  border: 3px solid #d1448f9b;
  border-radius: 0.75rem;
  padding: 0.375rem 0.75rem;
}