/* Reset some default browser styles */
body,
h1,
h2,
p,
ul,
li,
form {
  margin: 0;
  padding: 0;
}

/* body {
    font-family: Arial, sans-serif;
    background-color: #ce45a7; /* Light Purple color */
/* } */

body {
  font-family: "Poppins", "Arial", sans-serif;
  /* background-image: url("bg4.jpg");
  background-size: cover; */
  width: 100%;
  height: 100%;
  font-family: "Pacifico", "Arial", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.background-container {
  /* background-image: url('bg2.jpg');
    background-color: aqua;
    background-size: cover;
    background-position: center; */
  /* filter: blur(8px); */
  background-image: url("bg4.jpg");
  background-size: cover;
  /* height: 1005px; */
  width: 100vw;
}

h2.pt-3 {
  text-align: center;
  padding: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Style the form container */
.flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Style form header */
/* h2 {
    margin-bottom: 20px;
} */

/* Style form */
form {
  background-color: #fff;
  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;
}

#parentForm {
  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; */
}

/* Style form elements */
label {
  display: block;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

/* Style file input */
input[type="file"] {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 4px;
}

/* Style radio buttons */
.form-check {
  margin-bottom: 8px;
}

/* Style submit button */
#submitButton,
.submitButton,
#prevButton,
#seyIdButton,
#nextButton {
  background-color: #da1c5c;
  color: #fff;
  padding: 10px 50px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#seyIdButton {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #007bff;
  /* Example button color */
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.button-icon {
  width: 20px;
  /* Adjust size of the image */
  height: 20px;
  margin-right: 10px;
  /* Space between image and text */
}

#seyIdButton img {
  display: inline-block;
  vertical-align: middle;
}


#seyIdButton {
  background-color: #252D4D;
}

#submitButton:hover,
.submitButton:hover,
#prevButton:hover,
#nextButton:hover {
  background-color: rgb(255, 17, 92);
}

/* Style error messages */
.error-message {
  color: #dd2828;
  font-size: 12px;
  margin-top: 4px;
}

/* Add this CSS to make text labels white */
form label,
form span {
  color: #000;
}

/* 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;
}

/* Add any additional styling based on your design requirements */
form label,
form span {
  color: #b70742;
}

/* Apply the custom styles to form-control class */
.form-control.custom-input {
  background-color: #fff;
  color: #e41c5fb8;
  border: 3px solid #d1448f9b;
  border-radius: 0.75rem;
  padding: 0.375rem 0.75rem;
}

.form-control.custom-input:focus {
  color: #e41c5fb8;
}

select,
textarea:focus {
  background-color: #fff;
  color: #e41c5fb8;
  border: 3px solid #d1448f9b;
  border-radius: 0.75rem;
  padding: 0.375rem 0.75rem;
}

form label,
form span {
  color: #000000;
}

/* Apply the custom styles to form-control class */
.form-control.custom-input {
  background-color: #fff;
  color: #000000b8;
}

/* Media query for extra small screens (mobile) */
@media (max-width: 576px) {

  /* Set flex-direction to column for navigation container */
  #navUl {
    flex-direction: column;
    align-items: center;
  }

  /* Set width to 100% for navigation buttons */
  #navUl li {
    width: 100%;
    margin-bottom: 10px;
    /* Adjust as needed */
  }
}

/* Media query for small mobile devices */
@media only screen and (max-width: 320px) {
  #weareh1 {
    font-size: 15px;
  }
}

/* Media query for larger mobile devices */
@media only screen and (min-width: 321px) and (max-width: 767px) {
  #weareh1 {
    font-size: 20px;
  }
}

@media (max-width: 380px) {

  /* Adjust width for smaller screens */
  form {
    min-width: 95%;
  }

  #parentForm {
    min-width: 95%;
  }
}