const s = {
  /**
   * Styles applied to the popover overlay root and nested paper surface.
   */
  root: ({ theme: i, ownerState: o }) => ({
    inset: 0,
    pointerEvents: "none",
    position: "fixed",
    zIndex: i.vars.zIndex.modal,
    "&.M4lclassCssSpecificity": {
      "& .MuiPaper-root": {
        backgroundColor: i.vars.palette.background.default,
        left: o?.position?.left,
        outline: 0,
        pointerEvents: "auto",
        position: "absolute",
        boxShadow: i.vars.customShadows.z4,
        borderRadius: i.vars.size.borderRadius.r2,
        padding: i.vars.size.baseSpacings.sp3,
        top: o?.position?.top,
        transformOrigin: o?.position?.transformOrigin,
        visibility: o?.position?.visibility,
        "& .MuiList-root": {
          padding: "unset"
        }
      }
    }
  })
};
export {
  s as popoverStyles
};
