// ------------------------------------------------------------------------------
// <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 textBoxElementFluentStyle() {
    return css `
:host {
  --textbox-font-family: var(--theme-typography);
  --textbox-font-size: 16px;
  --textbox-font-line-height: unset;
  --textbox-font-weight: normal;
  --textbox-font-letter-spacing: unset;
  --textbox-font-text-decoration: unset;
  --textbox-font-text-transform: unset;
  --textbox-padding-top: 8px;
  --textbox-padding-right: 12px;
  --textbox-padding-bottom: 8px;
  --textbox-padding-left: 12px;
  --textbox-gap: 8px;
  --textbox-transition-duration: .2s;
  --textbox-transition-mode: ease;
  --textbox-transition-property: background-color, color, border-color, opacity, box-shadow;
  --textbox-translate: unset;
  --textbox-background-color: var(--theme-background-color);
  --textbox-foreground-color: var(--theme-foreground-color);
  --textbox-border-color: var(--theme-highlight-color);
  --textbox-border-width: var(--theme-thickness-factor);
  --textbox-border-radius: var(--theme-radius-factor);
  --textbox-border-style: solid;
  --textbox-shadow: var(--theme-elevation-none);
  --textbox-height: 56px;
  --textbox-focus-ring-width: 0px;
}

@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 {
  font-family: var(--textbox-font-family);
  font-size: var(--textbox-font-size);
  line-height: var(--textbox-font-line-height);
  font-weight: var(--textbox-font-weight);
  letter-spacing: var(--textbox-font-letter-spacing);
  -webkit-text-decoration: var(--textbox-font-text-decoration);
  text-decoration: var(--textbox-font-text-decoration);
  text-transform: var(--textbox-font-text-transform);
  padding-top: var(--textbox-padding-top);
  padding-right: var(--textbox-padding-right);
  padding-bottom: var(--textbox-padding-bottom);
  padding-left: var(--textbox-padding-left);
  gap: var(--textbox-gap);
  transition-duration: var(--textbox-transition-duration);
  transition-timing-function: var(--textbox-transition-mode);
  transition-property: var(--textbox-transition-property);
  translate: var(--textbox-translate);
  background-color: var(--textbox-background-color);
  color: var(--textbox-foreground-color);
  border-color: var(--textbox-border-color);
  border-width: var(--textbox-border-width);
  border-radius: var(--textbox-border-radius);
  border-style: var(--textbox-border-style);
  min-height: var(--textbox-height);
  cursor: text;
  z-index: 0;
  background-color: var(--fluent-colorNeutralBackground1);
  border: var(--strokeWidthThin) solid var(--fluent-colorNeutralStroke1);
  border-bottom-color: var(--fluent-colorNeutralStrokeAccessible);
  border-radius: var(--fluent-borderRadiusMedium);
  box-sizing: border-box;
  align-items: center;
  gap: var(--fluent-spacingHorizontalXXS);
  height: 32px;
  padding: 0 var(--fluent-spacingHorizontalMNudge);
  outline: none;
  flex-direction: row;
  width: 100%;
  display: inline-flex;
  position: relative;
}

:host textarea, :host input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: inherit;
  resize: none;
  margin: 0;
  overflow: visible;
}

:host [part="input"] {
  transition-duration: inherit;
  transition-timing-function: inherit;
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  margin: 0;
  padding: 0;
  transition-property: inherit;
}

:host textarea[part="input"] {
  box-sizing: border-box;
  resize: none;
}

:host [part="label"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  transform-origin: 0 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  will-change: transform;
  transition-property: transform, font-size, color, letter-spacing, top;
  transition-duration: .2s;
  transition-timing-function: ease;
  display: block;
  position: absolute;
  top: 10px;
  left: 12px;
  overflow: hidden;
  transform: translateY(0);
}

:host [part="label"].floating {
  top: unset;
  font-size: 12px;
  transform: translateY(-50%);
}

:host [part="suffix"] {
  gap: var(--textbox-gap);
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

:host [part="suffix"][hidden] {
  display: none;
}

:host [part="prefix"] {
  gap: var(--textbox-gap);
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

:host [part="prefix"][hidden] {
  display: none;
}

:host [part="inner"] {
  width: 100%;
  height: 100%;
  padding: var(--textbox-padding-top) var(--textbox-padding-right) var(--textbox-padding-bottom) var(--textbox-padding-left);
  flex-direction: column;
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host([has-label]) [part="inner"] {
  padding-bottom: unset;
}

:host([has-label]) [part="inner"] [part="input"] {
  padding-top: 12px;
}

:host([disabled]:not([disabled='false'])) {
  cursor: default;
}

:host([required]) [part="label"]:after {
  content: "*";
  margin-left: 2px;
}

:host([resize="none"]) [part="input"] {
  resize: none;
}

:host([resize="both"]) [part="input"] {
  resize: both;
}

:host([resize="horizontal"]) [part="input"] {
  resize: horizontal;
}

:host([resize="vertical"]) [part="input"] {
  resize: vertical;
}

:host [part="focusRing"] {
  --focus-ring-width: 0px;
}

:host [part="inner"]:after {
  box-sizing: border-box;
  content: "";
  height: max(2px, var(--fluent-borderRadiusMedium));
  border-radius: 0 0 var(--fluent-borderRadiusMedium) var(--fluent-borderRadiusMedium);
  border-bottom: 2px solid var(--fluent-colorCompoundBrandStroke);
  clip-path: inset(calc(100% - 2px) 1px 0);
  transition-property: transform;
  transition-duration: var(--fluent-durationUltraFast);
  transition-delay: var(--fluent-curveAccelerateMid);
  position: absolute;
  bottom: 0;
  left: -1px;
  right: -1px;
  transform: scaleX(0);
}

:host [part="inner"] [part="label"] {
  color: var(---fluent-colorNeutralForeground1);
}

    `;
}
//# sourceMappingURL=TextBoxElement.Fluent.js.map