/* A focused confirmation screen for administrator booking changes. */
body.creavibc-booking-change-screen {
  --creavibc-change-ink: #18213a;
  --creavibc-change-muted: #68748a;
  --creavibc-change-line: #e5eaf2;
  --creavibc-change-blue: #3679db;
}

body.creavibc-booking-change-screen .notice,
body.creavibc-booking-change-screen .update-nag,
body.creavibc-booking-change-screen .settings-error,
body.creavibc-booking-change-screen .fs-notice,
body.creavibc-booking-change-screen .yoast-notice,
body.creavibc-booking-change-screen .rank-math-notice,
body.creavibc-booking-change-screen .woocommerce-message,
body.creavibc-booking-change-screen .elementor-message,
body.creavibc-booking-change-screen [class*="notice-"][role="alert"],
body.creavibc-booking-change-screen [class*="notification"][role="alert"] {
  display: none !important;
}

body.creavibc-booking-change-screen #wpbody-content {
  color: var(--creavibc-change-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.creavibc-booking-change-page.wrap {
  box-sizing: border-box;
  max-width: 1020px;
  margin: 30px 20px 72px;
  padding: 0;
}

.creavibc-change-back,
.creavibc-change-discard {
  color: #526078;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.creavibc-change-back:hover,
.creavibc-change-back:focus,
.creavibc-change-discard:hover,
.creavibc-change-discard:focus {
  color: var(--creavibc-change-blue);
  text-decoration: underline;
}

.creavibc-change-header {
  margin: 23px 0 25px;
}
.creavibc-change-eyebrow {
  color: var(--creavibc-change-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.creavibc-booking-change-page h1 {
  margin: 7px 0 6px;
  color: #10182f;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}
.creavibc-change-header p {
  margin: 0;
  color: var(--creavibc-change-muted);
  font-size: 14px;
  line-height: 1.55;
}

.creavibc-change-card {
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--creavibc-change-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(48, 67, 105, .06);
}
.creavibc-change-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  box-sizing: border-box;
  padding: 16px 26px;
  border-bottom: 1px solid #edf0f5;
  background: #fbfcff;
}
.creavibc-change-card-head h2 {
  margin: 0;
  color: #1b2850;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
}
.creavibc-change-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8f8f1;
  color: #187153;
  font-size: 11px;
  font-weight: 700;
}
.creavibc-change-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 23px 26px 25px;
}
.creavibc-change-summary > div { min-width: 0; }
.creavibc-change-summary dt {
  margin-bottom: 6px;
  color: #728097;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.creavibc-change-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--creavibc-change-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.creavibc-change-summary dd small {
  display: block;
  margin-top: 3px;
  color: var(--creavibc-change-muted);
  font-size: 12px;
  font-weight: 500;
}

.creavibc-change-date-form {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 26px;
}
.creavibc-change-date-form[hidden],
.creavibc-change-calendar[hidden],
.creavibc-change-slots[hidden],
.creavibc-change-empty[hidden] {
  display: none;
}
.creavibc-change-calendar {
  box-sizing: border-box;
  max-width: 600px;
  margin: 25px auto 26px;
  padding: 23px 25px 20px;
  border: 1px solid #dfe9f4;
  border-radius: 20px;
  background: linear-gradient(145deg, #fbfdff, #f5f9ff);
  box-shadow: 0 10px 28px rgba(31, 75, 140, .06);
}
.creavibc-change-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
}
.creavibc-change-calendar-head h3 {
  margin: 0;
  color: #1b2850;
  font-size: 18px;
  font-weight: 700;
}
.creavibc-change-calendar-head p {
  margin: 6px 0 0;
  color: var(--creavibc-change-muted);
  font-size: 13px;
  line-height: 1.45;
}
.creavibc-change-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 235px;
}
.creavibc-change-month-nav strong {
  color: #273a60;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}
.creavibc-change-month-nav button {
  width: 36px;
  height: 36px;
  border: 1px solid #dce5f3;
  border-radius: 10px;
  background: #fff;
  color: #365585;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}
.creavibc-change-month-nav button:hover:not(:disabled),
.creavibc-change-month-nav button:focus-visible {
  border-color: #aac8ed;
  background: #edf5ff;
}
.creavibc-change-month-nav button:disabled { opacity: .38; cursor: default; }
.creavibc-change-weekdays,
.creavibc-change-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.creavibc-change-weekdays { margin-bottom: 9px; }
.creavibc-change-weekdays span {
  color: #7b89a1;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
.creavibc-change-days button {
  width: 100%;
  height: 48px;
  border: 1px solid #c9ddf2;
  border-radius: 11px;
  background: #eaf4ff;
  color: #28568a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
.creavibc-change-days button:hover:not(:disabled),
.creavibc-change-days button:focus-visible {
  border-color: #3679db;
  background: #dcecff;
  outline: 2px solid rgba(54, 121, 219, .2);
  outline-offset: 1px;
}
.creavibc-change-days button:disabled {
  border-color: transparent;
  background: transparent;
  color: #a7b1c2;
  cursor: default;
  font-weight: 500;
}
.creavibc-change-days button.is-outside { color: #c8d0db; }
.creavibc-change-days button.is-selected,
.creavibc-change-days button.is-selected:hover:not(:disabled) {
  border-color: #2867c4;
  background: #3679db;
  box-shadow: 0 5px 14px rgba(54, 121, 219, .22);
  color: #fff;
}
.creavibc-change-days button[aria-current="date"]:not(.is-selected) { box-shadow: inset 0 0 0 1px #3679db; }
.creavibc-change-calendar-status {
  margin: 14px 0 0;
  color: #66758e;
  font-size: 13px;
  line-height: 1.5;
}
.creavibc-change-calendar-status:empty { display: none; }
.creavibc-change-retry {
  padding: 0;
  border: 0;
  background: none;
  color: #2467c8;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
}
.creavibc-change-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.creavibc-change-field > label {
  color: #45536c;
  font-size: 12px;
  font-weight: 700;
}
.creavibc-change-field > label span {
  margin-left: 4px;
  color: #8b95a6;
  font-weight: 500;
}
.creavibc-change-field input[type="date"],
.creavibc-change-field textarea {
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #dce3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: var(--creavibc-change-ink);
  font: inherit;
}
.creavibc-change-field input[type="date"] {
  width: 230px;
  max-width: 100%;
  min-height: 42px;
  padding: 8px 12px;
}
.creavibc-change-field textarea {
  width: 100%;
  min-height: 96px;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
}
.creavibc-change-field input[type="date"]:focus,
.creavibc-change-field textarea:focus {
  border-color: var(--creavibc-change-blue);
  outline: 2px solid rgba(54, 121, 219, .15);
  outline-offset: 0;
}
.creavibc-booking-change-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 17px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}
.creavibc-change-date-submit.button {
  border-color: #dce4f1;
  background: #f7f9fd;
  color: #2b528c;
}
.creavibc-change-date-submit.button:hover,
.creavibc-change-date-submit.button:focus {
  border-color: #b8cae6;
  background: #edf4ff;
  color: #214978;
}
.creavibc-change-times-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 26px;
  padding: 19px 0 13px;
  border-top: 1px solid #edf0f5;
}
.creavibc-change-times-head h3 {
  margin: 0;
  color: #34415b;
  font-size: 13px;
  font-weight: 700;
}
.creavibc-change-times-head span {
  color: var(--creavibc-change-muted);
  font-size: 12px;
}
.creavibc-change-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0 26px 24px;
  border: 0;
}
.creavibc-change-slots label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}
.creavibc-change-slots input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}
.creavibc-change-slots span {
  display: block;
  padding: 11px 8px;
  border: 1px solid #dce4f1;
  border-radius: 9px;
  background: #fff;
  color: #31466a;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.creavibc-change-slots label:hover span {
  border-color: #9fc0ed;
  background: #f4f8ff;
}
.creavibc-change-slots input:checked + span {
  border-color: var(--creavibc-change-blue);
  background: #edf5ff;
  color: #1c5aa9;
  box-shadow: inset 0 0 0 1px var(--creavibc-change-blue);
}
.creavibc-change-slots input:focus-visible + span {
  outline: 2px solid var(--creavibc-change-blue);
  outline-offset: 2px;
}
.creavibc-change-empty {
  margin: 0 26px 25px;
  padding: 16px;
  border-radius: 10px;
  background: #f7f9fc;
  color: var(--creavibc-change-muted);
  font-size: 13px;
  line-height: 1.5;
}
.creavibc-change-reason {
  padding: 23px 26px 0;
}
.creavibc-change-message {
  margin: 20px 26px 0;
  padding: 18px;
  border: 1px solid #dde7f3;
  border-radius: 12px;
  background: #f8fbff;
}
.creavibc-change-message p {
  margin: 0;
  color: var(--creavibc-change-muted);
  font-size: 12px;
  line-height: 1.5;
}
.creavibc-change-message.is-disabled { opacity: .6; }
.creavibc-change-slots + .creavibc-change-reason {
  border-top: 1px solid #edf0f5;
}
.creavibc-change-notify {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 26px 24px;
  color: #45536c;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}
.creavibc-change-notify input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--creavibc-change-blue);
}
.creavibc-change-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 17px 26px;
  border-top: 1px solid #edf0f5;
  background: #fbfcff;
}
.creavibc-change-confirm.button-primary {
  border-color: var(--creavibc-change-blue);
  background: var(--creavibc-change-blue);
}
.creavibc-change-confirm.button-primary:hover,
.creavibc-change-confirm.button-primary:focus {
  border-color: #2467c8;
  background: #2467c8;
}
.creavibc-change-confirm.button-primary:disabled {
  border-color: #d7deea;
  background: #e9edf4;
  box-shadow: none;
  color: #8995a8;
  cursor: not-allowed;
}
.creavibc-change-confirm--cancel.button-primary {
  border-color: #b84a46;
  background: #b84a46;
}
.creavibc-change-confirm--cancel.button-primary:hover,
.creavibc-change-confirm--cancel.button-primary:focus {
  border-color: #9f3835;
  background: #9f3835;
}

@media (max-width: 900px) {
  .creavibc-change-summary { grid-template-columns: 1fr; gap: 17px; }
  .creavibc-change-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
  .creavibc-booking-change-page.wrap { margin: 24px 12px 50px; }
  .creavibc-booking-change-page h1 { font-size: 27px; }
  .creavibc-change-card-head,
  .creavibc-change-summary,
  .creavibc-change-date-form,
  .creavibc-change-reason,
  .creavibc-change-actions { padding-left: 20px; padding-right: 20px; }
  .creavibc-change-times-head { margin-left: 20px; margin-right: 20px; }
  .creavibc-change-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 20px; padding-right: 20px; }
  .creavibc-change-empty,
  .creavibc-change-notify { margin-left: 20px; margin-right: 20px; }
  .creavibc-change-calendar { margin-left: 20px; margin-right: 20px; }
  .creavibc-change-message { margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 700px) {
  .creavibc-change-calendar-head { align-items: stretch; flex-direction: column; }
}
@media (max-width: 480px) {
  .creavibc-change-date-form { align-items: stretch; flex-direction: column; }
  .creavibc-change-field input[type="date"] { width: 100%; }
  .creavibc-change-calendar { padding: 18px 14px; }
  .creavibc-change-month-nav { min-width: 0; }
  .creavibc-change-weekdays,
  .creavibc-change-days { gap: 4px; }
  .creavibc-change-days button { height: 40px; border-radius: 8px; }
  .creavibc-change-actions { align-items: stretch; flex-direction: column-reverse; gap: 14px; }
  .creavibc-change-discard { text-align: center; }
}
