.main-div {
  display: grid;
  grid-template-columns: 4fr 6fr;
  min-height: 80vh;
  width: 100%;
}

.main-heading {
  display: flex;
  justify-content: center;
  border-radius: 5px;
  align-items: center;
  /* background-color: white; */
  background-image: url('./Images/appont.jpg');
  background-repeat: no-repeat;
  background-repeat: no-repeat;
  background-size: cover;
  /* Makes the image cover the entire div */
  background-position: center;
  min-height: 30vh;
}

.main-form {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.req-head {
  font-size: 3rem;
  text-align: center;
  margin: 10px 25px;
}

.table-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 7fr;
}

.grid-cells {
  margin: 7px 0px;
  width: 100%;
}

.grid-inp {
  font-size: 1.2rem;
  width: 80%;
  border: 1px solid #005baa;
  border-radius: 5px;
  margin: 0px 5px;
  outline: none;
  text-align: left;
}

.select-serv {
  width: 80%;
  font-size: 1rem;
  margin: 0px 5px;
  outline: none;
}

.sel-box {
  display: flex;
  /* justify-content: baseline; */
  /* align-items: baseline; */
}

.sm {
  font-size: 1rem;
  border: none;
  margin-top: 12px;
}

.sm-opt {
  font-size: 0.8rem;
}

.label-text {
  font-size: 1.4rem;
  vertical-align: baseline;
}

.heading {
  display: none;
  background: none;
  font-size: 5rem;
  text-align: center;
  margin-bottom: 0px;
}

.subm-btn {
  font-size: 1.5rem;
  background-color: #f48221;
  text-align: center;
  color: #DDFEFF;
  border: 2px solid #f48221;
  border-radius: 25px;
  padding: 10px;
}

.sub-div {
  margin: 15px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.note {
  text-align: center;
  word-break: break-word;
}

.form-wrapper {
  max-width: 700px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #007bff;
  outline: none;
}

.sub-div {
  text-align: center;
  margin-top: 20px;
}

.subm-btn {
  padding: 12px 30px;
  font-size: 1rem;
  background-color: #f48221;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subm-btn:hover {
  background-color: #0056b3;
}

.note,
#formMessage,
#pathologyNote {
  text-align: center;
  margin-top: 10px;
  font-size: 1rem;
}

.required::after {
  content: " *";
  color: red;
}

textarea.form-control {
  resize: vertical;
}


/* Custom styling for enhanced dropdown */
.enhanced-dropdown {
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
}


/* Mobile responsiveness */
@media (max-width: 768px) {
  .select2-container--default .select2-selection--single {
    height: 45px;
    font-size: 15px;
  }

  .enhanced-dropdown {
    max-width: 100%;
  }
}

/* For mobile friendly */
@media only screen and (max-width: 900px) {
  .main-div {
    display: block;
  }

  .heading {
    font-size: 3rem;
  }

  .table-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 4fr 6fr;
  }
}

@media only screen and (max-width: 400px) {
  .heading {
    display: block;
  }
  .big_screen_heading{
    display: none;
  }
  .table-grid {
    display: block;
  }
}