:host {
  display: inline-flex;
}

.btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px;
  gap: 8px;
  color: #ffffff;
  flex-direction: row;
  font-weight: 600;
  border-radius: 1px;
  line-height: 1.5rem;
  outline: none;
  font-family: var(--ifx-font-family);
  text-decoration: none;
  user-select: none;
  border: 1px solid rgba(0, 0, 0, 0);
  font-size: 1rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:not(.disabled) {
  cursor: pointer;
}

.btn-primary {
  color: #ffffff;
  background-color: #0a8276;
}
.btn-primary:disabled, .btn-primary.disabled {
  background-color: #bfbbbb;
  color: #ffffff;
  pointer-events: none;
}

.btn-secondary {
  color: #0a8276;
  background-color: #ffffff;
  border-color: #0a8276;
}
.btn-secondary:disabled, .btn-secondary.disabled {
  background-color: #ffffff;
  border: 1px solid #bfbbbb;
  color: #bfbbbb;
  pointer-events: none;
}

.btn-tertiary {
  background-color: transparent;
  color: #1d1d1d;
}
.btn-tertiary:disabled, .btn-tertiary.disabled {
  color: #bfbbbb;
  pointer-events: none;
}

.btn.icon-button {
  min-width: initial;
  min-height: initial;
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
}
.btn.icon-button.btn-round {
  border-radius: 100px;
}
.btn.icon-button.btn-square {
  border-radius: 1px;
}
.btn.icon-button.btn-xs {
  width: 20px;
  height: 20px;
  padding: 2px;
}
.btn.icon-button.btn-s {
  width: 32px;
  height: 32px;
  padding: 8px;
}
.btn.icon-button.btn-m {
  width: 40px;
  height: 40px;
  padding: 0;
}
.btn.icon-button.btn-l {
  width: 48px;
  height: 48px;
  padding: 8px;
}
.btn.btn-primary:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0a8276;
}
.btn.btn-primary:not(:disabled, .disabled):hover {
  background-color: #08665c;
  border-color: #08665c;
}
.btn.btn-primary:not(:disabled, .disabled):active, .btn.btn-primary:not(:disabled, .disabled).active {
  background-color: #06534b;
  border-color: #06534b;
}
.btn.btn-secondary:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0a8276;
}
.btn.btn-secondary:not(:disabled, .disabled):hover {
  background-color: #08665c;
  border-color: #08665c;
  color: #ffffff;
}
.btn.btn-secondary:not(:disabled, .disabled):active, .btn.btn-secondary:not(:disabled, .disabled).active {
  background-color: #06534b;
  border-color: #06534b;
}
.btn.btn-tertiary:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  color: #1d1d1d;
  box-shadow: 0 0 0 0px #ffffff, 0 0 0 2px #0a8276;
}
.btn.btn-tertiary:not(:disabled, .disabled):hover {
  color: #0a8276;
}
.btn.btn-tertiary:not(:disabled, .disabled):active, .btn.btn-tertiary:not(:disabled, .disabled).active {
  color: #08665c;
}