// ------------------------------------------------------------------------------
// <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 badgeElementCosmopolitanStyle() {
    return css `
:host {
  --badge-background-color: unset;
  --badge-border-color: unset;
  --badge-border-radius: unset;
  --badge-border-style: unset;
  --badge-border-width: unset;
  --badge-font-family: unset;
  --badge-font-letter-spacing: unset;
  --badge-font-line-height: unset;
  --badge-font-size: unset;
  --badge-font-text-decoration: unset;
  --badge-font-text-transform: unset;
  --badge-font-weight: unset;
  --badge-foreground-color: unset;
  --badge-gap: unset;
  --badge-height: unset;
  --badge-padding-bottom: unset;
  --badge-padding-left: unset;
  --badge-padding-right: unset;
  --badge-padding-top: unset;
  --badge-shadow: var(--cosmopolitan-elevation-light-offset-x-1) var(--cosmopolitan-elevation-light-offset-y-1) var(--cosmopolitan-elevation-light-blur-1) var(--cosmopolitan-elevation-light-spread-1) var(--cosmopolitan-elevation-light-color-1);
  --badge-shadow-blur: var(--cosmopolitan-elevation-light-blur-1);
  --badge-shadow-color: var(--cosmopolitan-elevation-light-color-1);
  --badge-shadow-offset-x: var(--cosmopolitan-elevation-light-offset-x-1);
  --badge-shadow-offset-y: var(--cosmopolitan-elevation-light-offset-y-1);
  --badge-shadow-spread: var(--cosmopolitan-elevation-light-spread-1);
  --badge-transition-duration: unset;
  --badge-transition-mode: unset;
  --badge-transition-property: unset;
  --badge-translate: none;
}

@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(--badge-font-family);
  font-size: var(--badge-font-size);
  line-height: var(--badge-font-line-height);
  font-weight: var(--badge-font-weight);
  letter-spacing: var(--badge-font-letter-spacing);
  -webkit-text-decoration: var(--badge-font-text-decoration);
  text-decoration: var(--badge-font-text-decoration);
  text-transform: var(--badge-font-text-transform);
  transition-duration: var(--badge-transition-duration);
  transition-timing-function: var(--badge-transition-mode);
  transition-property: var(--badge-transition-property);
  padding-top: var(--badge-padding-top);
  padding-right: var(--badge-padding-right);
  padding-bottom: var(--badge-padding-bottom);
  padding-left: var(--badge-padding-left);
  gap: var(--badge-gap);
  background-color: var(--badge-background-color);
  color: var(--badge-foreground-color);
  border-color: var(--badge-border-color);
  border-width: var(--badge-border-width);
  border-radius: var(--badge-border-radius);
  border-style: var(--badge-border-style);
  height: var(--badge-height);
  box-shadow: var(--badge-shadow-offset-x) var(--badge-shadow-offset-y) var(--badge-shadow-blur) var(--badge-shadow-spread) var(--badge-shadow-color);
  align-items: center;
  display: inline-flex;
  position: absolute;
  overflow: hidden;
}

:host [part="icon"] {
  color: inherit;
  flex-shrink: 0;
}

:host [part="label"] {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

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

:host([disabled]:not([disabled="false"])) {
  --badge-background-color: var(--cosmopolitan-scheme-background);
  --badge-border-color: var(--cosmopolitan-scheme-highlight);
  --badge-foreground-color: var(--cosmopolitan-scheme-disabled);
}

:host([appearance="solid"]) {
  --badge-background-color: var(--cosmopolitan-scheme-highlight);
}

:host([appearance="outline"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-neutral-500);
  --badge-border-color: var(--cosmopolitan-color-neutral-500);
  --badge-border-width: var(--cosmopolitan-layout-thickness);
  --badge-border-style: solid;
}

:host([appearance="outline"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-primary-500);
  --badge-border-color: var(--cosmopolitan-color-primary-500);
}

:host([appearance="outline"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-secondary-500);
  --badge-border-color: var(--cosmopolitan-color-secondary-500);
}

:host([appearance="outline"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-tertiary-500);
  --badge-border-color: var(--cosmopolitan-color-tertiary-500);
}

:host([appearance="outline"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-danger-500);
  --badge-border-color: var(--cosmopolitan-color-danger-500);
}

:host([appearance="outline"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-warning-500);
  --badge-border-color: var(--cosmopolitan-color-warning-500);
}

:host([appearance="outline"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-success-500);
  --badge-border-color: var(--cosmopolitan-color-success-500);
}

:host([appearance="outline"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-info-500);
  --badge-border-color: var(--cosmopolitan-color-info-500);
}

:host([appearance="outline"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-highlight-500);
  --badge-border-color: var(--cosmopolitan-color-highlight-500);
}

:host([appearance="outline"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-neutral-500);
  --badge-border-color: var(--cosmopolitan-color-neutral-500);
}

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

:host([appearance="plain"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-primary-500);
  --badge-border-color: var(--cosmopolitan-color-primary-500);
}

:host([appearance="plain"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-secondary-500);
  --badge-border-color: var(--cosmopolitan-color-secondary-500);
}

:host([appearance="plain"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-tertiary-500);
  --badge-border-color: var(--cosmopolitan-color-tertiary-500);
}

:host([appearance="plain"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-danger-500);
  --badge-border-color: var(--cosmopolitan-color-danger-500);
}

:host([appearance="plain"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-warning-500);
  --badge-border-color: var(--cosmopolitan-color-warning-500);
}

:host([appearance="plain"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-success-500);
  --badge-border-color: var(--cosmopolitan-color-success-500);
}

:host([appearance="plain"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-info-500);
  --badge-border-color: var(--cosmopolitan-color-info-500);
}

:host([appearance="plain"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-highlight-500);
  --badge-border-color: var(--cosmopolitan-color-highlight-500);
}

:host([appearance="plain"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-neutral-500);
  --badge-border-color: var(--cosmopolitan-color-neutral-500);
}

:host([appearance="plain"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-neutral-500);
}

:host([appearance="soft"]) {
  --badge-border-width: 0px;
}

:host([appearance="soft"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-neutral-500);
  --badge-background-color: var(--cosmopolitan-color-neutral-100);
}

:host([appearance="soft"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-primary-500);
  --badge-background-color: var(--cosmopolitan-color-primary-100);
}

:host([appearance="soft"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-secondary-500);
  --badge-background-color: var(--cosmopolitan-color-secondary-100);
}

:host([appearance="soft"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-tertiary-500);
  --badge-background-color: var(--cosmopolitan-color-tertiary-100);
}

:host([appearance="soft"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-danger-500);
  --badge-background-color: var(--cosmopolitan-color-danger-100);
}

:host([appearance="soft"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-warning-500);
  --badge-background-color: var(--cosmopolitan-color-warning-100);
}

:host([appearance="soft"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-success-500);
  --badge-background-color: var(--cosmopolitan-color-success-100);
}

:host([appearance="soft"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-info-500);
  --badge-background-color: var(--cosmopolitan-color-info-100);
}

:host([appearance="soft"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-highlight-500);
  --badge-background-color: var(--cosmopolitan-color-highlight-100);
}

:host([appearance="soft"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --badge-foreground-color: var(--cosmopolitan-color-neutral-500);
  --badge-background-color: var(--cosmopolitan-color-neutral-100);
}

:host([appearance="solid"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-primary-500);
  --badge-foreground-color: var(--cosmopolitan-color-primary-0);
  --badge-border-color: var(--cosmopolitan-color-primary-500);
}

:host([appearance="solid"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-secondary-500);
  --badge-foreground-color: var(--cosmopolitan-color-secondary-0);
  --badge-border-color: var(--cosmopolitan-color-secondary-500);
}

:host([appearance="solid"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-tertiary-500);
  --badge-foreground-color: var(--cosmopolitan-color-tertiary-0);
  --badge-border-color: var(--cosmopolitan-color-tertiary-500);
}

:host([appearance="solid"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-danger-500);
  --badge-foreground-color: var(--cosmopolitan-color-danger-0);
  --badge-border-color: var(--cosmopolitan-color-danger-500);
}

:host([appearance="solid"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-warning-500);
  --badge-foreground-color: var(--cosmopolitan-color-warning-0);
  --badge-border-color: var(--cosmopolitan-color-warning-500);
}

:host([appearance="solid"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-success-500);
  --badge-foreground-color: var(--cosmopolitan-color-success-0);
  --badge-border-color: var(--cosmopolitan-color-success-500);
}

:host([appearance="solid"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-info-500);
  --badge-foreground-color: var(--cosmopolitan-color-info-0);
  --badge-border-color: var(--cosmopolitan-color-info-500);
}

:host([appearance="solid"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-highlight-500);
  --badge-foreground-color: var(--cosmopolitan-color-highlight-0);
  --badge-border-color: var(--cosmopolitan-color-highlight-500);
}

:host([appearance="solid"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-neutral-500);
  --badge-foreground-color: var(--cosmopolitan-color-neutral-0);
  --badge-border-color: var(--cosmopolitan-color-neutral-500);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-primary-500);
  --badge-foreground-color: var(--cosmopolitan-color-primary-0);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-secondary-500);
  --badge-foreground-color: var(--cosmopolitan-color-secondary-0);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-tertiary-500);
  --badge-foreground-color: var(--cosmopolitan-color-tertiary-0);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-danger-500);
  --badge-foreground-color: var(--cosmopolitan-color-danger-0);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-warning-500);
  --badge-foreground-color: var(--cosmopolitan-color-warning-0);
}

:host([variant="success"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-success-500);
  --badge-foreground-color: var(--cosmopolitan-color-success-0);
}

:host([variant="info"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-info-500);
  --badge-foreground-color: var(--cosmopolitan-color-info-0);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-highlight-500);
  --badge-foreground-color: var(--cosmopolitan-color-highlight-0);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --badge-background-color: var(--cosmopolitan-color-neutral-500);
  --badge-foreground-color: var(--cosmopolitan-color-neutral-0);
}

    `;
}
//# sourceMappingURL=BadgeElement.Cosmopolitan.js.map