import { css } from "lit";
const componentStyle = css`
          * {
            -webkit-tap-highlight-color: transparent;
          }

:host {
  display: block;
  height: 100%;
}

.wrapper {
  position: relative;
  border: none;
  background: transparent;
  display: flex;
  justify-content: center;
  align-self: center;
  padding: 0;
  margin: 0;
  font-family: inherit;
  cursor: pointer;
  user-select: none;
}

.wrapper:focus-visible {
    outline: 2px solid var(--instrument-frame-tertiary-color, #0066cc);
    outline-offset: 2px;
  }

.wrapper.size-small {
            cursor: pointer;
}

.wrapper.size-small:focus {
            outline: none;
}

.wrapper.size-small .date-container {
            border-color: var(--flat-enabled-border-color);
            background-color: var(--flat-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--flat-enabled-border-color);
            --base-background-color: var(--flat-enabled-background-color);
}

.wrapper.size-small.activated .date-container {
            border-color: var(--flat-activated-border-color);
            background-color: var(--flat-activated-background-color);
            --base-border-color: var(--flat-activated-border-color);
            --base-background-color: var(--flat-activated-background-color);
}

@media (hover:hover) {

.wrapper.size-small:hover .date-container {
                        border-color: color-mix(in srgb, var(--flat-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--flat-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.wrapper.size-small:active .date-container {
            border-color: var(--flat-pressed-border-color);
            background-color: var(--flat-pressed-background-color);
}

.wrapper.size-small:focus-visible .date-container {
            outline-color: var(--border-focus-color);
            outline-width: var(--global-size-spacing-border-weight-focusframe);
            outline-style: solid;
            border-color: var(--container-global-color);
            z-index: 1;
}

.wrapper.size-small:disabled .date-container {
            border-color: var(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

.wrapper.size-small.disabled .date-container {
            border-color: var(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

.wrapper.size-small:disabled {
            cursor: not-allowed;
}

.wrapper.size-small.disabled {
            cursor: not-allowed;
}

.wrapper.size-small {
    width: var(--menu-navigation-components-date-item-touch-target);
    height: var(--menu-navigation-components-date-item-touch-target);
    padding: var(--menu-navigation-components-date-item-padding-vertical)
      var(--menu-navigation-components-date-item-padding-horizontal);

    /* Keyboard press visual feedback */
}

.wrapper.size-small.pressing .date-container {
      background-color: var(--flat-pressed-background-color);
      border-color: var(--flat-pressed-border-color);
    }

.wrapper.size-small .date-container {
      display: flex;
      box-sizing: border-box;
      width: var(--menu-navigation-components-date-item-visual-size);
      height: var(--menu-navigation-components-date-item-visual-size);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      flex-shrink: 0;
      border-radius: var(
        --menu-navigation-components-date-item-border-radius,
        6px
      );
      border: 1px solid var(--flat-enabled-border-color);
      background: var(--flat-enabled-background-color);
    }

.wrapper.size-small .date {
      color: var(--on-flat-neutral-color);
    }

/* isToday without checked: amplified styling */

.wrapper.size-small.isToday:not(.checked) {
            cursor: pointer;
}

.wrapper.size-small.isToday:not(.checked):focus {
            outline: none;
}

.wrapper.size-small.isToday:not(.checked) .date-container {
            border-color: var(--amplified-enabled-border-color);
            background-color: var(--amplified-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--amplified-enabled-border-color);
            --base-background-color: var(--amplified-enabled-background-color);
}

.wrapper.size-small.isToday.activated:not(.checked) .date-container {
            border-color: var(--amplified-activated-border-color);
            background-color: var(--amplified-activated-background-color);
            --base-border-color: var(--amplified-activated-border-color);
            --base-background-color: var(--amplified-activated-background-color);
}

@media (hover:hover) {

.wrapper.size-small.isToday:not(.checked):hover .date-container {
                        border-color: color-mix(in srgb, var(--amplified-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--amplified-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.wrapper.size-small.isToday:not(.checked):active .date-container {
            border-color: var(--amplified-pressed-border-color);
            background-color: var(--amplified-pressed-background-color);
}

.wrapper.size-small.isToday:not(.checked):focus-visible .date-container {
            outline-color: var(--border-focus-color);
            outline-width: var(--global-size-spacing-border-weight-focusframe);
            outline-style: solid;
            border-color: var(--container-global-color);
            z-index: 1;
}

.wrapper.size-small.isToday:not(.checked):disabled .date-container {
            border-color: var(--amplified-disabled-border-color);
            background-color: var(--amplified-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-amplified-disabled-color) !important;
}

.wrapper.size-small.isToday.disabled:not(.checked) .date-container {
            border-color: var(--amplified-disabled-border-color);
            background-color: var(--amplified-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-amplified-disabled-color) !important;
}

.wrapper.size-small.isToday:not(.checked):disabled {
            cursor: not-allowed;
}

.wrapper.size-small.isToday.disabled:not(.checked) {
            cursor: not-allowed;
}

.wrapper.size-small.isToday:not(.checked) .date {
        color: var(--on-amplified-active-color);
      }

.wrapper.size-small.isToday:not(.checked) .event-dot {
        background-color: var(--on-amplified-neutral-color);
      }

.wrapper.size-small.isToday.pressing:not(.checked) .date-container {
        background-color: var(--amplified-pressed-background-color);
        border-color: var(--amplified-pressed-border-color);
      }

/* checked: selected styling */

.wrapper.size-small.checked {
            cursor: pointer;
}

.wrapper.size-small.checked:focus {
            outline: none;
}

.wrapper.size-small.checked .date-container {
            border-color: var(--selected-enabled-border-color);
            background-color: var(--selected-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--selected-enabled-border-color);
            --base-background-color: var(--selected-enabled-background-color);
}

.wrapper.size-small.checked.activated .date-container {
            border-color: var(--selected-activated-border-color);
            background-color: var(--selected-activated-background-color);
            --base-border-color: var(--selected-activated-border-color);
            --base-background-color: var(--selected-activated-background-color);
}

@media (hover:hover) {

.wrapper.size-small.checked:hover .date-container {
                        border-color: color-mix(in srgb, var(--selected-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--selected-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.wrapper.size-small.checked:active .date-container {
            border-color: var(--selected-pressed-border-color);
            background-color: var(--selected-pressed-background-color);
}

.wrapper.size-small.checked:focus-visible .date-container {
            outline-color: var(--border-focus-color);
            outline-width: var(--global-size-spacing-border-weight-focusframe);
            outline-style: solid;
            border-color: var(--container-global-color);
            z-index: 1;
}

.wrapper.size-small.checked:disabled .date-container {
            border-color: var(--selected-disabled-border-color);
            background-color: var(--selected-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-selected-disabled-color) !important;
}

.wrapper.size-small.checked.disabled .date-container {
            border-color: var(--selected-disabled-border-color);
            background-color: var(--selected-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-selected-disabled-color) !important;
}

.wrapper.size-small.checked:disabled {
            cursor: not-allowed;
}

.wrapper.size-small.checked.disabled {
            cursor: not-allowed;
}

.wrapper.size-small.checked .date {
        color: var(--on-selected-active-color);
      }

.wrapper.size-small.checked .event-dot {
        background-color: var(--on-selected-active-color);
      }

.wrapper.size-small.checked.pressing .date-container {
        background-color: var(--selected-pressed-background-color);
        border-color: var(--selected-pressed-border-color);
      }

.wrapper.size-large {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    flex-shrink: 0;
    padding: 0;
  }

.wrapper.size-large {
            border-color: var(--normal-enabled-border-color);
            background-color: var(--normal-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--normal-enabled-border-color);
            --base-background-color: var(--normal-enabled-background-color);
}

.wrapper.size-large:focus {
            outline: none;
}

.wrapper.size-large.activated {
            border-color: var(--normal-activated-border-color);
            background-color: var(--normal-activated-background-color);
            --base-border-color: var(--normal-activated-border-color);
            --base-background-color: var(--normal-activated-background-color);
}

@media (hover:hover) {

.wrapper.size-large:hover {
                        border-color: color-mix(in srgb, var(--normal-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--normal-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.wrapper.size-large:active {
            border-color: var(--normal-pressed-border-color);
            background-color: var(--normal-pressed-background-color);
}

.wrapper.size-large:focus-visible {
            outline-color: var(--border-focus-color);
            outline-width: var(--global-size-spacing-border-weight-focusframe);
            outline-style: solid;
            border-color: var(--container-global-color);
            z-index: 1;
}

.wrapper.size-large:disabled {
            border-color: var(--normal-disabled-border-color);
            background-color: var(--normal-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-normal-disabled-color) !important;
}

.wrapper.size-large.disabled {
            border-color: var(--normal-disabled-border-color);
            background-color: var(--normal-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-normal-disabled-color) !important;
}

/* Keyboard press visual feedback */

.wrapper.size-large.pressing {
      background-color: var(--normal-pressed-background-color);
      border-color: var(--normal-pressed-border-color);
    }

.wrapper.size-large .header-container {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      width: 100%;
    }

.wrapper.size-large .today-label {
      flex: 1 0 0;
      padding: 0 12px;
      text-align: left;
      font-family: var(--font-family-main);
      font-weight: var(--font-weight-bold);
      font-size: var(--global-typography-ui-body-active-font-size);
      line-height: var(--global-typography-ui-body-active-line-height);
      font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
      color: var(--on-amplified-active-color);
    }

.wrapper.size-large .date-item-small {
      box-sizing: border-box;
      margin-left: auto;
    }

/* Default (regular): flat styling */

.wrapper.size-large .date-container {
      border-radius: var(
        --menu-navigation-components-date-item-border-radius,
        6px
      );
      border: 1px solid var(--flat-enabled-border-color);
      background: var(--flat-enabled-background-color);
    }

:is(.wrapper.size-large .date-container) .date {
        color: var(--on-flat-neutral-color);
      }

.wrapper.size-large .content-container {
      text-align: left;
    }

/* isToday without checked: amplified styling */

.wrapper.size-large.isToday:not(.checked) .date-container {
        border-radius: var(
          --menu-navigation-components-date-item-border-radius,
          6px
        );
        border: 1px solid var(--amplified-enabled-border-color);
        background: var(--amplified-enabled-background-color);
      }

:is(.wrapper.size-large.isToday:not(.checked) .date-container) .date {
          color: var(--on-amplified-active-color);
        }

/* checked: selected styling */

.wrapper.size-large.checked .date-container {
        border-radius: var(
          --menu-navigation-components-date-item-border-radius,
          6px
        );
        border: 1px solid var(--selected-enabled-border-color);
        background: var(--selected-enabled-background-color);
      }

:is(.wrapper.size-large.checked .date-container) .date {
          color: var(--on-selected-active-color);
        }

.date-item-small {
  display: flex;
  width: var(--menu-navigation-components-date-item-touch-target, 48px);
  height: var(--menu-navigation-components-date-item-touch-target, 48px);
  padding: var(--menu-navigation-components-date-item-padding-vertical, 8px)
    var(--menu-navigation-components-date-item-padding-horizontal, 8px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.date-container {
  position: relative;
  width: var(--menu-navigation-components-date-item-visual-size, 32px);
  height: var(--menu-navigation-components-date-item-visual-size, 32px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
  border-radius: var(--menu-navigation-components-date-item-border-radius, 6px);
  border: 1px solid var(--normal-enabled-border-color);
  background: var(--normal-enabled-background-color);
}

.date {
  user-select: none;
  color: var(--on-normal-active-color);
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-bold);
  font-size: var(--global-typography-ui-body-active-font-size);
  line-height: var(--global-typography-ui-body-active-line-height);
  font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
}

.event-dot {
  position: absolute;
  top: var(--menu-navigation-components-date-item-indicator-padding, 3px);
  right: var(--menu-navigation-components-date-item-indicator-padding, 3px);
  width: var(--menu-navigation-components-date-item-indicator-size, 6px);
  height: var(--menu-navigation-components-date-item-indicator-size, 6px);
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--selected-enabled-background-color);
}

.content-container {
  display: flex;
  user-select: none;
  padding: 0
    var(
      --menu-navigation-components-date-item-appointment-container-padding,
      4px
    );
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
}

.wrapper.size-large:has(obc-event-item:hover),
.wrapper.size-large:has(obc-event-item:active) {
  background-color: var(--normal-enabled-background-color);
}

.wrapper.disabled,
.wrapper:disabled {
  cursor: not-allowed;

  /* Default (regular) disabled: use normal disabled styling */
}

:is(.wrapper.disabled,.wrapper:disabled) .date-container {
    border-radius: var(
      --menu-navigation-components-date-item-border-radius,
      6px
    );
    border: 1px solid var(--normal-disabled-border-color);
    background: var(--normal-disabled-background-color);
  }

:is(:is(.wrapper.disabled,.wrapper:disabled) .date-container) .date {
      color: var(--on-normal-disabled-color);
    }

/* isToday disabled: amplified disabled styling */

.isToday:is(.wrapper.disabled,.wrapper:disabled):not(.checked) .date-container {
    border-radius: var(
      --menu-navigation-components-date-item-border-radius,
      6px
    );
    border: 1px solid var(--amplified-disabled-border-color);
    background: var(--amplified-disabled-background-color);
  }

:is(.isToday:is(.wrapper.disabled,.wrapper:disabled):not(.checked) .date-container) .date {
      color: var(--on-amplified-disabled-color);
    }

:is(.isToday:is(.wrapper.disabled,.wrapper:disabled):not(.checked) .date-container) .event-dot {
      background-color: var(--on-amplified-disabled-color);
    }

/* checked disabled: selected disabled styling */

.checked:is(.wrapper.disabled,.wrapper:disabled) .date-container {
    border-radius: var(
      --menu-navigation-components-date-item-border-radius,
      6px
    );
    border: 1px solid var(--selected-disabled-border-color);
    background: var(--selected-disabled-background-color);
  }

:is(.checked:is(.wrapper.disabled,.wrapper:disabled) .date-container) .date {
      color: var(--on-selected-disabled-color);
    }

:is(.wrapper.disabled,.wrapper:disabled) .today-label {
    color: var(--element-disabled-color);
  }
`;
export {
  componentStyle as default
};
//# sourceMappingURL=date-item.css.js.map
