#gfb-gcal-connect {
  display: inline-block;
  color: #57b0ee;
  line-height: 1;
  font-size: 15px;
  padding: 12px 24px;
  text-align: center;
  transition: all 0.3s;
  background-color: #57b0ee;
  border-style: solid;
  border-width: 1px;
  border-color: #57b0ee;
  border-radius: 10px;
  box-shadow: 0px 6px 18px 0px rgb(0 0 0 / 6%);
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding-bottom: 13px;
}
#gfb-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ddd;
  background: #fff url("../../images/loading.gif") no-repeat center center;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
  z-index: 10000;
}
.fa,
.fa-solid,
.fa-regular,
.fa-brands {
  font-style: normal !important;
  font-weight: 900 !important;
  font-family: "Font Awesome 7 Free" !important;
}

#gfb-cal-top-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
  z-index: 10000;
}
#gfb-cal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 560px;
  width: 100%;
  height: 100%;
  background-color: #ddd;
  background: #fff url("../../images/loading.gif") no-repeat center center;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
  z-index: 10000;
}
.gravity-booking_page_gfb-calendar #gfb-cal-overlay {
  max-width: unset !important;
}
#gfb-fancy-calendar .gfb-cal-container {
  font-family: "Poppins", sans-serif !important;
  margin-top: 50px;
  padding: 0 20px 0 0;
  position: relative;
}
#gfb-fancy-calendar .gfb-cal-container h3 {
  position: relative;
  background: transparent;
  border-radius: 8px 8px 0px 0px;
  padding: 25px;
  font-size: 22px;
  text-align: center;
  /* box-shadow: 0px 12px 32px 0px rgb(0 0 0 / 20%); */
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 1;
  border: 2px solid var(--gfb-cal-txt-color);
  max-width: 560px;
}
.gravity-booking_page_gfb-calendar .gfb-cal-container h3 {
  position: relative;
  background: #ffffff !important;
  border-radius: 8px 8px 0px 0px;
  padding: 25px;
  font-size: 22px;
  text-align: center;
  box-shadow: 0px 12px 32px 0px rgb(0 0 0 / 20%);
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 1;
  border: 2px solid #d9e9f8;
  max-width: unset;
}
#gfb-fancy-calendar .gfb-timezone {
  position: absolute;
  right: 15px;
  font-size: 12px;
  height: 13px;
  top: 0;
  bottom: 0;
  margin: auto;
  max-width: 150px;
  text-align: right;
}
.gfb-cal-container th {
  height: 30px;
  text-align: center;
  background: transparent !important;
}
.gravity-booking_page_gfb-calendar .gfb-cal-container th {
  background: #ffffff !important;
}
.gfb-cal-container td {
  height: 65px;
  background: transparent !important;
}
.gravity-booking_page_gfb-calendar .gfb-cal-container td {
  background: #ffffff !important;
  position: relative;
}
.gfb-cal-container .today:not(.gfb-selected) > span {
  color: #11ccaf;
  border: 1px solid #11ccaf;
  display: inline-flex;
  border-radius: 20px;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
}
.gfb-add-button {
  float: right;
  margin-left: 15px;
}
.gfb-cal-table {
  width: 100%;
  margin: 0;
}
.gravity-booking_page_gfb-calendar .gfb-cal-table {
  background: #ffffff !important;
}
.gravity-booking_page_gfb-calendar .gfb-cal-table-bordered {
  border-collapse: collapse;
}
.gfb-cal-table-bordered {
  background: border-box;
  /*     border-collapse: collapse; */
  border-top: 0;
}
.gfb-cal-table-bordered tbody tr td,
.gfb-cal-table-bordered tbody tr th {
  border: 1px solid var(--gfb-cal-txt-color);
  border-top: 0;
}
.gravity-booking_page_gfb-calendar .gfb-cal-table-bordered tbody tr td,
.gravity-booking_page_gfb-calendar .gfb-cal-table-bordered tbody tr th {
  border: 1px solid #d9e9f8;
  border-top: 0;
}
.gfb-cal-table-bordered tbody tr th {
  padding: 14px 8px;
  width: 100px;
  font-weight: normal;
}
.gfb-cal-table-bordered tbody tr td {
  padding: 15px 7.5px;
  vertical-align: middle;
  text-align: center;
}
.gfb-month-changer {
  color: #000;
  margin: 0 10px;
  outline: none !important;
}
.gfb-month-changer:hover,
.gfb-month-changer:focus {
  outline: none !important;
  box-shadow: none !important;
}
.gfb-month-changer:hover {
  color: #11ccaf;
  box-shadow: none !important;
}
.ginput_container_gfb_appointment_calendar .gfb-cal-container {
  margin: 30px 0 0 0;
  padding: 0;
  width: 100%;
  position: relative;
  /* max-width: 575px;
    min-width: max-content; */
}
.gfb-table-container {
  display: flex;
}
td.gfb-not-available,
td.gfb-holiday {
  pointer-events: none !important;
}
td.gfb-available {
  background-color: var(--gfb-cal-avl-day-bg-color) !important;
  color: var(--gfb-cal-avl-day-txt-color) !important;
  cursor: pointer !important;
}
td.gfb-selected {
  position: relative;
  background-color: var(--gfb-cal-sel-day-bg-color) !important;
  color: var(--gfb-cal-sel-day-txt-color) !important;
}
td.gfb-selected.gfb-caret-down:after {
  content: "";
  width: 12px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--gfb-cal-sel-day-bg-color);
  position: absolute;
  height: 12px;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -12px;
}
span.gfb-selected {
  background-color: var(--gfb-cal-sel-day-bg-color) !important;
  color: var(--gfb-cal-sel-day-txt-color) !important;
}
div#gfb-timeslots-table-container {
  width: 100%;
  max-width: 310px;
  position: relative;
}
h4.slot-title,
.demo-slot-title {
  font-size: 16px;
  padding: 9px;
  color: var(--gfb-cal-header-txt-color);
  font-weight: normal;
  border-bottom: 1px solid var(--gfb-cal-border-color);
  margin: 0 0 15px 0;
  background: var(--gfb-cal-header-bg-color);
}
#gfb-timeslots-table-container-tr h4.slot-title {
  background: inherit !important;
  color: inherit !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
}
ul.gfb-slot-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-size: 13px;
}
#gfb-timeslots-table-container ul.gfb-slot-list li {
  display: flex;
  margin-bottom: 15px;
  flex-direction: column;
  width: 50%;
  padding-left: 7.5px;
  padding-right: 7.5px;
}
#gfb-timeslots-table-container-tr ul.gfb-slot-list li {
  display: flex;
  margin-bottom: 15px;
  flex-direction: column;
  width: 25%;
  padding-left: 7.5px;
  padding-right: 7.5px;
}
ul.gfb-slot-list li > span {
  padding: 10px 7px;
  text-align: center;
  background: var(--gfb-cal-avl-day-bg-color);
  color: var(--gfb-cal-avl-day-txt-color);
  border: 1px solid var(--gfb-cal-avl-day-txt-color);
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease 0s;
}
.gfb-selected-capacity {
  display: none !important;
  margin-top: 5px;
  border: 1px solid var(--gfb-cal-sel-day-bg-color) !important;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -o-box-shadow: none !important;
  -ms-box-shadow: none !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: var(--gfb-cal-txt-color) !important;
  font-size: 13px;
}
.gfb-selected-capacity.show {
  display: inline-block !important;
}
.gfb-selected-capacity::placeholder {
  color: var(--gfb-cal-txt-color) !important;
  font-size: 13px;
}
/* Chrome, Safari, Edge, Opera */
.gfb-selected-capacity::-webkit-outer-spin-button,
.gfb-selected-capacity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
.gfb-selected-capacity {
  -moz-appearance: textfield;
}
.gfb-selected-capacity:focus,
.gfb-selected-capacity:active {
  outline: none;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -o-box-shadow: none !important;
  -ms-box-shadow: none !important;
}
p.gfb-slot-error {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gfb-cal-txt-color);
}
div#gfb-timeslots-table-container {
  max-height: 370px;
  overflow-y: scroll;
}
div#gfb-timeslots-table-container::-webkit-scrollbar {
  width: 7px; /* width of the entire scrollbar */
}

div#gfb-timeslots-table-container::-webkit-scrollbar-track {
  background: transparent; /* color of the tracking area */
}

div#gfb-timeslots-table-container::-webkit-scrollbar-thumb {
  background-color: lightgray;
  border-radius: 20px;
}
.gfb-cal-container td.gfb-holiday {
  background-color: var(--gfb-cal-hol-day-bg-color) !important;
  color: var(--gfb-cal-hol-day-txt-color) !important;
}
ul.gfb-slot-list li.gfb-unavailable > span {
  background: #d6d8d9 !important;
  border: 1px solid #d6d8d9 !important;
  color: #999;
}
/* Tooltip container */
.gfb-tooltip {
  position: relative;
}
span.gfb-tooltip-text {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 0;
  right: 0;
  background: var(--gfb-cal-header-bg-color) !important;
  border-radius: 4px !important;
  top: -45px;
  color: var(--gfb-cal-header-txt-color) !important;
  padding: 8px 5px !important;
  max-width: 100px;
  margin: auto;
  transition: all 0.3s ease 0s;
}
.gfb-tooltip-text:after {
  content: "";
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--gfb-cal-header-bg-color);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  width: 5px;
  margin: auto;
}
.gfb-tooltip-text:hover {
  visibility: hidden !important;
  opacity: 0 !important;
}
.gfb-tooltip:not(.gfb-unavailable):hover .gfb-tooltip-text {
  visibility: visible;
  opacity: 1;
}
.gfb-appointment-block span.gfb-tooltip-text {
  display: inline-block;
  padding: 5px !important;
  background: #f5f5f5 !important;
  border-radius: 3px !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  z-index: 9;
  top: 35px;
  font-size: 12px;
  text-transform: capitalize;
  text-align: left;
  max-width: 150px;
  line-break: anywhere;
}
.gfb-appointment-block span.gfb-tooltip-text::after {
  content: "";
  border-bottom: 4px solid #000;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  position: absolute;
  left: unset;
  top: -9px;
  border-top: 4px solid transparent !important;
  right: unset !important;
  width: unset !important;
  bottom: unset !important;
  height: unset;
}
.gfb-appointment-block .gfb-pending {
  background-color: #ffa800;
  padding: 5px;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
  display: inline-block;
  margin-top: 10px;
  width: 75px;
  line-height: 1;
  text-align: center;
  font-family: "Poppins-Regular";
}
.gfb-appointment-block .gfb-confirmed {
  background-color: #00aeff;
  padding: 5px;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
  display: inline-block;
  margin-top: 10px;
  width: 75px;
  line-height: 1;
  text-align: center;
  font-family: "Poppins-Regular";
}
.gfb-appointment-block .gfb-visited {
  background-color: #48f1a7;
  padding: 5px;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
  display: inline-block;
  margin-top: 10px;
  width: 75px;
  line-height: 1;
  text-align: center;
  font-family: "Poppins-Regular";
}
.gfb-appointment-block .gfb-cancelled {
  background-color: #ff0000;
  padding: 5px;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
  display: inline-block;
  margin-top: 10px;
  width: 75px;
  line-height: 1;
  text-align: center;
  font-family: "Poppins-Regular";
}
.calander-content {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #d1e4f7;
  margin-top: 20px;
}
.calander-content .calander-top-heading {
  width: 40%;
}
.calander-content .calander-top-heading h2 {
  color: #1d2327;
  font-family: "Poppins-Regular" !important;
  font-size: 30px;
}
.calander-content .calander-top-loaction {
  width: 60%;
  text-align: right;
}
.calander-content .calander-top-loaction select {
  width: 30%;
  background-color: #fff;
  padding: 6px 10px;
  border: 1px solid #57b0ee;
  color: #2e455c;
  font-family: "Poppins", sans-serif !important;
  font-size: 14px;
  font-weight: 500;
  margin: 18px 10px 25px 0px;
  border-radius: 7px;
}
.calander-slots-color {
  text-align: right;
  margin-top: 40px;
}
.calander-slots-color ul {
  margin: 0;
  padding: 0;
  display: inline-block;
  background: #fff;
  border: 1px solid #57b0ee;
  border-radius: 6px;
  padding: 0px 20px;
}
.calander-slots-color ul li {
  display: inline-block;
  font-size: 15px;
  color: #818181;
  font-family: "Poppins-Regular";
  padding: 10px 1px;
  padding-top: 10px;
  position: relative;
  margin: 0px 20px;
}
.calander-slots-color ul li:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: -18px;
  border-radius: 50px;
  top: 13px;
}
.calander-slots-color ul li.pending:before {
  background: #ffa800;
}
.calander-slots-color ul li.confirmed:before {
  background: #00aeff;
}
.calander-slots-color ul li.visited:before {
  background: #48f1a7;
}
.calander-slots-color ul li.cancelled:before {
  background: #ff0000;
}
#gfb_selected_bookings {
  margin-top: 15px;
}
#gfb_selected_bookings .gfb_selected_booking {
  letter-spacing: 1px;
  font-size: 12px;
  text-transform: uppercase;
  display: flex;
  margin-bottom: 8px;
}
#gfb_selected_bookings .gfb_selected_booking .gfb_delete_booking {
  margin-right: 5px;
  cursor: pointer;
}
.gfb_service_other_wrapper {
  display: none;
  margin-top: 15px;
}

@media screen and (max-width: 575px) {
  .gfb-timezone {
    position: relative !important;
    display: block !important;
    margin-bottom: 12px !important;
    max-width: 100% !important;
    left: 0 !important;
    text-align: center !important;
  }

  .gfb-cal-container .gfb-month-changer {
    font-size: 21px;
  }

  .gfb-table-container {
    overflow-x: scroll;
  }

  #gfb-fancy-calendar .gfb-cal-container h3 {
    padding: 12px 12px 0 12px;
  }
}

#gfb_selected_container {
  padding-top: 15px !important;
}

#gfb_selected_header span {
  letter-spacing: 1px !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
}

.gb-ocal-secret-heading {
  display: flex;
  align-items: flex-end;
  width: 50px;
}

.gb-tooltip-container {
  position: relative;
  display: inline-block;
  margin: 10px;
}

.gb-tooltip-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  cursor: pointer;
}

td.gfb-hovered:not(.gfb-selected) {
  background-color: #00c8ff4d !important;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#gfb-year-month-picker {
  position: absolute;
  background: #ffffff;
  border: 2px solid #e1e5e9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 24px -1px rgba(0, 0, 0, 0.1);
  z-index: 999;
  margin-top: 19px;
  left: 25px;
  right: 25px;
}
#gfb-year-month-picker .gfb-year-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.gfb-cal-container .gfb-hidden {
  display: none;
}
#gfb-year-month-picker .gfb-month-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gfb_select_year.effect-windows {
  padding: 0.4rem 0.8rem;
  border-radius: 0.375rem;
  background: transparent;
}

.gfb_select_year.effect-windows:hover {
  background: rgba(61, 216, 232, 0.15);
  color: #e2e8f0;
}

#gfb-year-month-picker .gfb-year-item,
#gfb-year-month-picker .gfb-month-item {
  display: flex;
  width: 90px;
  padding: 10px;
  margin: 5px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(135deg, #0693e3 0%, #007cba 100%);
  color: #fff;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 10px 24px -1px rgba(7, 146, 227, 0.29);
  border: none;
}
.gfb-cal-container .gfb_select_year {
  cursor: pointer;
  font-size: 18px;
  text-decoration: underline;
}
.gfb-year-item:hover,
.gfb-month-item:hover {
  background: linear-gradient(135deg, #007cba 0%, #0693e3 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -1px rgba(7, 146, 227, 0.4);
}

.gfb-year-item.gfb-selected,
.gfb-month-item.gfb-selected {
  background: linear-gradient(135deg, #005a87 0%, #0693e3 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -1px rgba(7, 146, 227, 0.5);
}

.gb-tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the icon */
  left: 50%;
  margin-left: -60px; /* Center the tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

.template-heading .gb-tooltip-text {
  visibility: hidden;
  background-color: #333333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: unset;
  z-index: 1;
  text-transform: initial;
  font-size: 13px;
  margin-left: 9px; /* Center the tooltip */
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: 600;
}

div#gfb-time_ranges .gb-tooltip-text {
  font-size: 12px;
}
div#gfb-time_ranges .gb-tooltip-icon {
  border: 2px solid;
  font-size: 13px;
  color: #131313;
  background-color: unset;
  width: 15px;
  height: 15px;
  line-height: 16px;
}
.gb-tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.template-heading .gb-tooltip-text::after {
  content: unset;
}

.gb-tooltip-container:hover .gb-tooltip-text {
  visibility: visible !important;
  opacity: 1 !important;
}

.template-heading .gb-tooltip-icon:hover + .gb-tooltip-text {
  visibility: visible;
  opacity: 1;
}
.template-heading {
  position: relative;
}

.template-heading span.gb-tooltip-icon {
  margin-left: 7px;
  font-size: 13px;
  text-transform: lowercase;
  width: 17px;
  height: 17px;
  line-height: 15px;
}

.custom-picker {
  position: absolute;
  /* background: #fff!important; */
  border: 2px solid #ccc !important;
  border-radius: 8px !important;
  width: 100% !important;
  padding: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  z-index: 1000;
}

.picker-header {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 12px;
  text-align: center;
}

.year-list,
.month-list {
  display: flex;
  flex-wrap: wrap !important;
  gap: 8px !important;
  display: none; /* Initially hide both lists */
}

.custom-picker .year-item,
.custom-picker .month-item {
  width: 56px;
  padding: 6px 0;
  text-align: center;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: background-color 0.2s, border-color 0.2s;
}

.year-item:hover,
.month-item:hover {
  background-color: #f9f9f9;
  border-color: #888;
}
.custom-picker .current {
  border: 2px solid #007bff;
  border-radius: 6px;
  font-weight: bold;
}
.gb-slot-label-inner {
  display: flex;
  align-items: baseline;
}
