import n, { css as i } from "styled-components";
import { getSpacing as t, getColorAlias as e } from "../../../../utils/index.js";
const d = n.div`
  display: flex;
  padding: ${t("s04", "s03")};
  box-sizing: border-box;

  ${({ stackedActionButtons: o }) => o ? i`
          flex-direction: column;
          justify-content: center;

          button {
            &:not(:last-child) {
              margin-bottom: ${t("s04")};
            }
          }
        ` : i`
          justify-content: flex-end;

          button {
            &:not(:last-child) {
              margin-right: ${t("s04")};
            }
          }
        `}

  ${({ pinnedFooter: o }) => o && i`
      ${t("s05")};
      position: fixed;
      bottom: 0;
      width: 100%;
      flex-shrink: 0;
      background: ${e("containerDefault")};
      box-shadow: rgb(0 0 0 / 20%) 0px -5px 9px -3px;
    `}
`;
export {
  d as BottomSheetFooterWrapper
};
