:host {
  /**
   * @prop --background: Background of the button
   *
   * @prop --color: Text color of the button
   *
   * @prop --min-width: Minimum width of the button
   * @prop --min-height: Minimum height of the button
   *
   * @prop --transition: Transition of the button
   *
   * @prop --border-radius: Border radius of the button
   *
   * @prop --ripple-color: Color of the button ripple effect
   *
   * @prop --opacity: Opacity of the button
   *
   * @prop --margin-top: Margin top of the button
   * @prop --margin-end: Margin end of the button
   * @prop --margin-bottom: Margin bottom of the button
   * @prop --margin-start: Margin start of the button
   *
   * @prop --padding-top: Padding top of the button
   * @prop --padding-end: Padding end of the button
   * @prop --padding-bottom: Padding bottom of the button
   * @prop --padding-start: Padding start of the button
   *
   * @prop --icon-margin-top: Margin top of the button icon
   * @prop --icon-margin-end: Margin end of the button icon
   * @prop --icon-margin-bottom: Margin bottom of the button icon
   * @prop --icon-margin-start: Margin start of the button icon
   *
   * @prop --icon-padding-top: Padding top of the button icon
   * @prop --icon-padding-end: Padding end of the button icon
   * @prop --icon-padding-bottom: Padding bottom of the button icon
   * @prop --icon-padding-start: Padding start of the button icon
   *
   * @prop --icon-font-size: Font size of the button icon
   * @prop --icon-font-weight: Font weight of the button icon
   */
  --background: transparent;
  --ripple-color: currentColor;
  --transition: background-color, opacity 100ms linear;
  --opacity: 1;
  display: none;
  color: var(--color);
  font-family: var(--ion-font-family, inherit);
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
  user-select: none;
  font-kerning: none; }

:host(.ion-color) .button-native {
  color: var(--ion-color-base); }

:host(.activated) .button-native {
  opacity: .4; }

:host-context(.can-go-back > ion-header),
:host(.show-back-button) {
  display: block; }

.button-native {
  border-radius: var(--border-radius);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  margin-left: var(--margin-start);
  margin-right: var(--margin-end);
  margin-top: var(--margin-top);
  margin-bottom: var(--margin-bottom);
  padding-left: var(--padding-start);
  padding-right: var(--padding-end);
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-overflow: inherit;
  text-transform: inherit;
  text-align: inherit;
  white-space: inherit;
  color: inherit;
  display: block;
  position: relative;
  min-width: var(--min-width);
  min-height: var(--min-height);
  transition: var(--transition);
  border: 0;
  outline: none;
  background: var(--background);
  line-height: 1;
  cursor: pointer;
  opacity: var(--opacity);
  user-select: none;
  z-index: 0;
  appearance: none; }
  @supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
    .button-native {
      margin-left: unset;
      margin-right: unset;
      -webkit-margin-start: var(--margin-start);
      margin-inline-start: var(--margin-start);
      -webkit-margin-end: var(--margin-end);
      margin-inline-end: var(--margin-end); } }
  @supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
    .button-native {
      padding-left: unset;
      padding-right: unset;
      -webkit-padding-start: var(--padding-start);
      padding-inline-start: var(--padding-start);
      -webkit-padding-end: var(--padding-end);
      padding-inline-end: var(--padding-end); } }

.button-inner {
  display: flex;
  flex-flow: row nowrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%; }

ion-icon {
  padding-left: var(--icon-padding-start);
  padding-right: var(--icon-padding-end);
  padding-top: var(--icon-padding-top);
  padding-bottom: var(--icon-padding-bottom);
  margin-left: var(--icon-margin-start);
  margin-right: var(--icon-margin-end);
  margin-top: var(--icon-margin-top);
  margin-bottom: var(--icon-margin-bottom);
  display: inherit;
  font-size: var(--icon-font-size);
  font-weight: var(--icon-font-weight);
  pointer-events: none; }
  @supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
    ion-icon {
      padding-left: unset;
      padding-right: unset;
      -webkit-padding-start: var(--icon-padding-start);
      padding-inline-start: var(--icon-padding-start);
      -webkit-padding-end: var(--icon-padding-end);
      padding-inline-end: var(--icon-padding-end); } }
  @supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
    ion-icon {
      margin-left: unset;
      margin-right: unset;
      -webkit-margin-start: var(--icon-margin-start);
      margin-inline-start: var(--icon-margin-start);
      -webkit-margin-end: var(--icon-margin-end);
      margin-inline-end: var(--icon-margin-end); } }

:host {
  --color: var(--ion-color-primary, #3880ff);
  --margin-top: 0;
  --margin-end: 0;
  --margin-bottom: 0;
  --margin-start: 0;
  --padding-top: 0;
  --padding-end: 0;
  --padding-bottom: 0;
  --padding-start: 0;
  --min-height: 32px;
  --min-width: auto;
  --icon-padding-top: 0;
  --icon-padding-end: 0;
  --icon-padding-bottom: 0;
  --icon-padding-start: 0;
  --icon-margin-top: 0;
  --icon-margin-end: -5px;
  --icon-margin-bottom: 0;
  --icon-margin-start: -4px;
  --icon-font-size: 1.85em;
  font-size: 17px; }

.button-native {
  transform: translateZ(0);
  overflow: visible;
  z-index: 99; }
