import styled from "styled-components";
export const Container = styled.div `
  display: flex;
  padding: ${({ padding }) => padding ?? "0 40px"};

  height: ${({ theme }) => theme.new?.tabs?.height ?? "unset"};
  width: ${({ theme, width }) => width ?? theme.new?.tabs?.width ?? "unset"};
  border-bottom: ${({ theme }) => theme.new?.tabs?.borderBottom ?? "unset"};

  &.stroke {
    border-bottom: unset;
    padding: 0;
  }

  &.small {
    height: ${({ theme }) => theme.new?.tabs?.heightSmall ?? "unset"};
  }
`;
export const Item = styled.div `
  box-sizing: border-box;
  position: relative;
  font-family: Medium;
  font-size: 16px;
  line-height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-right: 24px;

  background: ${({ theme }) => theme.new?.tabs?.background ?? "unset"};
  border: ${({ theme }) => theme.new?.tabs?.itemBorder ?? "unset"};
  color: ${({ theme }) => theme.new?.tabs?.color ?? "unset"};
  border-bottom: ${({ theme }) => theme.new?.tabs?.itemBorderBottomActive ?? "unset"};
  border-bottom-color: transparent;

  &.small {
    font-size: 16px;
    line-height: 20px;
  }

  &.active {
    background: ${({ theme }) => theme.new?.tabs?.backgroundActive ?? "unset"};
    color: ${({ theme }) => theme.new?.tabs?.colorActive ?? "unset"};
    border-bottom: ${({ theme }) => theme.new?.tabs?.itemBorderBottomActive ?? "unset"};
  }

  &.stroke {
    flex-grow: 1;
    margin-right: 0;
    border-bottom: unset;
    background: ${({ theme }) => theme.new?.tabs?.backgroundStroke ?? "unset"};
    border: ${({ theme }) => theme.new?.tabs?.itemBorderStroke ?? "unset"};
  }

  &.stroke.active {
    background: ${({ theme }) => theme.new?.tabs?.backgroundStrokeActive ?? "unset"};
    color: ${({ theme }) => theme.new?.tabs?.colorActive ?? "unset"};
    border: ${({ theme }) => theme.new?.tabs?.itemBorderStrokeActive ?? "unset"};
  }
`;
export const Badge = styled.div `
  position: absolute;
  left: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  margin-left: 8px;
  font-family: Bold;
  font-size: 10px;
  line-height: 14px;
  border-radius: 1px;
  height: 22px;

  color: ${({ theme }) => theme.new?.tabs?.badgeColor ?? "unset"};
  background: ${({ theme }) => theme.new?.tabs?.badgeBackground ?? "unset"};

  .small {
    padding: 0 6px;
    font-size: 8px;
    line-height: 12px;
  }
`;
//# sourceMappingURL=tabs.styled.js.map