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

:host {
  display: block;
  width: 100%;
  min-width: 0;
}

* {
  box-sizing: border-box;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  width: 100%;
  border-radius: var(--ui-components-attachment-item-border-radius, 6px);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  user-select: none;
  text-align: left;
}

.wrapper {
            cursor: pointer;
}

.wrapper:focus {
            outline: none;
}

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

.wrapper:focus-visible .content-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:disabled .content-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.disabled .content-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:disabled {
            cursor: not-allowed;
}

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

.wrapper.amplified .content-container {
            border-color: var(--amplified-enabled-border-color);
            background-color: var(--amplified-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            --base-border-color: var(--amplified-enabled-border-color);
            --base-background-color: var(--amplified-enabled-background-color);
}

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

.wrapper.disabled .file-name,.wrapper.disabled .index-label,.wrapper.disabled .date-label,.wrapper.disabled .time-label,.wrapper.disabled .leading-icon {
      color: var(--on-flat-disabled-color);
    }

.content-container {
  display: flex;
  align-items: center;
  padding-left: 16px;
  border-radius: var(--ui-components-attachment-item-border-radius, 6px);
  width: 100%;
  min-height: 48px;
}

.label-group {
  display: flex;
  flex: 1 0 0;
  align-items: center;
  gap: var(--ui-components-attachment-item-label-spacing, 8px);
  min-width: 0;
  min-height: 1px;
}

.index-label {
  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-neutral-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 0;
  width: auto;
}

.leading-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--on-flat-neutral-color);
}

.leading-icon ::slotted(*) {
  width: 100%;
  height: 100%;
}

.file-name-container {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  min-height: 1px;
}

.file-name {
  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(--on-flat-neutral-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.trailing-group {
  display: flex;
  align-items: center;
  padding-right: 8px;
  flex-shrink: 0;
}

.time-date-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 0 var(--ui-components-attachment-item-label-spacing-large, 16px);
  margin-right: -8px;
  flex-shrink: 0;
}

.date-label {
  font-family: var(--font-family-main);
  font-weight: var(--global-typography-ui-label-active-font-weight);
  font-size: var(--global-typography-ui-label-active-font-size);
  line-height: var(--global-typography-ui-label-active-line-height);
  font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
  color: var(--on-flat-neutral-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.time-label {
  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;
  color: var(--on-flat-neutral-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trailing-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: -8px;
  flex-shrink: 0;
}

.divider {
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 4px;
  height: 1px;
  border-radius: 1px;
  background: var(--border-divider-color, #ddd);
}
`;
export {
  componentStyle as default
};
//# sourceMappingURL=attachment-list-item.css.js.map
