:host {
  /**
   * @prop --background: Background of the card
   * @prop --color: Color of the card
   * @prop --border-radius: Border radius of the card
   * @prop --border-width: Border width of the card
   * @prop --border-style: Border style of the card
   * @prop --border-color: Border color of the card
   * @prop --box-shadow: Box shadow of the card
   * @prop --box-shadow-active: Box shadow when pressed.
   * @prop --transition: Transition of the card.
   * @prop --transform: Transform of the card when pressed.
   * @prop --overflow: Overflow of the card.
   */
  --background: var(--bkkr-card-background, var(--bkkr-background-color, #fff));
  --border-radius: 24px;
  --border-width: 0;
  --border-style: solid;
  --box-shadow: none;
  --box-shadow-active: none;
  --transition: 0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59), 0.2s box-shadow cubic-bezier(0.25, 1.11, 0.78, 1.59);
  --transform: translateZ(0);
  --overflow: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: flex;
  position: relative;
  flex-direction: column;
  color: var(--color);
  font-family: var(--bkkr-font-family);
}
:host .card-header + .card-content {
  --padding-top: 0px;
}

.card-native {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-decoration: inherit;
  text-indent: inherit;
  text-overflow: inherit;
  text-transform: inherit;
  white-space: inherit;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: var(--min-height);
  transform: var(--transform);
  transition: var(--transition);
  will-change: transform, box-shadow;
  border-width: var(--border-width);
  border-style: var(--border-style);
  border-color: var(--border-color);
  outline: none;
  background: var(--background);
  overflow: var(--overflow);
}

.card-native::-moz-focus-inner {
  border: 0;
}

button,
a {
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
}

:host(.card-elevated) {
  --box-shadow: 0 15px 25px 0 rgba(var(--box-shadow-color, 0, 0, 0), 0.1), 0 6px 20px 0 rgba(var(--box-shadow-color, 0, 0, 0), 0.12), 0 13.2px 40px 0 rgba(var(--box-shadow-color, 0, 0, 0), 0.08);
  --box-shadow-active: 0 3px 5px 0 rgba(var(--box-shadow-color, 0, 0, 0), 0.1), 0 6px 10px 0 rgba(var(--box-shadow-color, 0, 0, 0), 0.12), 0 1.2px 20px 0 rgba(var(--box-shadow-color, 0, 0, 0), 0.08);
}

:host(.card-outline) {
  --border-width: 2px;
  --border-color: rgba(var(--bkkr-text-color-rgb, 0, 0, 0), 0.7);
  --border-color-focus: rgba(var(--bkkr-text-color-rgb, 0, 0, 0), 1);
}

:host(.card-solid) {
  --background: rgba(var(--bkkr-text-color-rgb, 0, 0, 0), 0.06);
  --background-focus: rgba(var(--bkkr-text-color-rgb, 0, 0, 0), 0.1);
}

:host(:active.state-activatable),
:host(.state-activated.state-activatable) {
  --transform: translate3d(0, 1px, 0);
  --transition: 0.2s transform ease-out, 0.2s box-shadow ease-out;
}

:host(:active.state-activatable.card-elevated),
:host(.state-activated.state-activatable.card-elevated) {
  --box-shadow: var(--box-shadow-active);
}

:host(.state-focused.card-elevated) .card-native {
  --box-shadow: var(--box-shadow-active);
}

:host(.state-focused.card-solid) .card-native {
  background: var(--background-focus);
}

:host(.state-focused.card-outline) .card-native {
  border-color: var(--border-color-focus);
}

:host(:disabled),
:host(.state-disabled) {
  pointer-events: none;
  cursor: default;
  opacity: 0.3;
}

:host(.bkkr-color) .card-native {
  background: var(--color-base);
  color: var(--color-contrast);
}

@media (prefers-reduced-motion: reduce) {
  .card-native {
    transform: none;
    transition: none;
  }
}