:host {
  height: 100%;
  display: flex;
  flex-direction: column;

  .tab-content {
    height: calc(100% - 40px);
  }

  .tabs {
    height: 40px;
    min-height: 40px;
    background: var(--background-light);
    display: flex;
    flex-direction: row;

    a, button {
      all: unset;
    }

    .tab {
      flex-grow: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;

      color: var(--muted-foreground);
      border-top: 2px solid transparent;
      transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;

      cursor: pointer;

      &:hover {
        background: var(--background-light-hover);
        color: var(--foreground);
      }

      &.active {
        color: var(--foreground);
        border-top: 2px solid var(--primary);
      }
    }
  }
}
