@import url("../table/template.css");

/* Align the owner's saved schedule with the edges of the consultation card. */
#profile-page-erammoshaver #planDocotr-section
  .cbAjaxEramGroupTime.cbAjaxContainerDisplay[data-eram-schedule-field="cb_group_time"]:has(> .cbAjaxValue .eram-response-slot) {
  box-sizing: border-box;
  inline-size: 100%;
}

#profile-page-erammoshaver #planDocotr-section
  .cbAjaxEramGroupTime.cbAjaxContainerDisplay[data-eram-schedule-field="cb_group_time"] > .cbAjaxValue:has(.eram-response-slot) {
  padding-inline: 0;
}

#profile-page-erammoshaver #planDocotr-section
  .cbAjaxEramGroupTime.cbAjaxContainerDisplay[data-eram-schedule-field="cb_group_time"]:has(> .cbAjaxValue .eram-response-slot) > .cbEramLabelEdit {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 0;
  inline-size: 32px;
  min-inline-size: 32px;
  block-size: 32px;
  padding: 0;
  border-radius: 8px;
  background-color: transparent !important;
}

#profile-page-erammoshaver #planDocotr-section
  .cbAjaxEramGroupTime.cbAjaxContainerDisplay[data-eram-schedule-field="cb_group_time"]:has(> .cbAjaxValue .eram-response-slot) > .cbEramLabelEdit:is(:hover, :focus-visible) {
  background-color: #e4f0ed !important;
}

#profile-page-erammoshaver #planDocotr-section
  .cbAjaxEramGroupTime.cbAjaxContainerDisplay[data-eram-schedule-field="cb_group_time"]:has(> .cbAjaxValue .eram-response-slot) > .cbEramLabelEdit > span {
  display: none;
}

#profile-page-erammoshaver #planDocotr-section
  .cbAjaxEramGroupTime.cbAjaxContainerDisplay[data-eram-schedule-field="cb_group_time"]:has(> .cbAjaxValue .eram-response-slot) .eram-response-title {
  padding-inline-end: 40px;
}

.eram-response-schedule {
  min-width: 0;
  margin-block: 16px 20px;
  color: #4b504e;
  text-align: right;
}

.eram-response-schedule .eram-response-title {
  margin: 0 0 19px;
  color: #484d4b;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
  text-align: right;
}

.eram-response-schedule .eram-response-days {
  display: grid;
  gap: 8px;
  margin: 0;
}

.eram-response-schedule .eram-response-day {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr);
  align-items: center;
  gap: 12px;
}

.eram-response-schedule .eram-response-day dt {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.eram-response-schedule .eram-response-slots {
  min-width: 0;
  margin: 0;
  border: 1px solid #d5dad8;
  border-radius: 8px;
  background-color: #fff;
}

.eram-response-schedule .eram-response-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 3px 6px;
  color: #626966;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
  text-align: center;
}

.eram-response-schedule .eram-response-slot + .eram-response-slot {
  border-block-start: 1px solid #d5dad8;
}

.eram-response-schedule .eram-response-slot time {
  white-space: nowrap;
}

.eram-response-schedule .eram-response-slot span {
  color: #6d7672;
  font-size: 11px;
}
