/* Time slots design */
.ahb_m2 #fbuilder .slots div a {
  font-feature-settings: "tnum";
  font-size: 14px;
  font-weight: 600; /* Semi-bold */
}

/* Time slots design */
.ahb_m2 #fbuilder .slots {
    text-align: center;
    padding: 20px 0px 10px;
}

/* Submit button */
#fbuilder .pbSubmit {
  background-color: #005b0d;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

#fbuilder .pbSubmit:hover {
  background-color: #000000 !important;
  color: #ffffff; /* optional: keep text white on hover */
}

/* Common properties for both standard and smaller screen sizes */
#fbuilder .ui-datepicker .ui-datepicker-prev,
#fbuilder .ui-datepicker .ui-datepicker-next {
  width: 24px;
  height: 24px;
  margin: 16px;
}

.ahb_m2 #fbuilder td a, .ahb_m2 #fbuilder td span{margin-top:0px !important;}

/* Specific styling for a particular scenario */
.ahb_m2 #fbuilder .ui-datepicker-title {
  line-height: 60px;
  font-weight: 600;
}

/* Media query for screens smaller than 640px */
@media screen and (max-width: 640px) {
  #fbuilder .ui-datepicker .ui-datepicker-prev,
  #fbuilder .ui-datepicker .ui-datepicker-next {
    width: 18px;
    height: 18px;
    margin: 10px;
  }

	/* Months of the year mobile */
  .ahb_m2 #fbuilder .ui-datepicker-title {
    font-size: 1.2rem;
    line-height: 30px;
    padding-top: 5px;
	font-weight: 600;
  }

  .ahb_m2 #fbuilder td a,
  .ahb_m2 #fbuilder td span {
    padding-bottom: 34px !important;
    margin-top: 0px !important;
  }

  /* Other specific styles for smaller screens */
  #fbuilder .center_aligned legend {
    margin: auto;
  }
}

/* General style for a specific type of link */
#fbuilder td:not(.ui-datepicker-unselectable) a.ui-state-default {
  background: #dfeffe;
  color: #1a48;
  font-weight: 600;
}

/* Additional specific styles */
#fbuilder .ui-datepicker-inline {
  max-width: none !important;
}
#fbuilder td:not(.ui-datepicker-unselectable) a.ui-state-default {
  color: #005b0d;
}

#fbuilder .comment_area label,
#fbuilder .comment_area span {
  font-size: 25px;
}

#fbuilder label .r {
  color: #f00;
}

#fbuilder .ahb_list_time {
  font-weight: bold;
}

#fbuilder .ahb_list_service {
  display: none;
}

/* Styles for specific elements within .ahb_m2 #fbuilder */
.ahb_m2 #fbuilder a.cancel:before {
  display: inline-block;
  content: "X";
  color: #fff;
  background: red;
}

.ahb_m2 #fbuilder td:not(.ui-datepicker-unselectable) a.ui-state-default.ui-state-active {
  color: #fff;
  background: #005b0d;
}

.ahb_m2 #fbuilder .slots div.currentSelection.htmlUsed a,
.ahb_m2 #fbuilder .slots div.currentSelection a {
  color: #fff;
  background: #005b0d !important;
}

.ahb_m2 #fbuilder .slots div a {
  border: 1px solid #005b0d;
}

.ahb_m2 #fbuilder .slots div:not(.htmlUsed) a:hover,
.ahb_m2 #fbuilder td:not(.ui-datepicker-unselectable) a.ui-state-default:hover {
  background: #005b0d;
  color: #fff;
}

#fbuilder span.uh {
  font-size: 100%;
  font-weight: bold;
}

#fbuilder .center_aligned {
  font-size: 100%;
}