:host {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  order: 1;
  width: 100%;
  background: var(--background);
  color: var(--color);
  user-select: none;
  z-index: 10; }

:host(.ion-color) {
  --background: var(--ion-color-base);
  --color: rgba(var(--ion-color-contrast-rgb), 0.7);
  --color-selected: var(--ion-color-contrast); }

:host(.tabbar-hidden) {
  /* stylelint-disable-next-line declaration-no-important */
  display: none !important; }

:host(.placement-top) {
  order: -1; }

:host(.placement-bottom) {
  padding-bottom: var(--ion-safe-area-bottom); }

.tabbar-highlight {
  left: 0;
  bottom: 0;
  transform-origin: 0 0;
  display: block;
  position: absolute;
  width: 1px;
  height: 2px;
  transform: translateZ(0);
  background: currentColor; }
  .tabbar-highlight.animated {
    transition-duration: 300ms;
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform; }

:host(.placement-top) .tabbar-highlight {
  bottom: 0; }

:host(.placement-bottom) .tabbar-highlight {
  top: 0; }

:host(.layout-icon-start) .tab-btn {
  --flex-direction: row; }

:host(.layout-icon-end) .tab-btn {
  --flex-direction: row-reverse; }

:host(.layout-icon-bottom) .tab-btn {
  --flex-direction: column-reverse; }

:host(.layout-icon-start) .tab-btn,
:host(.layout-icon-end) .tab-btn,
:host(.layout-icon-hide) .tab-btn,
:host(.layout-label-hide) .tab-btn {
  --justify-content: center; }

:host(.layout-icon-hide) .tab-btn {
  --icon-display: none; }

:host(.layout-label-hide) .tab-btn {
  --label-display: none; }

:host(.layout-icon-top) .tab-btn,
:host(.layout-icon-bottom) .tab-btn {
  --badge-end: calc(50% - 30px); }

:host(.layout-icon-hide) .tab-btn,
:host(.layout-icon-start) .tab-btn,
:host(.layout-icon-end) .tab-btn {
  --badge-end: calc(50% - 50px); }

.tab-btn {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-overflow: inherit;
  text-transform: inherit;
  text-align: inherit;
  white-space: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  display: flex;
  position: relative;
  flex: 1;
  flex-direction: var(--flex-direction, column);
  align-items: center;
  justify-content: var(--justify-content, flex-start);
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-user-drag: none; }

.tab-btn:focus-visible {
  background: var(--background-focused); }

.tab-btn:hover,
.tab-btn-selected {
  color: var(--color-selected); }

.tab-btn-hidden {
  /* stylelint-disable-next-line declaration-no-important */
  display: none !important; }

.tab-btn-disabled {
  pointer-events: none;
  opacity: .4; }

.tab-btn-text {
  margin-top: var(--label-margin-top);
  margin-bottom: var(--label-margin-bottom);
  display: var(--label-display, block);
  font-size: var(--label-font-size);
  line-height: var(--label-line-height); }

.tab-btn-icon {
  margin-top: var(--icon-margin-top);
  margin-bottom: var(--icon-margin-bottom);
  display: var(--icon-display, block);
  min-width: var(--icon-min-width);
  height: var(--icon-height, 1em);
  font-size: var(--icon-font-size); }

.tab-btn-text,
.tab-btn-icon {
  align-self: center;
  min-width: 26px;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box; }

.tab-btn-has-label-only .tab-btn-text {
  white-space: normal; }

.tab-btn-has-icon-only,
.tab-btn-has-label-only {
  --justify-content: center; }

.tab-btn-badge {
  right: 4%;
  top: 6%;
  right: var(--badge-end, calc(50% - 30px));
  padding: 1px 6px;
  box-sizing: border-box;
  position: absolute;
  height: auto;
  font-size: 12px;
  line-height: 16px; }

.tab-btn-has-label-only .tab-btn-badge {
  --badge-end: calc(50% - 50px); }

.tab-btn-has-icon-only .tab-btn-badge {
  --badge-end: calc(50% - 30px); }

.tab-btn-selected .tab-btn-icon {
  transform: var(--icon-transform-selected); }

.tab-btn {
  padding: 0 2px;
  max-width: 240px;
  font-size: 10px; }

.tab-btn-text {
  margin-top: 0;
  margin-bottom: 1px;
  min-height: 11px; }

.tab-btn-has-label-only .tab-btn-text {
  margin: 2px 0;
  font-size: 12px;
  font-size: 14px;
  line-height: 1.1; }

.tab-btn-icon {
  margin-top: 4px;
  font-size: 30px; }

.tab-btn-icon::before {
  vertical-align: top; }

:host {
  --background: var(--ion-tabbar-background-color, #f8f8f8);
  --background-rgb: var(--ion-tabbar-translucent-background-color-rgb, 248, 248, 248);
  --color: var(--ion-tabbar-text-color, #8c8c8c);
  --color-selected: var(--ion-color-primary, #3880ff);
  --background-focused: var(--ion-tabbar-background-color-focused, #dadada);
  justify-content: center;
  height: 50px;
  border-top: 0.55px solid rgba(var(--ion-tabbar-border-color-rgb, 0, 0, 0), 0.2);
  contain: strict; }

:host(.placement-top) {
  border-top: 0;
  border-bottom: 0.55px solid rgba(var(--ion-tabbar-border-color-rgb, 0, 0, 0), 0.2); }

:host(.tabbar-translucent) {
  background-color: rgba(var(--ion-color-base-rgb), 0.8);
  backdrop-filter: saturate(210%) blur(20px); }

:host(.layout-icon-end) .tab-btn,
:host(.layout-icon-start) .tab-btn,
:host(.layout-icon-hide) .tab-btn {
  --label-margin-top: 2px;
  --label-margin-bottom: 2px;
  --label-font-size: 14px;
  --label-line-height: 1.1; }

:host(.layout-icon-end) .tab-btn,
:host(.layout-icon-start) .tab-btn {
  --icon-margin-top: 2px;
  --icon-margin-bottom: 1px;
  --icon-min-width: 24px;
  --icon-height: 26px;
  --icon-font-size: 24px; }

:host(.layout-label-hide) .tab-btn {
  --icon-margin: 0; }
