:host {
  vertical-align: bottom;
  display: inline-flex;
  width: var(--bw, fit-content);
}

.btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0px 16px;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  border-radius: 1px;
  line-height: 1.5rem;
  font-family: var(--ifx-font-family);
  font-style: normal;
  text-decoration: none;
  user-select: none;
  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;
  width: var(--bw, fit-content);
}

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

.btn.disabled {
  pointer-events: none;
}

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

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

.btn-tertiary-default {
  background-color: rgba(0, 0, 0, 0);
  color: #0a8276;
}
.btn-tertiary-default:disabled, .btn-tertiary-default.disabled {
  color: #bfbbbb;
  pointer-events: none;
}

.btn-danger {
  color: #ffffff;
  background-color: #cd002f;
  border-color: #cd002f;
}
.btn-danger:disabled, .btn-danger.disabled {
  background-color: #bfbbbb;
  color: #ffffff;
  pointer-events: none;
}

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

.btn-tertiary-danger {
  background-color: rgba(0, 0, 0, 0);
  color: #cd002f;
}
.btn-tertiary-danger:disabled, .btn-tertiary-danger.disabled {
  background-color: #ffffff;
  color: #bfbbbb;
  pointer-events: none;
}

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

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

.btn-tertiary-inverse {
  color: #ffffff;
}
.btn-tertiary-inverse:disabled, .btn-tertiary-inverse.disabled {
  color: #ffffff;
  opacity: 1;
  pointer-events: none;
}

.btn ifx-icon:empty {
  display: none;
}
.btn.btn-xs {
  font-size: 0.875rem;
  height: 32px;
  line-height: 1rem;
}
.btn.btn-s {
  font-size: 0.875rem;
  height: 36px;
  line-height: 1.25rem;
}
.btn.btn-l {
  font-size: 1.25rem;
  height: 48px;
  line-height: 1.75rem;
}
.btn.btn-default:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0a8276;
}
.btn.btn-default:not(:disabled, .disabled):hover {
  background-color: #08665c;
}
.btn.btn-default:not(:disabled, .disabled):active, .btn.btn-default:not(:disabled, .disabled).active {
  background-color: #06534b;
}
.btn.btn-secondary-default:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0a8276;
}
.btn.btn-secondary-default:not(:disabled, .disabled):hover {
  color: #ffffff;
  background-color: #08665c;
}
.btn.btn-secondary-default:not(:disabled, .disabled):active, .btn.btn-secondary-default:not(:disabled, .disabled).active {
  background-color: #06534b;
}
.btn.btn-secondary:not(:disabled, .disabled):hover {
  background-color: #9c216e;
}
.btn.btn-secondary:not(:disabled, .disabled):active, .btn.btn-secondary:not(:disabled, .disabled).active {
  background-color: #9c216e;
}
.btn.btn-danger:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0a8276;
}
.btn.btn-danger:not(:disabled, .disabled):hover {
  background-color: #a2001e;
}
.btn.btn-danger:not(:disabled, .disabled):active, .btn.btn-danger:not(:disabled, .disabled).active {
  background-color: #900021;
}
.btn.btn-secondary-danger:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0a8276;
}
.btn.btn-secondary-danger:not(:disabled, .disabled):hover {
  color: #ffffff;
  background-color: #a2001e;
}
.btn.btn-secondary-danger:not(:disabled, .disabled):active, .btn.btn-secondary-danger:not(:disabled, .disabled).active {
  background-color: #900021;
}
.btn.btn-inverse:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #0a8276, 0 0 0 4px #ffffff;
}
.btn.btn-inverse:not(:disabled, .disabled):hover {
  background-color: #eeeded;
}
.btn.btn-inverse:not(:disabled, .disabled):active, .btn.btn-inverse:not(:disabled, .disabled).active {
  background-color: #bfbbbb;
}
.btn.btn-secondary-inverse:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #0a8276, 0 0 0 4px #ffffff;
}
.btn.btn-secondary-inverse:not(:disabled, .disabled):hover {
  color: #0a8276;
  background-color: #eeeded;
}
.btn.btn-secondary-inverse:not(:disabled, .disabled):active, .btn.btn-secondary-inverse:not(:disabled, .disabled).active {
  color: #0a8276;
  background-color: #bfbbbb;
}
.btn.btn-tertiary-default:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #08665c;
}
.btn.btn-tertiary-default:not(:disabled, .disabled):hover {
  color: #08665c;
}
.btn.btn-tertiary-default:not(:disabled, .disabled):active, .btn.btn-tertiary-default:not(:disabled, .disabled).active {
  color: #06534b;
}
.btn.btn-tertiary-danger:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #a2001e;
}
.btn.btn-tertiary-danger:not(:disabled, .disabled):hover {
  color: #a2001e;
}
.btn.btn-tertiary-danger:not(:disabled, .disabled):active, .btn.btn-tertiary-danger:not(:disabled, .disabled).active {
  color: #900021;
}
.btn.btn-tertiary-inverse:not(:disabled, .disabled):focus:not(:active, .active) {
  outline: none;
  box-shadow: 0 0 0 2px #0a8276, 0 0 0 4px #ffffff;
}
.btn.btn-tertiary-inverse:not(:disabled, .disabled):hover {
  color: #eeeded;
}
.btn.btn-tertiary-inverse:not(:disabled, .disabled):active, .btn.btn-tertiary-inverse:not(:disabled, .disabled).active {
  color: #bfbbbb;
}