// ------------------------------------------------------------------------------
// <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 signaturePadElementJoyStyle() {
    return css `
:host {
  --signaturepad-background-color: var(--joy-scheme-background);
  --signaturepad-border-color: var(--joy-scheme-highlight);
  --signaturepad-border-radius: var(--joy-layout-radius);
  --signaturepad-border-style: solid;
  --signaturepad-border-width: var(--joy-layout-thickness);
  --signaturepad-font-family: var(--joy-font-family);
  --signaturepad-font-letter-spacing: unset;
  --signaturepad-font-line-height: unset;
  --signaturepad-font-size: 16px;
  --signaturepad-font-text-decoration: unset;
  --signaturepad-font-text-transform: unset;
  --signaturepad-font-weight: normal;
  --signaturepad-foreground-color: var(--joy-scheme-foreground);
  --signaturepad-gap: unset;
  --signaturepad-padding-bottom: unset;
  --signaturepad-padding-left: unset;
  --signaturepad-padding-right: unset;
  --signaturepad-padding-top: unset;
  --signaturepad-shadow: unset;
  --signaturepad-transition-duration: .2s;
  --signaturepad-transition-mode: ease;
  --signaturepad-transition-property: all;
  --signaturepad-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(--signaturepad-font-family);
  font-size: var(--signaturepad-font-size);
  line-height: var(--signaturepad-font-line-height);
  font-weight: var(--signaturepad-font-weight);
  letter-spacing: var(--signaturepad-font-letter-spacing);
  -webkit-text-decoration: var(--signaturepad-font-text-decoration);
  text-decoration: var(--signaturepad-font-text-decoration);
  text-transform: var(--signaturepad-font-text-transform);
  padding-top: var(--signaturepad-padding-top);
  padding-right: var(--signaturepad-padding-right);
  padding-bottom: var(--signaturepad-padding-bottom);
  padding-left: var(--signaturepad-padding-left);
  gap: var(--signaturepad-gap);
  transition-duration: var(--signaturepad-transition-duration);
  transition-timing-function: var(--signaturepad-transition-mode);
  transition-property: var(--signaturepad-transition-property);
  translate: var(--signaturepad-translate);
  background-color: var(--signaturepad-background-color);
  color: var(--signaturepad-foreground-color);
  border-color: var(--signaturepad-border-color);
  border-width: var(--signaturepad-border-width);
  border-radius: var(--signaturepad-border-radius);
  border-style: var(--signaturepad-border-style);
  box-shadow: var(--signaturepad-shadow);
  cursor: crosshair;
  outline: none;
  position: relative;
  overflow: hidden;
}

:host [part="placeholder"] {
  pointer-events: none;
  z-index: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

:host [part="clear"] {
  cursor: pointer;
  z-index: 1;
  margin: var(--joy-layout-space);
  position: absolute;
  bottom: 0;
  right: 0;
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
  --signaturepad-border-color: var(--joy-color-neutral-200);
  --signaturepad-background-color: var(--joy-color-neutral-100);
  --signaturepad-foreground-color: var(--joy-color-neutral-400);
}

: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), :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid])[is-focused]) {
  --signaturepad-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), :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid])[is-focused]) {
  --signaturepad-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), :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid])[is-focused]) {
  --signaturepad-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), :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid])[is-focused]) {
  --signaturepad-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), :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid])[is-focused]) {
  --signaturepad-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), :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid])[is-focused]) {
  --signaturepad-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), :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid])[is-focused]) {
  --signaturepad-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), :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid])[is-focused]) {
  --signaturepad-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), :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid])[is-focused]) {
  --signaturepad-border-color: var(--joy-color-neutral-500);
}

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