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

:host [part="messagesWrapper"] {
  flex-direction: column;
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host [part="messages"] {
  padding-top: var(--chat-padding-top);
  padding-right: var(--chat-padding-right);
  padding-bottom: var(--chat-padding-bottom);
  padding-left: var(--chat-padding-left);
  gap: var(--chat-gap);
  overflow: overlay;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  display: flex;
}

:host [part="footer"] {
  position: relative;
}

:host [part="footer"]:before {
  content: "";
  background-color: var(--chat-border-color);
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

:host([appearance="outline"]) {
  --chat-border-style: solid;
}

:host([appearance="outline"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([appearance="plain"]) {
  --chat-border-width: 0px;
  --chat-border-style: none;
}

:host([appearance="outline"]) {
  --chat-border-width: var(--joy-layout-thickness);
}

    `;
}
//# sourceMappingURL=ChatElement.Joy.js.map