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

* {
  box-sizing: border-box;
  user-select: none;
}

.action-button-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--app-components-message-menu-item-label-spacing);
  min-width: var(--action-width, 0);
  height: var(--ui-components-button-touch-target-size);
}

.wrapper {
            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:focus {
            outline: none;
}

.wrapper.activated {
            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:hover {
                        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:active {
            border-color: var(--flat-pressed-border-color);
            background-color: var(--flat-pressed-background-color);
}

.wrapper: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:disabled {
            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.disabled {
            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 {
  width: 100%;
  display: flex;
  container-type: inline-size;
  min-height: var(--app-components-notification-menu-item-touch-target);
  align-items: flex-start;
  padding: var(--app-components-message-menu-item-padding-vertical-4)
    var(--app-components-message-menu-item-padding-horizontal)
    var(--app-components-message-menu-item-padding-vertical-4)
    var(--app-components-message-menu-item-padding-horizontal);
  appearance: none;
  gap: var(--app-components-message-menu-item-label-spacing);
  border: none;
  border-bottom: 1px solid var(--border-divider-color);
}

.wrapper .content-container {
    display: flex;
    flex-grow: 1;
    min-width: 0;
    gap: var(--app-components-message-menu-item-label-spacing);
    padding: var(--app-components-message-menu-item-padding-vertical-12) 0px;
    align-items: center;
  }

.wrapper .text-container {
    flex-grow: 1;
    min-width: 0;
    display: grid;
    column-gap: var(--app-components-message-menu-item-label-spacing);
    grid-template-areas: "title description date chevron";
    grid-template-columns:
      minmax(0, min-content) minmax(0, 1fr)
      min-content min-content;
    text-align: left;
  }

.wrapper .title-container {
    grid-area: title;
    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-flat-active-color);
    white-space: nowrap;
  }

.wrapper .description-container {
    grid-area: description;
    font-family: var(--font-family-main);
    font-weight: var(--global-typography-ui-body-font-weight);
    font-size: var(--global-typography-ui-body-font-size);
    line-height: var(--global-typography-ui-body-line-height);
    font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
    color: var(--element-neutral-color);
  }

:is(.wrapper.active-size-single-line,.wrapper.active-size-double-line) .description-container {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

:is(.wrapper.active-size-single-line,.wrapper.active-size-double-line) .title-container {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

.wrapper .date-container {
    grid-area: date;
    font-family: var(--font-family-main);
    font-weight: var(--font-weight-regular);
    font-size: var(--global-typography-ui-label-font-size);
    line-height: var(--global-typography-ui-label-line-height);
    font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--app-components-message-menu-item-label-spacing);

    color: var(--element-neutral-color);
  }

:is(.wrapper .date-container) .day,:is(.wrapper .date-container) .time {
      font-family: var(--font-family-main);
      font-weight: var(--font-weight-regular);
      font-size: var(--global-typography-ui-label-font-size);
      line-height: var(--global-typography-ui-label-line-height);
      font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
    }

.wrapper .chevron {
    grid-area: chevron;
    width: var(--app-components-message-menu-item-icon-size-regular);
    height: var(--app-components-message-menu-item-icon-size-regular);
    color: var(--on-flat-neutral-color);
  }

.wrapper .icon-container {
    display: flex;

    gap: var(--app-components-message-menu-item-label-spacing);
  }

.wrapper.enhanced-icon .icon-container {
    padding: var(
        --app-components-message-menu-item-icon-container-padding-vertical
      )
      0px;
  }

.wrapper .icon {
    width: var(--app-components-message-menu-item-icon-size-regular);
    height: var(--app-components-message-menu-item-icon-size-regular);
    color: var(--on-flat-neutral-color);
  }

.wrapper.enhanced-icon .icon {
    width: var(--app-components-message-menu-item-icon-size-large);
    height: var(--app-components-message-menu-item-icon-size-large);
  }

.wrapper.active-size-double-line .text-container {
      grid-template-areas: "title date chevron" "description description description";
      grid-template-columns: 1fr min-content min-content;
    }

.wrapper.active-size-double-line .icon-container {
      align-self: flex-start;
    }

.wrapper.active-size-multi-line .text-container {
      grid-template-areas: "title date chevron" "description description description";
      grid-template-columns: 1fr min-content min-content;
    }

.wrapper.active-size-multi-line .icon-container {
      align-self: flex-start;
    }

.wrapper.size-multi-line .text-container {
      grid-template-areas: "title date" "description description";
    }

.trailing-icon {
  width: var(
    --app-components-alert-components-general-notification-item-icon-size-large
  );
  height: var(
    --app-components-alert-components-general-notification-item-icon-size-large
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-flat-neutral-color);
}

/* Vertical stack direction */

.wrapper.stack-vertical {
  flex-direction: column;
  align-items: stretch;
  padding: var(--app-components-message-menu-item-padding-vertical-8)
    var(--app-components-message-menu-item-padding-horizontal)
    var(--app-components-message-menu-item-padding-vertical-8)
    var(--app-components-message-menu-item-padding-horizontal);
}

.wrapper.stack-vertical .content-container {
    width: 100%;
  }

.wrapper.stack-vertical .action-button-container {
    width: 100%;
    height: auto;
  }

:is(.wrapper.stack-vertical .action-button-container) obc-button {
      flex: 1;
    }

/* Vertical stack with enhanced icons */

.wrapper.stack-vertical.enhanced-icon {
  padding: var(--app-components-message-menu-item-padding-vertical-4)
    var(--app-components-message-menu-item-padding-horizontal)
    var(--app-components-message-menu-item-padding-vertical-8)
    var(--app-components-message-menu-item-padding-horizontal);
}

:host:has(.action-button-container:hover) .wrapper {
  background-color: var(--flat-hover-background-color);
}

/* Enhanced icon horizontal (default) */

.enhanced-icon.wrapper:not(.stack-vertical) {
  padding: var(--app-components-message-menu-item-padding-vertical-8)
    var(--app-components-message-menu-item-padding-horizontal)
    var(--app-components-message-menu-item-padding-vertical-8)
    var(--app-components-message-menu-item-padding-horizontal);
}

.enhanced-icon.wrapper:not(.stack-vertical) .content-container {
    padding: var(--app-components-message-menu-item-padding-vertical-4) 0px;
  }

:is(.enhanced-icon.wrapper.active-size-double-line:not(.stack-vertical),.enhanced-icon.wrapper.active-size-multi-line:not(.stack-vertical)) .text-container {
      padding: 8px 0px;
    }

@keyframes enter {
  0% {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    transform: translateY(-100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateY(0%);
  }
}

@container (max-width: 499px) {
  .active-size-single-line .chevron {
    display: none;
  }

  .active-size-single-line .text-container {
    grid-template-areas: "title description date";
    grid-template-columns: minmax(0, min-content) 1fr min-content;
  }
}

@container (max-width: 450px) {
  .active-size-single-line .date-container {
    display: none;
  }

  .active-size-single-line .text-container {
    grid-template-areas: "title description";
    grid-template-columns: minmax(0, min-content) 1fr;
  }
}

@container (max-width: 400px) {
  .active-size-single-line .title-container {
    display: none;
  }

  .active-size-single-line .text-container {
    grid-template-areas: "description";
    grid-template-columns: minmax(0, min-content) 1fr;
  }
}

:host([animateintro]) {
  display: block;
  animation: enter 100ms linear forwards;
  will-change: clip-path, transform;
}
`;
export {
  compentStyle as default
};
//# sourceMappingURL=message-menu-item.css.js.map
