// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function chatMessageElementRetroStyle() {
    return css `
:host {
  --chat-message-background-color: unset;
  --chat-message-border-color: unset;
  --chat-message-border-radius: unset;
  --chat-message-border-style: unset;
  --chat-message-border-width: unset;
  --chat-message-font-family: unset;
  --chat-message-font-letter-spacing: unset;
  --chat-message-font-line-height: unset;
  --chat-message-font-size: unset;
  --chat-message-font-text-decoration: unset;
  --chat-message-font-text-transform: unset;
  --chat-message-font-weight: unset;
  --chat-message-foreground-color: unset;
  --chat-message-gap: unset;
  --chat-message-padding-bottom: unset;
  --chat-message-padding-left: unset;
  --chat-message-padding-right: unset;
  --chat-message-padding-top: unset;
  --chat-message-shadow: unset;
  --chat-message-transition-duration: unset;
  --chat-message-transition-mode: unset;
  --chat-message-transition-property: unset;
  --chat-message-translate: unset;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host {
  margin-left: 44px;
  margin-right: initial;
  content-visibility: auto;
}

:host [part="root"] {
  gap: var(--chat-message-gap);
}

:host [part="root"] [part="content"] {
  justify-content: center;
  align-items: flex-end;
  gap: calc(var(--chat-message-gap) / 2);
  flex-direction: column;
  display: flex;
}

:host [part="root"] [part="content"] [part="text"] {
  border-width: var(--chat-message-border-width);
  border-radius: var(--chat-message-border-radius);
  border-style: var(--chat-message-border-style);
  background-color: var(--chat-message-background-color);
  border-color: var(--chat-message-border-color);
  color: var(--chat-message-foreground-color);
  box-shadow: var(--chat-message-shadow);
  padding-top: var(--chat-message-padding-top);
  padding-right: var(--chat-message-padding-right);
  padding-bottom: var(--chat-message-padding-bottom);
  padding-left: var(--chat-message-padding-left);
  gap: var(--chat-message-gap);
  transition-duration: var(--chat-message-transition-duration);
  transition-timing-function: var(--chat-message-transition-mode);
  transition-property: var(--chat-message-transition-property);
  font-family: var(--chat-message-font-family);
  font-size: var(--chat-message-font-size);
  line-height: var(--chat-message-font-line-height);
  font-weight: var(--chat-message-font-weight);
  letter-spacing: var(--chat-message-font-letter-spacing);
  -webkit-text-decoration: var(--chat-message-font-text-decoration);
  text-decoration: var(--chat-message-font-text-decoration);
  text-transform: var(--chat-message-font-text-transform);
  border-top-right-radius: 0;
}

:host [part="root"] [part="content"] [part="dots"] {
  align-items: center;
  gap: 4px;
  display: flex;
}

:host [part="root"] [part="content"] [part="dots"] [part="dot"] {
  animation: 1.2s ease-out infinite wave;
}

:host [part="root"] [part="content"] [part="dots"] [part="dot"]:nth-child(2) {
  animation-delay: -1s;
}

:host [part="root"] [part="content"] [part="dots"] [part="dot"]:nth-child(3) {
  animation-delay: -.8s;
}

:host [part="reactions"] {
  height: 0;
  display: flex;
  position: relative;
}

:host([reply]) {
  margin-left: initial;
  margin-right: 44px;
}

:host([reply]) [part="root"] [part="content"] {
  align-items: flex-start;
}

:host([reply]) [part="root"] [part="content"] [part="text"] {
  border-top-right-radius: var(--chat-message-border-radius);
  border-top-left-radius: 0;
}

@keyframes wave {
  0%, 60%, 100% {
    transform: initial;
  }

  30% {
    transform: translateY(-4px);
  }
}

    `;
}
//# sourceMappingURL=ChatMessageElement.Retro.js.map