// ------------------------------------------------------------------------------
// <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 chatMessageElementJoyStyle() {
    return css `
:host {
  --chat-message-font-family: var(--joy-font-family);
  --chat-message-font-size: var(--joy-typography-body1-font-size);
  --chat-message-font-line-height: var(--joy-typography-body1-line-height);
  --chat-message-font-weight: var(--joy-typography-body1-font-weight);
  --chat-message-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --chat-message-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --chat-message-font-text-transform: var(--joy-typography-body1-text-transform);
  --chat-message-padding-top: var(--joy-layout-space);
  --chat-message-padding-right: calc(var(--joy-layout-space) * 2);
  --chat-message-padding-bottom: var(--joy-layout-space);
  --chat-message-padding-left: calc(var(--joy-layout-space) * 2);
  --chat-message-gap: calc(var(--joy-layout-space) * 2);
  --chat-message-transition-duration: .2s;
  --chat-message-transition-mode: ease;
  --chat-message-transition-property: all;
  --chat-message-translate: unset;
  --chat-message-background-color: var(--joy-scheme-background);
  --chat-message-border-color: var(--joy-scheme-highlight);
  --chat-message-border-radius: var(--joy-layout-radius);
  --chat-message-border-style: solid;
  --chat-message-border-width: var(--joy-layout-thickness);
  --chat-message-foreground-color: var(--joy-scheme-foreground);
  --chat-message-shadow: 0;
}

@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;
}

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

:host [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="dots"] {
  align-items: center;
  gap: 4px;
  display: flex;
}

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

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

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

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

:host([reply]) [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.Joy.js.map