// ------------------------------------------------------------------------------
// <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 pinBoxElementJoyStyle() {
    return css `
:host {
  --pinbox-background-color: var(--joy-scheme-background);
  --pinbox-border-color: var(--joy-scheme-highlight);
  --pinbox-border-radius: var(--joy-layout-radius);
  --pinbox-border-style: solid;
  --pinbox-border-width: var(--joy-layout-thickness);
  --pinbox-font-family: var(--joy-font-family);
  --pinbox-font-letter-spacing: unset;
  --pinbox-font-line-height: unset;
  --pinbox-font-size: 16px;
  --pinbox-font-text-decoration: unset;
  --pinbox-font-text-transform: unset;
  --pinbox-font-weight: normal;
  --pinbox-foreground-color: var(--joy-scheme-foreground);
  --pinbox-gap: var(--joy-layout-space);
  --pinbox-height: 56px;
  --pinbox-padding-bottom: var(--joy-layout-space);
  --pinbox-padding-left: calc(var(--joy-layout-space) * 1.5);
  --pinbox-padding-right: calc(var(--joy-layout-space) * 1.5);
  --pinbox-padding-top: var(--joy-layout-space);
  --pinbox-shadow: var(--joy-elevation-none);
  --pinbox-transition-duration: var(--joy-duration-short);
  --pinbox-transition-mode: ease;
  --pinbox-transition-property: background-color, color, border-color, opacity, box-shadow;
  --pinbox-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 {
  font-family: var(--pinbox-font-family);
  font-size: var(--pinbox-font-size);
  line-height: var(--pinbox-font-line-height);
  font-weight: var(--pinbox-font-weight);
  letter-spacing: var(--pinbox-font-letter-spacing);
  -webkit-text-decoration: var(--pinbox-font-text-decoration);
  text-decoration: var(--pinbox-font-text-decoration);
  text-transform: var(--pinbox-font-text-transform);
  color: var(--pinbox-foreground-color);
  z-index: 0;
  outline: none;
  flex-direction: row;
  align-items: center;
  padding: 0;
  display: flex;
}

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

:host [part="root"] {
  gap: var(--pinbox-gap);
  flex: 1;
  display: flex;
  position: relative;
}

:host [part="root"] div {
  border-radius: var(--pinbox-border-radius);
  position: relative;
}

:host [part="root"] div [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host [part="root"] div [part="input"] {
  padding-top: var(--pinbox-padding-top);
  padding-right: var(--pinbox-padding-right);
  padding-bottom: var(--pinbox-padding-bottom);
  padding-left: var(--pinbox-padding-left);
  transition-duration: var(--pinbox-transition-duration);
  transition-timing-function: var(--pinbox-transition-mode);
  transition-property: var(--pinbox-transition-property);
  translate: var(--pinbox-translate);
  background-color: var(--pinbox-background-color);
  color: inherit;
  border-color: var(--pinbox-border-color);
  border-width: var(--pinbox-border-width);
  border-radius: var(--pinbox-border-radius);
  border-style: var(--pinbox-border-style);
  width: var(--pinbox-height);
  height: var(--pinbox-height);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-align: center;
  cursor: text;
  outline: none;
  margin: 0;
}

:host([disabled]:not([disabled="false"])), :host([readonly]) {
  cursor: default;
}

:host [part="input"]::-moz-selection {
  background-color: var(--joy-scheme-selection);
}

:host [part="input"]::selection {
  background-color: var(--joy-scheme-selection);
}

:host([disabled]:not([disabled="false"])), :host([readonly]) {
  --pinbox-border-color: var(--joy-scheme-disabled);
}

:host([disabled]:not([disabled="false"])) {
  --pinbox-background-color: var(--joy-scheme-semi-transparent);
  --pinbox-foreground-color: var(--joy-scheme-disabled);
}

:host([invalid]) {
  --pinbox-border-color: var(--joy-color-danger-500);
  --pinbox-foreground-color: var(--joy-color-danger-500);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
  --pinbox-border-color: var(--joy-color-primary-500);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
  --pinbox-border-color: var(--joy-color-secondary-500);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
  --pinbox-border-color: var(--joy-color-tertiary-500);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
  --pinbox-border-color: var(--joy-color-danger-500);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
  --pinbox-border-color: var(--joy-color-warning-500);
}

:host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
  --pinbox-border-color: var(--joy-color-success-500);
}

:host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
  --pinbox-border-color: var(--joy-color-info-500);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
  --pinbox-border-color: var(--joy-color-highlight-500);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
  --pinbox-border-color: var(--joy-color-neutral-500);
}

:host([appearance="plain"]) {
  --pinbox-border-width: 0;
  --pinbox-background-color: var(--joy-scheme-transparent);
}

:host([appearance="soft"]), :host([appearance="solid"]) {
  --pinbox-background-color: var(--joy-scheme-highlight);
}

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