/* BookaDJ: the date field of its own (0.33.3, D-129 point 2; script assets/js/date-field.js). The colours of BookaDJ,
   with plain values for the administration of WordPress, where they are not defined. */
.bj-date { display: block; position: relative; width: 100%; }
.bj-date .bj-date__input { border: 0; height: 1px; inset-inline-start: 0; margin: 0; opacity: 0; overflow: hidden; padding: 0; pointer-events: none; position: absolute; top: 0; width: 1px; }
.bj-date .bj-date__button { align-items: center; cursor: pointer; display: flex; font: inherit; gap: 8px; justify-content: space-between; min-height: var(--bj-target, 40px); text-align: start; width: 100%; }
.bj-date .bj-date__button.is-empty .bj-date__text { color: var(--bj-color-text-muted, #646970); }
.bj-date .bj-date__icon { color: var(--bj-color-text-muted, #646970); flex: none; }
.bj-date .bj-date__text { line-height: 1.25; overflow-wrap: anywhere; }
.bj-date .bj-date__button[aria-invalid="true"],
.bj-field.has-error .bj-date .bj-date__button { border-color: var(--bj-color-danger, #d63638); border-width: 2px; }
.bj-date .bj-date__button:focus-visible { outline: 3px solid var(--bj-color-focus, #2271b1); outline-offset: 2px; }
.bj-date__panel { background: var(--bj-color-raised, #fff); border: 1px solid var(--bj-color-border-strong, #8c8f94); border-radius: var(--bj-radius-card, 12px); box-shadow: 0 12px 32px rgba(0, 0, 0, .35); box-sizing: border-box; color: var(--bj-color-text, #1d2327); inset-inline-start: 0; margin-top: 6px; max-width: calc(100vw - 32px); padding: 12px; position: absolute; top: 100%; width: 19rem; z-index: 1000; }
.bj-date__head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 8px; }
.bj-date__title { font-weight: 600; margin: 0 !important; text-transform: capitalize; }
.bj-date__panel button { background: transparent; border: 0; border-radius: 8px; color: inherit; cursor: pointer; font: inherit; margin: 0; padding: 0; }
.bj-date__panel .bj-date__nav { font-size: 1.5rem; height: 40px; line-height: 1; width: 40px; }
.bj-date__panel .bj-date__nav:hover,
.bj-date__panel .bj-date__day:hover:not(:disabled) { background: var(--bj-color-surface, #f0f0f1); }
/* The table of the theme (borders, width) does not reach the calendar. */
.bj-date__panel table.bj-date__grid { background: none !important; border: 0 !important; border-collapse: collapse !important; display: table !important; margin: 0 !important; table-layout: fixed !important; width: 100% !important; }
.bj-date__panel table.bj-date__grid th { background: none !important; border: 0 !important; color: var(--bj-color-text-muted, #646970); font-size: .8rem; font-weight: 600; padding: 4px 0 !important; text-align: center; }
.bj-date__panel table.bj-date__grid td { background: none !important; border: 0 !important; padding: 1px !important; text-align: center; }
.bj-date__panel table.bj-date__grid tr { background: none !important; border: 0 !important; }
.bj-date__panel .bj-date__day { height: 38px; width: 100%; }
.bj-date__panel .bj-date__day[aria-current="date"] { box-shadow: inset 0 0 0 1px var(--bj-color-border-strong, #8c8f94); }
.bj-date__panel .bj-date__day.is-chosen { background: var(--bj-color-primary, #2271b1); color: #fff; font-weight: 700; }
.bj-date__panel .bj-date__day:disabled { cursor: default; opacity: .35; }
.bj-date__panel button:focus-visible { outline: 3px solid var(--bj-color-focus, #2271b1); outline-offset: 1px; }
.bj-date__foot { display: flex; gap: 16px; justify-content: flex-end; margin-top: 8px; }
.bj-date__panel .bj-date__link { color: var(--bj-color-accent-text, #2271b1); min-height: 40px; padding: 0 4px; text-decoration: underline; }
.bj-date__error { color: var(--bj-color-danger, #d63638); margin: 4px 0 0; }
/* The administration of WordPress: a field of its look. */
body.bookadj-admin .bj-date { max-width: 20rem; }
body.bookadj-admin .bj-date .bj-date__button { background: #fff; border: 1px solid #8c8f94; border-radius: 4px; color: #2c3338; min-height: 30px; padding: 0 8px; }
