.personalInfoFormWrapper {
  max-width: 468px;
  margin: 30px auto 15px;
  width: 100%;
    display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 15px;
}
.date-wrapper{
 position: relative;
}
#dob {
  left: 0;
  border: none;
  box-sizing: border-box;
  outline: 0;
  padding: .75rem;
  position: absolute;
  width: 100%;
  top: 0;
  opacity: 0;
}

#dob[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.date-wrapper::after {
  content: '';
  background: url(../images/calender-icon.svg);
  width: 22px;
  height: 22px;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
}

#date-value::placeholder {
  color: #6B6E98;
}

#step3Section-1 .btnPrimary, #step3Section-2 .btnPrimary {
  max-width: 177px;
  width: 100%;
  margin: 0 auto;
}
.btnPrimary.loaderBtn{
  height: 46px;
}
.esaLawWraper {
  max-width: 768px;
min-height: 463px;
  max-height: calc(100vh - 400px);
  width: 100%;
  margin: 0 auto;
  overflow-y: auto;
  padding: 0px 14px 0px 0px;
}

/* For Chrome, Edge, and Safari */
.esaLawWraper::-webkit-scrollbar {
  width: 8px;
}

.esaLawWraper::-webkit-scrollbar-track {
  background: #FFEEE9;
}

.esaLawWraper::-webkit-scrollbar-thumb {
  background: #FF9575;
  border-radius: 4px;
}

.esaLawWraper::-webkit-scrollbar-thumb:hover {
  background: #FF5B2E;
  cursor:grab;
}
.esaLawWraper .letter-wrapper{
      margin: 10px auto;
      position: relative;
      z-index: 1;
max-width: 750px;
  width: 100%;
  background: white;
  border: 2px dashed #e86c46;
  border-radius: 16px;
  padding: 30px 33px;
}
.letter-wrapper h3 {
  font-size: 30px;
  font-weight: 400;
  line-height: 51px;
  text-align: center;
  margin-bottom: 25px;
  color: #0e145f;
}
.letter-wrapper p {
  font-size: 17px;
  font-weight: 500;
  line-height: 30.6px;
  text-align: left;
  color: #6b6e98;
  margin-bottom: 30px;
}
.letter-wrapper ul{
  list-style: none;
}
.letter-wrapper ul li {
  position: relative;
 
  font-weight: 500;

  text-align: left;
  color: #6b6e98;
  margin-bottom: 15px;
  padding-left: 25px;
      font-size: 17px;
        line-height: 28px;
}
.letter-wrapper ul li:last-of-type {
  margin-bottom: 0px;
}
.letter-wrapper ul li::before {
  content: '';
  position: absolute;
  background-image: url(../../service-pages-cms/images/list-arrow-right.svg);
  width: 14px;
  height: 14px;
  left: 0;
  top: 5px;
  bottom: 5px;
}
.letter-wrapper ul li strong {
  color: #0e145f;
  font-weight: 700;
  margin-bottom: 13px;
  display: block;
}
#step3Section-1 .formBtnWrapper {
  margin:60px 0px;
}
#step3Section-2 .formBtnWrapper{
  margin-top: 24px;
}

/* Custom Calender */
#step3Section-3 .questionHeading{
  margin-bottom: 5px;
}

.bookAppointmentWrapper{
  max-width: 742px;
    margin: 50px auto 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex-direction: column; */
    gap: 27px;
}

.calendar-container {
  background: transparent;
  padding: 0px;
  border-radius: 16px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
 max-width: 305px;
  width: 100%;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calendar-nav {
  background: none;
  border: none;
  color: #ff6b47;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.calendar-nav.disabled {
  cursor: no-drop;
filter: brightness(0) saturate(100%) invert(85%) sepia(61%) saturate(278%) hue-rotate(299deg) brightness(95%) contrast(104%);
}

.calendar-nav:hover {
  background-color: #fff2f0;
}

.calendar-title {
font-family: 'DM Serif Display';
  font-weight: 400;
  font-size: 20px;
  line-height: 170%;
  text-align: center;
  color: #0e145f;
}

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.day-header {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #6c757d;
  padding: 8px 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
column-gap: 6px;
  row-gap: 8px;
}

.calendar-day {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0 auto;
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day.available {
  background-color: #fff2f0;
  color: #ff6b47;
}

.calendar-day.available:hover {
  background-color: #ffe8e3;
}

.calendar-day.selected {
  background-color: #ff6b47;
  color: white;
}

.calendar-day.default {
  color: #495057;
  cursor: no-drop;
}

.calendar-day.default:hover {
  background-color: #f8f9fa;
}

.time-picker-container {
background: #fdf5f3;
  padding: 15px;
  border-radius: 16px;
    border: 2px solid #f6d1c7;
  width: 400px;
}

.date-header {
  text-align: center;
  margin-bottom: 20px;
}

.selected-date {
font-family: 'DM Serif Display';
  font-weight: 400;
  font-size: 20px;
  line-height: 170%;
  text-align: center;
  color: #0e145f;
}

.timezone {
  font-size: 12px;
  color: #6c757d;
}

.time-section {
  margin-bottom: 20px;
}

.time-label {
  font-size: 14px;
  font-weight: 600;
  color: #0e145f;
  margin-bottom: 12px;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.time-slot {
padding: 8px 0px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  border: 2px solid transparent;
  border-radius: 20px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  color: #495057;
}

.time-slot:hover {
  border-color: #ff6b47;
  background-color: #fff2f0;
}

.time-slot.selected {
  border-color: #ff6b47;
  background-color: #ff6b47;
  color: white;
}

.confirm-button {
  width: 100%;
  padding: 16px;
  background-color: #FF9575;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.confirm-button:hover {
  background-color: #e55a3c;
}

.arrow-right {
  font-size: 16px;
}
#step3Section-3 .btnPrimary{
  width: 100%;
  max-width: unset;
}
@media (max-width: 575px){
  .personalInfoSection .letter-wrapper h3 {
    font-size: 23px;
    line-height: 170%;
    margin-bottom: 20px;
  }
  .esaLawWraper .letter-wrapper {
    margin: 10px auto 20px;
    padding: 20px 30px;
    margin-bottom: 25px;

  }
  .personalInfoSection .letter-wrapper p {
    font-size: 14px;
    line-height: 180%;
    margin-bottom: 20px;
  }
  .personalInfoSection .letter-wrapper ul li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 150%;
    margin-bottom: 23px;

  }
  #step3Section-2 .formBtnWrapper {
    margin-top: 0px;
  }
  .personalInfoSection .formBtnWrapper {
      margin: 0px auto 20px;
  }
  #step3Section-3 .questionHeading {
    margin-bottom: 20px;
  }
  .bookAppointmentWrapper {
    margin: 35px auto 15px;
    flex-direction: column;
    gap: 33px;
  }
  .time-picker-container {
    padding: 15px;
    border-radius: 16px;
    width: 342px;
  }
  .time-section {
    margin-bottom: 0px;
    display: flex;
    justify-content: flex-start;
  }
  .time-picker-container .time-section:nth-of-type(2) {
      gap: 21px;
  }
  .time-picker-container .time-section:nth-of-type(3) {
      gap: 34px;
  }
  .time-label{
      padding-top: 3px;
  }
  .time-slot {
    padding: 4px 3px;
    font-size: 10px;
    border-radius: 15px;
  }
  .time-grid {
    gap: 8px;
    margin-bottom: 15px;
  }
}